Welcome! Log In Create A New Profile

Advanced

Debian on Dell Wyse 3020

Posted by Mischif 
Re: Debian on Dell Wyse 3020
April 17, 2023 06:36PM
Mischif,

> Just installing the updated kernel didn't change
> anything, but when I built and installed the 6.2
> initrd the spi flash/rtc were recognized and I
> could mount my real /boot partition

Sounds like you've installed it incorrectly. Reinstall kernel 6.2.8-mvebu-tld-2.4. When you do that it will replace the current installation, the vmlinuz and initramfs will be created automatically. You would not have to do it yourself, dpkg will generate them.

Below is the installation instruction for kernel 6.2.8-mvebu-tld-1
Quote

Installation

NOTE: the following steps are for a general kernel upgrade. For initial installation, please see "Installation Instruction for specific boxes" in the thread description at the top of this release thread.

1. Backup your current zImage, uImage, and uInitrd. In the /boot directory, these are files for your current kernel (xx.xx.xx is the version number):
uInitrd
uImage
zImage-xx.xx.xx-mvebu-xxx
initrd.img-xx.xx.xx-mvebu-xxx
System.map-xx.xx.xx-mvebu-xxx
vmlinuz-xx.xx.xx-mvebu-xxx
config-xx.xx.xx-mvebu-xxx
dts/

2. Extract the kernel and the DTB files in the archive:

cd /boot
tar -xjf linux-6.2.8-mvebu-tld-1-bodhi.tar.bz2
tar -xf linux-dtb-6.2.8-mvebu-tld-1.tar

3. And install it with dpkg. Remove flash-kernel first to avoid potential problem (if flash-kernel was not installed then you'll see some error output):

cd /boot
apt-get remove flash-kernel
dpkg -i linux-image-6.2.8-mvebu-tld-1_1.0_armhf.deb

4. Create uImage and uInitrd (kernel file initrd.img-6.2.8-mvebu-tld-1 was generated by dpkg in step 3). I am using the Zyxel NAS326 as an example here. Please replace armada-380-zyxel-nas326.dtb below with the appropriate DTB name for your box.

cd /boot
cp -a zImage-6.2.8-mvebu-tld-1 zImage.fdt
cat dts/armada-380-zyxel-nas326.dtb >> zImage.fdt
mkimage -A arm -O linux -T kernel -C none -a 0x00008000 -e 0x00008000 -n Linux-6.2.8-mvebu-tld-1 -d zImage.fdt uImage
mkimage -A arm -O linux -T ramdisk -C gzip -a 0x00000000 -e 0x00000000 -n initramfs-6.2.8-mvebu-tld-1 -d initrd.img-6.2.8-mvebu-tld-1 uInitrd

5. The new uImage and uInitrd files should be created in /boot directory now. You're ready to reboot the system:
sync
sync
sync
shutdown -r now

> [ 5.305275][ T1121] rtc-ds1307 0-0068:
> registered as rtc0
> [ 5.306014][ T1113] pxa2xx-spi d4035000.spi: no
> DMA channels available, using PIO
> [ 5.319506][ T1121] rtc-ds1307 0-0068: hctosys:
> unable to read the hardware clock
> [ 5.337090][ T1113] spi-nor spi0.0: w25q32
> (4096 Kbytes)
> [ 5.344427][ T1121] i2c i2c-0: PXA I2C
> adapter, slave address 1
> [ 5.360090][ T1121] (null): Enabling slave
> mode
> [ 5.370841][ T1121] i2c i2c-1: PXA I2C
> adapter, slave address 1
> [ 5.377375][ T1121] (null): Enabling slave
> mode
> [ 5.383228][ T1121] i2c i2c-2: PXA I2C
> adapter, slave address 1

SPI flash works. But RTC needs to be looked at (RTC is on I2C bus).

> [ 14.056583][ T1733] FAT-fs (sda1): utf8 is not
> a recommended IO charset for FAT filesystems,
> filesystem will be case sensitive!

FAT works.

> root@debian:~# cat /proc/mtd
> dev: size erasesize name
> mtd0: 00400000 00001000 "spi0.0"

That's 4MB SPI flash.

> I still can't login over uart and I still get the
> respawning too fast error;

That might have something to do with the DTS or /etc/inittab. I'll take a look back on the HP T5325 to refresh my memory.


> the onboard flash
> doesn't show up as mmcblk0 like it does with the
> dell kernel but I think the presence of /dev/sdb
> means there's some path to getting it recognized.

Please post

lsblk
lspci
mount
df -h

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Debian on Dell Wyse 3020
April 17, 2023 07:03PM
Mischif,

Edit the /etc/inittab file

Replace
T0:2345:respawn:/sbin/getty -L ttyS0 115200 linux
With
T0:2345:respawn:/sbin/getty -L ttyS2 115200 linux

And with serial console connected, reboot

sync
shutdown -r now
This time it should maintain serial console throughout.

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



Edited 1 time(s). Last edit at 04/17/2023 08:04PM by bodhi.
Mischif
Re: Debian on Dell Wyse 3020
April 17, 2023 08:11PM
bodhi,

Changing /etc/inittab was the missing link, now I get a login prompt over serial.

The rtc seems to be working from what the logs are saying:
Saving the system clock to /dev/rtc0.
Hardware Clock updated to Mon Apr 17 17:49:32 PDT 2023.

But for some reason restarting doesn't seem to work; I have to hold down the power button:
root@debian:~# shutdown -r now
[...]
[10404.356209][ T2798] reboot: Restarting system
[10405.361306][ T2798] Reboot failed -- System halted

Since /dev/sdb doesn't come up as a mountable block device there isn't anything to see about it when the system comes up:
root@debian:~# lspci
-bash: lspci: command not found

root@debian:~# lsblk
NAME      MAJ:MIN RM  SIZE RO TYPE MOUNTPOINT
sda         8:0    1  1.9G  0 disk
├─sda1      8:1    1   64M  0 part /boot
└─sda2      8:2    1  1.8G  0 part /
mtdblock0  31:0    0    4M  0 disk

root@debian:~# df -h
Filesystem      Size  Used Avail Use% Mounted on
udev           1001M     0 1001M   0% /dev
tmpfs           202M  1.4M  200M   1% /run
/dev/sda2       1.8G  934M  766M  55% /
tmpfs           5.0M     0  5.0M   0% /run/lock
tmpfs           403M     0  403M   0% /dev/shm
/dev/sda1        63M   24M   40M  38% /boot
tmpfs          1006M     0 1006M   0% /tmp

root@debian:~# mount
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
udev on /dev type devtmpfs (rw,nosuid,relatime,size=1024028k,nr_inodes=184590,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=600,ptmxmode=000)
tmpfs on /run type tmpfs (rw,nosuid,nodev,noexec,relatime,size=205904k,mode=755)
/dev/sda2 on / type ext3 (rw,noatime,errors=remount-ro)
tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
securityfs on /sys/kernel/security type securityfs (rw,relatime)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev,noexec,relatime,size=411800k)
/dev/sda1 on /boot type vfat (rw,noatime,fmask=0022,dmask=0022,codepage=437,iocharset=utf8,shortname=mixed,utf8,errors=remount-ro)
tmpfs on /tmp type tmpfs (rw,relatime)
rpc_pipefs on /run/rpc_pipefs type rpc_pipefs (rw,relatime)
Re: Debian on Dell Wyse 3020
April 17, 2023 10:06PM
Mischif,

> Changing /etc/inittab was the missing link, now I
> get a login prompt over serial.

Cool!

> The rtc seems to be working from what the logs are
> saying:
>
> Saving the system clock to /dev/rtc0.
> Hardware Clock updated to Mon Apr 17 17:49:32 PDT
> 2023.
>

Yes indeed! I must have looked at the old dmesg.

>
> But for some reason restarting doesn't seem to
> work; I have to hold down the power button:
>
> root@debian:~# shutdown -r now
> [...]
> [10404.356209][ T2798] reboot: Restarting system
> [10405.361306][ T2798] Reboot failed -- System
> halted
>

OK. I think this probably needs its own driver, like a few Marvell boxes. Let me look at the kernel config again. But is power off is working?

shutdown -h now
or
poweroff

> Since /dev/sdb doesn't come up as a mountable
> block device there isn't anything to see about it
> when the system comes up

Let's take inventory of the 4 USB ports and the internal MMC. Please post whatever you think should be regarding these ports.

Quote

Also, the old logs seem to suggest mmc needs the sdhci/sdhci-pxa/sdhci-pltfm modules, are those already compiled into the kernel as well?

Yes, part of it. sdhci-pltfm only exists in old kernel. I'll build tld-2.5.

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



Edited 1 time(s). Last edit at 04/17/2023 10:59PM by bodhi.
Mischif
Re: Debian on Dell Wyse 3020
April 17, 2023 11:56PM
bodhi,

shutdown/poweroff/reboot all halt the system - it unmounts filesystems, stops running processes, etc. - but it doesn't cut power to the system or reboot the system from wloader, I think it's related to the power button not working but that's just a guess.

These are the only dell kernel logs that look to be directly related to the onboard flash:
Jun  1 00:00:28 localhost kernel: [    1.906585] sdhci: Secure Digital Host Controller Interface driver
Jun  1 00:00:28 localhost kernel: [    1.910522] sdhci: Copyright(c) Pierre Ossman
Jun  1 00:00:28 localhost kernel: [    1.914581] mmc0: no vmmc regulator found
Jun  1 00:00:28 localhost kernel: [    1.918273] Registered led device: mmc0::
Jun  1 00:00:28 localhost kernel: [    1.918457] mmc0: SDHCI controller on sdhci-pxa.2 [sdhci-pxa.2] using ADMA
Jun  1 00:00:28 localhost kernel: [    1.922119] mmc1: no vmmc regulator found
Jun  1 00:00:28 localhost kernel: [    1.925750] Registered led device: mmc1::
Jun  1 00:00:28 localhost kernel: [    1.925933] mmc1: SDHCI controller on sdhci-pxa.0 [sdhci-pxa.0] using ADMA
Jun  1 00:00:28 localhost kernel: [    1.929504] sdhci-pltfm: SDHCI platform and OF driver helper
[...]
Jun  1 00:00:28 localhost kernel: [    2.093475] mmc0: new high speed MMC card at address 0001
Jun  1 00:00:28 localhost kernel: [    2.096893] mmc0: ios: 50000000 Hz, 8 bit width
Jun  1 00:00:28 localhost kernel: [    2.101013] mmcblk0: mmc0:0001 H4G1d 3.64 GiB 
Jun  1 00:00:28 localhost kernel: [    2.104705] mmcblk0boot0: mmc0:0001 H4G1d partition 1 4.00 MiB
Jun  1 00:00:28 localhost kernel: [    2.108398] mmcblk0boot1: mmc0:0001 H4G1d partition 2 4.00 MiB
Jun  1 00:00:28 localhost kernel: [    2.114105]  mmcblk0: p1 p2 p3 p4
Jun  1 00:00:28 localhost kernel: [    2.122009]  mmcblk0boot1: unknown partition table
Jun  1 00:00:28 localhost kernel: [    2.132080]  mmcblk0boot0: unknown partition table

But I think this might be related as well, maybe g_mass_storage is another necessary module?
Jun  1 00:00:28 localhost kernel: [    1.771575] g_mass_storage gadget: controller 'mv_udc' not recognized
Jun  1 00:00:28 localhost kernel: [    1.775085] g_mass_storage gadget: Mass Storage Function, version: 2009/09/11
Jun  1 00:00:28 localhost kernel: [    1.778472] g_mass_storage gadget: Number of LUNs=1
Jun  1 00:00:28 localhost kernel: [    1.781707]  lun0: LUN: removable file: (no medium)
Jun  1 00:00:28 localhost kernel: [    1.785064] g_mass_storage gadget: Mass Storage Gadget, version: 2009/09/11
Jun  1 00:00:28 localhost kernel: [    1.788360] g_mass_storage gadget: userspace failed to provide iSerialNumber
Jun  1 00:00:28 localhost kernel: [    1.791778] g_mass_storage gadget: g_mass_storage ready

Also I think I was too quick to say the rtc was working, I was getting the right time before but now I think that was due to ntp updating the system clock; it may be writing the correct time on system halt but it doesn't seem to be reading it correctly on boot.
Re: Debian on Dell Wyse 3020
April 18, 2023 12:33AM
Mischif,

Right! RTC in the kernel boot log.

[ 5.319506][ T1121] rtc-ds1307 0-0068: hctosys: unable to read the hardware clock

Quote

shutdown/poweroff/reboot all halt the system - it unmounts filesystems, stops running processes, etc. - but it doesn't cut power to the system or reboot the system from wloader, I think it's related to the power button not working but that's just a guess.

A lot of NAS boxes just shutdown, but low power is still on. So hard to say. If Power LED is on, then it is just that we have not turned it off correctly.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Mischif
Re: Debian on Dell Wyse 3020
April 18, 2023 04:37PM
bodhi,

I reread my boot logs to figure out what was happening with usb; hub 1 is apparently the available usb ports, I don't know what hub 2 is for as nothing seems to be on it, hub 3 holds the ethernet port and an "ultra fast media reader" which I'm assuming is the onboard flash otherwise I have no idea what it could be.

[    3.027026][   T25] hub 1-1:1.0: USB hub found
[    3.040022][   T25] hub 1-1:1.0: 4 ports detected
[    3.541755][   T25] usb 1-1.4: New USB device found, idVendor=090c, idProduct=2d65, bcdDevice=11.00
[    3.572216][   T25] usb 1-1.4: Product: USB DISK
[    3.583756][   T25] usb 1-1.4: Manufacturer: GOODSUN
[    3.588816][   T25] usb 1-1.4: SerialNumber: GSSMIMT1306130809108
[    3.603613][   T25] usb-storage 1-1.4:1.0: USB Mass Storage device detected
[    3.637476][   T25] scsi host0: usb-storage 1-1.4:1.0

[    2.945642][   T82] mv-ehci f0001000.usb: EHCI Host Controller
[    2.951620][   T82] mv-ehci f0001000.usb: new USB bus registered, assigned bus number 3
[    3.004800][   T82] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.02
[    3.061966][   T82] hub 3-0:1.0: USB hub found
[    3.066444][   T82] hub 3-0:1.0: 1 port detected
[    3.468074][   T37] usb 3-1: New USB device found, idVendor=0424, idProduct=2640, bcdDevice= a.a0
[    3.505866][   T37] hub 3-1:1.0: USB hub found
[    3.522746][   T37] hub 3-1:1.0: 3 ports detected
[    4.033936][ T1111] usb 3-1.1: New USB device found, idVendor=0424, idProduct=4040, bcdDevice= 2.01
[    4.065186][ T1111] usb 3-1.1: Product: Ultra Fast Media Reader
[    4.071514][ T1111] usb 3-1.1: Manufacturer: Generic
[    4.076453][ T1111] usb 3-1.1: SerialNumber: 000000264001
[    4.083617][ T1111] usb-storage 3-1.1:1.0: USB Mass Storage device detected   
[    4.091806][ T1111] scsi host1: usb-storage 3-1.1:1.0
[    4.353934][ T1111] usb 3-1.2: New USB device found, idVendor=0424, idProduct=7500, bcdDevice= 1.00
[    4.382600][ T1111] usb 3-1.2: Product: LAN7500
[    4.387122][ T1111] usb 3-1.2: Manufacturer: SMSC
[    4.387183][ T1111] usb 3-1.2: SerialNumber: 000000003

[    2.481526][    T1] mv-ehci f0002000.usb: EHCI Host Controller
[    2.487403][    T1] mv-ehci f0002000.usb: new USB bus registered, assigned bus number 2
[    2.543948][    T1] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.02
[    2.579846][    T1] hub 2-0:1.0: USB hub found
[    2.584323][    T1] hub 2-0:1.0: 1 port detected

Re: Debian on Dell Wyse 3020
April 18, 2023 10:27PM
Here is kernel linux-6.2.8-mvebu-tld-2.5.

This has more MMC and RTC configured in.

Download at Dropbox

linux-6.2.8-mvebu-tld-2.x-bodhi.tar.bz2
md5sum linux-6.2.8-mvebu-tld-2.x-bodhi.tar.bz2 
47ee5cf1298f65d2631bf30b35b00723  linux-6.2.8-mvebu-tld-2.x-bodhi.tar.bz2
sha256sum linux-6.2.8-mvebu-tld-2.x-bodhi.tar.bz2 
699201679e9458ad8692d048d78fef21d87ce84961e01067457b7fb982b66526  linux-6.2.8-mvebu-tld-2.x-bodhi.tar.bz2
This tarball includes 7 files
linux-image-6.2.8-mvebu-tld-2.5_2.5_armhf.deb
linux-headers-6.2.8-mvebu-tld-2.5_2.5_armhf.deb
zImage-6.2.8-mvebu-tld-2.5
config-6.2.8-mvebu-tld-2.5
linux-dtb-6.2.8-mvebu-tld-2.5.tar
linux-6.2.8-mvebu-tld-1.patch
mmp3-dell-ariel.dts.patch

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



Edited 1 time(s). Last edit at 04/18/2023 10:27PM by bodhi.
Mischif
Re: Debian on Dell Wyse 3020
April 18, 2023 11:44PM
bodhi,

rtc still isn't coming up right; mmc starts to come up but there's some error I hope is with the software that's preventing it:

[    0.000000][    T0] Booting Linux on physical CPU 0x0
[    0.000000][    T0] Linux version 6.2.8-mvebu-tld-2.5 (root@tldDebian) (gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2) #2.5 SMP PREEMPT Tue Apr 18 15:42:54 PDT 2023
[    0.000000][    T0] CPU: ARMv7 Processor [562f5842] revision 2 (ARMv7), cr=10c5387d
[    0.000000][    T0] CPU: div instructions available: patching division code
[    0.000000][    T0] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
[    0.000000][    T0] OF: fdt: Machine model: Dell Ariel
[    0.000000][    T0] Memory policy: Data cache writealloc
[    0.000000][    T0] Zone ranges:
[    0.000000][    T0]   Normal   [mem 0x0000000000000000-0x000000002fffffff]
[    0.000000][    T0]   HighMem  [mem 0x0000000030000000-0x000000007fefffff]
[    0.000000][    T0] Movable zone start for each node
[    0.000000][    T0] Early memory node ranges
[    0.000000][    T0]   node   0: [mem 0x0000000000000000-0x000000007fefffff]
[    0.000000][    T0] Initmem setup node 0 [mem 0x0000000000000000-0x000000007fefffff]
[    0.000000][    T0] percpu: Embedded 13 pages/cpu s21332 r8192 d23724 u53248
[    0.000000][    T0] Built 1 zonelists, mobility grouping on.  Total pages: 522304
[    0.000000][    T0] Kernel command line: root=LABEL=rootfs raid=noautodetect console=ttyS2,115200
[    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] mem auto-init: stack:off, heap alloc:on, heap free:off
[    0.000000][    T0] Memory: 2048052K/2096128K available (10240K kernel code, 840K rwdata, 3304K rodata, 1024K init, 470K bss, 48076K reserved, 0K cma-reserved, 1309696K highmem)
[    0.000000][    T0] rcu: Preemptible hierarchical RCU implementation.
[    0.000000][    T0] rcu:     RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
[    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: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
[    0.000000][    T0] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000][    T0] L2C: platform modifies aux control register: 0x02060000 -> 0x32860000
[    0.000000][    T0] L2C: DT/platform modifies aux control register: 0x02060000 -> 0x32860000
[    0.000000][    T0] Tauros3 cache controller enabled, 8 ways, 512 kB
[    0.000000][    T0] Tauros3: CACHE_ID 0x880000ed, AUX_CTRL 0x32860000
[    0.000000][    T0] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[    0.000006][    T0] sched_clock: 32 bits at 26MHz, resolution 38ns, wraps every 82595524588ns
[    0.000091][    T0] clocksource: clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 73510017198 ns
[    0.000294][    T0] smp_twd: clock not found -2
[    0.000790][    T0] kfence: initialized - using 2097152 bytes for 255 objects at 0x(ptrval)-0x(ptrval)  
[    0.001712][    T0] Console: colour dummy device 80x30
[    0.001757][    T0] Calibrating local timer... 2.16MHz.
[    0.060280][    T0] Calibrating delay loop... 1191.11 BogoMIPS (lpj=5955584)
[    0.100315][    T0] pid_max: default: 32768 minimum: 301
[    0.100674][    T0] LSM: initializing lsm=capability,integrity
[    0.100929][    T0] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.100949][    T0] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.102460][    T0] CPU: Testing write buffer coherency: ok
[    0.102906][    T1] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.104726][    T1] cblist_init_generic: Setting adjustable number of callback queues.
[    0.104752][    T1] cblist_init_generic: Setting shift to 1 and lim to 1.
[    0.104935][    T1] cblist_init_generic: Setting shift to 1 and lim to 1.
[    0.105129][    T1] Setting up static identity map for 0x100000 - 0x100060
[    0.105744][    T1] rcu: Hierarchical SRCU implementation.
[    0.105753][    T1] rcu:     Max phase no-delay instances is 1000.
[    0.107100][    T1] smp: Bringing up secondary CPUs ...
[    0.190403][    T0] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.190849][    T1] smp: Brought up 1 node, 2 CPUs
[    0.190866][    T1] SMP: Total of 2 processors activated (2387.96 BogoMIPS).
[    0.190879][    T1] CPU: All CPU(s) started in SVC mode.
[    0.192018][    T1] devtmpfs: initialized
[    0.202581][    T1] VFP support v0.3: implementor 56 architecture 2 part 20 variant 9 rev 6
[    0.203054][    T1] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.203111][    T1] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
[    0.203461][    T1] prandom: seed boundary self test passed
[    0.205985][    T1] prandom: 100 self tests passed
[    0.205997][    T1] pinctrl core: initialized pinctrl subsystem
[    0.207838][    T1] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.208470][    T1] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.215657][    T1] audit: initializing netlink subsys (disabled)
[    0.216089][   T24] audit: type=2000 audit(0.220:1): state=initialized audit_enabled=0 res=1
[    0.216884][    T1] thermal_sys: Registered thermal governor 'step_wise'
[    0.217263][    T1] cpuidle: using governor ladder
[    0.217325][    T1] cpuidle: using governor menu
[    0.217502][   T16] hw-breakpoint: Debug register access (0xee003e17) caused undefined instruction on CPU 0
[    0.217518][   T16] hw-breakpoint: CPU 0 failed to disable vector catch
[    0.217573][   T17] hw-breakpoint: Debug register access (0xee003e17) caused undefined instruction on CPU 1
[    0.400677][    T1] raid6: int32x8  gen()   207 MB/s
[    0.570694][    T1] raid6: int32x4  gen()   222 MB/s
[    0.740803][    T1] raid6: int32x2  gen()   359 MB/s
[    0.910976][    T1] raid6: int32x1  gen()   361 MB/s
[    0.910988][    T1] raid6: using algorithm int32x1 gen() 361 MB/s
[    1.081087][    T1] raid6: .... xor() 189 MB/s, rmw enabled
[    1.081098][    T1] raid6: using intx1 recovery algorithm
[    1.082629][    T1] SCSI subsystem initialized
[    1.083296][    T1] usbcore: registered new interface driver usbfs
[    1.083354][    T1] usbcore: registered new interface driver hub
[    1.083413][    T1] usbcore: registered new device driver usb
[    1.083883][    T1] pps_core: LinuxPPS API ver. 1 registered
[    1.083894][    T1] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    1.083925][    T1] PTP clock support registered
[    1.086349][    T1] vgaarb: loaded
[    1.087202][    T1] clocksource: Switched to clocksource clocksource
[    1.088300][    T1] VFS: Disk quotas dquot_6.6.0
[    1.088451][    T1] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    1.110090][    T1] NET: Registered PF_INET protocol family
[    1.110478][    T1] IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear)
[    1.112955][    T1] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[    1.113121][    T1] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    1.113165][    T1] TCP established hash table entries: 8192 (order: 3, 32768 bytes, linear)
[    1.113290][    T1] TCP bind hash table entries: 8192 (order: 5, 131072 bytes, linear)
[    1.113436][    T1] TCP: Hash tables configured (established 8192 bind 8192)
[    1.113838][    T1] MPTCP token hash table entries: 1024 (order: 2, 16384 bytes, linear)
[    1.113982][    T1] UDP hash table entries: 512 (order: 2, 16384 bytes, linear)
[    1.114025][    T1] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear)
[    1.114394][    T1] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    1.115612][    T1] RPC: Registered named UNIX socket transport module.
[    1.115628][    T1] RPC: Registered udp transport module.
[    1.115636][    T1] RPC: Registered tcp transport module.
[    1.115645][    T1] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    1.115670][    T1] PCI: CLS 0 bytes, default 64
[    1.115819][    T1] NetWinder Floating Point Emulator V0.97 (double precision)
[    1.116146][   T10] Trying to unpack rootfs image as initramfs...
[    1.117954][    T1] Initialise system trusted keyrings
[    1.118152][    T1] Key type blacklist registered
[    1.120357][    T1] workingset: timestamp_bits=14 max_order=19 bucket_order=5
[    1.120717][    T1] zbud: loaded
[    1.124027][    T1] NFS: Registering the id_resolver key type
[    1.124146][    T1] Key type id_resolver registered
[    1.124156][    T1] Key type id_legacy registered
[    1.124233][    T1] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    1.124260][    T1] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[    1.202631][    T1] xor: measuring software checksum speed
[    1.211029][    T1]    arm4regs        :  1199 MB/sec
[    1.222620][    T1]    8regs           :   856 MB/sec
[    1.231833][    T1]    32regs          :  1084 MB/sec
[    1.231852][    T1] xor: using function: arm4regs (1199 MB/sec)
[    1.231890][    T1] async_tx: api initialized (async)
[    1.231914][    T1] Key type asymmetric registered
[    1.231929][    T1] Asymmetric key parser 'x509' registered
[    1.232456][    T1] bounce: pool size: 64 pages
[    1.233066][    T1] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)
[    1.233344][    T1] io scheduler bfq registered
[    1.251458][    T1] gpio gpiochip0: Static allocation of GPIO base is deprecated, use dynamic allocation.
[    1.441794][    T1] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    1.448254][    T1] printk: console [ttyS2] disabled
[    1.448366][    T1] d4018000.serial: ttyS2 at MMIO 0xd4018000 (irq = 381, base_baud = 1625000) is a XScale
[    1.448462][    T1] printk: console [ttyS2] enabled
[    1.826207][   T10] Freeing initrd memory: 9952K
[    1.963988][    T1] wireguard: WireGuard 1.0.0 loaded. See www.wireguard.com for information.
[    2.350924][    T1] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
[    2.374433][    T1] usbcore: registered new interface driver smsc75xx
[    2.383152][    T1] mv-ehci d4208000.usb: EHCI Host Controller
[    2.389075][    T1] mv-ehci d4208000.usb: new USB bus registered, assigned bus number 1
[    2.398545][    T1] mv-ehci d4208000.usb: irq 382, io mem 0xd4208000
[    2.437281][    T1] mv-ehci d4208000.usb: USB 2.0 started, EHCI 1.00
[    2.444226][    T1] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.02
[    2.453187][    T1] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.461081][    T1] usb usb1: Product: EHCI Host Controller
[    2.466614][    T1] usb usb1: Manufacturer: Linux 6.2.8-mvebu-tld-2.5 ehci_hcd
[    2.473811][    T1] usb usb1: SerialNumber: d4208000.usb
[    2.480613][    T1] hub 1-0:1.0: USB hub found
[    2.485099][    T1] hub 1-0:1.0: 1 port detected
[    2.490764][    T1] mv-ehci d4208000.usb: successful find EHCI device with regs 0x(ptrval) irq 382 working in Host mode
[    2.502554][    T1] mv-ehci f0002000.usb: EHCI Host Controller
[    2.508446][    T1] mv-ehci f0002000.usb: new USB bus registered, assigned bus number 2
[    2.516590][    T1] mv-ehci f0002000.usb: irq 383, io mem 0xf0002000
[    2.557269][    T1] mv-ehci f0002000.usb: USB 2.0 started, EHCI 1.00
[    2.564119][    T1] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.02
[    2.573084][    T1] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.580990][    T1] usb usb2: Product: EHCI Host Controller
[    2.586522][    T1] usb usb2: Manufacturer: Linux 6.2.8-mvebu-tld-2.5 ehci_hcd
[    2.593730][    T1] usb usb2: SerialNumber: f0002000.usb
[    2.600421][    T1] hub 2-0:1.0: USB hub found
[    2.604907][    T1] hub 2-0:1.0: 1 port detected
[    2.610656][    T1] mv-ehci f0002000.usb: successful find EHCI device with regs 0x(ptrval) irq 383 working in Host mode
[    2.622192][    T1] usbcore: registered new interface driver usblp
[    2.628953][    T1] usbcore: registered new interface driver usb-storage
[    2.636767][    T1] mousedev: PS/2 mouse device common for all mice
[    2.645848][    T1] i2c_dev: i2c /dev entries driver
[    2.654234][    T1] device-mapper: uevent: version 1.0.3
[    2.660184][    T1] device-mapper: ioctl: 4.47.0-ioctl (2022-07-28) initialised: dm-devel@redhat.com
[    2.670123][    T1] device-mapper: multipath round-robin: version 1.2.0 loaded
[    2.677374][    T1] device-mapper: multipath queue-length: version 0.2.0 loaded
[    2.684710][    T1] device-mapper: multipath service-time: version 0.3.0 loaded
[    2.692121][    T1] device-mapper: dm-log-userspace: version 1.3.0 loaded
[    2.698910][    T1] device-mapper: raid: Loading target version 1.15.1
[    2.707576][    T1] hid: raw HID events driver (C) Jiri Kosina
[    2.714504][    T1] usbcore: registered new interface driver usbhid
[    2.720804][    T1] usbhid: USB HID core driver
[    2.726637][    T1] NET: Registered PF_INET6 protocol family
[    2.734349][    T1] Segment Routing with IPv6
[    2.738761][    T1] RPL Segment Routing with IPv6
[    2.743554][    T1] In-situ OAM (IOAM) with IPv6
[    2.748556][    T1] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    2.758653][    T1] NET: Registered PF_PACKET protocol family
[    2.764706][    T1] 8021q: 802.1Q VLAN Support v1.8
[    2.769766][    T1] Key type dns_resolver registered
[    2.774876][    T1] ThumbEE CPU extension supported.
[    2.779909][   T25] usb 1-1: new high-speed USB device number 2 using mv-ehci
[    2.787085][    T1] Registering SWP/SWPB emulation handler
[    2.792734][    T1] PJ4 iWMMXt v2 coprocessor enabled.
[    2.882905][    T1] registered taskstats version 1
[    2.888097][    T1] Loading compiled-in X.509 certificates
[    2.894698][    T1] zswap: loaded using pool lzo/zbud
[    2.900716][    T1] Key type .fscrypt registered
[    2.905310][    T1] Key type fscrypt-provisioning registered
[    2.911894][    T1] Key type big_key registered
[    2.954887][    T1] Key type encrypted registered
[    2.981318][   T10] mv-ehci f0001000.usb: EHCI Host Controller
[    2.987161][   T10] mv-ehci f0001000.usb: new USB bus registered, assigned bus number 3
[    2.989234][   T25] usb 1-1: New USB device found, idVendor=05e3, idProduct=0608, bcdDevice=77.63
[    2.995442][   T10] mv-ehci f0001000.usb: irq 384, io mem 0xf0001000
[    3.004066][   T25] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    3.018233][   T25] usb 1-1: Product: USB2.0 Hub
[    3.024606][   T25] hub 1-1:1.0: USB hub found
[    3.029492][   T25] hub 1-1:1.0: 4 ports detected
[    3.037308][   T10] mv-ehci f0001000.usb: USB 2.0 started, EHCI 1.00
[    3.044036][   T10] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevi
ce= 6.02
[    3.053039][   T10] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.060936][   T10] usb usb3: Product: EHCI Host Controller
[    3.066499][   T10] usb usb3: Manufacturer: Linux 6.2.8-mvebu-tld-2.5 ehci_hcd
[    3.073706][   T10] usb usb3: SerialNumber: f0001000.usb
[    3.080037][   T10] hub 3-0:1.0: USB hub found
[    3.084515][   T10] hub 3-0:1.0: 1 port detected
[    3.090200][   T10] mv-ehci f0001000.usb: successful find EHCI device with regs 0x(ptrval) irq 384 working in Host mode
[    3.106677][    T1] Freeing unused kernel image (initmem) memory: 1024K
[    3.149528][    T1] Checked W+X mappings: passed, no W+X pages found
[    3.155859][    T1] Run /init as init process
Loading, please wait...
[    3.277363][   T37] usb 3-1: new high-speed USB device number 2 using mv-ehci
[    3.347376][   T25] usb 1-1.1: new high-speed USB device number 3 using mv-ehci
Starting version 247.3-6
[    3.488012][   T37] usb 3-1: New USB device found, idVendor=0424, idProduct=2640, bcdDevice= a.a0
[    3.496854][   T37] usb 3-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    3.506360][   T37] hub 3-1:1.0: USB hub found
[    3.520132][   T25] usb 1-1.1: New USB device found, idVendor=090c, idProduct=2d65, bcdDevice=11.00
[    3.522987][   T37] hub 3-1:1.0: 3 ports detected
[    3.538761][   T25] usb 1-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    3.546794][   T25] usb 1-1.1: Product: USB DISK
[    3.573498][   T25] usb 1-1.1: Manufacturer: GOODSUN
[    3.578559][   T25] usb 1-1.1: SerialNumber: GSSMIMT1306130809108
[    3.598724][   T25] usb-storage 1-1.1:1.0: USB Mass Storage device detected
[    3.615506][   T25] scsi host0: usb-storage 1-1.1:1.0
[    3.867348][ T1109] usb 3-1.1: new high-speed USB device number 3 using mv-ehci
[    3.953075][ T1108] usbcore: registered new interface driver uas
[    4.060503][ T1109] usb 3-1.1: New USB device found, idVendor=0424, idProduct=4040, bcdDevice= 2.01
[    4.077361][ T1109] usb 3-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    4.085316][ T1109] usb 3-1.1: Product: Ultra Fast Media Reader
[    4.107507][ T1109] usb 3-1.1: Manufacturer: Generic
[    4.112446][ T1109] usb 3-1.1: SerialNumber: 000000264001
[    4.128815][ T1109] usb-storage 3-1.1:1.0: USB Mass Storage device detected
[    4.149241][ T1109] scsi host1: usb-storage 3-1.1:1.0
[    4.267344][ T1109] usb 3-1.2: new high-speed USB device number 4 using mv-ehci
[    4.384586][ T1121]  (null): Enabling slave mode
[    4.409855][ T1121] rtc-ds1307 0-0068: registered as rtc0
[    4.438490][ T1109] usb 3-1.2: New USB device found, idVendor=0424, idProduct=7500, bcdDevice= 1.00
[    4.452990][ T1109] usb 3-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    4.461073][ T1121] rtc-ds1307 0-0068: hctosys: unable to read the hardware clock
[    4.468634][ T1109] usb 3-1.2: Product: LAN7500
[    4.473163][ T1109] usb 3-1.2: Manufacturer: SMSC
[    4.486985][ T1109] usb 3-1.2: SerialNumber: 000000003
[    4.502263][ T1109] smsc75xx v1.0.0
[    4.507874][ T1113] sdhci: Secure Digital Host Controller Interface driver
[    4.523158][ T1113] sdhci: Copyright(c) Pierre Ossman
[    4.573919][ T1113] sdhci-pltfm: SDHCI platform and OF driver helper
[    4.594167][ T1126] pxa2xx-spi d4035000.spi: no DMA channels available, using PIO
[    4.595383][ T1121] i2c i2c-0:  PXA I2C adapter, slave address 1
[    4.611431][ T1126] spi-nor spi0.0: w25q32 (4096 Kbytes)
[    4.613158][ T1121]  (null): Enabling slave mode
[    4.628775][ T1121] i2c i2c-1:  PXA I2C adapter, slave address 1
[    4.650338][ T1121]  (null): Enabling slave mode
[    4.672042][ T1121] i2c i2c-2:  PXA I2C adapter, slave address 1
[    4.677327][   T41] mmc0: SDHCI controller on d4281000.mmc [d4281000.mmc] using ADMA
[    4.695546][ T1109] smsc75xx 3-1.2:1.0 eth0: register 'smsc75xx' at usb-f0001000.usb-1.2, smsc75xx USB 2.0 Gigabit Ethernet, 00:80:64:d7:16:82
[    4.794263][   T10] scsi 0:0:0:0: Direct-Access     GOODSUN  Mass storage     1100 PQ: 0 ANSI: 4
[    4.806806][   T41] sd 0:0:0:0: [sda] 3932160 512-byte logical blocks: (2.01 GB/1.88 GiB)
[    4.817066][   T41] sd 0:0:0:0: [sda] Write Protect is off
[    4.824941][   T41] sd 0:0:0:0: [sda] No Caching mode page found
[    4.832385][   T41] sd 0:0:0:0: [sda] Assuming drive cache: write through
[    4.848213][   T41]  sda: sda1 sda2
[    4.854207][   T41] sd 0:0:0:0: [sda] Attached SCSI removable disk
[    5.188751][   T41] scsi 1:0:0:0: Direct-Access     Generic  Ultra HS-COMBO   2.01 PQ: 0 ANSI: 0
[    5.202041][   T10] sd 1:0:0:0: [sdb] Media removed, stopped polling
[    5.213101][   T10] sd 1:0:0:0: [sdb] Attached SCSI removable disk
[    5.491828][ T1105] smsc75xx 3-1.2:1.0 enx008064d71682: renamed from eth0
[    5.808504][ T1129] mmc0: Card stuck being busy! __mmc_poll_for_busy
[    6.892127][ T1129] mmc0: Card stuck being busy! __mmc_poll_for_busy
[    8.017707][ T1129] mmc0: Card stuck being busy! __mmc_poll_for_busy
[    9.107957][ T1129] mmc0: Card stuck being busy! __mmc_poll_for_busy

I poked around the t50 dts file to see if there might be anything that might help bringing up onboard flash/rtc, I didn't find anything for that but maybe this will help make the power button work here too?

gpio-poweroff {
	compatible = "gpio-poweroff";
	pinctrl-0 = <&pmx_gpio_8>;
	pinctrl-names = "default";
	gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
};

For the benefit of future people who find this thread, don't mount the fat partition with wloader.conf to /boot as dpkg will fail and it's never getting fixed:

root@debian:~# dpkg -i linux-image-6.2.8-mvebu-tld-2.5_armhf.deb 
(Reading database ... 15628 files and directories currently installed.)
Preparing to unpack linux-image-6.2.8-mvebu-tld-2.5_armhf.deb ...
Unpacking linux-image-6.2.8-mvebu-tld-2.5 (2.5) ...
dpkg: error processing archive linux-image-6.2.8-mvebu-tld-2.5_armhf.deb (--install):
 unable to make backup link of './boot/config-6.2.8-mvebu-tld-2.5' before installing new version: Operation not permitted
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Errors were encountered while processing:
 linux-image-6.2.8-mvebu-tld-2.5_armhf.deb
Re: Debian on Dell Wyse 3020
April 19, 2023 02:57PM
Mischif,

> [ 5.808504][ T1129] mmc0: Card stuck being
> busy! __mmc_poll_for_busy
> [ 6.892127][ T1129] mmc0: Card stuck being
> busy! __mmc_poll_for_busy
> [ 8.017707][ T1129] mmc0: Card stuck being
> busy! __mmc_poll_for_busy
> [ 9.107957][ T1129] mmc0: Card stuck being
> busy! __mmc_poll_for_busy

Is the system frozen here? if not, please post the entire dmesg.

> gpio-poweroff {
> compatible = "gpio-poweroff";
> pinctrl-0 = <&pmx_gpio_8>;
> pinctrl-names = "default";
> gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
> };

Perhpaps not. T50 is really a very different box, which is Dove arch, and this box is MMP3. Some boards have GPIO Poweroff, some don't (and use serial to send command to the microcontroller). I think if GPIO Poweroff were supported, it would have been already in the dell-ariel DTS.

Quote

For the benefit of future people who find this thread, don't mount the fat partition with wloader.conf to /boot as dpkg will fail and it's never getting fixed:

Right. There should be only the mounted rootfs when you install kernel. That will tell dpkg to populate the folder /boot in the rootfs. A different /boot on another drive is a really old setup. So after you install the kernel and create uImage and uInitrd, copy these files over to the FAT drive where wloader expected.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Debian on Dell Wyse 3020
April 19, 2023 03:21PM
This is interesting. In the DTS,

&twsi4 {
        status = "okay";

        embedded-controller@58 {
                compatible = "dell,wyse-ariel-ec", "ene,kb3930";
                reg = <0x58>;
                system-power-controller;

                off-gpios = <&gpio 126 GPIO_ACTIVE_HIGH>,
                            <&gpio 127 GPIO_ACTIVE_HIGH>;
        };
};

According to the above, the Power button should work.

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



Edited 1 time(s). Last edit at 04/19/2023 03:28PM by bodhi.
Mischif
Re: Debian on Dell Wyse 3020
April 19, 2023 09:28PM
bodhi,

That's the end of dmesg, everything else is about bringing up file systems/ethernet that I only get over serial.

I don't think we need hsic1 in the dtb, the ethernet/mmc look like they're both on hsic0.

Looking back at the mainline dts file for the board, are the kb3930/kb3930-input modules in the kernel as well? They may be the modules we need to get the power button working.

I don't know if this is related or not but I replaced my dead rtc battery and rtc still doesn't work but my mmc shows up now:
[    4.717294][  T134] mmc0: SDHCI controller on d4281000.mmc [d4281000.mmc] using ADMA
[    4.830814][ T1086] mmc0: Tuning failed, falling back to fixed sampling clock
[    4.840822][ T1086] mmc0: new HS200 MMC card at address 0001
[    5.498491][ T1113] mmcblk0: mmc0:0001 H4G1d 3.64 GiB
[    5.569225][ T1113]  mmcblk0: p1 p2 p3 p4
[    5.576874][ T1113] mmcblk0boot0: mmc0:0001 H4G1d 4.00 MiB
[    5.587030][ T1113] mmcblk0boot1: mmc0:0001 H4G1d 4.00 MiB
[    5.595715][ T1113] mmcblk0rpmb: mmc0:0001 H4G1d 4.00 MiB, chardev (243:0)

I can't mount any of the partitions, but it's a start.
Mischif
Re: Debian on Dell Wyse 3020
April 19, 2023 09:34PM
Forget the thing I said about mmc working, I rebooted to make sure it wasn't a fluke and it went back to complaining about mmc0 stuck being busy - on the one hand I think this means we have all the modules we need to bring up all the major parts of the system, on the other hand I think I might need to take my system apart to see if I have physical issues.
Re: Debian on Dell Wyse 3020
April 20, 2023 03:27PM
Here is kernel linux-6.2.8-mvebu-tld-2.6.

This has more RTC, Poweroff, and LEDs configured in.

Download at Dropbox

linux-6.2.8-mvebu-tld-2.x-bodhi.tar.bz2
md5sum linux-6.2.8-mvebu-tld-2.x-bodhi.tar.bz2 
e301d2983f495898b0e7f9eda8142ab7  linux-6.2.8-mvebu-tld-2.x-bodhi.tar.bz2

sha256sum linux-6.2.8-mvebu-tld-2.x-bodhi.tar.bz2 
b3fb4260bd64274c22cd2ef1c0cd231e3fd4f803a7edeafadc61907b10f83e80  linux-6.2.8-mvebu-tld-2.x-bodhi.tar.bz2

This tarball includes 7 files

linux-image-6.2.8-mvebu-tld-2.6_2.6_armhf.deb
linux-headers-6.2.8-mvebu-tld-2.6_2.6_armhf.deb
zImage-6.2.8-mvebu-tld-2.6
config-6.2.8-mvebu-tld-2.6
linux-dtb-6.2.8-mvebu-tld-2.6.tar
linux-6.2.8-mvebu-tld-1.patch
mmp3-dell-ariel.dts.patch

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Mischif
Re: Debian on Dell Wyse 3020
April 20, 2023 06:34PM
bodhi,

Instead of constantly blinking my power light is a solid green and reboot/poweroff commands are working; pressing the power button does not trigger a poweroff but that may be a gui-only thing and I'm fine if it's missing:
[    0.000000][    T0] Booting Linux on physical CPU 0x0
[    0.000000][    T0] Linux version 6.2.8-mvebu-tld-2.6 (root@tldDebian) (gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2) #2.6 SMP PREEMPT Wed Apr 19 20:28:37 PDT 2023
[    0.000000][    T0] CPU: ARMv7 Processor [562f5842] revision 2 (ARMv7), cr=10c5387d
[    0.000000][    T0] CPU: div instructions available: patching division code
[    0.000000][    T0] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
[    0.000000][    T0] OF: fdt: Machine model: Dell Ariel
[    0.000000][    T0] Memory policy: Data cache writealloc
[    0.000000][    T0] Zone ranges:
[    0.000000][    T0]   Normal   [mem 0x0000000000000000-0x000000002fffffff]
[    0.000000][    T0]   HighMem  [mem 0x0000000030000000-0x000000007fefffff]
[    0.000000][    T0] Movable zone start for each node
[    0.000000][    T0] Early memory node ranges
[    0.000000][    T0]   node   0: [mem 0x0000000000000000-0x000000007fefffff]
[    0.000000][    T0] Initmem setup node 0 [mem 0x0000000000000000-0x000000007fefffff]
[    0.000000][    T0] percpu: Embedded 13 pages/cpu s21332 r8192 d23724 u53248
[    0.000000][    T0] Built 1 zonelists, mobility grouping on.  Total pages: 522304
[    0.000000][    T0] Kernel command line: root=LABEL=rootfs raid=noautodetect console=ttyS2,115200
[    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] mem auto-init: stack:off, heap alloc:on, heap free:off
[    0.000000][    T0] Memory: 2049096K/2096128K available (9216K kernel code, 827K rwdata, 3176K rodata, 1024K init, 464K bss, 47032K reserved, 0K cma-reserved, 1309696K highmem)
[    0.000000][    T0] rcu: Preemptible hierarchical RCU implementation.
[    0.000000][    T0] rcu:     RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
[    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: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
[    0.000000][    T0] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000][    T0] L2C: platform modifies aux control register: 0x02060000 -> 0x32860000
[    0.000000][    T0] L2C: DT/platform modifies aux control register: 0x02060000 -> 0x32860000
[    0.000000][    T0] Tauros3 cache controller enabled, 8 ways, 512 kB
[    0.000000][    T0] Tauros3: CACHE_ID 0x880000ed, AUX_CTRL 0x32860000
[    0.000000][    T0] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[    0.000005][    T0] sched_clock: 32 bits at 26MHz, resolution 38ns, wraps every 82595524588ns
[    0.000090][    T0] clocksource: clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 73510017198 ns
[    0.000292][    T0] smp_twd: clock not found -2
[    0.000783][    T0] kfence: initialized - using 2097152 bytes for 255 objects at 0x(ptrval)-0x(ptrval)
[    0.001714][    T0] Console: colour dummy device 80x30
[    0.001759][    T0] Calibrating local timer... 2.16MHz.
[    0.060279][    T0] Calibrating delay loop... 1191.11 BogoMIPS (lpj=5955584)
[    0.100315][    T0] pid_max: default: 32768 minimum: 301
[    0.100676][    T0] LSM: initializing lsm=capability,integrity
[    0.100926][    T0] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.100947][    T0] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.102451][    T0] CPU: Testing write buffer coherency: ok
[    0.102896][    T1] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.104736][    T1] cblist_init_generic: Setting adjustable number of callback queues.
[    0.104762][    T1] cblist_init_generic: Setting shift to 1 and lim to 1.
[    0.104949][    T1] cblist_init_generic: Setting shift to 1 and lim to 1.
[    0.105145][    T1] Setting up static identity map for 0x100000 - 0x100060
[    0.105761][    T1] rcu: Hierarchical SRCU implementation.
[    0.105769][    T1] rcu:     Max phase no-delay instances is 1000.
[    0.107077][    T1] smp: Bringing up secondary CPUs ...
[    0.190403][    T0] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.190844][    T1] smp: Brought up 1 node, 2 CPUs
[    0.190864][    T1] SMP: Total of 2 processors activated (2387.96 BogoMIPS).
[    0.190877][    T1] CPU: All CPU(s) started in SVC mode.
[    0.192049][    T1] devtmpfs: initialized
[    0.202610][    T1] VFP support v0.3: implementor 56 architecture 2 part 20 variant 9 rev 6
[    0.203099][    T1] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.203156][    T1] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
[    0.203511][    T1] prandom: seed boundary self test passed
[    0.206035][    T1] prandom: 100 self tests passed
[    0.206046][    T1] pinctrl core: initialized pinctrl subsystem
[    0.207895][    T1] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.208527][    T1] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.215658][    T1] audit: initializing netlink subsys (disabled)
[    0.216097][   T24] audit: type=2000 audit(0.220:1): state=initialized audit_enabled=0 res=1
[    0.216909][    T1] thermal_sys: Registered thermal governor 'step_wise'
[    0.217290][    T1] cpuidle: using governor ladder
[    0.217352][    T1] cpuidle: using governor menu
[    0.217523][   T16] hw-breakpoint: Debug register access (0xee003e17) caused undefined instruction on CPU 0
[    0.217539][   T16] hw-breakpoint: CPU 0 failed to disable vector catch
[    0.217595][   T17] hw-breakpoint: Debug register access (0xee003e17) caused undefined instruction on CPU 1
[    0.400626][    T1] raid6: int32x8  gen()   207 MB/s
[    0.570778][    T1] raid6: int32x4  gen()   222 MB/s
[    0.740832][    T1] raid6: int32x2  gen()   359 MB/s
[    0.910943][    T1] raid6: int32x1  gen()   371 MB/s
[    0.910956][    T1] raid6: using algorithm int32x1 gen() 371 MB/s
[    1.081063][    T1] raid6: .... xor() 189 MB/s, rmw enabled
[    1.081074][    T1] raid6: using intx1 recovery algorithm
[    1.082597][    T1] SCSI subsystem initialized
[    1.083257][    T1] usbcore: registered new interface driver usbfs
[    1.083314][    T1] usbcore: registered new interface driver hub
[    1.083373][    T1] usbcore: registered new device driver usb
[    1.083844][    T1] pps_core: LinuxPPS API ver. 1 registered
[    1.083855][    T1] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    1.083885][    T1] PTP clock support registered
[    1.086315][    T1] vgaarb: loaded
[    1.087181][    T1] clocksource: Switched to clocksource clocksource
[    1.088258][    T1] VFS: Disk quotas dquot_6.6.0
[    1.088409][    T1] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    1.110093][    T1] NET: Registered PF_INET protocol family
[    1.110479][    T1] IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear)
[    1.112979][    T1] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[    1.113144][    T1] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    1.113190][    T1] TCP established hash table entries: 8192 (order: 3, 32768 bytes, linear)
[    1.113317][    T1] TCP bind hash table entries: 8192 (order: 5, 131072 bytes, linear)
[    1.113463][    T1] TCP: Hash tables configured (established 8192 bind 8192)
[    1.113869][    T1] MPTCP token hash table entries: 1024 (order: 2, 16384 bytes, linear)
[    1.114016][    T1] UDP hash table entries: 512 (order: 2, 16384 bytes, linear)
[    1.114059][    T1] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear)
[    1.114432][    T1] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    1.115670][    T1] RPC: Registered named UNIX socket transport module.
[    1.115687][    T1] RPC: Registered udp transport module.
[    1.115695][    T1] RPC: Registered tcp transport module.
[    1.115703][    T1] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    1.115730][    T1] PCI: CLS 0 bytes, default 64
[    1.115879][    T1] NetWinder Floating Point Emulator V0.97 (double precision)
[    1.116214][   T10] Trying to unpack rootfs image as initramfs...
[    1.118048][    T1] Initialise system trusted keyrings
[    1.118223][    T1] Key type blacklist registered
[    1.120477][    T1] workingset: timestamp_bits=14 max_order=19 bucket_order=5
[    1.120846][    T1] zbud: loaded
[    1.124200][    T1] NFS: Registering the id_resolver key type
[    1.124277][    T1] Key type id_resolver registered
[    1.124288][    T1] Key type id_legacy registered
[    1.124368][    T1] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    1.124395][    T1] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[    1.204596][    T1] xor: measuring software checksum speed
[    1.212903][    T1]    arm4regs        :  1199 MB/sec
[    1.224464][    T1]    8regs           :   857 MB/sec
[    1.233673][    T1]    32regs          :  1084 MB/sec
[    1.233696][    T1] xor: using function: arm4regs (1199 MB/sec)
[    1.233735][    T1] async_tx: api initialized (async)
[    1.233759][    T1] Key type asymmetric registered
[    1.233772][    T1] Asymmetric key parser 'x509' registered
[    1.234279][    T1] bounce: pool size: 64 pages
[    1.234580][    T1] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)
[    1.234877][    T1] io scheduler bfq registered
[    1.249510][    T1] gpio gpiochip0: Static allocation of GPIO base is deprecated, use dynamic allocation.
[    1.431126][    T1] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    1.435403][    T1] printk: console [ttyS2] disabled
[    1.435510][    T1] d4018000.serial: ttyS2 at MMIO 0xd4018000 (irq = 381, base_baud = 1625000) is a XScale
[    1.435595][    T1] printk: console [ttyS2] enabled
[    1.866767][   T10] Freeing initrd memory: 9952K
[    1.902284][    T1] wireguard: WireGuard 1.0.0 loaded. See www.wireguard.com for information.
[    2.338125][    T1] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
[    2.352433][    T1] usbcore: registered new interface driver smsc75xx
[    2.367454][    T1] mv-ehci d4208000.usb: EHCI Host Controller
[    2.373306][    T1] mv-ehci d4208000.usb: new USB bus registered, assigned bus number 1
[    2.382812][    T1] mv-ehci d4208000.usb: irq 382, io mem 0xd4208000
[    2.427257][    T1] mv-ehci d4208000.usb: USB 2.0 started, EHCI 1.00
[    2.434109][    T1] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.02
[    2.443117][    T1] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.451027][    T1] usb usb1: Product: EHCI Host Controller
[    2.456558][    T1] usb usb1: Manufacturer: Linux 6.2.8-mvebu-tld-2.6 ehci_hcd
[    2.463765][    T1] usb usb1: SerialNumber: d4208000.usb
[    2.470362][    T1] hub 1-0:1.0: USB hub found
[    2.474853][    T1] hub 1-0:1.0: 1 port detected
[    2.480203][    T1] mv-ehci d4208000.usb: successful find EHCI device with regs 0x(ptrval) irq 382 working in Host mode
[    2.491651][    T1] mv-ehci f0002000.usb: EHCI Host Controller
[    2.497548][    T1] mv-ehci f0002000.usb: new USB bus registered, assigned bus number 2
[    2.505725][    T1] mv-ehci f0002000.usb: irq 383, io mem 0xf0002000
[    2.537249][    T1] mv-ehci f0002000.usb: USB 2.0 started, EHCI 1.00
[    2.543937][    T1] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.02
[    2.552909][    T1] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.560818][    T1] usb usb2: Product: EHCI Host Controller
[    2.566353][    T1] usb usb2: Manufacturer: Linux 6.2.8-mvebu-tld-2.6 ehci_hcd
[    2.573558][    T1] usb usb2: SerialNumber: f0002000.usb
[    2.579994][    T1] hub 2-0:1.0: USB hub found
[    2.584477][    T1] hub 2-0:1.0: 1 port detected
[    2.589834][    T1] mv-ehci f0002000.usb: successful find EHCI device with regs 0x(ptrval) irq 383 working in Host mode
[    2.600913][    T1] usbcore: registered new interface driver usblp
[    2.607257][    T1] usbcore: registered new interface driver usb-storage
[    2.614610][    T1] mousedev: PS/2 mouse device common for all mice
[    2.623797][    T1] sa1100-rtc d4010000.rtc: registered as rtc0
[    2.629876][    T1] sa1100-rtc d4010000.rtc: setting system clock to 1970-01-01T00:00:00 UTC (0)
[    2.638923][    T1] i2c_dev: i2c /dev entries driver
[    2.646348][    T1] device-mapper: uevent: version 1.0.3
[    2.652180][    T1] device-mapper: ioctl: 4.47.0-ioctl (2022-07-28) initialised: dm-devel@redhat.com
[    2.662080][    T1] device-mapper: multipath round-robin: version 1.2.0 loaded
[    2.669371][    T1] device-mapper: multipath queue-length: version 0.2.0 loaded
[    2.676714][    T1] device-mapper: multipath service-time: version 0.3.0 loaded
[    2.684295][    T1] device-mapper: dm-log-userspace: version 1.3.0 loaded
[    2.691094][    T1] device-mapper: raid: Loading target version 1.15.1
[    2.698779][    T1] hid: raw HID events driver (C) Jiri Kosina
[    2.705137][    T1] usbcore: registered new interface driver usbhid
[    2.711437][    T1] usbhid: USB HID core driver
[    2.716984][    T1] NET: Registered PF_INET6 protocol family
[    2.724766][    T1] Segment Routing with IPv6
[    2.729571][    T1] RPL Segment Routing with IPv6
[    2.734344][    T1] In-situ OAM (IOAM) with IPv6
[    2.739113][    T1] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    2.748165][    T1] NET: Registered PF_PACKET protocol family
[    2.754223][    T1] 8021q: 802.1Q VLAN Support v1.8
[    2.759382][    T1] Key type dns_resolver registered
[    2.764499][    T1] ThumbEE CPU extension supported.
[    2.769525][    T6] usb 1-1: new high-speed USB device number 2 using mv-ehci
[    2.776701][    T1] Registering SWP/SWPB emulation handler
[    2.782385][    T1] PJ4 iWMMXt v2 coprocessor enabled.
[    2.865850][    T1] registered taskstats version 1
[    2.873799][    T1] Loading compiled-in X.509 certificates
[    2.880448][    T1] zswap: loaded using pool lzo/zbud
[    2.886554][    T1] Key type .fscrypt registered
[    2.891228][    T1] Key type fscrypt-provisioning registered
[    2.897043][    T1] Key type big_key registered
[    2.939373][    T1] Key type encrypted registered
[    2.965586][  T599] mv-ehci f0001000.usb: EHCI Host Controller
[    2.971554][  T599] mv-ehci f0001000.usb: new USB bus registered, assigned bus number 3
[    2.979931][  T599] mv-ehci f0001000.usb: irq 384, io mem 0xf0001000
[    2.987795][    T6] usb 1-1: New USB device found, idVendor=05e3, idProduct=0608, bcdDevice=77.63
[    2.996651][    T6] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    3.004527][    T6] usb 1-1: Product: USB2.0 Hub
[    3.009213][  T599] mv-ehci f0001000.usb: USB 2.0 started, EHCI 1.00
[    3.016735][  T599] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.02
[    3.026058][    T6] hub 1-1:1.0: USB hub found
[    3.026993][  T599] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.030959][    T6] hub 1-1:1.0: 4 ports detected
[    3.038537][  T599] usb usb3: Product: EHCI Host Controller
[    3.048909][  T599] usb usb3: Manufacturer: Linux 6.2.8-mvebu-tld-2.6 ehci_hcd
[    3.056138][  T599] usb usb3: SerialNumber: f0001000.usb
[    3.062472][  T599] hub 3-0:1.0: USB hub found
[    3.066991][  T599] hub 3-0:1.0: 1 port detected
[    3.072400][  T599] mv-ehci f0001000.usb: successful find EHCI device with regs 0x(ptrval) irq 384 working in Host mode
[    3.087816][    T1] Freeing unused kernel image (initmem) memory: 1024K
[    3.119375][    T1] Checked W+X mappings: passed, no W+X pages found
[    3.125940][    T1] Run /init as init process
Loading, please wait...
[    3.257338][   T37] usb 3-1: new high-speed USB device number 2 using mv-ehci
Starting version 247.3-6
[    3.357408][    T6] usb 1-1.1: new high-speed USB device number 3 using mv-ehci
[    3.510209][    T6] usb 1-1.1: New USB device found, idVendor=090c, idProduct=2d65, bcdDevice=11.00
[    3.524726][    T6] usb 1-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    3.547377][    T6] usb 1-1.1: Product: USB DISK
[    3.552027][    T6] usb 1-1.1: Manufacturer: GOODSUN
[    3.556958][    T6] usb 1-1.1: SerialNumber: GSSMIMT1306130809108
[    3.572804][    T6] usb-storage 1-1.1:1.0: USB Mass Storage device detected
[    3.617412][    T6] scsi host0: usb-storage 1-1.1:1.0
[    3.847292][   T37] usb 3-1: device not accepting address 2, error -71
[    3.887658][ T1107] usbcore: registered new interface driver uas
[    4.017303][   T37] usb 3-1: new high-speed USB device number 3 using mv-ehci
[    4.169192][ T1106]  (null): Enabling slave mode
[    4.198177][ T1105] pxa2xx-spi d4035000.spi: no DMA channels available, using PIO
[    4.227920][   T37] usb 3-1: New USB device found, idVendor=0424, idProduct=2640, bcdDevice= a.a0
[    4.236850][   T37] usb 3-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    4.255337][ T1106] rtc-ds1307 0-0068: registered as rtc1
[    4.272924][   T37] hub 3-1:1.0: USB hub found
[    4.286310][   T37] hub 3-1:1.0: 3 ports detected
[    4.292188][ T1106] i2c i2c-0:  PXA I2C adapter, slave address 1
[    4.371586][ T1106]  (null): Enabling slave mode
[    4.384502][ T1122] sdhci: Secure Digital Host Controller Interface driver
[    4.398019][ T1122] sdhci: Copyright(c) Pierre Ossman
[    4.405692][ T1106] i2c i2c-1:  PXA I2C adapter, slave address 1
[    4.454813][ T1122] sdhci-pltfm: SDHCI platform and OF driver helper
[    4.474005][ T1106]  (null): Enabling slave mode
[    4.491436][ T1106] i2c i2c-2:  PXA I2C adapter, slave address 1
[    4.517292][  T599] mmc0: SDHCI controller on d4281000.mmc [d4281000.mmc] using ADMA
[    4.644577][ T1088] usb 3-1.1: new high-speed USB device number 4 using mv-ehci
[    4.659893][   T37] mmc0: Tuning failed, falling back to fixed sampling clock
[    4.671236][   T37] mmc0: new HS200 MMC card at address 0001
[    4.824035][ T1088] usb 3-1.1: New USB device found, idVendor=0424, idProduct=4040, bcdDevice= 2.01
[    4.834689][ T1088] usb 3-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    4.845634][ T1088] usb 3-1.1: Product: Ultra Fast Media Reader
[    4.856873][ T1088] usb 3-1.1: Manufacturer: Generic
[    4.861943][ T1088] usb 3-1.1: SerialNumber: 000000264001
[    4.867454][  T599] scsi 0:0:0:0: Direct-Access     GOODSUN  Mass storage     1100 PQ: 0 ANSI: 4
[    4.881363][    T8] sd 0:0:0:0: [sda] 3932160 512-byte logical blocks: (2.01 GB/1.88 GiB)
[    4.890659][ T1088] usb-storage 3-1.1:1.0: USB Mass Storage device detected
[    4.894995][    T8] sd 0:0:0:0: [sda] Write Protect is off
[    4.904266][ T1088] scsi host1: usb-storage 3-1.1:1.0
[    4.910248][    T8] sd 0:0:0:0: [sda] No Caching mode page found
[    4.916350][    T8] sd 0:0:0:0: [sda] Assuming drive cache: write through
[    4.937795][    T8]  sda: sda1 sda2
[    4.942419][    T8] sd 0:0:0:0: [sda] Attached SCSI removable disk
[    5.017332][ T1088] usb 3-1.2: new high-speed USB device number 5 using mv-ehci
[    5.178404][ T1088] usb 3-1.2: New USB device found, idVendor=0424, idProduct=7500, bcdDevice= 1.00
[    5.188954][ T1088] usb 3-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    5.196993][ T1088] usb 3-1.2: Product: LAN7500
[    5.201638][ T1088] usb 3-1.2: Manufacturer: SMSC
[    5.206313][ T1088] usb 3-1.2: SerialNumber: 000000003
[    5.215611][ T1088] smsc75xx v1.0.0
[    5.354974][ T1088] smsc75xx 3-1.2:1.0 eth0: register 'smsc75xx' at usb-f0001000.usb-1.2, smsc75xx USB 2.0 Gigabit Ethernet, 00:80:64:d7:16:82
[    5.454510][ T1112] smsc75xx 3-1.2:1.0 enx008064d71682: renamed from eth0
[    5.464581][ T1122] mmcblk0: mmc0:0001 H4G1d 3.64 GiB
[    5.539092][ T1122]  mmcblk0: p1 p2 p3 p4
[    5.546620][ T1122] mmcblk0boot0: mmc0:0001 H4G1d 4.00 MiB
[    5.555354][ T1122] mmcblk0boot1: mmc0:0001 H4G1d 4.00 MiB
[    5.565042][ T1122] mmcblk0rpmb: mmc0:0001 H4G1d 4.00 MiB, chardev (243:0)
Begin: Loading essential drivers ... done.
[    5.988898][  T599] scsi 1:0:0:0: Direct-Access     Generic  Ultra HS-COMBO   2.01 PQ: 0 ANSI: 0
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... [    6.006301][    T8] sd 1:0:0:0: [sdb] Media removed, stopped polling
Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-pr[    6.017588][    T8] sd 1:0:0:0: [sdb] Attached SCSI removable disk
emount ... done.
Begin: Will now check root file system ... fsck from util-linux 2.36.1
[/sbin/fsck.ext3 (1) -- /dev/sda2] fsck.ext3 -a -C0 /dev/sda2
rootfs: clean, 25226/118800 files, 258556/474880 blocks
done.
[    6.362738][ T1150] EXT4-fs (sda2): mounting ext3 file system using the ext4 subsystem
[    6.428107][ T1150] EXT4-fs (sda2): mounted filesystem 00fdc02b-3ff0-466e-be03-7dc426fbfac6 with ordered data mode. Quota mode: none.
done.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... done.
INIT: version 2.96 booting
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...[   10.259807][ T1340] sd 0:0:0:0: Attached scsi generic sg0 type 0
[   10.312969][ T1340] sd 1:0:0:0: Attached scsi generic sg1 type 0
done.
Activating swap:.
[   12.119975][ T1476] EXT4-fs (sda2): re-mounted 00fdc02b-3ff0-466e-be03-7dc426fbfac6. 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.
[   15.027740][ T1123] random: crng init done
Initializing random number generator...done.
[   15.244714][ T1865] smsc75xx 3-1.2:1.0 eth0: renamed from enx008064d71682
Configuring network interfaces...Internet Systems Consortium DHCP Client 4.4.1
Copyright 2004-2018 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/eth0/00:80:64:d7:16:82
Sending on   LPF/eth0/00:80:64:d7:16:82
Sending on   Socket/fallback
DHCPREQUEST for 192.168.254.84 on eth0 to 255.255.255.255 port 67
[   56.096212][  T710] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   56.104918][    T6] smsc75xx 3-1.2:1.0 eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
DHCPREQUEST for 192.168.254.84 on eth0 to 255.255.255.255 port 67
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 4
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 8
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 13
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 8
DHCPOFFER of 192.168.254.84 from 192.168.254.253
DHCPREQUEST for 192.168.254.84 on eth0 to 255.255.255.255 port 67
DHCPACK of 192.168.254.84 from 192.168.254.253
bound to 192.168.254.84 -- renewal in 35185 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.
Not starting NFS kernel daemon: no exports. ... (warning).
Starting busybox' syslogd implementation : syslogdStarting /sbin/syslogd...
2047 (syslogd)
.
Starting periodic command scheduler: cron.
Starting NTP server: ntpd.
Starting system message bus: dbus.
Starting OpenBSD Secure Shell server: sshd
.
Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon.
Starting busybox' klogd implementation : klogdStarting /sbin/klogd...
2102 (klogd)
.
Running local boot scripts (/etc/rc.local)
.

The logs say we're picking up two rtcs now, but even when the system says the rtc has been set when I reboot the system it reverts back to epoch time; it may be an issue with my hardware but I don't know why since I just replaced the rtc battery:
Saving the system clock to /dev/rtc0.
Hardware Clock updated to Thu Apr 20 16:17:28 PDT 2023.
[...]
[    2.623738][    T1] sa1100-rtc d4010000.rtc: registered as rtc0
[    2.629764][    T1] sa1100-rtc d4010000.rtc: setting system clock to 1970-01-01T00:00:00 UTC (0)

I'm starting to think my issue with mmc is also a harware problem, sometimes the kernel can recognize it (but I still can't access the partitions), sometimes it's stuck being busy, but I don't get how it could be a hardware issue but it can boot into thinos every time I want without issue.

Like I said before, I don't think hsic1 is necessary in the dts and we can get rid of it without issue.
Re: Debian on Dell Wyse 3020
April 20, 2023 08:13PM
Mischif,

> Instead of constantly blinking my power light is a
> solid green and reboot/poweroff commands are
> working;

Cool!

> pressing the power button does not
> trigger a poweroff but that may be a gui-only
> thing and I'm fine if it's missing:

Yes, I think you'll need to monitor the key event and see if the Power button triggers. And use esekeyd to run shutdown from the power key event.

Quote
Wiki thread
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

The last one written by Trond is a pretty good tutorial. But you don't need to do all that if the Power button jusrt performs a simple shutdown.

> The logs say we're picking up two rtcs now, but
> even when the system says the rtc has been set
> when I reboot the system it reverts back to epoch
> time; it may be an issue with my hardware but I
> don't know why since I just replaced the rtc
> battery:

I think it is not fully working yet. The read still failed when kernel booting up.

>
> I'm starting to think my issue with mmc is also a
> harware problem, sometimes the kernel can
> recognize it (but I still can't access the
> partitions), sometimes it's stuck being busy, but
> I don't get how it could be a hardware issue but
> it can boot into thinos every time I want without
> issue.

I think there is still something we don't know about that eMMC. Because it was initialized OK initially (showing 4GB capacity). So the definition in the DTS is correct (mmc3). Perhaps I'm missing a module.

> Like I said before, I don't think hsic1 is
> necessary in the dts and we can get rid of it
> without issue.

OK.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Debian on Dell Wyse 3020
April 22, 2023 05:26PM
Here is kernel linux-6.2.8-mvebu-tld-2.7.

This has more MMC changes: make MMC builtin modules, and use 200Mhz frequency for this eMMC chip (maximum allowed).

Download at Dropbox

linux-6.2.8-mvebu-tld-2.x-bodhi.tar.bz2

md5sum linux-6.2.8-mvebu-tld-2.x-bodhi.tar.bz2 
44a33b221369f65537dd9e30b98f8ee4  linux-6.2.8-mvebu-tld-2.x-bodhi.tar.bz2

sha256sum linux-6.2.8-mvebu-tld-2.x-bodhi.tar.bz2
8f7269f893eb72dad9f94bec2819d2e89a03965ba682f7f1a47f8aef0f03a0ec  linux-6.2.8-mvebu-tld-2.x-bodhi.tar.bz2

This tarball includes 7 files
linux-image-6.2.8-mvebu-tld-2.7_2.7_armhf.deb
linux-headers-6.2.8-mvebu-tld-2.7_2.7_armhf.deb
zImage-6.2.8-mvebu-tld-2.7
config-6.2.8-mvebu-tld-2.7
linux-dtb-6.2.8-mvebu-tld-2.7.tar
linux-6.2.8-mvebu-tld-1.patch
mmp3-dell-ariel.dts.patch

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Mischif
Re: Debian on Dell Wyse 3020
April 23, 2023 04:53PM
bodhi,

It looks like more of the same - two rtcs which never seem to pull the right time on boot and wonky onboard storage. I'm coming back around to there being a hardware mmc problem since if I leave the computer unplugged for a while it'll show up on boot, but when I reboot I get the error about the mmc being busy. At least disabling hsic1 didn't cause something to not come up.
[    0.000000][    T0] Booting Linux on physical CPU 0x0
[    0.000000][    T0] Linux version 6.2.8-mvebu-tld-2.7 (root@tldDebian) (gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2) #2.7 SMP PREEMPT Fri Apr 21 16:18:10 PDT 2023
[    0.000000][    T0] CPU: ARMv7 Processor [562f5842] revision 2 (ARMv7), cr=10c5387d
[    0.000000][    T0] CPU: div instructions available: patching division code
[    0.000000][    T0] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
[    0.000000][    T0] OF: fdt: Machine model: Dell Ariel
[    0.000000][    T0] Memory policy: Data cache writealloc
[    0.000000][    T0] Zone ranges:
[    0.000000][    T0]   Normal   [mem 0x0000000000000000-0x000000002fffffff]
[    0.000000][    T0]   HighMem  [mem 0x0000000030000000-0x000000007fefffff]
[    0.000000][    T0] Movable zone start for each node
[    0.000000][    T0] Early memory node ranges
[    0.000000][    T0]   node   0: [mem 0x0000000000000000-0x000000007fefffff]
[    0.000000][    T0] Initmem setup node 0 [mem 0x0000000000000000-0x000000007fefffff]
[    0.000000][    T0] percpu: Embedded 13 pages/cpu s21332 r8192 d23724 u53248
[    0.000000][    T0] Built 1 zonelists, mobility grouping on.  Total pages: 522304
[    0.000000][    T0] Kernel command line: root=LABEL=rootfs raid=noautodetect console=ttyS2,115200
[    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] mem auto-init: stack:off, heap alloc:on, heap free:off
[    0.000000][    T0] Memory: 2048184K/2096128K available (10240K kernel code, 831K rwdata, 3216K rodata, 1024K init, 464K bss, 47944K reserved, 0K cma-reserved, 1309696K highmem)
[    0.000000][    T0] rcu: Preemptible hierarchical RCU implementation.
[    0.000000][    T0] rcu:     RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
[    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: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
[    0.000000][    T0] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000][    T0] L2C: platform modifies aux control register: 0x02060000 -> 0x32860000
[    0.000000][    T0] L2C: DT/platform modifies aux control register: 0x02060000 -> 0x32860000
[    0.000000][    T0] Tauros3 cache controller enabled, 8 ways, 512 kB
[    0.000000][    T0] Tauros3: CACHE_ID 0x880000ed, AUX_CTRL 0x32860000
[    0.000000][    T0] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[    0.000005][    T0] sched_clock: 32 bits at 26MHz, resolution 38ns, wraps every 82595524588ns
[    0.000089][    T0] clocksource: clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 73510017198 ns
[    0.000291][    T0] smp_twd: clock not found -2
[    0.000781][    T0] kfence: initialized - using 2097152 bytes for 255 objects at 0x(ptrval)-0x(ptrval)
[    0.001705][    T0] Console: colour dummy device 80x30
[    0.001750][    T0] Calibrating local timer... 2.16MHz.
[    0.060273][    T0] Calibrating delay loop... 1191.11 BogoMIPS (lpj=5955584)
[    0.100311][    T0] pid_max: default: 32768 minimum: 301
[    0.100668][    T0] LSM: initializing lsm=capability,integrity
[    0.100922][    T0] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.100943][    T0] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.102450][    T0] CPU: Testing write buffer coherency: ok
[    0.102902][    T1] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.104731][    T1] cblist_init_generic: Setting adjustable number of callback queues.
[    0.104757][    T1] cblist_init_generic: Setting shift to 1 and lim to 1.
[    0.104941][    T1] cblist_init_generic: Setting shift to 1 and lim to 1.
[    0.105136][    T1] Setting up static identity map for 0x100000 - 0x100060
[    0.105737][    T1] rcu: Hierarchical SRCU implementation.
[    0.105746][    T1] rcu:     Max phase no-delay instances is 1000.
[    0.107067][    T1] smp: Bringing up secondary CPUs ...
[    0.190399][    T0] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.190851][    T1] smp: Brought up 1 node, 2 CPUs
[    0.190870][    T1] SMP: Total of 2 processors activated (2387.96 BogoMIPS).
[    0.190883][    T1] CPU: All CPU(s) started in SVC mode.
[    0.192054][    T1] devtmpfs: initialized
[    0.202574][    T1] VFP support v0.3: implementor 56 architecture 2 part 20 variant 9 rev 6
[    0.203044][    T1] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.203099][    T1] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
[    0.203449][    T1] prandom: seed boundary self test passed
[    0.205972][    T1] prandom: 100 self tests passed
[    0.205983][    T1] pinctrl core: initialized pinctrl subsystem
[    0.207835][    T1] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.208432][    T1] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.215556][    T1] audit: initializing netlink subsys (disabled)
[    0.215986][   T24] audit: type=2000 audit(0.220:1): state=initialized audit_enabled=0 res=1
[    0.216824][    T1] thermal_sys: Registered thermal governor 'step_wise'
[    0.217200][    T1] cpuidle: using governor ladder
[    0.217260][    T1] cpuidle: using governor menu
[    0.217438][   T16] hw-breakpoint: Debug register access (0xee003e17) caused undefined instruction on CPU 0
[    0.217454][   T16] hw-breakpoint: CPU 0 failed to disable vector catch
[    0.217509][   T17] hw-breakpoint: Debug register access (0xee003e17) caused undefined instruction on CPU 1
[    0.400661][    T1] raid6: int32x8  gen()   207 MB/s
[    0.570698][    T1] raid6: int32x4  gen()   222 MB/s
[    0.740820][    T1] raid6: int32x2  gen()   359 MB/s
[    0.910928][    T1] raid6: int32x1  gen()   366 MB/s
[    0.910940][    T1] raid6: using algorithm int32x1 gen() 366 MB/s
[    1.081070][    T1] raid6: .... xor() 189 MB/s, rmw enabled
[    1.081081][    T1] raid6: using intx1 recovery algorithm
[    1.082592][    T1] SCSI subsystem initialized
[    1.083305][    T1] usbcore: registered new interface driver usbfs
[    1.083365][    T1] usbcore: registered new interface driver hub
[    1.083425][    T1] usbcore: registered new device driver usb
[    1.083891][    T1] pps_core: LinuxPPS API ver. 1 registered
[    1.083903][    T1] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    1.083937][    T1] PTP clock support registered
[    1.086451][    T1] vgaarb: loaded
[    1.087296][    T1] clocksource: Switched to clocksource clocksource
[    1.088355][    T1] VFS: Disk quotas dquot_6.6.0
[    1.088503][    T1] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    1.110096][    T1] NET: Registered PF_INET protocol family
[    1.110498][    T1] IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear)
[    1.112946][    T1] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[    1.113112][    T1] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    1.113157][    T1] TCP established hash table entries: 8192 (order: 3, 32768 bytes, linear)
[    1.113284][    T1] TCP bind hash table entries: 8192 (order: 5, 131072 bytes, linear)
[    1.113430][    T1] TCP: Hash tables configured (established 8192 bind 8192)
[    1.113830][    T1] MPTCP token hash table entries: 1024 (order: 2, 16384 bytes, linear)
[    1.113974][    T1] UDP hash table entries: 512 (order: 2, 16384 bytes, linear)
[    1.114016][    T1] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear)
[    1.114416][    T1] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    1.115644][    T1] RPC: Registered named UNIX socket transport module.
[    1.115660][    T1] RPC: Registered udp transport module.
[    1.115669][    T1] RPC: Registered tcp transport module.
[    1.115678][    T1] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    1.115701][    T1] PCI: CLS 0 bytes, default 64
[    1.115851][    T1] NetWinder Floating Point Emulator V0.97 (double precision)
[    1.116176][   T10] Trying to unpack rootfs image as initramfs...
[    1.117915][    T1] Initialise system trusted keyrings
[    1.118217][    T1] Key type blacklist registered
[    1.120460][    T1] workingset: timestamp_bits=14 max_order=19 bucket_order=5
[    1.120819][    T1] zbud: loaded
[    1.124110][    T1] NFS: Registering the id_resolver key type
[    1.124187][    T1] Key type id_resolver registered
[    1.124197][    T1] Key type id_legacy registered
[    1.124270][    T1] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    1.124333][    T1] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[    1.204256][    T1] xor: measuring software checksum speed
[    1.212564][    T1]    arm4regs        :  1200 MB/sec
[    1.224107][    T1]    8regs           :   858 MB/sec
[    1.233327][    T1]    32regs          :  1083 MB/sec
[    1.233347][    T1] xor: using function: arm4regs (1200 MB/sec)
[    1.233384][    T1] async_tx: api initialized (async)
[    1.233409][    T1] Key type asymmetric registered
[    1.233422][    T1] Asymmetric key parser 'x509' registered
[    1.233944][    T1] bounce: pool size: 64 pages
[    1.234231][    T1] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)
[    1.234494][    T1] io scheduler bfq registered
[    1.248596][    T1] gpio gpiochip0: Static allocation of GPIO base is deprecated, use dynamic allocation.
[    1.427025][    T1] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    1.431890][    T1] printk: console [ttyS2] disabled
[    1.432000][    T1] d4018000.serial: ttyS2 at MMIO 0xd4018000 (irq = 381, base_baud = 1625000) is a XScale
[    1.432082][    T1] printk: console [ttyS2] enabled
[    1.852729][   T10] Freeing initrd memory: 9836K
[    1.882293][    T1] wireguard: WireGuard 1.0.0 loaded. See www.wireguard.com for information.
[    2.334602][    T1] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
[    2.348924][    T1] usbcore: registered new interface driver smsc75xx
[    2.364111][    T1] mv-ehci d4208000.usb: EHCI Host Controller
[    2.370182][    T1] mv-ehci d4208000.usb: new USB bus registered, assigned bus number 1
[    2.380143][    T1] mv-ehci d4208000.usb: irq 382, io mem 0xd4208000
[    2.407430][    T1] mv-ehci d4208000.usb: USB 2.0 started, EHCI 1.00
[    2.414256][    T1] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.02
[    2.423267][    T1] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.431167][    T1] usb usb1: Product: EHCI Host Controller
[    2.436704][    T1] usb usb1: Manufacturer: Linux 6.2.8-mvebu-tld-2.7 ehci_hcd
[    2.443909][    T1] usb usb1: SerialNumber: d4208000.usb
[    2.450487][    T1] hub 1-0:1.0: USB hub found
[    2.454975][    T1] hub 1-0:1.0: 1 port detected
[    2.460328][    T1] mv-ehci d4208000.usb: successful find EHCI device with regs 0x(ptrval) irq 382 working in Host mode
[    2.471435][    T1] usbcore: registered new interface driver usblp
[    2.477759][    T1] usbcore: registered new interface driver usb-storage
[    2.485088][    T1] mousedev: PS/2 mouse device common for all mice
[    2.493847][    T1] sa1100-rtc d4010000.rtc: registered as rtc0
[    2.499844][    T1] sa1100-rtc d4010000.rtc: setting system clock to 1970-01-01T00:00:00 UTC (0)
[    2.508795][    T1] i2c_dev: i2c /dev entries driver
[    2.516183][    T1] device-mapper: uevent: version 1.0.3
[    2.521959][    T1] device-mapper: ioctl: 4.47.0-ioctl (2022-07-28) initialised: dm-devel@redhat.com
[    2.531818][    T1] device-mapper: multipath round-robin: version 1.2.0 loaded
[    2.539059][    T1] device-mapper: multipath queue-length: version 0.2.0 loaded
[    2.546322][    T1] device-mapper: multipath service-time: version 0.3.0 loaded
[    2.553825][    T1] device-mapper: dm-log-userspace: version 1.3.0 loaded
[    2.560623][    T1] device-mapper: raid: Loading target version 1.15.1
[    2.567452][    T1] sdhci: Secure Digital Host Controller Interface driver
[    2.574284][    T1] sdhci: Copyright(c) Pierre Ossman
[    2.579523][    T1] sdhci-pltfm: SDHCI platform and OF driver helper
[    2.587017][    T1] hid: raw HID events driver (C) Jiri Kosina
[    2.593518][    T1] usbcore: registered new interface driver usbhid
[    2.600058][    T1] usbhid: USB HID core driver
[    2.605636][    T1] NET: Registered PF_INET6 protocol family
[    2.613509][    T1] Segment Routing with IPv6
[    2.617409][   T62] mmc0: SDHCI controller on d4281000.mmc [d4281000.mmc] using ADMA
[    2.617900][    T1] RPL Segment Routing with IPv6
[    2.630688][    T1] In-situ OAM (IOAM) with IPv6
[    2.635402][    T1] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    2.645009][    T1] NET: Registered PF_PACKET protocol family
[    2.651148][    T1] 8021q: 802.1Q VLAN Support v1.8
[    2.656245][    T1] Key type dns_resolver registered
[    2.661518][    T1] ThumbEE CPU extension supported.
[    2.666464][    T1] Registering SWP/SWPB emulation handler
[    2.671983][    T1] PJ4 iWMMXt v2 coprocessor enabled.
[    2.747445][   T25] usb 1-1: new high-speed USB device number 2 using mv-ehci
[    2.760100][    T1] registered taskstats version 1
[    2.768028][    T1] Loading compiled-in X.509 certificates
[    2.774677][    T1] zswap: loaded using pool lzo/zbud
[    2.780714][    T1] Key type .fscrypt registered
[    2.785351][    T1] Key type fscrypt-provisioning registered
[    2.791542][    T1] Key type big_key registered
[    2.833990][    T1] Key type encrypted registered
[    2.859990][   T62] mv-ehci f0001000.usb: EHCI Host Controller
[    2.865823][   T62] mv-ehci f0001000.usb: new USB bus registered, assigned bus number 2
[    2.874329][   T62] mv-ehci f0001000.usb: irq 384, io mem 0xf0001000
[    2.927417][   T62] mv-ehci f0001000.usb: USB 2.0 started, EHCI 1.00
[    2.934139][   T62] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.02
[    2.943091][   T62] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.949253][   T25] usb 1-1: New USB device found, idVendor=05e3, idProduct=0608, bcdDevice=77.63
[    2.951031][   T62] usb usb2: Product: EHCI Host Controller
[    2.959887][   T25] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    2.965360][   T62] usb usb2: Manufacturer: Linux 6.2.8-mvebu-tld-2.7 ehci_hcd
[    2.973217][   T25] usb 1-1: Product: USB2.0 Hub
[    2.980407][   T62] usb usb2: SerialNumber: f0001000.usb
[    2.991580][   T62] hub 2-0:1.0: USB hub found
[    2.991773][   T25] hub 1-1:1.0: USB hub found
[    2.997240][   T62] hub 2-0:1.0: 1 port detected
[    3.001896][   T25] hub 1-1:1.0: 4 ports detected
[    3.005876][   T62] mv-ehci f0001000.usb: successful find EHCI device with regs 0x(ptrval) irq 384 working in Host mode
[    3.025451][    T1] Freeing unused kernel image (initmem) memory: 1024K
[    3.049710][    T1] Checked W+X mappings: passed, no W+X pages found
[    3.056046][    T1] Run /init as init process
Loading, please wait...
[    3.187506][  T760] usb 2-1: new high-speed USB device number 2 using mv-ehci
Starting version 247.3-6
[    3.327426][   T25] usb 1-1.1: new high-speed USB device number 3 using mv-ehci
[    3.398200][  T760] usb 2-1: New USB device found, idVendor=0424, idProduct=2640, bcdDevice= a.a0
[    3.407041][  T760] usb 2-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    3.433291][  T760] hub 2-1:1.0: USB hub found
[    3.441664][  T760] hub 2-1:1.0: 3 ports detected
[    3.500150][   T25] usb 1-1.1: New USB device found, idVendor=090c, idProduct=2d65, bcdDevice=11.00
[    3.517532][   T25] usb 1-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    3.525504][   T25] usb 1-1.1: Product: USB DISK
[    3.547394][   T25] usb 1-1.1: Manufacturer: GOODSUN
[    3.552349][   T25] usb 1-1.1: SerialNumber: GSSMIMT1306130809108
[    3.564630][   T25] usb-storage 1-1.1:1.0: USB Mass Storage device detected
[    3.603136][   T25] scsi host0: usb-storage 1-1.1:1.0
[    3.727627][   T37] mmc0: Card stuck being busy! __mmc_poll_for_busy
[    3.777469][  T760] usb 2-1.1: new high-speed USB device number 3 using mv-ehci
[    3.778693][ T1111] usbcore: registered new interface driver uas
[    3.954286][  T760] usb 2-1.1: New USB device found, idVendor=0424, idProduct=4040, bcdDevice= 2.01
[    3.977908][  T760] usb 2-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    3.985907][  T760] usb 2-1.1: Product: Ultra Fast Media Reader
[    3.992260][  T760] usb 2-1.1: Manufacturer: Generic
[    3.997202][  T760] usb 2-1.1: SerialNumber: 000000264001
[    4.006600][  T760] usb-storage 2-1.1:1.0: USB Mass Storage device detected
[    4.015122][  T760] scsi host1: usb-storage 2-1.1:1.0
[    4.127385][  T760] usb 2-1.2: new high-speed USB device number 4 using mv-ehci
[    4.226121][ T1111]  (null): Enabling slave mode
[    4.308701][  T760] usb 2-1.2: New USB device found, idVendor=0424, idProduct=7500, bcdDevice= 1.00
[    4.321609][  T760] usb 2-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    4.327558][ T1111] rtc-ds1307 0-0068: registered as rtc1
[    4.341329][  T760] usb 2-1.2: Product: LAN7500
[    4.345850][  T760] usb 2-1.2: Manufacturer: SMSC
[    4.352627][  T760] usb 2-1.2: SerialNumber: 000000003
[    4.361908][ T1110] pxa2xx-spi d4035000.spi: no DMA channels available, using PIO
[    4.370357][  T760] smsc75xx v1.0.0
[    4.383598][ T1111] i2c i2c-0:  PXA I2C adapter, slave address 1
[    4.419013][ T1111]  (null): Enabling slave mode
[    4.424507][ T1111] i2c i2c-1:  PXA I2C adapter, slave address 1
[    4.433794][ T1111]  (null): Enabling slave mode
[    4.469527][ T1111] i2c i2c-2:  PXA I2C adapter, slave address 1
[    4.524706][  T760] smsc75xx 2-1.2:1.0 eth0: register 'smsc75xx' at usb-f0001000.usb-1.2, smsc75xx USB 2.0 Gigabit Ethernet, 00:80:64:d7:16:82
[    4.838789][   T62] scsi 0:0:0:0: Direct-Access     GOODSUN  Mass storage     1100 PQ: 0 ANSI: 4
[    4.853199][   T10] sd 0:0:0:0: [sda] 3932160 512-byte logical blocks: (2.01 GB/1.88 GiB)
[    4.864457][   T10] sd 0:0:0:0: [sda] Write Protect is off
[    4.873200][   T10] sd 0:0:0:0: [sda] No Caching mode page found
[    4.879558][   T37] mmc0: Card stuck being busy! __mmc_poll_for_busy
[    4.888694][   T10] sd 0:0:0:0: [sda] Assuming drive cache: write through
[    4.904779][   T10]  sda: sda1 sda2
[    4.909507][   T10] sd 0:0:0:0: [sda] Attached SCSI removable disk
[    5.028767][   T10] scsi 1:0:0:0: Direct-Access     Generic  Ultra HS-COMBO   2.01 PQ: 0 ANSI: 0
[    5.041940][   T62] sd 1:0:0:0: [sdb] Media removed, stopped polling
[    5.051503][   T62] sd 1:0:0:0: [sdb] Attached SCSI removable disk
[    5.244383][ T1109] smsc75xx 2-1.2:1.0 enx008064d71682: renamed from eth0
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.36.1
[/sbin/fsck.ext3 (1) -- /dev/sda2] fsck.ext3 -a -C0 /dev/sda2
rootfs: clean, 22301/118800 files, 248897/474880 blocks
done.
[    5.867210][ T1147] EXT4-fs (sda2): mounting ext3 file system using the ext4 subsystem
[    5.914615][ T1147] EXT4-fs (sda2): mounted filesystem 00fdc02b-3ff0-466e-be03-7dc426fbfac6 with ordered data mode. Quota mode: none.
done.
[    5.966168][   T37] mmc0: Card stuck being busy! __mmc_poll_for_busy
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... done.
INIT: version 2.96 booting
Using makefile-style concurrent boot in runlevel S.
Setting hostname to 'debian'...done.
[    7.108092][   T37] mmc0: Card stuck being busy! __mmc_poll_for_busy
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...
[    9.578548][ T1337] sd 0:0:0:0: Attached scsi generic sg0 type 0
[    9.589978][ T1337] sd 1:0:0:0: Attached scsi generic sg1 type 0
done.
Activating swap:.
[   11.474818][ T1473] EXT4-fs (sda2): re-mounted 00fdc02b-3ff0-466e-be03-7dc426fbfac6. 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.
[   14.607381][    C1] random: crng init done
Initializing random number generator...done.
[   14.807455][ T1862] smsc75xx 2-1.2:1.0 eth0: renamed from enx008064d71682
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.
Not starting NFS kernel daemon: no exports. ... (warning).
Starting busybox' syslogd implementation : syslogdStarting /sbin/syslogd...
2043 (syslogd)
.
Starting NTP server: ntpd.
Starting periodic command scheduler: cron.
Starting system message bus: dbus.
Starting OpenBSD Secure Shell server: sshd.
Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon.
Starting busybox' klogd implementation : klogdStarting /sbin/klogd...
2098 (klogd)
.
Running local boot scripts (/etc/rc.local)
.
Re: Debian on Dell Wyse 3020
April 23, 2023 05:26PM
Mischif,

> I'm coming back around to
> there being a hardware mmc problem since if I
> leave the computer unplugged for a while it'll
> show up on boot, but when I reboot I get the error
> about the mmc being busy.

OK. I think perhaps you should try running this box with the case open, in case we are seeing the overheating problem. If the chip is too hot to touch, then I'm leaning to that. Maybe using a fan to blow air directly to the board? We don't know if stock kernel slow down the CPU frequency or not, and the GPU is usually working very hard during boot, too.

Looking closely at the mainline DTS, I think I've covered all the necessary modules for the mmc3 device. There is no regulator defined for mmc in the DTS, so I don't think we missed anything.

Perhaps I need to look at the cpu-freq governor area.

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



Edited 1 time(s). Last edit at 04/23/2023 05:28PM by bodhi.
Re: Debian on Dell Wyse 3020
April 23, 2023 06:02PM
Mischif,

Hold on! I'm seeing there are recent commits on this code in Linux source tree. Looks like they are directly related to this polling problem, too.

Let's see if I can find out more if we need to try a later stable kernel to pick up those patches.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Debian on Dell Wyse 3020
April 23, 2023 06:35PM
Looks like that commit should be in 6.2.12 stable.

UPDATE: not in 6.2.12.

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



Edited 1 time(s). Last edit at 04/23/2023 06:55PM by bodhi.
Mischif
Re: Debian on Dell Wyse 3020
April 23, 2023 09:22PM
bodhi,

The 3020 is a fanless sbc so I doubt overheating is the problem; I've been running with the top off to access the uart and the couple times I've touched the heat sink it wasn't that much hotter than ambient.

Attempting to mount the partitions when they're recognized fails, I don't know if that's because the mmc only works long enough to be recognized or because the kernel can't figure out what filesystem the partitions actually are:
root@debian:~# mount /dev/mmcblk0p1 /mnt/
mount: /mnt: wrong fs type, bad option, bad superblock on /dev/mmcblk0p1, missing codepage or helper program, or other error.
Re: Debian on Dell Wyse 3020
April 23, 2023 10:19PM
Mischif,

> Attempting to mount the partitions when they're
> recognized fails, I don't know if that's because
> the mmc only works long enough to be recognized or
> because the kernel can't figure out what
> filesystem the partitions actually are:

Looking at the latest patches for MMC in mainline kernel, I have high hope. It seems to be a common problem. So let's wait for it to get merged in the stable tree and we'll go again.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Debian on Dell Wyse 3020
May 01, 2023 09:28PM
Here is kernel linux-6.3.0-mvebu-tld-0.1.

I'm transitioning the MVEBU kernel to the 6.3.x-tld-0.x to include MMP3 arch.

Kernel 6.3.x has the latest MMC patch that hopfully will solve the "SD card busy polling" problem.

Download at Dropbox

linux-6.3.0-mvebu-tld-0.x-bodhi.tar.bz2

md5sum linux-6.3.0-mvebu-tld-0.x-bodhi.tar.bz2 
04c717d55b4bb20b5cf2eb75238cccd7  linux-6.3.0-mvebu-tld-0.x-bodhi.tar.bz2

sha256sum linux-6.3.0-mvebu-tld-0.x-bodhi.tar.bz2 
5a7486fefd58e25f1a979671173ae70bac244b33aacec87ef5e22035b6ceb875  linux-6.3.0-mvebu-tld-0.x-bodhi.tar.bz2


This tarball includes 5 files
linux-image-6.3.0-mvebu-tld-0.1_0.1_armhf.deb
linux-headers-6.3.0-mvebu-tld-0.1_0.1_armhf.deb
zImage-6.3.0-mvebu-tld-0.1
config-6.3.0-mvebu-tld-0.1
linux-dtb-6.3.0-mvebu-tld-0.1.tar

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Mischif
Re: Debian on Dell Wyse 3020
May 03, 2023 01:49PM
bodhi,

No luck, still getting mmc polling errors and the power light went back to flashing again, did you patch the dts in this release?
[    0.000000][    T0] Booting Linux on physical CPU 0x0
[    0.000000][    T0] Linux version 6.3.0-mvebu-tld-0.1 (root@tldDebian) (gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40) #2 SMP PREEMPT Mon May  1 18:36:34 PDT 2023
[    0.000000][    T0] CPU: ARMv7 Processor [562f5842] revision 2 (ARMv7), cr=10c5387d
[    0.000000][    T0] CPU: div instructions available: patching division code
[    0.000000][    T0] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
[    0.000000][    T0] OF: fdt: Machine model: Dell Ariel
[    0.000000][    T0] Memory policy: Data cache writealloc
[    0.000000][    T0] Zone ranges:
[    0.000000][    T0]   Normal   [mem 0x0000000000000000-0x000000002fffffff]
[    0.000000][    T0]   HighMem  [mem 0x0000000030000000-0x000000007fefffff]
[    0.000000][    T0] Movable zone start for each node
[    0.000000][    T0] Early memory node ranges
[    0.000000][    T0]   node   0: [mem 0x0000000000000000-0x000000007fefffff]
[    0.000000][    T0] Initmem setup node 0 [mem 0x0000000000000000-0x000000007fefffff]
[    0.000000][    T0] percpu: Embedded 14 pages/cpu s25300 r8192 d23852 u57344
[    0.000000][    T0] Built 1 zonelists, mobility grouping on.  Total pages: 522304
[    0.000000][    T0] Kernel command line: root=LABEL=rootfs raid=noautodetect console=ttyS2,115200
[    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] mem auto-init: stack:off, heap alloc:on, heap free:off
[    0.000000][    T0] Memory: 2048132K/2096128K available (10240K kernel code, 844K rwdata, 3360K rodata, 1024K init, 464K bss, 47996K reserved, 0K cma-reserved, 1309696K highmem)
[    0.000000][    T0] rcu: Preemptible hierarchical RCU implementation.
[    0.000000][    T0] rcu:     RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
[    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: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
[    0.000000][    T0] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000][    T0] L2C: platform modifies aux control register: 0x02060000 -> 0x32860000
[    0.000000][    T0] L2C: DT/platform modifies aux control register: 0x02060000 -> 0x32860000
[    0.000000][    T0] Tauros3 cache controller enabled, 8 ways, 512 kB
[    0.000000][    T0] Tauros3: CACHE_ID 0x880000ed, AUX_CTRL 0x32860000
[    0.000000][    T0] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[    0.000005][    T0] sched_clock: 32 bits at 26MHz, resolution 38ns, wraps every 82595524588ns
[    0.000089][    T0] clocksource: clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 73510017198 ns
[    0.000289][    T0] smp_twd: clock not found -2
[    0.000778][    T0] kfence: initialized - using 2097152 bytes for 255 objects at 0x(ptrval)-0x(ptrval)   
[    0.001729][    T0] Console: colour dummy device 80x30
[    0.001774][    T0] Calibrating local timer... 2.16MHz.
[    0.060280][    T0] Calibrating delay loop... 1191.11 BogoMIPS (lpj=5955584)
[    0.100318][    T0] pid_max: default: 32768 minimum: 301
[    0.100683][    T0] LSM: initializing lsm=capability,integrity
[    0.100940][    T0] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.100961][    T0] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.102483][    T0] CPU: Testing write buffer coherency: ok
[    0.102933][    T1] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.104775][    T1] cblist_init_generic: Setting adjustable number of callback queues.
[    0.104800][    T1] cblist_init_generic: Setting shift to 1 and lim to 1.
[    0.104987][    T1] cblist_init_generic: Setting shift to 1 and lim to 1.
[    0.105185][    T1] Setting up static identity map for 0x100000 - 0x100060
[    0.105788][    T1] rcu: Hierarchical SRCU implementation.
[    0.105797][    T1] rcu:     Max phase no-delay instances is 1000.
[    0.107166][    T1] smp: Bringing up secondary CPUs ...
[    0.190409][    T0] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.190851][    T1] smp: Brought up 1 node, 2 CPUs
[    0.190869][    T1] SMP: Total of 2 processors activated (2387.96 BogoMIPS).
[    0.190882][    T1] CPU: All CPU(s) started in SVC mode.
[    0.192019][    T1] devtmpfs: initialized
[    0.202628][    T1] VFP support v0.3: implementor 56 architecture 2 part 20 variant 9 rev 6
[    0.203104][    T1] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.203158][    T1] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
[    0.203554][    T1] prandom: seed boundary self test passed
[    0.206079][    T1] prandom: 100 self tests passed
[    0.206090][    T1] pinctrl core: initialized pinctrl subsystem
[    0.207977][    T1] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.208549][    T1] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.215767][    T1] audit: initializing netlink subsys (disabled)
[    0.216209][   T24] audit: type=2000 audit(0.220:1): state=initialized audit_enabled=0 res=1
[    0.217080][    T1] thermal_sys: Registered thermal governor 'step_wise'
[    0.217460][    T1] cpuidle: using governor ladder
[    0.217522][    T1] cpuidle: using governor menu
[    0.217704][   T16] hw-breakpoint: Debug register access (0xee003e17) caused undefined instruction on CPU 0
[    0.217720][   T16] hw-breakpoint: CPU 0 failed to disable vector catch
[    0.217774][   T17] hw-breakpoint: Debug register access (0xee003e17) caused undefined instruction on CPU 1
[    0.221166][    T1] platform soc: Fixed dependency cycle(s) with /soc/interrupt-controller@e0001000
[    0.400683][    T1] raid6: int32x8  gen()   223 MB/s
[    0.570730][    T1] raid6: int32x4  gen()   237 MB/s
[    0.740888][    T1] raid6: int32x2  gen()   366 MB/s
[    0.911043][    T1] raid6: int32x1  gen()   353 MB/s
[    0.911055][    T1] raid6: using algorithm int32x2 gen() 366 MB/s
[    1.081092][    T1] raid6: .... xor() 221 MB/s, rmw enabled
[    1.081103][    T1] raid6: using intx1 recovery algorithm
[    1.082680][    T1] SCSI subsystem initialized
[    1.083380][    T1] usbcore: registered new interface driver usbfs
[    1.083444][    T1] usbcore: registered new interface driver hub
[    1.083506][    T1] usbcore: registered new device driver usb
[    1.083982][    T1] pps_core: LinuxPPS API ver. 1 registered
[    1.083994][    T1] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    1.084027][    T1] PTP clock support registered
[    1.086606][    T1] vgaarb: loaded
[    1.087488][    T1] clocksource: Switched to clocksource clocksource
[    1.088569][    T1] VFS: Disk quotas dquot_6.6.0
[    1.088692][    T1] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    1.110475][    T1] NET: Registered PF_INET protocol family
[    1.110860][    T1] IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear)
[    1.113481][    T1] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[    1.113650][    T1] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    1.113695][    T1] TCP established hash table entries: 8192 (order: 3, 32768 bytes, linear)
[    1.113821][    T1] TCP bind hash table entries: 8192 (order: 5, 131072 bytes, linear)
[    1.113963][    T1] TCP: Hash tables configured (established 8192 bind 8192)
[    1.114332][    T1] MPTCP token hash table entries: 1024 (order: 2, 16384 bytes, linear)
[    1.114478][    T1] UDP hash table entries: 512 (order: 2, 16384 bytes, linear)
[    1.114521][    T1] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear)
[    1.114898][    T1] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    1.116241][    T1] RPC: Registered named UNIX socket transport module.
[    1.116256][    T1] RPC: Registered udp transport module.
[    1.116265][    T1] RPC: Registered tcp transport module.
[    1.116273][    T1] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    1.116303][    T1] PCI: CLS 0 bytes, default 64
[    1.116468][    T1] NetWinder Floating Point Emulator V0.97 (double precision)
[    1.116785][   T10] Trying to unpack rootfs image as initramfs...
[    1.118685][    T1] Initialise system trusted keyrings
[    1.118882][    T1] Key type blacklist registered
[    1.121085][    T1] workingset: timestamp_bits=14 max_order=19 bucket_order=5
[    1.121463][    T1] zbud: loaded
[    1.124816][    T1] NFS: Registering the id_resolver key type
[    1.124876][    T1] Key type id_resolver registered
[    1.124887][    T1] Key type id_legacy registered
[    1.124965][    T1] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    1.125029][    T1] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[    1.204074][    T1] xor: measuring software checksum speed
[    1.212476][    T1]    arm4regs        :  1199 MB/sec
[    1.224083][    T1]    8regs           :   856 MB/sec
[    1.233323][    T1]    32regs          :  1081 MB/sec
[    1.233345][    T1] xor: using function: arm4regs (1199 MB/sec)
[    1.233379][    T1] async_tx: api initialized (async)
[    1.233403][    T1] Key type asymmetric registered
[    1.233417][    T1] Asymmetric key parser 'x509' registered
[    1.233875][    T1] bounce: pool size: 64 pages
[    1.234499][    T1] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)
[    1.234780][    T1] io scheduler bfq registered
[    1.253462][    T1] gpio gpiochip0: Static allocation of GPIO base is deprecated, use dynamic allocation.
[    1.449353][    T1] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    1.455921][    T1] printk: console [ttyS2] disabled
[    1.456049][    T1] d4018000.serial: ttyS2 at MMIO 0xd4018000 (irq = 381, base_baud = 1625000) is a XScale
[    1.456149][    T1] printk: console [ttyS2] enabled
[    1.807461][   T10] Freeing initrd memory: 9864K
[    1.844581][    T1] wireguard: WireGuard 1.0.0 loaded. See www.wireguard.com for information.
[    2.366624][    T1] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
[    2.381264][    T1] usbcore: registered new interface driver smsc75xx
[    2.396403][    T1] mv-ehci d4208000.usb: EHCI Host Controller
[    2.402385][    T1] mv-ehci d4208000.usb: new USB bus registered, assigned bus number 1
[    2.411785][    T1] mv-ehci d4208000.usb: irq 382, io mem 0xd4208000
[    2.447591][    T1] mv-ehci d4208000.usb: USB 2.0 started, EHCI 1.00
[    2.454526][    T1] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.03
[    2.463501][    T1] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.471424][    T1] usb usb1: Product: EHCI Host Controller
[    2.476958][    T1] usb usb1: Manufacturer: Linux 6.3.0-mvebu-tld-0.1 ehci_hcd
[    2.484159][    T1] usb usb1: SerialNumber: d4208000.usb
[    2.490643][    T1] hub 1-0:1.0: USB hub found
[    2.495129][    T1] hub 1-0:1.0: 1 port detected
[    2.500511][    T1] mv-ehci d4208000.usb: successful find EHCI device with regs 0x(ptrval) irq 382 working in Host mode
[    2.511620][    T1] usbcore: registered new interface driver usblp
[    2.517943][    T1] usbcore: registered new interface driver usb-storage
[    2.525298][    T1] mousedev: PS/2 mouse device common for all mice
[    2.534283][    T1] sa1100-rtc d4010000.rtc: registered as rtc0
[    2.540263][    T1] sa1100-rtc d4010000.rtc: setting system clock to 1970-01-01T00:00:00 UTC (0)
[    2.549221][    T1] i2c_dev: i2c /dev entries driver
[    2.556665][    T1] device-mapper: uevent: version 1.0.3
[    2.562549][    T1] device-mapper: ioctl: 4.47.0-ioctl (2022-07-28) initialised: dm-devel@redhat.com
[    2.572424][    T1] device-mapper: multipath round-robin: version 1.2.0 loaded
[    2.579673][    T1] device-mapper: multipath queue-length: version 0.2.0 loaded
[    2.586938][    T1] device-mapper: multipath service-time: version 0.3.0 loaded
[    2.594385][    T1] device-mapper: dm-log-userspace: version 1.3.0 loaded
[    2.601179][    T1] device-mapper: raid: Loading target version 1.15.1
[    2.607998][    T1] sdhci: Secure Digital Host Controller Interface driver
[    2.614830][    T1] sdhci: Copyright(c) Pierre Ossman
[    2.620052][    T1] sdhci-pltfm: SDHCI platform and OF driver helper
[    2.628653][    T1] hid: raw HID events driver (C) Jiri Kosina
[    2.635621][    T1] usbcore: registered new interface driver usbhid
[    2.642142][    T1] usbhid: USB HID core driver
[    2.648207][    T1] NET: Registered PF_INET6 protocol family
[    2.655799][    T1] Segment Routing with IPv6
[    2.657582][   T41] mmc0: SDHCI controller on d4281000.mmc [d4281000.mmc] using ADMA
[    2.660204][    T1] RPL Segment Routing with IPv6
[    2.672748][    T1] In-situ OAM (IOAM) with IPv6
[    2.677563][    T1] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    2.687088][    T1] NET: Registered PF_PACKET protocol family
[    2.693460][    T1] 8021q: 802.1Q VLAN Support v1.8
[    2.698772][    T1] Key type dns_resolver registered
[    2.704023][    T1] ThumbEE CPU extension supported.
[    2.709070][    T1] Registering SWP/SWPB emulation handler
[    2.714545][    T1] PJ4 iWMMXt v2 coprocessor enabled.
[    2.787634][   T61] usb 1-1: new high-speed USB device number 2 using mv-ehci
[    2.806025][    T1] registered taskstats version 1
[    2.812367][    T1] Loading compiled-in X.509 certificates
[    2.819480][    T1] zswap: loaded using pool lzo/zbud
[    2.825161][    T1] Key type .fscrypt registered
[    2.829867][    T1] Key type fscrypt-provisioning registered
[    2.835769][    T1] Key type big_key registered
[    2.879021][    T1] Key type encrypted registered
[    2.905571][  T841] mv-ehci f0001000.usb: EHCI Host Controller
[    2.911591][  T841] mv-ehci f0001000.usb: new USB bus registered, assigned bus number 2
[    2.919885][  T841] mv-ehci f0001000.usb: irq 384, io mem 0xf0001000
[    2.997565][  T841] mv-ehci f0001000.usb: USB 2.0 started, EHCI 1.00
[    3.004441][  T841] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.03
[    3.009507][   T61] usb 1-1: New USB device found, idVendor=05e3, idProduct=0608, bcdDevice=77.63
[    3.013411][  T841] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.022237][   T61] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    3.030137][  T841] usb usb2: Product: EHCI Host Controller
[    3.030153][  T841] usb usb2: Manufacturer: Linux 6.3.0-mvebu-tld-0.1 ehci_hcd
[    3.037975][   T61] usb 1-1: Product: USB2.0 Hub
[    3.039479][   T61] hub 1-1:1.0: USB hub found
[    3.043545][  T841] usb usb2: SerialNumber: f0001000.usb
[    3.051936][   T61] hub 1-1:1.0: 4 ports detected
[    3.068228][  T841] hub 2-0:1.0: USB hub found
[    3.074198][  T841] hub 2-0:1.0: 1 port detected
[    3.079586][  T841] mv-ehci f0001000.usb: successful find EHCI device with regs 0x(ptrval) irq 384 working in Host mode
[    3.095393][    T1] Freeing unused kernel image (initmem) memory: 1024K
[    3.119999][    T1] Checked W+X mappings: passed, no W+X pages found
[    3.126340][    T1] Run /init as init process
Loading, please wait...
[    3.267659][  T767] usb 2-1: new high-speed USB device number 2 using mv-ehci
Starting version 247.3-6
[    3.387588][   T61] usb 1-1.4: new high-speed USB device number 3 using mv-ehci
[    3.482221][  T767] usb 2-1: New USB device found, idVendor=0424, idProduct=2640, bcdDevice= a.a0
[    3.507768][  T767] usb 2-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    3.520528][  T767] hub 2-1:1.0: USB hub found
[    3.525986][  T767] hub 2-1:1.0: 3 ports detected
[    3.550421][   T61] usb 1-1.4: New USB device found, idVendor=090c, idProduct=2d65, bcdDevice=11.00
[    3.563006][   T61] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    3.576601][   T61] usb 1-1.4: Product: USB DISK
[    3.581329][   T61] usb 1-1.4: Manufacturer: GOODSUN
[    3.586268][   T61] usb 1-1.4: SerialNumber: GSSMIMT1306130809108
[    3.605908][   T61] usb-storage 1-1.4:1.0: USB Mass Storage device detected
[    3.632482][   T61] scsi host0: usb-storage 1-1.4:1.0
[    3.824961][ T1124] usbcore: registered new interface driver uas
[    3.838051][   T37] mmc0: Card stuck being busy! __mmc_poll_for_busy
[    3.847604][  T767] usb 2-1.1: new high-speed USB device number 3 using mv-ehci
[    4.014587][  T767] usb 2-1.1: New USB device found, idVendor=0424, idProduct=4040, bcdDevice= 2.01
[    4.023709][  T767] usb 2-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    4.031737][  T767] usb 2-1.1: Product: Ultra Fast Media Reader
[    4.037663][  T767] usb 2-1.1: Manufacturer: Generic
[    4.042597][  T767] usb 2-1.1: SerialNumber: 000000264001
[    4.049656][  T767] usb-storage 2-1.1:1.0: USB Mass Storage device detected
[    4.058017][  T767] scsi host1: usb-storage 2-1.1:1.0
[    4.167571][  T767] usb 2-1.2: new high-speed USB device number 4 using mv-ehci
[    4.289385][ T1121] pxa2xx-spi d4035000.spi: no DMA channels available, using PIO
[    4.328819][  T767] usb 2-1.2: New USB device found, idVendor=0424, idProduct=7500, bcdDevice= 1.00
[    4.338758][ T1128]  (null): Enabling slave mode
[    4.343981][  T767] usb 2-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    4.356375][  T767] usb 2-1.2: Product: LAN7500
[    4.365341][  T767] usb 2-1.2: Manufacturer: SMSC
[    4.370092][  T767] usb 2-1.2: SerialNumber: 000000003
[    4.389424][  T767] smsc75xx v1.0.0
[    4.409793][ T1128] rtc-ds1307 0-0068: registered as rtc1
[    4.415748][ T1128] i2c i2c-0:  PXA I2C adapter, slave address 1
[    4.423261][ T1128]  (null): Enabling slave mode
[    4.430414][ T1121] spi-nor spi0.0: w25q32 (4096 Kbytes)
[    4.437317][ T1128] i2c i2c-1:  PXA I2C adapter, slave address 1
[    4.447827][ T1128]  (null): Enabling slave mode
[    4.455326][ T1128] i2c i2c-2:  PXA I2C adapter, slave address 1
[    4.582895][  T767] smsc75xx 2-1.2:1.0 eth0: register 'smsc75xx' at usb-f0001000.usb-1.2, smsc75xx USB 2.0 Gigabit Ethernet, 00:80:64:d7:16:82
[    4.882159][  T133] scsi 0:0:0:0: Direct-Access     GOODSUN  Mass storage     1100 PQ: 0 ANSI: 4
[    4.896966][  T841] sd 0:0:0:0: [sda] 3932160 512-byte logical blocks: (2.01 GB/1.88 GiB)
[    4.907984][  T841] sd 0:0:0:0: [sda] Write Protect is off
[    4.916340][  T841] sd 0:0:0:0: [sda] No Caching mode page found
[    4.922450][  T841] sd 0:0:0:0: [sda] Assuming drive cache: write through
[    4.938085][   T37] mmc0: Card stuck being busy! __mmc_poll_for_busy
[    4.944521][  T841]  sda: sda1 sda2
[    4.949017][  T841] sd 0:0:0:0: [sda] Attached SCSI removable disk
[    5.119235][  T841] scsi 1:0:0:0: Direct-Access     Generic  Ultra HS-COMBO   2.01 PQ: 0 ANSI: 0
[    5.134866][  T133] sd 1:0:0:0: [sdb] Media removed, stopped polling
[    5.143799][  T133] sd 1:0:0:0: [sdb] Attached SCSI removable disk
[    5.296676][ T1141] smsc75xx 2-1.2:1.0 enx008064d71682: renamed from eth0
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.36.1
[/sbin/fsck.ext3 (1) -- /dev/sda2] fsck.ext3 -a -C0 /dev/sda2
rootfs: clean, 22320/118800 files, 249293/474880 blocks
done.
[    5.969442][ T1161] EXT4-fs (sda2): mounting ext3 file system using the ext4 subsystem
[    6.018388][ T1161] EXT4-fs (sda2): mounted filesystem 00fdc02b-3ff0-466e-be03-7dc426fbfac6 with ordered data mode. Quota mode: none.
done.
[    6.047916][   T37] mmc0: Card stuck being busy! __mmc_poll_for_busy
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... done.
INIT: version 2.96 booting
Using makefile-style concurrent boot in runlevel S.
Setting hostname to 'debian'...done.
[    7.188259][   T37] mmc0: Card stuck being busy! __mmc_poll_for_busy
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...
[    9.581602][ T1360] sd 0:0:0:0: Attached scsi generic sg0 type 0
[    9.588655][ T1360] sd 1:0:0:0: Attached scsi generic sg1 type 0
done.
Activating swap:.
[   11.498100][ T1488] EXT4-fs (sda2): re-mounted 00fdc02b-3ff0-466e-be03-7dc426fbfac6. 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.
[   14.557566][    C1] random: crng init done
Initializing random number generator...done.
[   14.751001][ T1877] smsc75xx 2-1.2:1.0 eth0: renamed from enx008064d71682
Configuring network interfaces...Internet Systems Consortium DHCP Client 4.4.1
Copyright 2004-2018 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
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.
Not starting NFS kernel daemon: no exports. ... (warning).
Starting busybox' syslogd implementation : syslogdStarting /sbin/syslogd...
2052 (syslogd)
.
Starting periodic command scheduler: cron.
Starting NTP server: ntpd.
Starting system message bus: dbus.
Starting OpenBSD Secure Shell server: sshd.
Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon.
Starting busybox' klogd implementation : klogdStarting /sbin/klogd...
2114 (klogd)
.
Running local boot scripts (/etc/rc.local)
.

I will double-check with the old dell kernel to see if I could recognize the mmc there as well but I'm really coming around to the idea my thin client might have problems; if you wanted to check for yourself these go for ~25 dollars on ebay.
Re: Debian on Dell Wyse 3020
May 03, 2023 02:39PM
Mischif,

> No luck, still getting mmc polling errors and the
> power light went back to flashing again, did you
> patch the dts in this release?

I might have missed some config when merging the kernel 6.2.8-mvebu-tld-2.7 to this. The DTS patch is the same.

> I will double-check with the old dell kernel to
> see if I could recognize the mmc there as well but
> I'm really coming around to the idea my thin
> client might have problems; if you wanted to check
> for yourself these go for ~25 dollars on ebay.

Yes, just received my box, but I have not got time to open it yet.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Mischif
Re: Debian on Dell Wyse 3020
May 03, 2023 11:32PM
bodhi,

It's good to know we'll have a second opinion on how well the kernels work. In case production dates lead to different results mine has model number Tx0D with a production date of 12/2014; I assume yours has twin DVI ports on the back as well.
Re: Debian on Dell Wyse 3020
May 04, 2023 11:13PM
Mischif Wrote:
-------------------------------------------------------
> bodhi,
>
> I assume yours has twin DVI ports on the back as
> well.

If it doesn't have twin DVI ports then it isn't a Dell Wyse 3020 it is more likely a Dell Wyse 3010.
Symo
Re: Debian on Dell Wyse 3020
May 10, 2023 01:54PM
I'm very intrigued by this thread. I just dug out a Dell Wyse 3020 (Tx0D) Hoping to be able to do something with it! :)
Re: Debian on Dell Wyse 3020
May 10, 2023 03:44PM
there are so many different models of these on ebay, what are the exact images or numbers i need
for this doozan forum of the wyse 3020. i already paid for this order here https://www.ebay.com/itm/275499744420
not sure if its the right one
Author:

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: