Welcome! Log In Create A New Profile

Advanced

Debian on Dell Wyse 3020

Posted by Mischif 
Re: Debian on Dell Wyse 3020
May 10, 2023 05:13PM
@mrc333777,

Yours shows Tx0D. So it should be the right one.

Model
Dell/Tx0D
 Warranty
30 DAYS
R2 Category
Tested for Key Functions, R2/Ready for Resale

Location
LAS
AR Lister
AB

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

Did you get your 3020 set up? Has anything mmc related been merged recently?
Re: Debian on Dell Wyse 3020
May 16, 2023 10:38PM
Mischif,

I am too busy. The box is open and looks like everything is OK in there. No idea if any new patch for MMC was merged.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Debian on Dell Wyse 3020
May 19, 2023 07:55PM
wow, how to get these things apart without breaking something?

https://www.ebay.com/itm/275499744420
Re: Debian on Dell Wyse 3020
May 19, 2023 09:45PM
mrc333777 Wrote:
-------------------------------------------------------
> wow, how to get these things apart without
> breaking something?
>
> https://www.ebay.com/itm/275499744420

Remove two visible screws on back side (side with DVI connectors).
Press against edge of top and it will now flip up (take care to not break speaker wire as speaker is taped to top).
If further dis-assembly is required it should now be more obvious.

Ray
Re: Debian on Dell Wyse 3020
June 02, 2023 05:49PM
Hi Mischif ,

I've released kernel 6.3.5-mvebu-tld-1.

Quote

Kernel 6.3.5-mvebu-tld-1 package has been uploaded.

New/Updated in this release:

- General kernel upgrade. Some code and DTS rebase were needed in the patch.
- Add support for Mavell MMP3 SoC (CONFIG_ARCH_MMP and assiocated configs).
- Add support for Dell Wyse 3020 (works on eMMC in still in progress).
-Add CONFIG_SENSORS_W83795 for Thecus N2350

Credits:

- Thanks Mischif for doing all the testing in bringing up the Dell Wyse 3020.

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



Edited 1 time(s). Last edit at 06/02/2023 05:51PM by bodhi.
Mischif
Re: Debian on Dell Wyse 3020
June 02, 2023 07:14PM
bodhi,

Still no luck with emmc, same pattern every time - when I boot the device after a long while the kernel sees the mmc, but I get an error every time I try to interact with it; when I reboot either with the same kernel or an updated one I get the "Card stuck being busy" error. I think a capacitor or something is blown out on my board.

Since you and a couple other people also have 3020s now I really want someone else to try the kernel and see if they face the same issues.

[    0.000000][    T0] Booting Linux on physical CPU 0x0
[    0.000000][    T0] Linux version 6.3.5-mvebu-tld-1 (root@tldDebian) (gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40) #1 SMP PREEMPT Thu Jun  1 02:35:15 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, 846K rwdata, 3376K rodata, 1024K init, 461K 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.000006][    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.000286][    T0] smp_twd: clock not found -2
[    0.000771][    T0] kfence: initialized - using 2097152 bytes for 255 objects at 0x(ptrval)-0x(ptrval)   
[    0.001717][    T0] Console: colour dummy device 80x30
[    0.001763][    T0] Calibrating local timer... 2.16MHz.
[    0.060276][    T0] Calibrating delay loop... 1191.11 BogoMIPS (lpj=5955584)
[    0.100312][    T0] pid_max: default: 32768 minimum: 301
[    0.100673][    T0] LSM: initializing lsm=capability,integrity
[    0.100927][    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.102465][    T0] CPU: Testing write buffer coherency: ok
[    0.102917][    T1] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.104753][    T1] cblist_init_generic: Setting adjustable number of callback queues.
[    0.104778][    T1] cblist_init_generic: Setting shift to 1 and lim to 1.
[    0.104965][    T1] cblist_init_generic: Setting shift to 1 and lim to 1.
[    0.105161][    T1] Setting up static identity map for 0x100000 - 0x100060
[    0.105763][    T1] rcu: Hierarchical SRCU implementation.
[    0.105771][    T1] rcu:     Max phase no-delay instances is 1000.
[    0.107151][    T1] smp: Bringing up secondary CPUs ...
[    0.190400][    T0] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.190847][    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.192010][    T1] devtmpfs: initialized
[    0.202538][    T1] VFP support v0.3: implementor 56 architecture 2 part 20 variant 9 rev 6
[    0.203033][    T1] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.203089][    T1] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
[    0.203464][    T1] prandom: seed boundary self test passed
[    0.205992][    T1] prandom: 100 self tests passed
[    0.206004][    T1] pinctrl core: initialized pinctrl subsystem
[    0.207907][    T1] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.208482][    T1] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.215641][    T1] audit: initializing netlink subsys (disabled)
[    0.216076][   T24] audit: type=2000 audit(0.220:1): state=initialized audit_enabled=0 res=1
[    0.216943][    T1] thermal_sys: Registered thermal governor 'step_wise'
[    0.217326][    T1] cpuidle: using governor ladder
[    0.217388][    T1] cpuidle: using governor menu
[    0.217571][   T16] hw-breakpoint: Debug register access (0xee003e17) caused undefined instruction on CPU 0
[    0.217586][   T16] hw-breakpoint: CPU 0 failed to disable vector catch
[    0.217638][   T17] hw-breakpoint: Debug register access (0xee003e17) caused undefined instruction on CPU 1
[    0.221015][    T1] platform soc: Fixed dependency cycle(s) with /soc/interrupt-controller@e0001000
[    0.400557][    T1] raid6: int32x8  gen()   222 MB/s
[    0.570755][    T1] raid6: int32x4  gen()   237 MB/s
[    0.740794][    T1] raid6: int32x2  gen()   366 MB/s
[    0.910952][    T1] raid6: int32x1  gen()   374 MB/s
[    0.910964][    T1] raid6: using algorithm int32x1 gen() 374 MB/s
[    1.081054][    T1] raid6: .... xor() 189 MB/s, rmw enabled
[    1.081065][    T1] raid6: using intx1 recovery algorithm
[    1.082632][    T1] SCSI subsystem initialized
[    1.083330][    T1] usbcore: registered new interface driver usbfs
[    1.083393][    T1] usbcore: registered new interface driver hub
[    1.083453][    T1] usbcore: registered new device driver usb
[    1.083926][    T1] pps_core: LinuxPPS API ver. 1 registered
[    1.083937][    T1] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    1.083970][    T1] PTP clock support registered
[    1.086527][    T1] vgaarb: loaded
[    1.087417][    T1] clocksource: Switched to clocksource clocksource
[    1.088490][    T1] VFS: Disk quotas dquot_6.6.0
[    1.088614][    T1] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    1.110248][    T1] NET: Registered PF_INET protocol family
[    1.110631][    T1] IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear)
[    1.113272][    T1] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[    1.113437][    T1] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    1.113481][    T1] TCP established hash table entries: 8192 (order: 3, 32768 bytes, linear)
[    1.113606][    T1] TCP bind hash table entries: 8192 (order: 5, 131072 bytes, linear)
[    1.113751][    T1] TCP: Hash tables configured (established 8192 bind 8192)
[    1.114122][    T1] MPTCP token hash table entries: 1024 (order: 2, 16384 bytes, linear)
[    1.114264][    T1] UDP hash table entries: 512 (order: 2, 16384 bytes, linear)
[    1.114307][    T1] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear)
[    1.114644][    T1] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    1.115973][    T1] RPC: Registered named UNIX socket transport module.
[    1.115990][    T1] RPC: Registered udp transport module.
[    1.115999][    T1] RPC: Registered tcp transport module.
[    1.116007][    T1] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    1.116035][    T1] PCI: CLS 0 bytes, default 64
[    1.116235][    T1] NetWinder Floating Point Emulator V0.97 (double precision)
[    1.116538][   T10] Trying to unpack rootfs image as initramfs...
[    1.118391][    T1] Initialise system trusted keyrings
[    1.118563][    T1] Key type blacklist registered
[    1.120752][    T1] workingset: timestamp_bits=14 max_order=19 bucket_order=5
[    1.121116][    T1] zbud: loaded
[    1.124427][    T1] NFS: Registering the id_resolver key type
[    1.124490][    T1] Key type id_resolver registered
[    1.124500][    T1] Key type id_legacy registered
[    1.124577][    T1] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    1.124640][    T1] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[    1.202278][    T1] xor: measuring software checksum speed
[    1.210653][    T1]    arm4regs        :  1198 MB/sec
[    1.222287][    T1]    8regs           :   857 MB/sec
[    1.231476][    T1]    32regs          :  1080 MB/sec
[    1.231493][    T1] xor: using function: arm4regs (1198 MB/sec)
[    1.231526][    T1] async_tx: api initialized (async)
[    1.231551][    T1] Key type asymmetric registered
[    1.231562][    T1] Asymmetric key parser 'x509' registered
[    1.232051][    T1] bounce: pool size: 64 pages
[    1.232664][    T1] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)
[    1.232947][    T1] io scheduler bfq registered
[    1.251542][    T1] gpio gpiochip0: Static allocation of GPIO base is deprecated, use dynamic allocation.
[    1.472948][    T1] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    1.480507][    T1] printk: console [ttyS2] disabled
[    1.480636][    T1] d4018000.serial: ttyS2 at MMIO 0xd4018000 (irq = 381, base_baud = 1625000) is a XScale
[    1.480734][    T1] printk: console [ttyS2] enabled
[    1.733915][   T10] Freeing initrd memory: 9864K
[    1.743210][    T1] wireguard: WireGuard 1.0.0 loaded. See www.wireguard.com for information.
[    2.390834][    T1] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
[    2.405482][    T1] usbcore: registered new interface driver smsc75xx
[    2.419755][    T1] mv-ehci d4208000.usb: EHCI Host Controller
[    2.425606][    T1] mv-ehci d4208000.usb: new USB bus registered, assigned bus number 1
[    2.435043][    T1] mv-ehci d4208000.usb: irq 382, io mem 0xd4208000
[    2.477489][    T1] mv-ehci d4208000.usb: USB 2.0 started, EHCI 1.00
[    2.484274][    T1] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.03
[    2.493245][    T1] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.501165][    T1] usb usb1: Product: EHCI Host Controller
[    2.506698][    T1] usb usb1: Manufacturer: Linux 6.3.5-mvebu-tld-1 ehci_hcd
[    2.513725][    T1] usb usb1: SerialNumber: d4208000.usb
[    2.520331][    T1] hub 1-0:1.0: USB hub found
[    2.524818][    T1] hub 1-0:1.0: 1 port detected
[    2.530182][    T1] mv-ehci d4208000.usb: successful find EHCI device with regs 0x(ptrval) irq 382 working in Host mode
[    2.541277][    T1] usbcore: registered new interface driver usblp
[    2.547637][    T1] usbcore: registered new interface driver usb-storage
[    2.554912][    T1] mousedev: PS/2 mouse device common for all mice
[    2.563844][    T1] sa1100-rtc d4010000.rtc: registered as rtc0
[    2.569828][    T1] sa1100-rtc d4010000.rtc: setting system clock to 1970-01-01T00:00:00 UTC (0)
[    2.578783][    T1] i2c_dev: i2c /dev entries driver
[    2.586587][    T1] device-mapper: uevent: version 1.0.3
[    2.592398][    T1] device-mapper: ioctl: 4.47.0-ioctl (2022-07-28) initialised: dm-devel@redhat.com
[    2.602260][    T1] device-mapper: multipath round-robin: version 1.2.0 loaded
[    2.609513][    T1] device-mapper: multipath queue-length: version 0.2.0 loaded
[    2.616772][    T1] device-mapper: multipath service-time: version 0.3.0 loaded
[    2.624314][    T1] device-mapper: dm-log-userspace: version 1.3.0 loaded
[    2.631126][    T1] device-mapper: raid: Loading target version 1.15.1
[    2.637981][    T1] sdhci: Secure Digital Host Controller Interface driver
[    2.644811][    T1] sdhci: Copyright(c) Pierre Ossman
[    2.650030][    T1] sdhci-pltfm: SDHCI platform and OF driver helper
[    2.657726][    T1] hid: raw HID events driver (C) Jiri Kosina
[    2.664090][    T1] usbcore: registered new interface driver usbhid
[    2.670658][    T1] usbhid: USB HID core driver
[    2.676318][    T1] NET: Registered PF_INET6 protocol family
[    2.683944][    T1] Segment Routing with IPv6
[    2.687509][   T10] mmc0: SDHCI controller on d4281000.mmc [d4281000.mmc] using ADMA
[    2.688388][    T1] RPL Segment Routing with IPv6
[    2.701103][    T1] In-situ OAM (IOAM) with IPv6
[    2.705865][    T1] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    2.715671][    T1] NET: Registered PF_PACKET protocol family
[    2.721841][    T1] 8021q: 802.1Q VLAN Support v1.8
[    2.727017][    T1] Key type dns_resolver registered
[    2.732195][    T1] ThumbEE CPU extension supported.
[    2.737138][    T1] Registering SWP/SWPB emulation handler
[    2.742653][    T1] PJ4 iWMMXt v2 coprocessor enabled.
[    2.818049][   T61] usb 1-1: new high-speed USB device number 2 using mv-ehci
[    2.830898][    T1] registered taskstats version 1
[    2.836123][    T1] Loading compiled-in X.509 certificates
[    2.843825][    T1] zswap: loaded using pool lzo/zbud
[    2.849767][    T1] Key type .fscrypt registered
[    2.854404][    T1] Key type fscrypt-provisioning registered
[    2.860262][    T1] Key type big_key registered
[    2.902726][    T1] Key type encrypted registered
[    2.929008][   T10] mv-ehci f0001000.usb: EHCI Host Controller
[    2.934841][   T10] mv-ehci f0001000.usb: new USB bus registered, assigned bus number 2
[    2.943219][   T10] mv-ehci f0001000.usb: irq 384, io mem 0xf0001000
[    3.007510][   T10] mv-ehci f0001000.usb: USB 2.0 started, EHCI 1.00
[    3.014284][   T10] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.03
[    3.023255][   T10] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.029403][   T61] usb 1-1: New USB device found, idVendor=05e3, idProduct=0608, bcdDevice=77.63
[    3.031201][   T10] usb usb2: Product: EHCI Host Controller
[    3.040008][   T61] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    3.045494][   T10] usb usb2: Manufacturer: Linux 6.3.5-mvebu-tld-1 ehci_hcd
[    3.053368][   T61] usb 1-1: Product: USB2.0 Hub
[    3.060354][   T10] usb usb2: SerialNumber: f0001000.usb
[    3.066164][   T61] hub 1-1:1.0: USB hub found
[    3.075286][   T61] hub 1-1:1.0: 4 ports detected
[    3.075447][   T10] hub 2-0:1.0: USB hub found
[    3.084563][   T10] hub 2-0:1.0: 1 port detected
[    3.089971][   T10] mv-ehci f0001000.usb: successful find EHCI device with regs 0x(ptrval) irq 384 working in Host mode
[    3.105960][    T1] Freeing unused kernel image (initmem) memory: 1024K
[    3.159637][    T1] Checked W+X mappings: passed, no W+X pages found
[    3.165969][    T1] Run /init as init process
Loading, please wait...
[    3.267568][  T770] usb 2-1: new high-speed USB device number 2 using mv-ehci
Starting version 247.3-6
[    3.407584][   T61] usb 1-1.4: new high-speed USB device number 3 using mv-ehci
[    3.468174][  T770] usb 2-1: New USB device found, idVendor=0424, idProduct=2640, bcdDevice= a.a0
[    3.477018][  T770] usb 2-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    3.509825][  T770] hub 2-1:1.0: USB hub found
[    3.528057][  T770] hub 2-1:1.0: 3 ports detected
[    3.560419][   T61] usb 1-1.4: New USB device found, idVendor=090c, idProduct=2d65, bcdDevice=11.00
[    3.577236][   T61] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    3.597660][   T61] usb 1-1.4: Product: USB DISK
[    3.602292][   T61] usb 1-1.4: Manufacturer: GOODSUN
[    3.622329][   T61] usb 1-1.4: SerialNumber: GSSMIMT1306130809108
[    3.640224][   T61] usb-storage 1-1.4:1.0: USB Mass Storage device detected
[    3.663345][   T61] scsi host0: usb-storage 1-1.4:1.0
[    3.827772][   T37] mmc0: Card stuck being busy! __mmc_poll_for_busy
[    3.847544][ T1122] usb 2-1.1: new high-speed USB device number 3 using mv-ehci
[    3.912331][ T1126] usbcore: registered new interface driver uas
[    4.024298][ T1122] usb 2-1.1: New USB device found, idVendor=0424, idProduct=4040, bcdDevice= 2.01
[    4.033384][ T1122] usb 2-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    4.041370][ T1122] usb 2-1.1: Product: Ultra Fast Media Reader
[    4.047249][ T1122] usb 2-1.1: Manufacturer: Generic
[    4.052213][ T1122] usb 2-1.1: SerialNumber: 000000264001
[    4.059361][ T1122] usb-storage 2-1.1:1.0: USB Mass Storage device detected
[    4.069288][ T1122] scsi host1: usb-storage 2-1.1:1.0
[    4.187506][ T1122] usb 2-1.2: new high-speed USB device number 4 using mv-ehci
[    4.321530][ T1137]  (null): Enabling slave mode
[    4.338802][ T1122] usb 2-1.2: New USB device found, idVendor=0424, idProduct=7500, bcdDevice= 1.00
[    4.348607][ T1137] rtc-ds1307 0-0068: registered as rtc1
[    4.352418][ T1122] usb 2-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    4.354435][ T1137] i2c i2c-0:  PXA I2C adapter, slave address 1
[    4.369976][ T1122] usb 2-1.2: Product: LAN7500
[    4.374499][ T1122] usb 2-1.2: Manufacturer: SMSC
[    4.386288][ T1122] usb 2-1.2: SerialNumber: 000000003
[    4.396098][ T1137]  (null): Enabling slave mode
[    4.404741][ T1137] i2c i2c-1:  PXA I2C adapter, slave address 1
[    4.404760][ T1122] smsc75xx v1.0.0
[    4.428767][ T1124] pxa2xx-spi d4035000.spi: no DMA channels available, using PIO
[    4.438981][ T1137]  (null): Enabling slave mode
[    4.536841][ T1124] spi-nor spi0.0: w25q32 (4096 Kbytes)
[    4.544713][ T1137] i2c i2c-2:  PXA I2C adapter, slave address 1
[    4.574587][ T1122] 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.927778][   T37] mmc0: Card stuck being busy! __mmc_poll_for_busy
[    4.952079][   T10] scsi 0:0:0:0: Direct-Access     GOODSUN  Mass storage     1100 PQ: 0 ANSI: 4
[    4.963341][ T1007] sd 0:0:0:0: [sda] 3932160 512-byte logical blocks: (2.01 GB/1.88 GiB)
[    4.978358][ T1007] sd 0:0:0:0: [sda] Write Protect is off
[    4.987785][ T1007] sd 0:0:0:0: [sda] No Caching mode page found
[    4.999124][ T1007] sd 0:0:0:0: [sda] Assuming drive cache: write through
[    5.016039][ T1007]  sda: sda1 sda2
[    5.020708][ T1007] sd 0:0:0:0: [sda] Attached SCSI removable disk
[    5.119034][ T1007] scsi 1:0:0:0: Direct-Access     Generic  Ultra HS-COMBO   2.01 PQ: 0 ANSI: 0
[    5.134439][   T10] sd 1:0:0:0: [sdb] Media removed, stopped polling
[    5.145265][   T10] sd 1:0:0:0: [sdb] Attached SCSI removable disk
[    5.366282][ T1136] smsc75xx 2-1.2:1.0 enx008064d71682: renamed from eth0
[    6.006738][   T37] mmc0: Card stuck being busy! __mmc_poll_for_busy
[    6.442719][ T1163] EXT4-fs (sda2): mounting ext3 file system using the ext4 subsystem
[    6.486500][ T1163] EXT4-fs (sda2): mounted filesystem 00fdc02b-3ff0-466e-be03-7dc426fbfac6 with ordered data mode. Quota mode: none.
[    7.108183][   T37] mmc0: Card stuck being busy! __mmc_poll_for_busy
[   10.248329][ T1360] sd 0:0:0:0: Attached scsi generic sg0 type 0
[   10.269233][ T1360] sd 1:0:0:0: Attached scsi generic sg1 type 0
[   12.010585][ T1490] EXT4-fs (sda2): re-mounted 00fdc02b-3ff0-466e-be03-7dc426fbfac6. Quota mode: none.
[   15.037506][    C1] random: crng init done
[   15.235842][ T1878] smsc75xx 2-1.2:1.0 eth0: renamed from enx008064d71682
Re: Debian on Dell Wyse 3020
June 02, 2023 07:24PM
Mischif,

> Still no luck with emmc, same pattern every time -
> when I boot the device after a long while the
> kernel sees the mmc, but I get an error every time
> I try to interact with it; when I reboot either
> with the same kernel or an updated one I get the
> "Card stuck being busy" error. I think a capacitor
> or something is blown out on my board.
>
> Since you and a couple other people also have
> 3020s now I really want someone else to try the
> kernel and see if they face the same issues.

Yes. I'll have some free time I will try.

Also other Wyse 3020 owners, please help testing this. Good that you guys also can test proof what Mischif did to run Debian.

BTW, there were a few changes in MMC in mainline since last time we tested it.

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



Edited 1 time(s). Last edit at 06/02/2023 07:26PM by bodhi.
Re: Debian on Dell Wyse 3020
June 04, 2023 10:38AM
ive pushed my checkpoint to one side for a bit.... ill see if i can find a good price on a 3020 and feedback either way

============================
Breaking stuff since 1994 :-)
============================
Re: Debian on Dell Wyse 3020
June 09, 2023 04:48PM
@Mischif,

Could you write an installation instruction for this box (booting from USB) ? Perhaps now is the time to do that.

For some idea how to structure the instruction:

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

If you don't want to or don't have time, then I'll do when I start the installation.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Debian on Dell Wyse 3020
June 10, 2023 05:31AM
MMC works for me on 6.3.5-mvebu-tld-1, dmesg:
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 6.3.5-mvebu-tld-1 (root@tldDebian) (gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40) #1 SMP PREEMPT Thu Jun  1 02:35:15 PDT 2023
[    0.000000] CPU: ARMv7 Processor [562f5842] revision 2 (ARMv7), cr=10c5387d
[    0.000000] CPU: div instructions available: patching division code
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
[    0.000000] OF: fdt: Machine model: Dell Ariel
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x000000002fffffff]
[    0.000000]   HighMem  [mem 0x0000000030000000-0x000000007fefffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x000000007fefffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000007fefffff]
[    0.000000] percpu: Embedded 14 pages/cpu s25300 r8192 d23852 u57344
[    0.000000] pcpu-alloc: s25300 r8192 d23852 u57344 alloc=14*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 522304
[    0.000000] Kernel command line: rootdelay=5 root=LABEL=rootfs console=ttyS2,115200 raid=noautodetect
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes, linear)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:on, heap free:off
[    0.000000] Memory: 2048132K/2096128K available (10240K kernel code, 846K rwdata, 3376K rodata, 1024K init, 461K bss, 47996K reserved, 0K cma-reserved, 1309696K highmem)
[    0.000000] rcu: Preemptible hierarchical RCU implementation.
[    0.000000] rcu: 	RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
[    0.000000] 	Trampoline variant of Tasks RCU enabled.
[    0.000000] 	Tracing variant of Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] L2C: platform modifies aux control register: 0x02060000 -> 0x32860000
[    0.000000] L2C: DT/platform modifies aux control register: 0x02060000 -> 0x32860000
[    0.000000] Tauros3 cache controller enabled, 8 ways, 512 kB
[    0.000000] Tauros3: CACHE_ID 0x880000ed, AUX_CTRL 0x32860000
[    0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[    0.000005] sched_clock: 32 bits at 26MHz, resolution 38ns, wraps every 82595524588ns
[    0.000090] clocksource: clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 73510017198 ns
[    0.000286] smp_twd: clock not found -2
[    0.000771] kfence: initialized - using 2097152 bytes for 255 objects at 0x(ptrval)-0x(ptrval)
[    0.001720] Console: colour dummy device 80x30
[    0.001767] Calibrating local timer... 2.16MHz.
[    0.060278] Calibrating delay loop... 1191.11 BogoMIPS (lpj=5955584)
[    0.100316] pid_max: default: 32768 minimum: 301
[    0.100677] LSM: initializing lsm=capability,integrity
[    0.100932] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.100953] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.102468] CPU: Testing write buffer coherency: ok
[    0.102919] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.104758] cblist_init_generic: Setting adjustable number of callback queues.
[    0.104783] cblist_init_generic: Setting shift to 1 and lim to 1.
[    0.104969] cblist_init_generic: Setting shift to 1 and lim to 1.
[    0.105167] Setting up static identity map for 0x100000 - 0x100060
[    0.105767] rcu: Hierarchical SRCU implementation.
[    0.105775] rcu: 	Max phase no-delay instances is 1000.
[    0.107162] smp: Bringing up secondary CPUs ...
[    0.190408] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.190853] smp: Brought up 1 node, 2 CPUs
[    0.190873] SMP: Total of 2 processors activated (2387.96 BogoMIPS).
[    0.190886] CPU: All CPU(s) started in SVC mode.
[    0.192025] devtmpfs: initialized
[    0.202632] VFP support v0.3: implementor 56 architecture 2 part 20 variant 9 rev 6
[    0.203111] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.203167] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
[    0.203555] prandom: seed boundary self test passed
[    0.206082] prandom: 100 self tests passed
[    0.206094] pinctrl core: initialized pinctrl subsystem
[    0.207989] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.208580] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.215741] audit: initializing netlink subsys (disabled)
[    0.216178] audit: type=2000 audit(0.220:1): state=initialized audit_enabled=0 res=1
[    0.217052] thermal_sys: Registered thermal governor 'step_wise'
[    0.217433] cpuidle: using governor ladder
[    0.217493] cpuidle: using governor menu
[    0.217703] hw-breakpoint: Debug register access (0xee003e17) caused undefined instruction on CPU 0
[    0.217719] hw-breakpoint: CPU 0 failed to disable vector catch
[    0.217773] hw-breakpoint: Debug register access (0xee003e17) caused undefined instruction on CPU 1
[    0.221148] platform soc: Fixed dependency cycle(s) with /soc/interrupt-controller@e0001000
[    0.400663] raid6: int32x8  gen()   222 MB/s
[    0.570730] raid6: int32x4  gen()   237 MB/s
[    0.740862] raid6: int32x2  gen()   366 MB/s
[    0.911034] raid6: int32x1  gen()   359 MB/s
[    0.911047] raid6: using algorithm int32x2 gen() 366 MB/s
[    1.081107] raid6: .... xor() 219 MB/s, rmw enabled
[    1.081119] raid6: using intx1 recovery algorithm
[    1.082688] SCSI subsystem initialized
[    1.083059] libata version 3.00 loaded.
[    1.083385] usbcore: registered new interface driver usbfs
[    1.083448] usbcore: registered new interface driver hub
[    1.083509] usbcore: registered new device driver usb
[    1.083981] pps_core: LinuxPPS API ver. 1 registered
[    1.083992] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    1.084026] PTP clock support registered
[    1.086607] vgaarb: loaded
[    1.087520] clocksource: Switched to clocksource clocksource
[    1.088592] VFS: Disk quotas dquot_6.6.0
[    1.088716] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    1.110016] NET: Registered PF_INET protocol family
[    1.110404] IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear)
[    1.113013] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[    1.113179] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    1.113225] TCP established hash table entries: 8192 (order: 3, 32768 bytes, linear)
[    1.113350] TCP bind hash table entries: 8192 (order: 5, 131072 bytes, linear)
[    1.113494] TCP: Hash tables configured (established 8192 bind 8192)
[    1.113873] MPTCP token hash table entries: 1024 (order: 2, 16384 bytes, linear)
[    1.114017] UDP hash table entries: 512 (order: 2, 16384 bytes, linear)
[    1.114061] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear)
[    1.114397] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    1.115726] RPC: Registered named UNIX socket transport module.
[    1.115743] RPC: Registered udp transport module.
[    1.115752] RPC: Registered tcp transport module.
[    1.115760] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    1.115789] PCI: CLS 0 bytes, default 64
[    1.115979] NetWinder Floating Point Emulator V0.97 (double precision)
[    1.116262] Trying to unpack rootfs image as initramfs...
[    1.118264] Initialise system trusted keyrings
[    1.118414] Key type blacklist registered
[    1.120571] workingset: timestamp_bits=14 max_order=19 bucket_order=5
[    1.120938] zbud: loaded
[    1.124309] NFS: Registering the id_resolver key type
[    1.124391] Key type id_resolver registered
[    1.124401] Key type id_legacy registered
[    1.124475] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    1.124502] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[    1.205093] xor: measuring software checksum speed
[    1.213480]    arm4regs        :  1196 MB/sec
[    1.225095]    8regs           :   856 MB/sec
[    1.234340]    32regs          :  1083 MB/sec
[    1.234364] xor: using function: arm4regs (1196 MB/sec)
[    1.234398] async_tx: api initialized (async)
[    1.234423] Key type asymmetric registered
[    1.234437] Asymmetric key parser 'x509' registered
[    1.234888] bounce: pool size: 64 pages
[    1.235508] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)
[    1.235789] io scheduler bfq registered
[    1.254257] gpio gpiochip0: Static allocation of GPIO base is deprecated, use dynamic allocation.
[    1.446396] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    1.453050] printk: console [ttyS2] disabled
[    1.453173] d4018000.serial: ttyS2 at MMIO 0xd4018000 (irq = 381, base_baud = 1625000) is a XScale
[    1.453269] printk: console [ttyS2] enabled
[    1.794592] Freeing initrd memory: 9864K
[    1.820425] wireguard: WireGuard 1.0.0 loaded. See www.wireguard.com for information.
[    2.364453] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
[    2.389440] usbcore: registered new interface driver smsc75xx
[    2.410041] mv-ehci d4208000.usb: EHCI Host Controller
[    2.415896] mv-ehci d4208000.usb: new USB bus registered, assigned bus number 1
[    2.425319] mv-ehci d4208000.usb: irq 382, io mem 0xd4208000
[    2.457590] mv-ehci d4208000.usb: USB 2.0 started, EHCI 1.00
[    2.464396] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.03
[    2.473390] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.481338] usb usb1: Product: EHCI Host Controller
[    2.486878] usb usb1: Manufacturer: Linux 6.3.5-mvebu-tld-1 ehci_hcd
[    2.493916] usb usb1: SerialNumber: d4208000.usb
[    2.500862] hub 1-0:1.0: USB hub found
[    2.505359] hub 1-0:1.0: 1 port detected
[    2.511116] mv-ehci d4208000.usb: successful find EHCI device with regs 0x(ptrval) irq 382 working in Host mode
[    2.522669] usbcore: registered new interface driver usblp
[    2.529177] usbcore: registered new interface driver usb-storage
[    2.537058] mousedev: PS/2 mouse device common for all mice
[    2.548917] sa1100-rtc d4010000.rtc: registered as rtc0
[    2.554848] sa1100-rtc d4010000.rtc: setting system clock to 1970-01-01T00:00:00 UTC (0)
[    2.564134] i2c_dev: i2c /dev entries driver
[    2.572644] device-mapper: uevent: version 1.0.3
[    2.578654] device-mapper: ioctl: 4.47.0-ioctl (2022-07-28) initialised: dm-devel@redhat.com
[    2.588630] device-mapper: multipath round-robin: version 1.2.0 loaded
[    2.595814] device-mapper: multipath queue-length: version 0.2.0 loaded
[    2.603140] device-mapper: multipath service-time: version 0.3.0 loaded
[    2.610540] device-mapper: dm-log-userspace: version 1.3.0 loaded
[    2.617286] device-mapper: raid: Loading target version 1.15.1
[    2.624377] sdhci: Secure Digital Host Controller Interface driver
[    2.631266] sdhci: Copyright(c) Pierre Ossman
[    2.637782] sdhci-pltfm: SDHCI platform and OF driver helper
[    2.647239] hid: raw HID events driver (C) Jiri Kosina
[    2.654584] usbcore: registered new interface driver usbhid
[    2.660888] usbhid: USB HID core driver
[    2.668127] NET: Registered PF_INET6 protocol family
[    2.675980] Segment Routing with IPv6
[    2.680417] mmc0: SDHCI controller on d4281000.mmc [d4281000.mmc] using ADMA
[    2.687620] RPL Segment Routing with IPv6
[    2.692989] In-situ OAM (IOAM) with IPv6
[    2.698013] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    2.707213] NET: Registered PF_PACKET protocol family
[    2.713549] 8021q: 802.1Q VLAN Support v1.8
[    2.718699] Key type dns_resolver registered
[    2.724022] ThumbEE CPU extension supported.
[    2.729158] Registering SWP/SWPB emulation handler
[    2.734670] PJ4 iWMMXt v2 coprocessor enabled.
[    2.797691] usb 1-1: new high-speed USB device number 2 using mv-ehci
[    2.827681] registered taskstats version 1
[    2.832838] Loading compiled-in X.509 certificates
[    2.839759] zswap: loaded using pool lzo/zbud
[    2.845461] Key type .fscrypt registered
[    2.851023] Key type fscrypt-provisioning registered
[    2.856896] Key type big_key registered
[    2.899332] Key type encrypted registered
[    2.925856] mv-ehci f0001000.usb: EHCI Host Controller
[    2.932037] mv-ehci f0001000.usb: new USB bus registered, assigned bus number 2
[    2.940408] mv-ehci f0001000.usb: irq 384, io mem 0xf0001000
[    2.968858] mmc0: Tuning failed, falling back to fixed sampling clock
[    2.983790] mmc0: new HS200 MMC card at address 0001
[    2.987585] mv-ehci f0001000.usb: USB 2.0 started, EHCI 1.00
[    2.996103] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.03
[    3.005075] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.012979] usb usb2: Product: EHCI Host Controller
[    3.018606] usb usb2: Manufacturer: Linux 6.3.5-mvebu-tld-1 ehci_hcd
[    3.025666] usb usb2: SerialNumber: f0001000.usb
[    3.031712] usb 1-1: New USB device found, idVendor=05e3, idProduct=0608, bcdDevice=77.63
[    3.032109] hub 2-0:1.0: USB hub found
[    3.040933] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    3.045196] hub 2-0:1.0: 1 port detected
[    3.053847] usb 1-1: Product: USB2.0 Hub
[    3.058277] mv-ehci f0001000.usb: successful find EHCI device with regs 0x(ptrval) irq 384 working in Host mode
[    3.078253] Freeing unused kernel image (initmem) memory: 1024K
[    3.085833] hub 1-1:1.0: USB hub found
[    3.090715] hub 1-1:1.0: 4 ports detected
[    3.119820] Checked W+X mappings: passed, no W+X pages found
[    3.126164] Run /init as init process
[    3.130573]   with arguments:
[    3.130587]     /init
[    3.130599]   with environment:
[    3.130610]     HOME=/
[    3.130621]     TERM=linux
[    3.237695] usb 2-1: new high-speed USB device number 2 using mv-ehci
[    3.438274] usb 2-1: New USB device found, idVendor=0424, idProduct=2640, bcdDevice= a.a0
[    3.447168] usb 2-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    3.468354] hub 2-1:1.0: USB hub found
[    3.477685] hub 2-1:1.0: 3 ports detected
[    3.817620] usb 2-1.1: new high-speed USB device number 3 using mv-ehci
[    3.974253] usb 2-1.1: New USB device found, idVendor=0424, idProduct=4040, bcdDevice= 2.01
[    3.983423] usb 2-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    3.991446] usb 2-1.1: Product: Ultra Fast Media Reader
[    3.997326] usb 2-1.1: Manufacturer: Generic
[    4.002347] usb 2-1.1: SerialNumber: 000000264001
[    4.016876] usb-storage 2-1.1:1.0: USB Mass Storage device detected
[    4.031055] scsi host0: usb-storage 2-1.1:1.0
[    4.039779] usbcore: registered new interface driver uas
[    4.147664] usb 2-1.2: new high-speed USB device number 4 using mv-ehci
[    4.198161]  (null): Enabling slave mode
[    4.224760] rtc-ds1307 0-0068: registered as rtc1
[    4.226531] pxa2xx-spi d4035000.spi: no DMA channels available, using PIO
[    4.323495] usb 2-1.2: New USB device found, idVendor=0424, idProduct=7500, bcdDevice= 1.00
[    4.333837] usb 2-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    4.346298] usb 2-1.2: Product: LAN7500
[    4.350880] usb 2-1.2: Manufacturer: SMSC
[    4.355589] usb 2-1.2: SerialNumber: 000000003
[    4.358194] i2c i2c-0:  PXA I2C adapter, slave address 1
[    4.365648] spi-nor spi0.0: w25q32 (4096 Kbytes)
[    4.373148] smsc75xx v1.0.0
[    4.394135]  (null): Enabling slave mode
[    4.414410] i2c i2c-1:  PXA I2C adapter, slave address 1
[    4.429771]  (null): Enabling slave mode
[    4.433668] mmcblk0: mmc0:0001 H4G2a\x11 3.64 GiB 
[    4.500176] i2c i2c-2:  PXA I2C adapter, slave address 1
[    4.534654] smsc75xx 2-1.2:1.0 eth0: register 'smsc75xx' at usb-f0001000.usb-1.2, smsc75xx USB 2.0 Gigabit Ethernet, 00:80:64:ec:27:94
[    4.569712]  mmcblk0: p1 p2
[    4.592378] mmcblk0boot0: mmc0:0001 H4G2a\x11 4.00 MiB 
[    4.626714] mmcblk0boot1: mmc0:0001 H4G2a\x11 4.00 MiB 
[    4.651370] mmcblk0rpmb: mmc0:0001 H4G2a\x11 4.00 MiB, chardev (243:0)
[    5.109279] scsi 0:0:0:0: Direct-Access     Generic  Ultra HS-COMBO   2.01 PQ: 0 ANSI: 0
[    5.121804] sd 0:0:0:0: [sda] Media removed, stopped polling
[    5.131185] sd 0:0:0:0: [sda] Attached SCSI removable disk
[    5.315116] smsc75xx 2-1.2:1.0 enx008064ec2794: renamed from eth0
[   12.448063] EXT4-fs (mmcblk0p2): mounting ext3 file system using the ext4 subsystem
[   12.473707] EXT4-fs (mmcblk0p2): mounted filesystem c9457774-94a3-4a07-a926-3af90a7026a2 with ordered data mode. Quota mode: none.
[   15.953994] sd 0:0:0:0: Attached scsi generic sg0 type 0
[   17.864884] EXT4-fs (mmcblk0p2): re-mounted c9457774-94a3-4a07-a926-3af90a7026a2. Quota mode: none.
[   22.817610] random: crng init done
[   26.496238] IPv6: ADDRCONF(NETDEV_CHANGE): enx008064ec2794: link becomes ready
[   26.505761] smsc75xx 2-1.2:1.0 enx008064ec2794: link up, 1000Mbps, full-duplex, lpa 0xC5E1
As I can recall from memory, I:
- parted usb flash stick with fat+ext3 parts
- booted 6.3.5-mvebu-tld-1 (with root=/dev/sda2, root=LABEL=rootfs seems to need modules from initrd?)
- created initrd installing debs: linux-headers-6.3.5-mvebu-tld-1_1_armhf.deb and linux-image-6.3.5-mvebu-tld-1_1_armhf.deb
- generated uInitrd from this initrd
- adjusted wloader.cfg
- rebooted and after kernel loads mmc modules, it is possible to create partitions on mmc, fat+ext3:
NAME         MAJ:MIN RM  SIZE RO TYPE MOUNTPOINT
mtdblock0     31:0    0    4M  0 disk 
mmcblk0      179:0    0  3.6G  0 disk 
├─mmcblk0p1  179:1    0  256M  0 part 
└─mmcblk0p2  179:2    0  3.4G  0 part /
mmcblk0boot0 179:8    0    4M  1 disk 
mmcblk0boot1 179:16   0    4M  1 disk
After unpacking root on mmcblk0p2, it is possible to run system from this partition. Unfortunately, I cannot make bootloader read kernel&wloader.cfg from FAT MMC part1, so I booting kernel from network:
root@mirror:/usr/local/www/nginx/boot # ll
total 14850
-rw-r--r--  1 root  wheel   5086897 Jun 10 09:30 uImage
-rw-r--r--  1 root  wheel  10096858 Jun 10 09:31 uInitrd
-rw-r--r--  1 root  wheel       132 Jun 10 10:42 wloader.cfg
root@mirror:/usr/local/www/nginx/boot # cat wloader.cfg 
<TX0D_START>

kernel=uImage
initrd=uInitrd
param="rootdelay=5 root=LABEL=rootfs console=ttyS2,115200 raid=noautodetect"

<TX0D_END>



Edited 1 time(s). Last edit at 06/10/2023 05:32AM by kaze.
Re: Debian on Dell Wyse 3020
June 10, 2023 03:14PM
Thanks for the confirmation kaze!

> MMC works for me on 6.3.5-mvebu-tld-1

> NAME         MAJ:MIN RM  SIZE RO TYPE MOUNTPOINT
> mtdblock0     31:0    0    4M  0 disk 
> mmcblk0      179:0    0  3.6G  0 disk 
> ├─mmcblk0p1  179:1    0  256M  0 part 
> └─mmcblk0p2  179:2    0  3.4G  0 part /
> mmcblk0boot0 179:8    0    4M  1 disk 
> mmcblk0boot1 179:16   0    4M  1 disk


> After unpacking root on mmcblk0p2, it is possible
> to run system from this partition. Unfortunately,
> I cannot make bootloader read kernel&wloader.cfg
> from FAT MMC part1, so I booting kernel from
> network

It might be worthwile to try this:

- Remove the FAT USB
- Plug in a complete Ext3 USB rootfs
- Remove the mmcblk0p2 partition
- And put the wloader.cfg, uImage, and uInitrd in mmcblk0p1

kernel=uImage
initrd=uInitrd
param="rootdelay=5 root=LABEL=rootfs console=ttyS2,115200 raid=noautodetect"

If the wloader only scans USB then we are out of luck. Buf if it scans all drives then making it fail to read USB might lead to scanning MMC next

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



Edited 1 time(s). Last edit at 06/10/2023 03:15PM by bodhi.
Re: Debian on Dell Wyse 3020
June 10, 2023 03:31PM
Also, if you can plug in a display monitor and keyboard, you might see the Wloader setup GUI and navigate to Boot Order tab. According to the mainline doc, it seems only USB and Network were tested as boot options.

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



Edited 1 time(s). Last edit at 06/10/2023 03:35PM by bodhi.
Re: Debian on Dell Wyse 3020
June 10, 2023 03:55PM
Quote

- booted 6.3.5-mvebu-tld-1 (with root=/dev/sda2, root=LABEL=rootfs seems to need modules from initrd?)
- created initrd installing debs: linux-headers-6.3.5-mvebu-tld-1_1_armhf.deb and linux-image-6.3.5-mvebu-tld-1_1_armhf.deb
- generated uInitrd from this initrd

- Yes, root=/dev/sda2 is a simple approach.
or
- If you already have another MVEBU box in your network, use that 6.3.5-mvebu-tld-1 uInitrd.
or
- You can also install kernel with chroot. But chroot requires some setup on a x86 box.

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



Edited 1 time(s). Last edit at 06/10/2023 03:56PM by bodhi.
Mischif
Re: Debian on Dell Wyse 3020
June 11, 2023 10:23PM
kaze,

Can you just see your MMC or can you mount it/write to it as well? And does your RTC keep time during reboots as well? It's good to hear we have the dts file correct even if it means mine is busted somehow.

As for setting up a 3020, here are the steps I have:

Start with a 2G+ drive, with a 64MB FAT32 partition (I call mine BOOTFS) and an ext3 partition (I call mine rootfs)

Next you prepare the BOOTFS partition:
tar -C /media/mischif/BOOTFS/ -x -j -f /home/mischif/Downloads/linux-6.3.5-mvebu-tld-1-bodhi.tar.bz2
tar -C /media/mischif/BOOTFS/ -x -f /media/mischif/BOOTFS/linux-dtb-6.3.5-mvebu-tld-1.tar
cat /media/mischif/BOOTFS/zImage-6.3.5-mvebu-tld-1 /media/mischif/BOOTFS/dts/mmp3-dell-ariel.dtb > /media/mischif/BOOTFS/zImage.fdt
mkimage -A arm -O linux -T kernel -C none -a 0x8000 -e 0x8000 -d /media/mischif/BOOTFS/zImage.fdt /media/mischif/BOOTFS/uImage
mkimage -A arm -O linux -T ramdisk -C gzip -a 0x3000000 -e 0x3000000 -d /media/mischif/rootfs/boot/initrd.img-5.13.8-mvebu-tld-1 /media/mischif/BOOTFS/uInitrd

My wloader.cfg looks like this:
<TX0D_START>
kernel=uImage
initrd=uInitrd
param="root=LABEL=rootfs raid=noautodetect console=ttyS2,115200"
<TX0D_END>

You may have to set your root to /dev/sda2 for the first boot. Next is to prepare the root partition:
tar -C /media/mischif/rootfs/ -x -j -f /home/mischif/Downloads/Debian-5.13.8-mvebu-tld-1-rootfs-bodhi.tar.bz2
rm /media/mischif/rootfs/root/set_persistent_mac_address
sed -i 's/ttyS0 115200/ttyS2 115200/' /media/mischif/rootfs/etc/inittab
sed -i '2a rename \/enx*=eth0' /media/mischif/rootfs/etc/network/interfaces

This should allow you to boot.

I've found the initrd in the tarball doesn't initialize everything properly, so I would also suggest mounting BOOTFS to /boot and installing the linux-image deb which creates a better initrd you can install over the original one; otherwise you can delete everything on that partition besides uImage/uInitrd/wloader.cfg.
Re: Debian on Dell Wyse 3020
June 12, 2023 12:12AM
Mischif,

> I've found the initrd in the tarball doesn't
> initialize everything properly

That's 5.13.8-mvebu-tld-1 uInitrd. Sure it does not have everything for this new Architecture. But did it boot into Debian?

If it does, then that should be used and the root device can be root=LABEL=rootfs. And then we can log in and install the kernel 6.3.5-mvebu-tld-1.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Debian on Dell Wyse 3020
June 13, 2023 01:00PM
Mischif,
I overwrote default partitions without trying to mount them. I will later check dell/wyse tools for recovery options, maybe it is possible to restore original content.

RTC at first seems to work, but after reboot doesn't keep the time. Battery is about 3V, which should be fine.
root@debian:~# hwclock 
1969-12-31 16:04:52.429832-08:00
root@debian:~# hwclock -w
root@debian:~# hwclock 
2023-06-13 10:05:00.339242-07:00
root@debian:~#

My unit has part number 0JF737 and it is from Febuary 2016.
Re: Debian on Dell Wyse 3020
June 13, 2023 02:18PM
kaze Wrote:
-------------------------------------------------------
> Mischif,
> I overwrote default partitions without trying to
> mount them. I will later check dell/wyse tools for
> recovery options, maybe it is possible to restore
> original content.

No need to restore. I think the question is whether you can fomat, mount, and read/write normally. It sounds like you can.

>
> RTC at first seems to work, but after reboot
> doesn't keep the time. Battery is about 3V, which
> should be fine.
>
> root@debian:~# hwclock 
> 1969-12-31 16:04:52.429832-08:00
> root@debian:~# hwclock -w
> root@debian:~# hwclock 
> 2023-06-13 10:05:00.339242-07:00
> root@debian:~#
>
>
> My unit has part number 0JF737 and it is from
> Febuary 2016.


RTC still needs some works.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Debian on Dell Wyse 3020
June 15, 2023 09:22AM
My unit is on the way and should land next week - it was £10 delivered... ill be able to check your instructions on hacking the debian onto it then

============================
Breaking stuff since 1994 :-)
============================
Re: Debian on Dell Wyse 3020
June 15, 2023 04:07PM
Thanks Gravelrash!

I'm currently busy chasing a difficult issue with u-boot (affecting a lot of boxes). Glad to see you can help testing the eMMC and RTC for this board.

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



Edited 1 time(s). Last edit at 06/15/2023 04:15PM by bodhi.
Re: Debian on Dell Wyse 3020
June 15, 2023 04:11PM
Here is the updated DTB. Hope to see the RTC will behave differently.

Replace it in the /boot/dts folder of your rootfs.

mv /boot/dts/mmp3-dell-ariel.dtb /boot/dts/mmp3-dell-ariel.dtb.6.3.5
cp -a mmp3-dell-ariel.dtb /boot/dts/mmp3-dell-ariel.dtb

Recreate your uImage. Copy it to the USB FAT partition.

And reboot.

Please post
dmesg

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



Edited 2 time(s). Last edit at 06/17/2023 02:56PM by bodhi.
Attachments:
open | download - mmp3-dell-ariel.dtb (12.2 KB)
Re: Debian on Dell Wyse 3020
June 17, 2023 04:38AM
bodhi,
Looks like it is working now, thanks!
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 6.3.5-mvebu-tld-1 (root@tldDebian) (gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40) #1 SMP PREEMPT Thu Jun  1 02:35:15 PDT 2023
[    0.000000] CPU: ARMv7 Processor [562f5842] revision 2 (ARMv7), cr=10c5387d
[    0.000000] CPU: div instructions available: patching division code
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
[    0.000000] OF: fdt: Machine model: Dell Ariel
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x000000002fffffff]
[    0.000000]   HighMem  [mem 0x0000000030000000-0x000000007fefffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x000000007fefffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000007fefffff]
[    0.000000] percpu: Embedded 14 pages/cpu s25300 r8192 d23852 u57344
[    0.000000] pcpu-alloc: s25300 r8192 d23852 u57344 alloc=14*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 522304
[    0.000000] Kernel command line: rootdelay=5 root=LABEL=rootfs console=ttyS2,115200 raid=noautodetect
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes, linear)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:on, heap free:off
[    0.000000] Memory: 2048132K/2096128K available (10240K kernel code, 846K rwdata, 3376K rodata, 1024K init, 461K bss, 47996K reserved, 0K cma-reserved, 1309696K highmem)
[    0.000000] rcu: Preemptible hierarchical RCU implementation.
[    0.000000] rcu: 	RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
[    0.000000] 	Trampoline variant of Tasks RCU enabled.
[    0.000000] 	Tracing variant of Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] L2C: platform modifies aux control register: 0x02060000 -> 0x32860000
[    0.000000] L2C: DT/platform modifies aux control register: 0x02060000 -> 0x32860000
[    0.000000] Tauros3 cache controller enabled, 8 ways, 512 kB
[    0.000000] Tauros3: CACHE_ID 0x880000ed, AUX_CTRL 0x32860000
[    0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[    0.000006] sched_clock: 32 bits at 26MHz, resolution 38ns, wraps every 82595524588ns
[    0.000088] clocksource: clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 73510017198 ns
[    0.000287] smp_twd: clock not found -2
[    0.000778] kfence: initialized - using 2097152 bytes for 255 objects at 0x(ptrval)-0x(ptrval)
[    0.001720] Console: colour dummy device 80x30
[    0.001766] Calibrating local timer... 2.16MHz.
[    0.060278] Calibrating delay loop... 1191.11 BogoMIPS (lpj=5955584)
[    0.100315] pid_max: default: 32768 minimum: 301
[    0.100677] LSM: initializing lsm=capability,integrity
[    0.100932] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.100953] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.102469] CPU: Testing write buffer coherency: ok
[    0.102921] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.104758] cblist_init_generic: Setting adjustable number of callback queues.
[    0.104783] cblist_init_generic: Setting shift to 1 and lim to 1.
[    0.104969] cblist_init_generic: Setting shift to 1 and lim to 1.
[    0.105165] Setting up static identity map for 0x100000 - 0x100060
[    0.105762] rcu: Hierarchical SRCU implementation.
[    0.105771] rcu: 	Max phase no-delay instances is 1000.
[    0.107153] smp: Bringing up secondary CPUs ...
[    0.190401] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.190847] smp: Brought up 1 node, 2 CPUs
[    0.190866] SMP: Total of 2 processors activated (2387.96 BogoMIPS).
[    0.190879] CPU: All CPU(s) started in SVC mode.
[    0.192015] devtmpfs: initialized
[    0.202620] VFP support v0.3: implementor 56 architecture 2 part 20 variant 9 rev 6
[    0.203098] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.203153] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
[    0.203548] prandom: seed boundary self test passed
[    0.206075] prandom: 100 self tests passed
[    0.206086] pinctrl core: initialized pinctrl subsystem
[    0.207981] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.208605] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.215776] audit: initializing netlink subsys (disabled)
[    0.216210] audit: type=2000 audit(0.220:1): state=initialized audit_enabled=0 res=1
[    0.217079] thermal_sys: Registered thermal governor 'step_wise'
[    0.217463] cpuidle: using governor ladder
[    0.217525] cpuidle: using governor menu
[    0.217736] hw-breakpoint: Debug register access (0xee003e17) caused undefined instruction on CPU 0
[    0.217750] hw-breakpoint: CPU 0 failed to disable vector catch
[    0.217805] hw-breakpoint: Debug register access (0xee003e17) caused undefined instruction on CPU 1
[    0.221106] platform soc: Fixed dependency cycle(s) with /soc/interrupt-controller@e0001000
[    0.400655] raid6: int32x8  gen()   222 MB/s
[    0.570775] raid6: int32x4  gen()   237 MB/s
[    0.740850] raid6: int32x2  gen()   366 MB/s
[    0.910931] raid6: int32x1  gen()   359 MB/s
[    0.910943] raid6: using algorithm int32x2 gen() 366 MB/s
[    1.081046] raid6: .... xor() 219 MB/s, rmw enabled
[    1.081057] raid6: using intx1 recovery algorithm
[    1.082643] SCSI subsystem initialized
[    1.082997] libata version 3.00 loaded.
[    1.083289] usbcore: registered new interface driver usbfs
[    1.083378] usbcore: registered new interface driver hub
[    1.083444] usbcore: registered new device driver usb
[    1.083891] pps_core: LinuxPPS API ver. 1 registered
[    1.083903] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    1.083932] PTP clock support registered
[    1.086558] vgaarb: loaded
[    1.087448] clocksource: Switched to clocksource clocksource
[    1.088555] VFS: Disk quotas dquot_6.6.0
[    1.088678] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    1.110124] NET: Registered PF_INET protocol family
[    1.110505] IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear)
[    1.113125] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[    1.113293] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    1.113338] TCP established hash table entries: 8192 (order: 3, 32768 bytes, linear)
[    1.113463] TCP bind hash table entries: 8192 (order: 5, 131072 bytes, linear)
[    1.113607] TCP: Hash tables configured (established 8192 bind 8192)
[    1.114008] MPTCP token hash table entries: 1024 (order: 2, 16384 bytes, linear)
[    1.114153] UDP hash table entries: 512 (order: 2, 16384 bytes, linear)
[    1.114194] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear)
[    1.114529] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    1.115861] RPC: Registered named UNIX socket transport module.
[    1.115877] RPC: Registered udp transport module.
[    1.115885] RPC: Registered tcp transport module.
[    1.115893] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    1.115922] PCI: CLS 0 bytes, default 64
[    1.116111] NetWinder Floating Point Emulator V0.97 (double precision)
[    1.116383] Trying to unpack rootfs image as initramfs...
[    1.118318] Initialise system trusted keyrings
[    1.118471] Key type blacklist registered
[    1.120640] workingset: timestamp_bits=14 max_order=19 bucket_order=5
[    1.121010] zbud: loaded
[    1.124281] NFS: Registering the id_resolver key type
[    1.124342] Key type id_resolver registered
[    1.124352] Key type id_legacy registered
[    1.124430] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    1.124493] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[    1.203139] xor: measuring software checksum speed
[    1.211496]    arm4regs        :  1197 MB/sec
[    1.223069]    8regs           :   859 MB/sec
[    1.232334]    32regs          :  1078 MB/sec
[    1.232356] xor: using function: arm4regs (1197 MB/sec)
[    1.232391] async_tx: api initialized (async)
[    1.232415] Key type asymmetric registered
[    1.232428] Asymmetric key parser 'x509' registered
[    1.232909] bounce: pool size: 64 pages
[    1.233195] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)
[    1.233501] io scheduler bfq registered
[    1.248355] gpio gpiochip0: Static allocation of GPIO base is deprecated, use dynamic allocation.
[    1.431692] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    1.436087] printk: console [ttyS2] disabled
[    1.436206] d4018000.serial: ttyS2 at MMIO 0xd4018000 (irq = 381, base_baud = 1625000) is a XScale
[    1.436274] printk: console [ttyS2] enabled
[    1.825261] Freeing initrd memory: 9864K
[    1.854633] wireguard: WireGuard 1.0.0 loaded. See www.wireguard.com for information.
[    2.347578] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
[    2.384643] usbcore: registered new interface driver smsc75xx
[    2.392839] mv-ehci d4208000.usb: EHCI Host Controller
[    2.399914] mv-ehci d4208000.usb: new USB bus registered, assigned bus number 1
[    2.409262] mv-ehci d4208000.usb: irq 382, io mem 0xd4208000
[    2.437534] mv-ehci d4208000.usb: USB 2.0 started, EHCI 1.00
[    2.444333] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.03
[    2.453348] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.461262] usb usb1: Product: EHCI Host Controller
[    2.466801] usb usb1: Manufacturer: Linux 6.3.5-mvebu-tld-1 ehci_hcd
[    2.473836] usb usb1: SerialNumber: d4208000.usb
[    2.480814] hub 1-0:1.0: USB hub found
[    2.485308] hub 1-0:1.0: 1 port detected
[    2.491053] mv-ehci d4208000.usb: successful find EHCI device with regs 0x(ptrval) irq 382 working in Host mode
[    2.502640] usbcore: registered new interface driver usblp
[    2.509139] usbcore: registered new interface driver usb-storage
[    2.517012] mousedev: PS/2 mouse device common for all mice
[    2.526161] i2c_dev: i2c /dev entries driver
[    2.534666] device-mapper: uevent: version 1.0.3
[    2.540648] device-mapper: ioctl: 4.47.0-ioctl (2022-07-28) initialised: dm-devel@redhat.com
[    2.550492] device-mapper: multipath round-robin: version 1.2.0 loaded
[    2.557852] device-mapper: multipath queue-length: version 0.2.0 loaded
[    2.565118] device-mapper: multipath service-time: version 0.3.0 loaded
[    2.572542] device-mapper: dm-log-userspace: version 1.3.0 loaded
[    2.579328] device-mapper: raid: Loading target version 1.15.1
[    2.586369] sdhci: Secure Digital Host Controller Interface driver
[    2.593262] sdhci: Copyright(c) Pierre Ossman
[    2.599890] sdhci-pltfm: SDHCI platform and OF driver helper
[    2.608368] hid: raw HID events driver (C) Jiri Kosina
[    2.615368] usbcore: registered new interface driver usbhid
[    2.621704] usbhid: USB HID core driver
[    2.628353] NET: Registered PF_INET6 protocol family
[    2.635981] Segment Routing with IPv6
[    2.640206] mmc0: SDHCI controller on d4281000.mmc [d4281000.mmc] using ADMA
[    2.640468] RPL Segment Routing with IPv6
[    2.653442] In-situ OAM (IOAM) with IPv6
[    2.658298] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    2.668718] NET: Registered PF_PACKET protocol family
[    2.674777] 8021q: 802.1Q VLAN Support v1.8
[    2.679913] Key type dns_resolver registered
[    2.685059] ThumbEE CPU extension supported.
[    2.690089] Registering SWP/SWPB emulation handler
[    2.695594] PJ4 iWMMXt v2 coprocessor enabled.
[    2.777412] registered taskstats version 1
[    2.777619] usb 1-1: new high-speed USB device number 2 using mv-ehci
[    2.785983] Loading compiled-in X.509 certificates
[    2.800649] zswap: loaded using pool lzo/zbud
[    2.806452] Key type .fscrypt registered
[    2.811173] Key type fscrypt-provisioning registered
[    2.817001] Key type big_key registered
[    2.860817] Key type encrypted registered
[    2.887224] mv-ehci f0001000.usb: EHCI Host Controller
[    2.893219] mv-ehci f0001000.usb: new USB bus registered, assigned bus number 2
[    2.901674] mv-ehci f0001000.usb: irq 384, io mem 0xf0001000
[    2.909410] mmc0: Tuning failed, falling back to fixed sampling clock
[    2.924328] mmc0: new HS200 MMC card at address 0001
[    2.977531] mv-ehci f0001000.usb: USB 2.0 started, EHCI 1.00
[    2.984335] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.03
[    2.993379] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.001441] usb usb2: Product: EHCI Host Controller
[    3.007189] usb usb2: Manufacturer: Linux 6.3.5-mvebu-tld-1 ehci_hcd
[    3.014294] usb usb2: SerialNumber: f0001000.usb
[    3.020408] usb 1-1: New USB device found, idVendor=05e3, idProduct=0608, bcdDevice=77.63
[    3.028324] hub 2-0:1.0: USB hub found
[    3.029290] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    3.034730] hub 2-0:1.0: 1 port detected
[    3.041460] usb 1-1: Product: USB2.0 Hub
[    3.051842] hub 1-1:1.0: USB hub found
[    3.052347] mv-ehci f0001000.usb: successful find EHCI device with regs 0x(ptrval) irq 384 working in Host mode
[    3.067101] hub 1-1:1.0: 4 ports detected
[    3.076705] Freeing unused kernel image (initmem) memory: 1024K
[    3.099750] Checked W+X mappings: passed, no W+X pages found
[    3.106086] Run /init as init process
[    3.110534]   with arguments:
[    3.110551]     /init
[    3.110563]   with environment:
[    3.110574]     HOME=/
[    3.110585]     TERM=linux
[    3.227655] usb 2-1: new high-speed USB device number 2 using mv-ehci
[    3.397564] usb 1-1.4: new high-speed USB device number 3 using mv-ehci
[    3.428153] usb 2-1: New USB device found, idVendor=0424, idProduct=2640, bcdDevice= a.a0
[    3.437017] usb 2-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    3.450267] hub 2-1:1.0: USB hub found
[    3.456225] hub 2-1:1.0: 3 ports detected
[    3.570047] usb 1-1.4: New USB device found, idVendor=1c79, idProduct=3100, bcdDevice= 1.00
[    3.587899] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    3.595901] usb 1-1.4: Product: PSK4000CS1-BTB
[    3.601512] usb 1-1.4: Manufacturer: UNIGEN
[    3.606396] usb 1-1.4: SerialNumber: 07005AE27BEB6A53
[    3.617853] usb-storage 1-1.4:1.0: USB Mass Storage device detected
[    3.628117] scsi host0: usb-storage 1-1.4:1.0
[    3.787579] usb 2-1.1: new high-speed USB device number 3 using mv-ehci
[    3.868109] usbcore: registered new interface driver uas
[    3.984159] usb 2-1.1: New USB device found, idVendor=0424, idProduct=4040, bcdDevice= 2.01
[    3.997580] usb 2-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    4.005588] usb 2-1.1: Product: Ultra Fast Media Reader
[    4.027668] usb 2-1.1: Manufacturer: Generic
[    4.032613] usb 2-1.1: SerialNumber: 000000264001
[    4.039504] usb-storage 2-1.1:1.0: USB Mass Storage device detected
[    4.047663] scsi host1: usb-storage 2-1.1:1.0
[    4.147601] usb 2-1.2: new high-speed USB device number 4 using mv-ehci
[    4.282298]  (null): Enabling slave mode
[    4.308769] usb 2-1.2: New USB device found, idVendor=0424, idProduct=7500, bcdDevice= 1.00
[    4.321166] usb 2-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    4.337564] usb 2-1.2: Product: LAN7500
[    4.338853] pxa2xx-spi d4035000.spi: no DMA channels available, using PIO
[    4.342199] usb 2-1.2: Manufacturer: SMSC
[    4.367584] usb 2-1.2: SerialNumber: 000000003
[    4.391676] smsc75xx v1.0.0
[    4.442832] rtc-ds1307 0-0068: registered as rtc0
[    4.452082] mmcblk0: mmc0:0001 H4G2a\x11 3.64 GiB 
[    4.465252] spi-nor spi0.0: w25q32 (4096 Kbytes)
[    4.480073] rtc-ds1307 0-0068: setting system clock to 2023-06-17T08:37:16 UTC (1686991036)
[    4.507408] i2c i2c-0:  PXA I2C adapter, slave address 1
[    4.567919]  mmcblk0:
[    4.572537] mmcblk0boot0: mmc0:0001 H4G2a\x11 4.00 MiB 
[    4.572607]  (null): Enabling slave mode
[    4.585750] mmcblk0boot1: mmc0:0001 H4G2a\x11 4.00 MiB 
[    4.590049] smsc75xx 2-1.2:1.0 eth0: register 'smsc75xx' at usb-f0001000.usb-1.2, smsc75xx USB 2.0 Gigabit Ethernet, 84:7b:eb:f2:15:98
[    4.615000] i2c i2c-1:  PXA I2C adapter, slave address 1
[    4.617343] mmcblk0rpmb: mmc0:0001 H4G2a\x11 4.00 MiB, chardev (243:0)
[    4.622059]  (null): Enabling slave mode
[    4.648048] i2c i2c-2:  PXA I2C adapter, slave address 1
[    4.711292] scsi 0:0:0:0: Direct-Access     UNIGEN   PSK4000CS1-BTB        PQ: 0 ANSI: 0 CCS
[    4.727982] sd 0:0:0:0: [sda] 7831552 512-byte logical blocks: (4.01 GB/3.73 GiB)
[    4.739488] sd 0:0:0:0: [sda] Write Protect is off
[    4.744998] sd 0:0:0:0: [sda] Mode Sense: 23 00 00 00
[    4.748246] sd 0:0:0:0: [sda] No Caching mode page found
[    4.756899] sd 0:0:0:0: [sda] Assuming drive cache: write through
[    4.781387]  sda: sda1 sda2
[    4.785951] sd 0:0:0:0: [sda] Attached SCSI removable disk
[    5.119269] scsi 1:0:0:0: Direct-Access     Generic  Ultra HS-COMBO   2.01 PQ: 0 ANSI: 0
[    5.131822] sd 1:0:0:0: [sdb] Media removed, stopped polling
[    5.142526] sd 1:0:0:0: [sdb] Attached SCSI removable disk
[    5.424151] smsc75xx 2-1.2:1.0 enx847bebf21598: renamed from eth0
[   11.011197] EXT4-fs (sda2): mounting ext3 file system using the ext4 subsystem
[   11.083803] EXT4-fs (sda2): mounted filesystem 975f463a-593f-4f1b-99bf-e904e536e8aa with ordered data mode. Quota mode: none.
[   14.552776] sd 0:0:0:0: Attached scsi generic sg0 type 0
[   14.576281] sd 1:0:0:0: Attached scsi generic sg1 type 0
[   15.147609] random: crng init done
[   16.537075] EXT4-fs (sda2): re-mounted 975f463a-593f-4f1b-99bf-e904e536e8aa. Quota mode: none.
[   22.585254] IPv6: ADDRCONF(NETDEV_CHANGE): enx847bebf21598: link becomes ready
[   22.594648] smsc75xx 2-1.2:1.0 enx847bebf21598: link up, 1000Mbps, full-duplex, lpa 0xC5E1
root@debian:~# hwclock 
2023-06-17 01:37:58.993999-07:00
root@debian:~#
Re: Debian on Dell Wyse 3020
June 17, 2023 03:01PM
kaze,


Quote

> Looks like it is working now, thanks!

> [ 4.442832] rtc-ds1307 0-0068: registered as rtc0
> [ 4.480073] rtc-ds1307 0-0068: setting system clock to 2023-06-17T08:37:16 UTC (1686991036)

> root@debian:~# hwclock
> 2023-06-17 01:37:58.993999-07:00
> root@debian:~#

Cool!

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

Could you also post:

mount
lsblk
df -h

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Debian on Dell Wyse 3020
June 17, 2023 05:45PM
All,

Try this additional bootarg in wloader.cfg

<TX0D_START>
kernel=uImage
initrd=uInitrd
param="root=LABEL=rootfs raid=noautodetect console=ttyS2,115200 mtdparts=spi0.0:4m(boot)"
<TX0D_END>

Boot into Debian and

dmesg
cat /proc/mtd

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



Edited 1 time(s). Last edit at 06/18/2023 12:39AM by bodhi.
Re: Debian on Dell Wyse 3020
June 18, 2023 07:45AM
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 6.3.5-mvebu-tld-1 (root@tldDebian) (gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40) #1 SMP PREEMPT Thu Jun  1 02:35:15 PDT 2023
[    0.000000] CPU: ARMv7 Processor [562f5842] revision 2 (ARMv7), cr=10c5387d
[    0.000000] CPU: div instructions available: patching division code
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
[    0.000000] OF: fdt: Machine model: Dell Ariel
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x000000002fffffff]
[    0.000000]   HighMem  [mem 0x0000000030000000-0x000000007fefffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x000000007fefffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000007fefffff]
[    0.000000] percpu: Embedded 14 pages/cpu s25300 r8192 d23852 u57344
[    0.000000] pcpu-alloc: s25300 r8192 d23852 u57344 alloc=14*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 522304
[    0.000000] Kernel command line: rootdelay=5 root=LABEL=mmcrootfs console=ttyS2,115200 raid=noautodetect mtdparts=spi0.0:4m(boot)
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes, linear)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:on, heap free:off
[    0.000000] Memory: 2048132K/2096128K available (10240K kernel code, 846K rwdata, 3376K rodata, 1024K init, 461K bss, 47996K reserved, 0K cma-reserved, 1309696K highmem)
[    0.000000] rcu: Preemptible hierarchical RCU implementation.
[    0.000000] rcu: 	RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
[    0.000000] 	Trampoline variant of Tasks RCU enabled.
[    0.000000] 	Tracing variant of Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] L2C: platform modifies aux control register: 0x02060000 -> 0x32860000
[    0.000000] L2C: DT/platform modifies aux control register: 0x02060000 -> 0x32860000
[    0.000000] Tauros3 cache controller enabled, 8 ways, 512 kB
[    0.000000] Tauros3: CACHE_ID 0x880000ed, AUX_CTRL 0x32860000
[    0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[    0.000005] sched_clock: 32 bits at 26MHz, resolution 38ns, wraps every 82595524588ns
[    0.000090] clocksource: clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 73510017198 ns
[    0.000288] smp_twd: clock not found -2
[    0.000775] kfence: initialized - using 2097152 bytes for 255 objects at 0x(ptrval)-0x(ptrval)
[    0.001720] Console: colour dummy device 80x30
[    0.001766] Calibrating local timer... 2.16MHz.
[    0.060280] Calibrating delay loop... 1191.11 BogoMIPS (lpj=5955584)
[    0.100315] pid_max: default: 32768 minimum: 301
[    0.100677] LSM: initializing lsm=capability,integrity
[    0.100931] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.100951] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.102477] CPU: Testing write buffer coherency: ok
[    0.102930] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.104770] cblist_init_generic: Setting adjustable number of callback queues.
[    0.104795] cblist_init_generic: Setting shift to 1 and lim to 1.
[    0.104979] cblist_init_generic: Setting shift to 1 and lim to 1.
[    0.105176] Setting up static identity map for 0x100000 - 0x100060
[    0.105774] rcu: Hierarchical SRCU implementation.
[    0.105783] rcu: 	Max phase no-delay instances is 1000.
[    0.107165] smp: Bringing up secondary CPUs ...
[    0.190402] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.190846] smp: Brought up 1 node, 2 CPUs
[    0.190864] SMP: Total of 2 processors activated (2387.96 BogoMIPS).
[    0.190876] CPU: All CPU(s) started in SVC mode.
[    0.192021] devtmpfs: initialized
[    0.202640] VFP support v0.3: implementor 56 architecture 2 part 20 variant 9 rev 6
[    0.203119] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.203175] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
[    0.203564] prandom: seed boundary self test passed
[    0.206090] prandom: 100 self tests passed
[    0.206102] pinctrl core: initialized pinctrl subsystem
[    0.207993] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.208613] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.215753] audit: initializing netlink subsys (disabled)
[    0.216194] audit: type=2000 audit(0.220:1): state=initialized audit_enabled=0 res=1
[    0.217069] thermal_sys: Registered thermal governor 'step_wise'
[    0.217449] cpuidle: using governor ladder
[    0.217511] cpuidle: using governor menu
[    0.217744] hw-breakpoint: Debug register access (0xee003e17) caused undefined instruction on CPU 0
[    0.217759] hw-breakpoint: CPU 0 failed to disable vector catch
[    0.217813] hw-breakpoint: Debug register access (0xee003e17) caused undefined instruction on CPU 1
[    0.221106] platform soc: Fixed dependency cycle(s) with /soc/interrupt-controller@e0001000
[    0.400658] raid6: int32x8  gen()   222 MB/s
[    0.570729] raid6: int32x4  gen()   237 MB/s
[    0.740799] raid6: int32x2  gen()   366 MB/s
[    0.910945] raid6: int32x1  gen()   357 MB/s
[    0.910957] raid6: using algorithm int32x2 gen() 366 MB/s
[    1.081090] raid6: .... xor() 219 MB/s, rmw enabled
[    1.081102] raid6: using intx1 recovery algorithm
[    1.082679] SCSI subsystem initialized
[    1.083037] libata version 3.00 loaded.
[    1.083328] usbcore: registered new interface driver usbfs
[    1.083417] usbcore: registered new interface driver hub
[    1.083481] usbcore: registered new device driver usb
[    1.083929] pps_core: LinuxPPS API ver. 1 registered
[    1.083940] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    1.083969] PTP clock support registered
[    1.086585] vgaarb: loaded
[    1.087494] clocksource: Switched to clocksource clocksource
[    1.088594] VFS: Disk quotas dquot_6.6.0
[    1.088718] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    1.110173] NET: Registered PF_INET protocol family
[    1.110554] IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear)
[    1.113165] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[    1.113332] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    1.113378] TCP established hash table entries: 8192 (order: 3, 32768 bytes, linear)
[    1.113503] TCP bind hash table entries: 8192 (order: 5, 131072 bytes, linear)
[    1.113647] TCP: Hash tables configured (established 8192 bind 8192)
[    1.114050] MPTCP token hash table entries: 1024 (order: 2, 16384 bytes, linear)
[    1.114194] UDP hash table entries: 512 (order: 2, 16384 bytes, linear)
[    1.114236] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear)
[    1.114574] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    1.115897] RPC: Registered named UNIX socket transport module.
[    1.115913] RPC: Registered udp transport module.
[    1.115921] RPC: Registered tcp transport module.
[    1.115929] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    1.115958] PCI: CLS 0 bytes, default 64
[    1.116169] NetWinder Floating Point Emulator V0.97 (double precision)
[    1.116421] Trying to unpack rootfs image as initramfs...
[    1.118369] Initialise system trusted keyrings
[    1.118562] Key type blacklist registered
[    1.120801] workingset: timestamp_bits=14 max_order=19 bucket_order=5
[    1.121175] zbud: loaded
[    1.124451] NFS: Registering the id_resolver key type
[    1.124511] Key type id_resolver registered
[    1.124521] Key type id_legacy registered
[    1.124595] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    1.124657] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[    1.205402] xor: measuring software checksum speed
[    1.213756]    arm4regs        :  1197 MB/sec
[    1.225336]    8regs           :   858 MB/sec
[    1.234579]    32regs          :  1086 MB/sec
[    1.234599] xor: using function: arm4regs (1197 MB/sec)
[    1.234633] async_tx: api initialized (async)
[    1.234659] Key type asymmetric registered
[    1.234672] Asymmetric key parser 'x509' registered
[    1.235163] bounce: pool size: 64 pages
[    1.235454] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)
[    1.235756] io scheduler bfq registered
[    1.250575] gpio gpiochip0: Static allocation of GPIO base is deprecated, use dynamic allocation.
[    1.445353] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    1.450225] printk: console [ttyS2] disabled
[    1.450353] d4018000.serial: ttyS2 at MMIO 0xd4018000 (irq = 381, base_baud = 1625000) is a XScale
[    1.450455] printk: console [ttyS2] enabled
[    1.855352] Freeing initrd memory: 9864K
[    1.884680] wireguard: WireGuard 1.0.0 loaded. See www.wireguard.com for information.
[    2.364728] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
[    2.389108] usbcore: registered new interface driver smsc75xx
[    2.397277] mv-ehci d4208000.usb: EHCI Host Controller
[    2.403220] mv-ehci d4208000.usb: new USB bus registered, assigned bus number 1
[    2.412573] mv-ehci d4208000.usb: irq 382, io mem 0xd4208000
[    2.457613] mv-ehci d4208000.usb: USB 2.0 started, EHCI 1.00
[    2.464507] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.03
[    2.473471] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.481364] usb usb1: Product: EHCI Host Controller
[    2.486900] usb usb1: Manufacturer: Linux 6.3.5-mvebu-tld-1 ehci_hcd
[    2.493925] usb usb1: SerialNumber: d4208000.usb
[    2.500834] hub 1-0:1.0: USB hub found
[    2.505329] hub 1-0:1.0: 1 port detected
[    2.511028] mv-ehci d4208000.usb: successful find EHCI device with regs 0x(ptrval) irq 382 working in Host mode
[    2.522612] usbcore: registered new interface driver usblp
[    2.529115] usbcore: registered new interface driver usb-storage
[    2.536910] mousedev: PS/2 mouse device common for all mice
[    2.546325] i2c_dev: i2c /dev entries driver
[    2.554778] device-mapper: uevent: version 1.0.3
[    2.560756] device-mapper: ioctl: 4.47.0-ioctl (2022-07-28) initialised: dm-devel@redhat.com
[    2.570650] device-mapper: multipath round-robin: version 1.2.0 loaded
[    2.577881] device-mapper: multipath queue-length: version 0.2.0 loaded
[    2.585143] device-mapper: multipath service-time: version 0.3.0 loaded
[    2.592532] device-mapper: dm-log-userspace: version 1.3.0 loaded
[    2.599323] device-mapper: raid: Loading target version 1.15.1
[    2.606363] sdhci: Secure Digital Host Controller Interface driver
[    2.613245] sdhci: Copyright(c) Pierre Ossman
[    2.619695] sdhci-pltfm: SDHCI platform and OF driver helper
[    2.627792] hid: raw HID events driver (C) Jiri Kosina
[    2.634158] usbcore: registered new interface driver usbhid
[    2.640443] usbhid: USB HID core driver
[    2.647112] NET: Registered PF_INET6 protocol family
[    2.655283] Segment Routing with IPv6
[    2.659734] mmc0: SDHCI controller on d4281000.mmc [d4281000.mmc] using ADMA
[    2.667608] RPL Segment Routing with IPv6
[    2.672496] In-situ OAM (IOAM) with IPv6
[    2.677310] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    2.688184] NET: Registered PF_PACKET protocol family
[    2.694231] 8021q: 802.1Q VLAN Support v1.8
[    2.699276] Key type dns_resolver registered
[    2.704446] ThumbEE CPU extension supported.
[    2.709488] Registering SWP/SWPB emulation handler
[    2.714944] PJ4 iWMMXt v2 coprocessor enabled.
[    2.792919] registered taskstats version 1
[    2.799388] Loading compiled-in X.509 certificates
[    2.805868] zswap: loaded using pool lzo/zbud
[    2.807619] usb 1-1: new high-speed USB device number 2 using mv-ehci
[    2.824495] Key type .fscrypt registered
[    2.829918] Key type fscrypt-provisioning registered
[    2.835705] Key type big_key registered
[    2.879384] Key type encrypted registered
[    2.905401] mv-ehci f0001000.usb: EHCI Host Controller
[    2.911343] mv-ehci f0001000.usb: new USB bus registered, assigned bus number 2
[    2.919628] mv-ehci f0001000.usb: irq 384, io mem 0xf0001000
[    2.997589] mv-ehci f0001000.usb: USB 2.0 started, EHCI 1.00
[    3.004427] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.03
[    3.006672] mmc0: new HS200 MMC card at address 0001
[    3.013405] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.021042] usb 1-1: New USB device found, idVendor=05e3, idProduct=0608, bcdDevice=77.63
[    3.026910] usb usb2: Product: EHCI Host Controller
[    3.026924] usb usb2: Manufacturer: Linux 6.3.5-mvebu-tld-1 ehci_hcd
[    3.026945] usb usb2: SerialNumber: f0001000.usb
[    3.036614] hub 2-0:1.0: USB hub found
[    3.042666] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    3.048679] hub 2-0:1.0: 1 port detected
[    3.053876] usb 1-1: Product: USB2.0 Hub
[    3.059027] mv-ehci f0001000.usb: successful find EHCI device with regs 0x(ptrval) irq 384 working in Host mode
[    3.078862] hub 1-1:1.0: USB hub found
[    3.095446] Freeing unused kernel image (initmem) memory: 1024K
[    3.102693] hub 1-1:1.0: 4 ports detected
[    3.139943] Checked W+X mappings: passed, no W+X pages found
[    3.146287] Run /init as init process
[    3.150790]   with arguments:
[    3.150807]     /init
[    3.150819]   with environment:
[    3.150830]     HOME=/
[    3.150840]     TERM=linux
[    3.237635] usb 2-1: new high-speed USB device number 2 using mv-ehci
[    3.427614] usb 1-1.4: new high-speed USB device number 3 using mv-ehci
[    3.448236] usb 2-1: New USB device found, idVendor=0424, idProduct=2640, bcdDevice= a.a0
[    3.457142] usb 2-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    3.478890] hub 2-1:1.0: USB hub found
[    3.483632] hub 2-1:1.0: 3 ports detected
[    3.580280] usb 1-1.4: New USB device found, idVendor=1c79, idProduct=3100, bcdDevice= 1.00
[    3.597606] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    3.605620] usb 1-1.4: Product: PSK4000CS1-BTB
[    3.627597] usb 1-1.4: Manufacturer: UNIGEN
[    3.632472] usb 1-1.4: SerialNumber: 07005AE27BEB6A53
[    3.648958] usb-storage 1-1.4:1.0: USB Mass Storage device detected
[    3.677684] scsi host0: usb-storage 1-1.4:1.0
[    3.817600] usb 2-1.1: new high-speed USB device number 3 using mv-ehci
[    3.852427] usbcore: registered new interface driver uas
[    3.984359] usb 2-1.1: New USB device found, idVendor=0424, idProduct=4040, bcdDevice= 2.01
[    3.993435] usb 2-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    4.001422] usb 2-1.1: Product: Ultra Fast Media Reader
[    4.007299] usb 2-1.1: Manufacturer: Generic
[    4.012278] usb 2-1.1: SerialNumber: 000000264001
[    4.019350] usb-storage 2-1.1:1.0: USB Mass Storage device detected
[    4.030037] scsi host1: usb-storage 2-1.1:1.0
[    4.147590] usb 2-1.2: new high-speed USB device number 4 using mv-ehci
[    4.270131]  (null): Enabling slave mode
[    4.298989] usb 2-1.2: New USB device found, idVendor=0424, idProduct=7500, bcdDevice= 1.00
[    4.308866] pxa2xx-spi d4035000.spi: no DMA channels available, using PIO
[    4.316535] usb 2-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    4.329157] usb 2-1.2: Product: LAN7500
[    4.333687] usb 2-1.2: Manufacturer: SMSC
[    4.360488] usb 2-1.2: SerialNumber: 000000003
[    4.410698] rtc-ds1307 0-0068: registered as rtc0
[    4.417263] smsc75xx v1.0.0
[    4.423093] rtc-ds1307 0-0068: setting system clock to 2023-06-18T11:49:20 UTC (1687088960)
[    4.439326] spi-nor spi0.0: w25q32 (4096 Kbytes)
[    4.444682] i2c i2c-0:  PXA I2C adapter, slave address 1
[    4.444765] 1 cmdlinepart partitions found on MTD device spi0.0
[    4.451104]  (null): Enabling slave mode
[    4.464571] i2c i2c-1:  PXA I2C adapter, slave address 1
[    4.471155]  (null): Enabling slave mode
[    4.481697] Creating 1 MTD partitions on "spi0.0":
[    4.487184] 0x000000000000-0x000000400000 : "boot"
[    4.511696] mmcblk0: mmc0:0001 H4G2a\x11 3.64 GiB 
[    4.573192] i2c i2c-2:  PXA I2C adapter, slave address 1
[    4.589071] smsc75xx 2-1.2:1.0 eth0: register 'smsc75xx' at usb-f0001000.usb-1.2, smsc75xx USB 2.0 Gigabit Ethernet, 84:7b:eb:f2:15:98
[    4.609693]  mmcblk0: p1
[    4.624199] mmcblk0boot0: mmc0:0001 H4G2a\x11 4.00 MiB 
[    4.632862] mmcblk0boot1: mmc0:0001 H4G2a\x11 4.00 MiB 
[    4.640630] mmcblk0rpmb: mmc0:0001 H4G2a\x11 4.00 MiB, chardev (243:0)
[    4.713067] scsi 0:0:0:0: Direct-Access     UNIGEN   PSK4000CS1-BTB        PQ: 0 ANSI: 0 CCS
[    4.728122] sd 0:0:0:0: [sda] 7831552 512-byte logical blocks: (4.01 GB/3.73 GiB)
[    4.739385] sd 0:0:0:0: [sda] Write Protect is off
[    4.744872] sd 0:0:0:0: [sda] Mode Sense: 23 00 00 00
[    4.748154] sd 0:0:0:0: [sda] No Caching mode page found
[    4.754177] sd 0:0:0:0: [sda] Assuming drive cache: write through
[    4.775784]  sda: sda1 sda2
[    4.780398] sd 0:0:0:0: [sda] Attached SCSI removable disk
[    5.109122] scsi 1:0:0:0: Direct-Access     Generic  Ultra HS-COMBO   2.01 PQ: 0 ANSI: 0
[    5.121646] sd 1:0:0:0: [sdb] Media removed, stopped polling
[    5.132082] sd 1:0:0:0: [sdb] Attached SCSI removable disk
[    5.429198] smsc75xx 2-1.2:1.0 enx847bebf21598: renamed from eth0
[   16.798875] EXT4-fs (mmcblk0p1): mounted filesystem 385fa797-8670-4076-b94e-985f35cc677e with ordered data mode. Quota mode: none.
[   21.830907] EXT4-fs (mmcblk0p1): re-mounted 385fa797-8670-4076-b94e-985f35cc677e. Quota mode: none.
[   22.121455] EXT4-fs (mmcblk0p1): re-mounted 385fa797-8670-4076-b94e-985f35cc677e. Quota mode: none.
[   24.967593] random: crng init done
[   28.651324] IPv6: ADDRCONF(NETDEV_CHANGE): enx847bebf21598: link becomes ready
[   28.660730] smsc75xx 2-1.2:1.0 enx847bebf21598: link up, 1000Mbps, full-duplex, lpa 0xC5E1
root@debian:~# cat /proc/mtd 
dev:    size   erasesize  name
mtd0: 00400000 00001000 "boot"

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=1024064k,nr_inodes=184609,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/mmcblk0p1 on / type ext4 (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)
tmpfs on /tmp type tmpfs (rw,relatime)
rpc_pipefs on /run/rpc_pipefs type rpc_pipefs (rw,relatime)
root@debian:~# lsblk 
NAME         MAJ:MIN RM  SIZE RO TYPE MOUNTPOINT
sda            8:0    1  3.7G  0 disk 
|-sda1         8:1    1  256M  0 part 
`-sda2         8:2    1  3.5G  0 part 
mtdblock0     31:0    0    4M  0 disk 
mmcblk0      179:0    0  3.6G  0 disk 
`-mmcblk0p1  179:1    0  3.6G  0 part /
mmcblk0boot0 179:8    0    4M  1 disk 
mmcblk0boot1 179:16   0    4M  1 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/mmcblk0p1  3.6G  1.3G  2.2G  37% /
tmpfs           5.0M     0  5.0M   0% /run/lock
tmpfs           403M     0  403M   0% /dev/shm
tmpfs          1006M     0 1006M   0% /tmp
root@debian:~#
Re: Debian on Dell Wyse 3020
June 18, 2023 03:04PM
> root@debian:~# cat /proc/mtd 
> dev:    size   erasesize  name
> mtd0: 00400000 00001000 "boot"
>

Yes! tthat's the SPI flash partition, where the wloader should be.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Debian on Dell Wyse 3020
June 20, 2023 06:42PM
Thanks kaze for sending the SPI mtd0 dump.

I've looked at the content and could not find anything interesting! Looks like this board has wloader binary in SPI flash, but without GPL source code, I cannot see how we can improve this boot loader.

Of course, the rootfs can be on eMMC with bootarg root=LABEL=rootfs. But for now, the kernel files need to be on USB FAT partition or network.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Debian on Dell Wyse 3020
June 22, 2023 11:48AM
found this.....

Linux on this same box

QUESTION :do we actually need to do all the above? the device has the ability to select and i guess set a boot device in the wloader itself -

if you hold the powerbutton till it goes green and then repeatedly press the P key - it shows the available boot options

EDIT: or ive missed a few pages of discussions... going to be trying teh install instructions this eve and see where i get to - it finally landed today. nice to see it has a 4G flash onboard and 2G ram with a good slice for video memory

============================
Breaking stuff since 1994 :-)
============================



Edited 1 time(s). Last edit at 06/22/2023 11:50AM by Gravelrash.
Re: Debian on Dell Wyse 3020
June 22, 2023 12:00PM
https://wiki.laptop.org/go/Firmware

this seems to be a good replacement for the wloader and the source is open

q7c07.rom

ill maybe try flashing that and see if it breaks this device later after i have tried the install instructions

EDIT : TLDR
my attempt at making sense of all the above instructions and then doing the following in the next post.... no cigar :(

============================
Breaking stuff since 1994 :-)
============================



Edited 1 time(s). Last edit at 06/22/2023 02:00PM by Gravelrash.
Author:

Your Email:


Subject:


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