Welcome! Log In Create A New Profile

Advanced

Promwad-ThinClient - can't boot 6.11 kernel

Posted by cmp18 
Promwad-ThinClient - can't boot 6.11 kernel
November 29, 2024 10:04AM
Hi, i have a device Promwad-ThinClient (or AK Systems Thin client AK1100) (or DEPO Sky A60).

Uboot output:
U-Boot 2011.06 (Jan 03 2013 - 16:19:06)
Promwad-ThinClient

SoC:   Kirkwood 88F6282_?? RevID 0x01
DRAM:  1 GiB
NAND:  1024 MiB
In:    serial
Out:   serial
Err:   serial
Net:   egiga0, egiga1
88E1121 Initialized on egiga0, devadr 1
88E1121 Initialized on egiga1, devadr 0
Hit any key to stop autoboot:  0 
Marvell>>



This is a thin client armv5tel, in my country they are sold in large quantities at flea markets for pennies.

Some guy has already created a topic about my device - his thread helped me - it has links to source code of stock uboot (2011.06) and stock downstream kernel (2.6.39.2).

For this device I used the stock downstream kernel + openwrt 23.05.5 rootfs (screenshot in attachments) - and it works fine (network, userspace software, etc), but stock downstream kernel a very old, that's why a lot of software doesn't work correctly (for example - firefall (nf) says that the netlink kernel interface is incompatible, etc).

When, I try the stock downstream kernel + debian 12 rootfs - but the device does not start (because systemd needs 3+ kernel as far as I remember) = with stock kernel I can run only debain 7 or older.



That is, a newer kernel is needed.

There is a 6.11 kernel from bodhi for this SoC on this forum, I try it, but got error:
Marvell>> tftpboot 0x1000000 uImage
Using egiga0 device
TFTP from server 192.168.10.1; our IP address is 192.168.10.10
Filename 'uImage'.
Load address: 0x1000000
Loading: #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 ##########
done
Bytes transferred = 5871096 (5995f8 hex)
Marvell>> bootm 0x1000000
## Booting kernel from Legacy Image at 01000000 ...
   Image Name:   Linux-6.11.6-kirkwood-tld-1
   Created:      2024-11-28   8:45:30 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    5871032 Bytes = 5.6 MiB
   Load Address: 00800000
   Entry Point:  00800000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK

Starting kernel ...


Error: invalid dtb and unrecognized/unsupported machine ID
  r1=0x00000d54, r2=0x00000100
  r2[]=05 00 00 00 01 00 41 54 00 00 00 00 00 00 00 00
Available machine support:

ID (hex)	NAME
ffffffff	Generic DT based system
ffffffff	Marvell Kirkwood (Flattened Device Tree)

Please check your kernel config and/or bootloader.

*for the test, I started kernel from tftp, but in general I store OS at 1G nand




So, I understand that the reason for the error of starting a new kernel - my old uboot without FDT. And there is no newer uboot for my board
uImage I was created like this: mkimage -A arm -O linux -T kernel -C none -a 0x1000000 -e 0x1000000 -n Linux-6.11.6-kirkwood-tld-1 -d zImage-6.11.6-kirkwood-tld-1 uImage.


I tried to extract dtb/dts from my running system/kernel with various utilities (binwalk, extract-dtb, etc) + I tried extract dts/dtb from working system (from /sys, /proc, etc) - but I couldn't find dts/dtb anywhere (maybe my kernel uses an older mechanism than dts/dtb?)


printenv:
baudrate=115200
bootcmd=tc_sleep; tc_rootfs_update; setenv bootargs ${x_bootargs} ${x_bootargs_root}; run x_bootcmd_kernel; bootm 0x1000000;
bootdelay=1
eth1addr=02:50:43:55:26:c6
ethact=egiga0
ethaddr=02:50:43:fd:60:de
ipaddr=192.168.10.10
serverip=192.168.10.1
stderr=serial
stdin=serial
stdout=serial
tc_is_env_updated=yes
x_bootargs=console=tty1 console=ttyS0,115200n8 loglevel=9 mtdparts=orion_nand:1M(U-Boot),4M(uImage),-(ubipart)
x_bootargs_root=ubi.mtd=2 root=ubi0:rootfs rootfstype=ubifs
x_bootcmd_kernel=nand read.e 0x1000000 0x100000 0x400000

Environment size: 585/262140 bytes

(kernel 4M partition is enough for the stock, but for 6.11 in the future I will expand it without any problems)


uboot help:
in attachments

---
Please give me some ideas about questions:
1) How can I run the new 6.11 kernel from bodhi? Сan the downstream kernel sources or stock uboot sources help me in this? (with extract dts/dtb and etc) (I don't care that SiS video card won't work with new kernel)
2) Will it be difficult for me to build a new uboot for my board if I have stock uboot sources? If not difficult, what information about the board from stock uboot sources will I need to transfer to the new uboot sources? (I would be grateful for links to guides for this)

(the second question is most likely beyond my power, I asked purely out of interest)



Edited 6 time(s). Last edit at 11/29/2024 10:22AM by cmp18.
Attachments:
open | download - openwrt at Promwad-ThinClient.jpg (79.5 KB)
open | download - uboot_help.txt (2.5 KB)
Re: Promwad-ThinClient - can't boot 6.11 kernel
November 29, 2024 01:42PM
cmp18,

Here for how to boot this box with stock u-boot:

https://forum.doozan.com/read.php?2,102054,105374#msg-105374

The DTB is needed to be appended to uImage, though. Let me take sometime to read that old thread again.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)



Edited 1 time(s). Last edit at 11/29/2024 01:44PM by bodhi.
Re: Promwad-ThinClient - can't boot 6.11 kernel
November 29, 2024 01:46PM
Quote

I tried to extract dtb/dts from my running system/kernel with various utilities (binwalk, extract-dtb, etc) + I tried extract dts/dtb from working system (from /sys, /proc, etc) - but I couldn't find dts/dtb anywhere (maybe my kernel uses an older mechanism than dts/dtb?)

Old kernels don't have FDT. So you have to use an existing DTB for another box to boot it first. And then I can create a new DTS/DTB for you.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Promwad-ThinClient - can't boot 6.11 kernel
November 29, 2024 02:47PM
cmp18,

Power up, interrupt serial console and

bdinfo
mii info

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)



Edited 1 time(s). Last edit at 11/29/2024 02:51PM by bodhi.
Hi, try DTB from this topic
https://forum.doozan.com/read.php?2,133204,133272,quote=1

for two or more usb sticks hub with external power requerd
Re: Promwad-ThinClient - can't boot 6.11 kernel
November 30, 2024 04:26AM
bodhi,

thanks for the answers and help, after the weekend when I will be near the device, I will execute bdinfo and mii info commands and publish the output.
Also, I will try an existing DTBs for other boxes and publish results.



MM,

thanks, I will try kirkwood-promwad-wtplug.dtb from that topic (from last message) and publish results.
Re: Promwad-ThinClient - can't boot 6.11 kernel
November 30, 2024 12:47PM
MM,

> Hi, try DTB from this topic
> https://forum.doozan.com/read.php?2,133204,133272,quote=1
>
> for two or more usb sticks hub with external power
> requerd

Thanks! I forgot all about it. Probably because @gt suddenly stop posting. So that DTB might work only partially.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Promwad-ThinClient - can't boot 6.11 kernel
November 30, 2024 01:09PM
Here is the DTB, with its DTS also attached.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Attachments:
open | download - kirkwood-promwad-wtplug.dtb (10.9 KB)
open | download - kirkwood-promwad-wtplug.dts (3 KB)
Re: Promwad-ThinClient - can't boot 6.11 kernel
December 02, 2024 04:04AM
hi again,

bdinfo
arch_number = 0x00000D54
boot_params = 0x00000100
DRAM bank   = 0x00000000
-> start    = 0x00000000
-> size     = 0x20000000
DRAM bank   = 0x00000001
-> start    = 0x20000000
-> size     = 0x20000000
ethaddr     = 02:50:43:d9:43:39
ip_addr     = 192.168.10.10
baudrate    = 115200 bps
TLB addr    = 0x3FFF0000
relocaddr   = 0x3FF72000
reloc off   = 0x3F972000
irq_sp      = 0x3FE31F68
sp start    = 0x3FE31F58
FB base     = 0x00000000



mii info
PHY 0x00: OUI = 0x5043, Model = 0x0B, Rev = 0x03,  10baseT, HDX
PHY 0x01: OUI = 0x5043, Model = 0x0B, Rev = 0x03, 1000baseT, FDX



also, I tried to run the kernel by adding your dtb (cat file.dtb >> zImage ; mkimage ...), but kernel silent via serial com (rs-232) port:
U-Boot 2011.06 (Jan 03 2013 - 16:19:06)
Promwad-ThinClient

SoC:   Kirkwood 88F6282_?? RevID 0x01
DRAM:  1 GiB
NAND:  1024 MiB
In:    serial
Out:   serial
Err:   serial
Net:   egiga0, egiga1
88E1121 Initialized on egiga0, devadr 1
88E1121 Initialized on egiga1, devadr 0
Hit any key to stop autoboot:  0 

NAND read: device 0 offset 0x100000, size 0xa00000
 10485760 bytes read: OK
## Booting kernel from Legacy Image at 01000000 ...
   Image Name:   Linux-6.11.6-kirkwood-tld-1
   Created:      2024-12-02   8:59:00 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    5882531 Bytes = 5.6 MiB
   Load Address: 01000000
   Entry Point:  01000000
   Verifying Checksum ... OK
   XIP Kernel Image ... OK
OK

Starting kernel ...


current envs:
Marvell>> printenv 
baudrate=115200
bootcmd=tc_sleep; tc_rootfs_update; setenv bootargs ${x_bootargs} ${x_bootargs_root}; run x_bootcmd_kernel; bootm 0x1000000;
bootdelay=3
eth1addr=02:50:43:16:b8:61
ethact=egiga0
ethaddr=02:50:43:52:f3:44
ipaddr=192.168.10.10
serverip=192.168.10.1
stderr=serial
stdin=serial
stdout=serial
tc_is_env_updated=yes
x_bootargs=console=ttyS0,115200n8 loglevel=9 mtdparts=orion_nand:1M(U-Boot),10M(uImage),-(ubipart) earlyprintk=serial
x_bootargs_root=ubi.mtd=2 root=ubi0:rootfs rootfstype=ubifs
x_bootcmd_kernel=nand read 0x1000000 0x100000 0xA00000

Environment size: 590/262140 bytes



Edited 1 time(s). Last edit at 12/02/2024 04:06AM by cmp18.
cmp18,

Set envs to boot from usb, see manual by bodhi:

https://forum.doozan.com/read.php?2,102054,105374#msg-105374
cmp18,

create rootfs on USB stick, see

https://forum.doozan.com/read.php?2,12096

update 01 Nov 2023
Re: Promwad-ThinClient - can't boot 6.11 kernel
December 03, 2024 04:38AM
MM,

I don't need a USB stick with rootfs, I use the built-in NAND 1GB flash with ubifs for OS and etc. In any case, the kernel should at least output something to the console (even without rootfs), and not freeze without outputs




bodhi,

thank you so much! your dts/dtb are working fine for my device (network and usb are working, iperf ~700 Mbits/sec), but the device is working only with kernel 6.6.3-kirkwood-tld-1 and older. With newer kernels - the trouble that I wrote about above: the device boot once out of ten times (and works fine). in the other nine times - there is a kernel freeze without outputs after "Starting kernel ...".
However, 6.6.3 kernel are enough for me, so, thank you very much again.

if it's interesting, I added the log of the rare successful boot of the 6.11 kernel, and stable successful boot of the 6.6.3 kernel to the attachment.
Attachments:
open | download - 6.11 openwrt.jpg (76.8 KB)
open | download - boot6.11openwrt.txt (18.9 KB)
open | download - boot6.6.3debian.txt (22.9 KB)
Re: Promwad-ThinClient - can't boot 6.11 kernel
December 03, 2024 05:19AM
PS
About the usb - I was happy early (I just looked that the name of the device is being determined), but I can't connect the USB stick for expand storage, the output:
[ 3354.709259] usb 1-1.4: new high-speed USB device number 5 using orion-ehci
[ 3354.874047] usb 1-1.4: New USB device found, idVendor=05e3, idProduct=0712, bcdDevice=92.28
[ 3354.883227] usb 1-1.4: New USB device strings: Mfr=0, Product=1, SerialNumber=2
[ 3354.891343] usb 1-1.4: Product: USB Storage
[ 3354.896269] usb 1-1.4: SerialNumber: 000000009225
[ 3354.919405] usb 1-1.4: rejected 1 configuration due to insufficient available bus power
[ 3354.928212] usb 1-1.4: no configuration chosen from 1 choice

do I need to increase the power in dts/dtb?
or dts/dtb for usb incorrect? there is a usb PIN48 error in the kernel messages:
root@depo-sky-a60:~# dmesg -lerr
[    0.236969] [Firmware Bug]: Feroceon L2: bootloader left the L2 cache on!
[    6.997981] kirkwood-pinctrl f1010000.pin-controller: pin PIN48 already requested by f1010000.pin-controller; cannot claim for regulators
[    7.011269] kirkwood-pinctrl f1010000.pin-controller: pin-48 (regulators) status -22
[    7.019844] kirkwood-pinctrl f1010000.pin-controller: could not request pin 48 (PIN48) from group mpp48  on device f1010000.pin-controller
[    7.033123] simple-pm-bus regulators: Error applying setting, reverse things back


This is not critical for me, but it would be nice to fix it if possible



Edited 4 time(s). Last edit at 12/03/2024 12:13PM by cmp18.
Re: Promwad-ThinClient - can't boot 6.11 kernel
December 03, 2024 12:43PM
cmp18,

> thank you so much! your dts/dtb are working fine
> for my device (network and usb are working, iperf
> ~700 Mbits/sec), but the device is working only
> with kernel 6.6.3-kirkwood-tld-1 and older. With
> newer kernels - the trouble that I wrote about
> above: the device boot once out of ten times (and
> works fine). in the other nine times - there is a
> kernel freeze without outputs after "Starting
> kernel ...".
> However, 6.6.3 kernel are enough for me, so, thank
> you very much again.
>
> if it's interesting, I added the log of the
> rare successful boot of the 6.11 kernel, and
> stable successful boot of the 6.6.3 kernel to the
> attachment.


Looking at both boot log, I think you did not follow the instruction to boot with stock u-boot here in the Wiki thread

Quote

Kirkwood plugs

Basic steps to install Debian and new u-boot on Kirkwood boxes
Boot Kirkwood rootfs with stock u-boot

Basically you need to boot with both uImage and uInitrd from the rootfs. And load each to the correct address.

So please try that with kernel 6.11.6 and post the entire serial console here (from the u-boot banner until the Debian login prompt). Don't post excerpts (there are other important info that I need to see).

Even if it is successful, still post the whole log.

[ 3354.709259] usb 1-1.4: new high-speed USB device number 5 using orion-ehci
[ 3354.874047] usb 1-1.4: New USB device found, idVendor=05e3, idProduct=0712, bcdDevice=92.28
[ 3354.883227] usb 1-1.4: New USB device strings: Mfr=0, Product=1, SerialNumber=2
[ 3354.891343] usb 1-1.4: Product: USB Storage
[ 3354.896269] usb 1-1.4: SerialNumber: 000000009225
[ 3354.919405] usb 1-1.4: rejected 1 configuration due to insufficient available bus power
[ 3354.928212] usb 1-1.4: no configuration chosen from 1 choice

Yes there is some conflict, the regulator is not running. So I need to look at the log and see the error in context, and goes from there.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
MM
Re: Promwad-ThinClient - can't boot 6.11 kernel
December 06, 2024 01:45AM
bodhi,

>Yes there is some conflict, the regulator is not running. So I need to look at the log and see the error in context, and goes from there.

So, i got the same box and tried to boot kernel 6.11.6 using stock u-boot ('usb start' have seen partition only at my favorite noname 4g USB thumb drive, that works everywhere, 32g sandisk drive still invisible in Debian by insufficient power reason),

serial outpot below:

U-Boot 2011.06 (Jan 03 2013 - 16:19:06)
Promwad-ThinClient

SoC:   Kirkwood 88F6282_?? RevID 0x01
DRAM:  1 GiB
NAND:  1024 MiB
In:    serial
Out:   serial
Err:   serial
Net:   egiga0, egiga1
88E1121 Initialized on egiga0, devadr 1
88E1121 Initialized on egiga1, devadr 0
Hit any key to stop autoboot:  0
(Re)start USB...
USB:   Register 10011 NbrPorts 1
USB EHCI 1.00
scanning bus for devices... 3 USB Device(s) found
       scanning bus for storage devices... 1 Storage Device(s) found
Loading file "/boot/uImage" from usb device 0:1 (usbda1)
5882595 bytes read
Loading file "/boot/uInitrd" from usb device 0:1 (usbda1)
5792338 bytes read
## Booting kernel from Legacy Image at 00800000 ...
   Image Name:   Linux-6.11.6-kirkwood-tld-1
   Created:      2024-12-06   6:48:15 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    5882531 Bytes = 5.6 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 02100000 ...
   Image Name:   initramfs-6.11.6-kirkwood-tld-1
   Created:      2024-12-06   6:49:22 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    5792274 Bytes = 5.5 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK

Starting kernel ...

[    0.000000][    T0] Booting Linux on physical CPU 0x0
[    0.000000][    T0] Linux version 6.11.6-kirkwood-tld-1 (root@tldDebian) (gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40) #1 PREEMPT Wed Nov  6 21:13:12 PST 2024
[    0.000000][    T0] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=0005397f
[    0.000000][    T0] CPU: VIVT data cache, VIVT instruction cache
[    0.000000][    T0] OF: fdt: Machine model: Promwad WTPlug Reference Board
[    0.000000][    T0] printk: legacy bootconsole [earlycon0] enabled
[    0.000000][    T0] Memory policy: Data cache writeback
[    0.000000][    T0] Zone ranges:
[    0.000000][    T0]   Normal   [mem 0x0000000000000000-0x000000003fffffff]
[    0.000000][    T0] Movable zone start for each node
[    0.000000][    T0] Early memory node ranges
[    0.000000][    T0]   node   0: [mem 0x0000000000000000-0x000000003fffffff]
[    0.000000][    T0] Initmem setup node 0 [mem 0x0000000000000000-0x000000003fffffff]
[    0.000000][    T0] Kernel command line: console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 earlyprintk=serial
[    0.000000][    T0] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes, linear)
[    0.000000][    T0] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.000000][    T0] Built 1 zonelists, mobility grouping on.  Total pages: 262144
[    0.000000][    T0] mem auto-init: stack:off, heap alloc:on, heap free:off
[    0.000000][    T0] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000][    T0] trace event string verifier disabled
[    0.000000][    T0] rcu: Preemptible hierarchical RCU implementation.
[    0.000000][    T0]  Trampoline variant of Tasks RCU enabled.
[    0.000000][    T0]  Tracing variant of Tasks RCU enabled.
[    0.000000][    T0] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000][    T0] RCU Tasks: Setting shift to 0 and lim to 1 rcu_task_cb_adjust=1 rcu_task_cpu_ids=1.
[    0.000000][    T0] RCU Tasks Trace: Setting shift to 0 and lim to 1 rcu_task_cb_adjust=1 rcu_task_cpu_ids=1.
[    0.000000][    T0] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000][    T0] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[    0.000000][    T0] clocksource: orion_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 9556302233 ns
[    0.000001][    T0] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 10737418237ns
[    0.008618][    T0] Switching to timer-based delay loop, resolution 5ns
[    0.015848][    T0] Console: colour dummy device 80x30
[    0.021102][    T0] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=2000000)
[    0.032397][    T0] CPU: Testing write buffer coherency: ok
[    0.038083][    T0] pid_max: default: 32768 minimum: 301
[    0.049908][    T0] LSM: initializing lsm=capability
[    0.056205][    T0] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.064279][    T0] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.081947][    T1] Setting up static identity map for 0x100000 - 0x100058
[    0.089132][    T1] mvebu-soc-id: MVEBU SoC ID=0x6282, Rev=0x1
[    0.095246][    T1] rcu: Hierarchical SRCU implementation.
[    0.100799][    T1] rcu:     Max phase no-delay instances is 1000.
[    0.107918][    T1] Memory: 1009348K/1048576K available (11264K kernel code, 1591K rwdata, 5172K rodata, 1024K init, 311K bss, 36220K reserved, 0K cma-reserved)
[    0.123807][    T1] devtmpfs: initialized
[    0.133315][    T1] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.143945][    T1] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
[    0.157164][    T1] prandom: seed boundary self test passed
[    0.165982][    T1] prandom: 100 self tests passed
[    0.170815][    T1] pinctrl core: initialized pinctrl subsystem
[    0.180124][    T1] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.187546][    T1] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.196108][    T1] audit: initializing netlink subsys (disabled)
[    0.203533][    T1] thermal_sys: Registered thermal governor 'step_wise'
[    0.203621][   T22] audit: type=2000 audit(0.180:1): state=initialized audit_enabled=0 res=1
[    0.218874][    T1] cpuidle: using governor ladder
[    0.223714][    T1] cpuidle: using governor menu
[    0.228794][    T1] [Firmware Bug]: Feroceon L2: bootloader left the L2 cache on!
[    0.236314][    T1] Feroceon L2: Cache support initialised.
[    0.245185][    T1] platform f1010000.pin-controller: Fixed dependency cycle(s) with /ocp@f1000000/pin-controller@10000/pmx-usb-power-enable
[    0.257953][    T1] platform f1010000.pin-controller: Fixed dependency cycle(s) with /ocp@f1000000/pin-controller@10000/pxm-gpio-header-gpo
[    0.270598][    T1] platform f1010000.pin-controller: Fixed dependency cycle(s) with /ocp@f1000000/pin-controller@10000/pmx-gpio-header
[    0.288271][    T1] No ATAGs?
[    0.668633][    T1] raid6: int32x8  gen()   151 MB/s
[    1.008632][    T1] raid6: int32x4  gen()   140 MB/s
[    1.348632][    T1] raid6: int32x2  gen()   181 MB/s
[    1.688630][    T1] raid6: int32x1  gen()   135 MB/s
[    1.693627][    T1] raid6: using algorithm int32x2 gen() 181 MB/s
[    2.048629][    T1] raid6: .... xor() 115 MB/s, rmw enabled
[    2.054235][    T1] raid6: using intx1 recovery algorithm
[    2.080058][    T1] SCSI subsystem initialized
[    2.085173][    T1] usbcore: registered new interface driver usbfs
[    2.098692][    T1] usbcore: registered new interface driver hub
[    2.104785][    T1] usbcore: registered new device driver usb
[    2.128962][    T1] pps_core: LinuxPPS API ver. 1 registered
[    2.134659][    T1] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    2.158659][    T1] PTP clock support registered
[    2.165856][    T1] vgaarb: loaded
[    2.179290][    T1] clocksource: Switched to clocksource orion_clocksource
[    2.205869][    T1] VFS: Disk quotas dquot_6.6.0
[    2.219662][    T1] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    2.262189][    T1] NET: Registered PF_INET protocol family
[    2.269488][    T1] IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear)
[    2.299616][    T1] tcp_listen_portaddr_hash hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    2.309030][    T1] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    2.330153][    T1] TCP established hash table entries: 8192 (order: 3, 32768 bytes, linear)
[    2.338777][    T1] TCP bind hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    2.370267][    T1] TCP: Hash tables configured (established 8192 bind 8192)
[    2.377909][    T1] MPTCP token hash table entries: 1024 (order: 1, 12288 bytes, linear)
[    2.399515][    T1] UDP hash table entries: 512 (order: 1, 8192 bytes, linear)
[    2.406810][    T1] UDP-Lite hash table entries: 512 (order: 1, 8192 bytes, linear)
[    2.430169][    T1] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    2.450086][    T1] RPC: Registered named UNIX socket transport module.
[    2.456742][    T1] RPC: Registered udp transport module.
[    2.479304][    T1] RPC: Registered tcp transport module.
[    2.484732][    T1] RPC: Registered tcp-with-tls transport module.
[    2.499303][    T1] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    2.506487][    T1] PCI: CLS 0 bytes, default 32
[    2.521788][   T11] Trying to unpack rootfs image as initramfs...
[    3.299713][   T11] Freeing initrd memory: 5660K
[    3.355819][    T1] Initialise system trusted keyrings
[    3.361163][    T1] Key type blacklist registered
[    3.366207][    T1] workingset: timestamp_bits=14 max_order=18 bucket_order=4
[    3.373511][    T1] zbud: loaded
[    3.389011][    T1] NFS: Registering the id_resolver key type
[    3.394869][    T1] Key type id_resolver registered
[    3.399800][    T1] Key type id_legacy registered
[    3.404682][    T1] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    3.412142][    T1] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[    3.421288][    T1] fuse: init (API version 7.40)
[    3.634470][    T1] xor: measuring software checksum speed
[    3.642246][    T1]    arm4regs        :  1469 MB/sec
[    3.651032][    T1]    8regs           :   885 MB/sec
[    3.658709][    T1]    32regs          :  1261 MB/sec
[    3.663796][    T1] xor: using function: arm4regs (1469 MB/sec)
[    3.669765][    T1] async_tx: api initialized (async)
[    3.674847][    T1] Key type asymmetric registered
[    3.679678][    T1] Asymmetric key parser 'x509' registered
[    3.726867][    T1] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
[    3.735619][    T1] io scheduler bfq registered
[    3.882983][    T1] kirkwood-pinctrl f1010000.pin-controller: registered pinctrl driver
[    3.892798][    T1] gpio gpiochip0: Static allocation of GPIO base is deprecated, use dynamic allocation.
[    3.903606][    T1] gpio gpiochip1: Static allocation of GPIO base is deprecated, use dynamic allocation.
[    3.914540][    T1] mv_xor f1060800.xor: Marvell shared XOR driver
[    3.980752][    T1] mv_xor f1060800.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    3.992650][    T1] mv_xor f1060900.xor: Marvell shared XOR driver
[    4.060752][    T1] mv_xor f1060900.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    4.072749][    T1] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    4.082053][    T1] printk: legacy console [ttyS0] disabled
[    4.088249][    T1] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 27, base_baud = 12500000) is a 16550A
[    4.098093][    T1] printk: legacy console [ttyS0] enabled
[    4.098093][    T1] printk: legacy console [ttyS0] enabled
[    4.109219][    T1] printk: legacy bootconsole [earlycon0] disabled
[    4.109219][    T1] printk: legacy bootconsole [earlycon0] disabled
[    4.140963][    T1] f1012100.serial: ttyS1 at MMIO 0xf1012100 (irq = 28, base_baud = 12500000) is a 16550A
[    4.161405][    T1] loop: module loaded
[    4.166061][    T1] sata_mv f1080000.sata: slots 32 ports 1
[    4.174126][    T1] scsi host0: sata_mv
[    4.178790][    T1] ata1: SATA max UDMA/133 irq 29 lpm-pol 0
[    4.185627][    T1] nand: device found, Manufacturer ID: 0xec, Chip ID: 0xd3
[    4.192851][    T1] nand: Samsung NAND 1GiB 3,3V 8-bit
[    4.198022][    T1] nand: 1024 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    4.206540][    T1] Scanning device for bad blocks
[    4.213649][    T1] Bad eraseblock 29 at 0x0000003a0000
[    4.220335][    T1] Bad eraseblock 48 at 0x000000600000
[    4.285338][    T1] Bad eraseblock 831 at 0x0000067e0000
[    4.314532][    T1] Bad eraseblock 1144 at 0x000008f00000
[    4.360108][    T1] Bad eraseblock 1670 at 0x00000d0c0000
[    4.434763][    T1] Bad eraseblock 2576 at 0x000014200000
[    4.521269][   T53] ata1: SATA link down (SStatus 0 SControl F300)
[    4.757048][    T1] Bad eraseblock 6640 at 0x000033e00000
[    4.798104][    T1] Bad eraseblock 7107 at 0x000037860000
[    4.825722][    T1] Bad eraseblock 7398 at 0x000039cc0000
[    4.891808][    T1] 6 fixed-partitions partitions found on MTD device orion_nand
[    4.899249][    T1] Creating 6 MTD partitions on "orion_nand":
[    4.905133][    T1] 0x000000000000-0x0000001c0000 : "uboot"
[    4.911500][    T1] 0x0000001c0000-0x000000480000 : "env"
[    4.917563][    T1] 0x000000480000-0x0000005e0000 : "test"
[    4.923758][    T1] 0x0000005e0000-0x000000b20000 : "conf"
[    4.929962][    T1] 0x000000b20000-0x000004860000 : "linux"
[    4.936359][    T1] 0x000004860000-0x000010000000 : "user"
[    4.944245][    T1] wireguard: WireGuard 1.0.0 loaded. See www.wireguard.com for information.
[    4.952902][    T1] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
[    4.984825][    T1] hwmon hwmon0: temp1_input not attached to any thermal zone
[    5.010740][    T1] hwmon hwmon1: temp1_input not attached to any thermal zone
[    5.019004][    T1] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[    5.100795][    T1] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 02:50:43:e6:94:61
[    5.190743][    T1] mv643xx_eth_port mv643xx_eth_port.1 eth1: port 0 with MAC address 02:50:43:86:58:08
[    5.200737][    T1] orion-ehci f1050000.ehci: EHCI Host Controller
[    5.207022][    T1] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1
[    5.215816][    T1] orion-ehci f1050000.ehci: irq 33, io mem 0xf1050000
[    5.249310][    T1] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00
[    5.256438][    T1] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.11
[    5.265482][    T1] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    5.273458][    T1] usb usb1: Product: EHCI Host Controller
[    5.279059][    T1] usb usb1: Manufacturer: Linux 6.11.6-kirkwood-tld-1 ehci_hcd
[    5.286512][    T1] usb usb1: SerialNumber: f1050000.ehci
[    5.292847][    T1] hub 1-0:1.0: USB hub found
[    5.297370][    T1] hub 1-0:1.0: 1 port detected
[    5.302902][    T1] usbcore: registered new interface driver usb-storage
[    5.310417][    T1] rtc-mv f1010300.rtc: is a wakeup source
[    5.316696][    T1] rtc-mv f1010300.rtc: registered as rtc0
[    5.322387][    T1] rtc-mv f1010300.rtc: setting system clock to 2024-12-06T06:52:39 UTC (1733467959)
[    5.332032][    T1] i2c_dev: i2c /dev entries driver
[    5.339125][    T1] device-mapper: uevent: version 1.0.3
[    5.345108][    T1] device-mapper: ioctl: 4.48.0-ioctl (2023-03-01) initialised: dm-devel@lists.linux.dev
[    5.355393][    T1] device-mapper: multipath round-robin: version 1.2.0 loaded
[    5.362725][    T1] device-mapper: multipath queue-length: version 0.2.0 loaded
[    5.370100][    T1] device-mapper: multipath service-time: version 0.3.0 loaded
[    5.377552][    T1] device-mapper: dm-log-userspace: version 1.3.0 loaded
[    5.385183][    T1] sdhci: Secure Digital Host Controller Interface driver
[    5.392132][    T1] sdhci: Copyright(c) Pierre Ossman
[    5.399470][    T1] ledtrig-cpu: registered to indicate activity on CPUs
[    5.419666][    T1] hid: raw HID events driver (C) Jiri Kosina
[    5.426003][    T1] drop_monitor: Initializing network drop monitor service
[    5.437352][    T1] NET: Registered PF_INET6 protocol family
[    5.445875][    T1] Segment Routing with IPv6
[    5.450354][    T1] RPL Segment Routing with IPv6
[    5.455202][    T1] In-situ OAM (IOAM) with IPv6
[    5.460002][    T1] NET: Registered PF_PACKET protocol family
[    5.466122][    T1] Key type dns_resolver registered
[    5.487399][    T1] registered taskstats version 1
[    5.492477][    T1] Loading compiled-in X.509 certificates
[    5.527941][    T1] Key type .fscrypt registered
[    5.532659][    T1] Key type fscrypt-provisioning registered
[    5.543857][    T1] Key type big_key registered
[    5.589539][   T52] usb 1-1: new high-speed USB device number 2 using orion-ehci
[    5.731926][    T1] Key type encrypted registered
[    5.801209][   T52] usb 1-1: New USB device found, idVendor=0000, idProduct=0000, bcdDevice= 0.00
[    5.829213][  T111] "cryptomgr_test" (111) uses obsolete ecb(arc4) skcipher
[    5.836334][   T52] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    5.850461][   T52] hub 1-1:1.0: USB hub found
[    5.861972][   T52] hub 1-1:1.0: 7 ports detected
[    5.870201][   T52] hub 1-1:1.0: insufficient power available to use all downstream ports
[    6.209316][   T52] usb 1-1.4: new high-speed USB device number 3 using orion-ehci
[    6.382043][   T52] usb 1-1.4: New USB device found, idVendor=ffff, idProduct=5678, bcdDevice= 2.00
[    6.399310][   T52] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    6.407356][   T52] usb 1-1.4: Product: Disk 2.0
[    6.429304][   T52] usb 1-1.4: Manufacturer: USB
[    6.433953][   T52] usb 1-1.4: SerialNumber: 3406751006873279858
[    6.450261][   T52] usb-storage 1-1.4:1.0: USB Mass Storage device detected
[    6.469867][   T52] scsi host1: usb-storage 1-1.4:1.0
[    7.550499][   T32] scsi 1:0:0:0: Direct-Access     VendorCo ProductCode      2.00 PQ: 0 ANSI: 4
[    7.572944][   T21] sd 1:0:0:0: [sda] 7864320 512-byte logical blocks: (4.03 GB/3.75 GiB)
[    7.589813][   T21] sd 1:0:0:0: [sda] Write Protect is off
[    7.599564][   T21] sd 1:0:0:0: [sda] No Caching mode page found
[    7.605622][   T21] sd 1:0:0:0: [sda] Assuming drive cache: write through
[    7.660575][   T21]  sda: sda1
[    7.664133][   T21] sd 1:0:0:0: [sda] Attached SCSI removable disk
[    7.683201][   T21] kirkwood-pinctrl f1010000.pin-controller: pin PIN45 already requested by f1010000.pin-controller; cannot claim for regulators
[    7.696469][   T21] kirkwood-pinctrl f1010000.pin-controller: error -EINVAL: pin-45 (regulators)
[    7.705391][   T21] kirkwood-pinctrl f1010000.pin-controller: error -EINVAL: could not request pin 45 (PIN45) from group mpp45  on device f1010000.pin-controller
[    7.719966][   T21] simple-pm-bus regulators: Error applying setting, reverse things back
[    7.728512][    T1] clk: Disabling unused clocks
[    7.736463][    T1] Freeing unused kernel image (initmem) memory: 1024K
[    7.743950][    T1] Checked W+X mappings: passed, no W+X pages found
[    7.750427][    T1] Run /init as init process
Loading, please wait...
Starting systemd-udevd version 252.17-1~deb12u1
[    8.927527][  T157] usbcore: registered new interface driver uas
Begin: Loading essential drivers ... done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ... done.
Begin: Will now check root file system ... fsck from util-linux 2.38.1
[/sbin/fsck.ext3 (1) -- /dev/sda1] fsck.ext3 -a -C0 /dev/sda1
rootfs: clean, 42813/245760 files, 615659/982134 blocks
done.
[   19.636725][  T184] EXT4-fs (sda1): mounting ext3 file system using the ext4 subsystem
[   19.734636][  T184] EXT4-fs (sda1): mounted filesystem 4d452ba1-798f-4b3b-8e1d-80c3ce395ff3 ro with ordered data mode. Quota mode: none.
done.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... done.
INIT: version 3.06 booting
INIT: No inittab.d directory found
Using makefile-style concurrent boot in runlevel S.
Setting hostname to 'debian'...done.
Starting hotplug events dispatcher: systemd-udevd.
Synthesizing the initial hotplug events (subsystems)...done.
Synthesizing the initial hotplug events (devices)...done.
Waiting for /dev to be fully populated...[   23.026796][  T371] at24 1-0050: supply vcc not found, using dummy regulator
[   23.095211][  T370] orion_wdt: Initial timeout 21 sec
[   23.699386][  T366] marvell-cesa f1030000.crypto: CESA device successfully registered
[   23.810747][  T367] sd 1:0:0:0: Attached scsi generic sg0 type 0
done.
Activating swap:.
[   25.151475][  T530] EXT4-fs (sda1): re-mounted 4d452ba1-798f-4b3b-8e1d-80c3ce395ff3 r/w. Quota mode: none.
Will now check all file systems.
Checking all file systems.
LABEL=rootfs is mounted
Done checking file systems.
Log is being saved in /var/log/fsck/checkfs if that location is writable.
Cleaning up temporary files...Cleaning /tmp...done.
 /tmp.
Will now mount local filesystems:.
Will now activate swapfile swap, if any:done.
Checking minimum space in /tmp...done.
Cleaning up temporary files....
Starting Setting kernel variables: sysctl.
[   27.089335][    C0] random: crng init done
Initializing random number generator...done.
Configuring network interfaces...Internet Systems Consortium DHCP Client 4.4.3-P1
Copyright 2004-2022 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/eth0/02:50:43:e6:94:61
Sending on   LPF/eth0/02:50:43:e6:94:61
Sending on   Socket/fallback
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 5
[   39.912757][    C0] mv643xx_eth_port mv643xx_eth_port.0 eth0: link up, 100 Mb/s, full duplex, flow control disabled
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 14
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 17
DHCPOFFER of 192.168.1.57 from 192.168.1.1
DHCPREQUEST for 192.168.1.57 on eth0 to 255.255.255.255 port 67
DHCPACK of 192.168.1.57 from 192.168.1.1
bound to 192.168.1.57 -- renewal in 35306 seconds.
done.
Starting RPC port mapper daemon: rpcbind.
Starting NFS common utilities: statd idmapd
.
Cleaning up temporary files....
INIT: Entering runlevel: 2
Using makefile-style concurrent boot in runlevel 2.
Starting busybox' syslogd implementation : syslogdStarting /sbin/syslogd...
1042 (syslogd)
.
Starting system message bus: dbus.
Not starting NFS kernel daemon: no exports ... (warning).
Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon.
Starting NTP server: ntpd2024-12-05T22:53:29 ntpd[1083]: INIT: ntpd ntpsec-1.2.2: Starting
2024-12-05T22:53:29 ntpd[1083]: INIT: Command line: /usr/sbin/ntpd -p /run/ntpd.pid -c /etc/ntpsec/ntp.conf -g -N -u ntpsec:ntpsec
.
Starting NTP server: ntpd2024-12-05T22:53:29 ntpd[1080]: INIT: ntpd ntpsec-1.2.2: Starting
2024-12-05T22:53:29 ntpd[1080]: INIT: Command line: /usr/sbin/ntpd -p /var/run/ntpd.pid -g -u 104:106
.
Starting busybox' klogd implementation : klogdStarting /sbin/klogd...
1054 (klogd)
.
Starting OpenBSD Secure Shell server: sshd.
Running local boot scripts (/etc/rc.local)
.

Debian GNU/Linux 12 debian ttyS0

debian login:



Edited 1 time(s). Last edit at 12/06/2024 02:08AM by MM.
MM
Re: Promwad-ThinClient - can't boot 6.11 kernel
December 06, 2024 02:56AM
bodhi,

also i found promwad.h and promwad.c from stock u-boot sources, maybe they will be useful?

and forgot in the previous post: LED is always green, power button - no action
Attachments:
open | download - wtplug.h (1.3 KB)
open | download - wtplug.c (11.9 KB)
Re: Promwad-ThinClient - can't boot 6.11 kernel
December 06, 2024 03:27AM
MM,

it's cool that kernel 6.11 has loaded normally at you device.
But I did a lot of tests with kernel 6.11 with my device:
1) booting from nand with kernel+initrd
2) booting from usb repeating everything according to bodhi's instruction 1in1 (kernel, unitrd, right addresses... I used dtb from bodhi's post on this topic).
But the result is the same - 6.11 can boot normal and stably for a long time, but there will come an hour/day when it freezes at the beginning of the boot.
But there is no such problem with 6.6 and older kernels, it always works perfectly. It is very strange.
So, please let me know in the future after some time whether 6.11 always boots stably (do more reboots, power resets on different days, etc). If there is no problem with your device and 6.11 kernel, I will order another device for the tests.
Maybe I have hardware problems with my device.


bodhi,

I wanted to post the full startup log after the all tests today, but MM already did it before me :)





MM,

About LEDs I think, what red GPIO in dts differ from GPIO in mach files from stock kernel sources (downstrean 2.6.39.2) .



gpio in dts:
led-red {
label = "wtplug:red:stat";
gpios = <&gpio1 6 GPIO_ACTIVE_HIGH>;
};

led-green {
label = "wtplug:green:stat";
gpios = <&gpio1 7 GPIO_ACTIVE_HIGH>;
linux,default-trigger = "default-on";
};



gpio in stock kernel sources (linux-2.6.39.2/arch/arm/mach-kirkwood/wtplug-setup.c):
#define WTPLUG_GPIO_RED_LED 17
#define WTPLUG_GPIO_GREEN_LED 7



(but I can be wrong about LEDs)



Edited 7 time(s). Last edit at 12/06/2024 12:38PM by cmp18.
Re: Promwad-ThinClient - can't boot 6.11 kernel
December 06, 2024 02:46PM
All,


Error in MM's log:
[    5.836334][   T52] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    5.850461][   T52] hub 1-1:1.0: USB hub found
[    5.861972][   T52] hub 1-1:1.0: 7 ports detected
[    5.870201][   T52] hub 1-1:1.0: insufficient power available to use all downstream ports

Have you checked the power supply?

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Promwad-ThinClient - can't boot 6.11 kernel
December 06, 2024 03:04PM
bodhi,

I have a similar problem and errors with usb, but there is no such problem on the stock 2.6.39.2 kernel (usb works fine).

maybe the answer is in these lines:

MMs errors:
[ 7.683201][ T21] kirkwood-pinctrl f1010000.pin-controller: pin PIN45 already requested by f1010000.pin-controller; cannot claim for regulators
[ 7.696469][ T21] kirkwood-pinctrl f1010000.pin-controller: error -EINVAL: pin-45 (regulators)
[ 7.705391][ T21] kirkwood-pinctrl f1010000.pin-controller: error -EINVAL: could not request pin 45 (PIN45) from group mpp45 on device f1010000.pin-controller
[ 7.719966][ T21] simple-pm-bus regulators: Error applying setting, reverse things back



my errors:
[ 6.997981] kirkwood-pinctrl f1010000.pin-controller: pin PIN48 already requested by f1010000.pin-controller; cannot claim for regulators
[ 7.011269] kirkwood-pinctrl f1010000.pin-controller: pin-48 (regulators) status -22
[ 7.019844] kirkwood-pinctrl f1010000.pin-controller: could not request pin 48 (PIN48) from group mpp48 on device f1010000.pin-controller
[ 7.033123] simple-pm-bus regulators: Error applying setting, reverse things back
Re: Promwad-ThinClient - can't boot 6.11 kernel
December 06, 2024 03:40PM
MM,

> also i found promwad.h and promwad.c from stock
> u-boot sources, maybe they will be useful?

These files are useful only for the LED, and recovery. No sight of USB power stuff.

>
> and forgot in the previous post: LED is always
> green, power button - no action

Try playing with the LEDs.

echo none > /sys/class/leds/wtplug:red:stat
echo default-on > /sys/class/leds/wtplug:red:stat

echo none > /sys/class/leds/wtplug:green:stat
echo default-on > /sys/class/leds/wtplug: green:stat

If it works, Add this to the env of /ect/rc.local (before exit 0).
echo default-on > /sys/class/leds/wtplug: green:stat



About the power button key see here in the Wiki thread:

Quote

Key daemon (button control)

Multimedia keyboard daemon for Linux
How to use set up button to reboot or shutdown with Key Daemon (esekeyd)
Shutdown with Power button with regret option by esekeyd

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Promwad-ThinClient - can't boot 6.11 kernel
December 06, 2024 04:46PM
Looks like we need a new DTB.

usb_power: regulator@1 {
                        compatible = "regulator-fixed";
                        reg = <1>;
                        regulator-name = "USB Power";
                        regulator-min-microvolt = <5000000>;
                        regulator-max-microvolt = <5000000>;
                        regulator-always-on;
                        regulator-boot-on;
                        gpios = <&gpio1 16 GPIO_ACTIVE_LOW>;
                };


That should be active high, according to the GPL u-boot patch.

I'll compile a new DTB.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: