Welcome! Log In Create A New Profile

Advanced

Debian on Dell Wyse 3020

Posted by Mischif 
Mischif
Debian on Dell Wyse 3020
April 05, 2023 01:51PM
Bodhi,

Is there a release schedule for when the next kernel/rootfs would be released?

Also I don't know if you'll find this useful but I uploaded the dts/dtb I managed to pull from the most recent Fedora minimal release, hopefully it can help move things along somewhat faster: https://file.io/VhVwD5uzOhmk



Edited 1 time(s). Last edit at 04/06/2023 03:55PM by bodhi.
Re: Debian on Dell Wyse T10 / T50
April 05, 2023 02:43PM
Mischif,

> Is there a release schedule for when the next
> kernel/rootfs would be released?
>

I don't have a hard schedule. Usually about every 2 months (that's when the next stable version that is really "stable" would be released). So it would be 6 weeks to 10 weeks from now.

> Also I don't know if you'll find this useful but I
> uploaded the dts/dtb I managed to pull from the
> most recent Fedora minimal release, hopefully it
> can help move things along somewhat faster:
> https://file.io/VhVwD5uzOhmk

Cool! definitely useful.

By the way, I have a self imposed size limit of 5MB for MVEBU kernel. That's because the WD NAS boxes have u-boot that can only boot <= 5M kernel. So if I add this architecture, it might be over 5MB. But we will see.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Debian on Dell Wyse T10 / T50
April 05, 2023 04:05PM
Mischif,

Can you SSH into Ubuntu

Quote

<5>Linux version 3.0.31-1-dajia (root@ubuntu-12.04) (gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1
ubuntu5) ) #131 SMP PREEMPT Mon Oct 14 19:44:17 PDT 2013
CPU: ARMv7 Processor [562f5842] revision 2 (ARMv7), cr=10c53c7d
CPU: VIPT nonaliasing data cache, VIPT aliasing instruction cache
Machine: Ariel

And get some info.

dmesg
cat /proc/mtd
ls -l /
ls -lart /boot
ls -R /proc/device-tree

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Mischif
Re: Debian on Dell Wyse T10 / T50
April 04, 2023 12:38AM
Has anyone managed to get a custom kernel working on the 3020 yet? I tried following wildhem's steps but when I try flashing 3020-wloader.bin the system doesn't get past the "Initiating devices" screen.

I've been trying with the 5.2.9 and 5.13.8 kernels because the older ones have been deleted from dropbox and I have a copy of mmp3-dell-ariel.dtb I got from a recent copy of Fedora; I can create the fat partition, call mkimage on the zImage in the zip and modify wloader.conf to point to the new kernel, but every time I try to load it I get a panic:

Opening ide3: ...
Coredump: open error 6

I can create a working Ubuntu usb with the old kernel, but I really want to use something more recent; if it makes a difference I'm on bios version 7.1_216. I don't really get console output even when I boot the Dell upgrade USB, but here's what I do get:

<5>Linux version 3.0.31-1-dajia (root@ubuntu-12.04) (gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1
ubuntu5) ) #131 SMP PREEMPT Mon Oct 14 19:44:17 PDT 2013
CPU: ARMv7 Processor [562f5842] revision 2 (ARMv7), cr=10c53c7d
CPU: VIPT nonaliasing data cache, VIPT aliasing instruction cache
Machine: Ariel
Memory policy: ECC disabled, Data cache writealloc
<7>On node 0 totalpages: 523776
<7>free_area_init_node: node 0, pgdat c08a2fa0, node_mem_map c08fc000
<7>  Normal zone: 1728 pages used for memmap
<7>  Normal zone: 0 pages reserved
<7>  Normal zone: 219456 pages, LIFO batch:31
<7>  HighMem zone: 2366 pages used for memmap
<7>  HighMem zone: 300226 pages, LIFO batch:31
<6>PERCPU: Embedded 7 pages/cpu @c190b000 s7648 r8192 d12832 u32768
<7>pcpu-alloc: s7648 r8192 d12832 u32768 alloc=8*4096
<7>pcpu-alloc: [0] 0 [0] 1
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 519682
<5>Kernel command line: loglevel=17 panic_debug reserve_pmem=0x800000 fb_shared root=/dev/ram0 rw ramdisk_size=136314880 console=tty0 console=ttyS0,115200
<6>PID hash table entries: 4096 (order: 2, 16384 bytes)
<6>Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
<6>Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
<6>Memory: 2038MB 8MB = 2046MB total
<5>Memory: 2031132k/2031132k available, 64996k reserved, 1202176K highmem
<5>Virtual kernel memory layout:
    vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
    DMA     : 0xffc00000 - 0xffe00000   (   2 MB)
    vmalloc : 0xf6800000 - 0xfe000000   ( 120 MB)
    lowmem  : 0xc0000000 - 0xf6000000   ( 864 MB)
    pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
    modules : 0xbf000000 - 0xbfe00000   (  14 MB)
      .init : 0xc0008000 - 0xc0050000   ( 288 kB)
      .text : 0xc0050000 - 0xc0861658   (8262 kB)
      .data : 0xc0862000 - 0xc08ac758   ( 298 kB)
       .bss : 0xc08ac77c - 0xc08fb650   ( 316 kB)
<6>Preemptible hierarchical RCU implementation.
<6>NR_IRQS:405 nr_irqs:469 469
<6>sched_clock: 32 bits at 32kHz, resolution 30517ns, wraps every 131071999ms
<6>Console: colour dummy device 80x30
Re: Debian on Dell Wyse T10 / T50
April 04, 2023 07:44PM
Mischif,

Let me check if these LTS kernels are still in my Dropbox. Perhaps the bitly links were expired.

Quote

Longterm release kernels
Version Maintainer Released Projected EOL
5.15 Greg Kroah-Hartman & Sasha Levin 2021-10-31 Oct, 2026
5.10 Greg Kroah-Hartman & Sasha Levin 2020-12-13 Dec, 2026
5.4 Greg Kroah-Hartman & Sasha Levin 2019-11-24 Dec, 2025
4.19 Greg Kroah-Hartman & Sasha Levin 2018-10-22 Dec, 2024
4.14 Greg Kroah-Hartman & Sasha Levin 2017-11-12 Jan, 2024

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Debian on Dell Wyse T10 / T50
April 04, 2023 08:34PM
@bodhi are you sure your kernel builds will support the Wyse 3020? It isn't a dove device it is an mmp based device.

Ray
Re: Debian on Dell Wyse T10 / T50
April 04, 2023 10:42PM
@Ray,

> @bodhi are you sure your kernel builds will
> support the Wyse 3020? It isn't a dove device it
> is an mmp based device.

Thanks Ray! I forgot this is MMP.

@Mischif,

I guess the best bet is you can check back the forum to see when I can add this architecture to the next released MVEBU kernel.

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

Please post in this new thread. Looks like I've botched the split/merge topics ;) so we probably need to repost some posts in the Dell Wyse T50 thread here.

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

Just to keep things in one place here's my kernel logs when booting again:

Jun  1 00:00:28 localhost kernel: [    1.467163] loop: module loaded
Jun  1 00:00:28 localhost kernel: [    1.469543] android_pmem android_pmem.0: pmem: 1 1 init
Jun  1 00:00:28 localhost kernel: [    1.472503] android_pmem android_pmem.1: pmem_adsp: 0 0 init
Jun  1 00:00:28 localhost kernel: [    1.475372] android_pmem android_pmem.2: pmem_wc: 0 1 init
Jun  1 00:00:28 localhost kernel: [    1.479187] m25p80 spi2.255: found w25q32, expected m25p80
Jun  1 00:00:28 localhost kernel: [    1.481597] m25p80 spi2.255: w25q32 (4096 Kbytes)
Jun  1 00:00:28 localhost kernel: [    1.484008] Creating 1 MTD partitions on "spi_flash":
Jun  1 00:00:28 localhost kernel: [    1.486572] 0x000000000000-0x000000400000 : "bootloader(spi)"
Jun  1 00:00:28 localhost kernel: [    1.490325] usbcore: registered new interface driver asix
Jun  1 00:00:28 localhost kernel: [    1.493041] usbcore: registered new interface driver cdc_ether
Jun  1 00:00:28 localhost kernel: [    1.495880] usbcore: registered new interface driver cdc_eem
Jun  1 00:00:28 localhost kernel: [    1.498626] usbcore: registered new interface driver smsc75xx
Jun  1 00:00:28 localhost kernel: [    1.501403] usbcore: registered new interface driver net1080
Jun  1 00:00:28 localhost kernel: [    1.504180] usbcore: registered new interface driver rndis_host
Jun  1 00:00:28 localhost kernel: [    1.506988] usbcore: registered new interface driver cdc_subset
Jun  1 00:00:28 localhost kernel: [    1.509765] usbcore: registered new interface driver zaurus
Jun  1 00:00:28 localhost kernel: [    1.512573] usbcore: registered new interface driver MOSCHIP usb-ethernet driver
Jun  1 00:00:28 localhost kernel: [    1.515319] cdc_ncm: 04-Aug-2011
Jun  1 00:00:28 localhost kernel: [    1.518188] usbcore: registered new interface driver cdc_ncm
Jun  1 00:00:28 localhost kernel: [    1.523162] Init usb phy!!!
Jun  1 00:00:28 localhost kernel: [    1.527313] pxa-otg pxa-otg: successful probe OTG device without clock gating.
Jun  1 00:00:28 localhost kernel: [    1.530395] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
Jun  1 00:00:28 localhost kernel: [    1.533721] pxa-ehci pxa-u2oehci: successful find EHCI device with regs 0xf686a140 irq 76 working in OTG mode
Jun  1 00:00:28 localhost kernel: [    1.537048] mmp3_hsic_phy_init !!!
Jun  1 00:00:28 localhost kernel: [    1.690460] pxa-ehci mmp3-hsic: Marvell EHCI
Jun  1 00:00:28 localhost kernel: [    1.693756] pxa-ehci mmp3-hsic: new USB bus registered, assigned bus number 1
Jun  1 00:00:28 localhost kernel: [    1.721130] pxa-ehci mmp3-hsic: irq 54, io mem 0xf0001800
Jun  1 00:00:28 localhost kernel: [    1.736724] pxa-ehci mmp3-hsic: USB 2.0 started, EHCI 1.00
Jun  1 00:00:28 localhost kernel: [    1.740875] hub 1-0:1.0: USB hub found
Jun  1 00:00:28 localhost kernel: [    1.744049] hub 1-0:1.0: 1 port detected
Jun  1 00:00:28 localhost kernel: [    1.747680] pxa-ehci mmp3-hsic: successful find EHCI device with regs 0xf686e140 irq 54 working in Host mode
Jun  1 00:00:28 localhost kernel: [    1.751129] usbcore: registered new interface driver cdc_acm
Jun  1 00:00:28 localhost kernel: [    1.754547] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
Jun  1 00:00:28 localhost kernel: [    1.757812] Initializing USB Mass Storage driver...
Jun  1 00:00:28 localhost kernel: [    1.761260] usbcore: registered new interface driver usb-storage
Jun  1 00:00:28 localhost kernel: [    1.764526] USB Mass Storage support registered.
Jun  1 00:00:28 localhost kernel: [    1.768127] pxa-u2o pxa-u2o: successful probe UDC device with clock gating.
Jun  1 00:00:28 localhost kernel: [    1.771575] g_mass_storage gadget: controller 'mv_udc' not recognized
Jun  1 00:00:28 localhost kernel: [    1.775085] g_mass_storage gadget: Mass Storage Function, version: 2009/09/11
Jun  1 00:00:28 localhost kernel: [    1.778472] g_mass_storage gadget: Number of LUNs=1
Jun  1 00:00:28 localhost kernel: [    1.781707]  lun0: LUN: removable file: (no medium)
Jun  1 00:00:28 localhost kernel: [    1.785064] g_mass_storage gadget: Mass Storage Gadget, version: 2009/09/11
Jun  1 00:00:28 localhost kernel: [    1.788360] g_mass_storage gadget: userspace failed to provide iSerialNumber
Jun  1 00:00:28 localhost kernel: [    1.791778] g_mass_storage gadget: g_mass_storage ready
Jun  1 00:00:28 localhost kernel: [    1.795227] eneec_probe with name = KB39XX, addr = 0x58, irq = 273
Jun  1 00:00:28 localhost kernel: [    1.800445] i2c-core: driver [eneec] using legacy suspend method
Jun  1 00:00:28 localhost kernel: [    1.803833] i2c-core: driver [eneec] using legacy resume method
Jun  1 00:00:28 localhost kernel: [    1.807342] eneec_spi_init
Jun  1 00:00:28 localhost kernel: [    1.810791] eneec_spi_probe with modalias = eneec_spi, irq = 273
Jun  1 00:00:28 localhost kernel: [    1.814392] Drain data : 0x00aa
Jun  1 00:00:28 localhost kernel: [    1.817932] Drain data : 0x0000
Jun  1 00:00:28 localhost kernel: [    1.821655] IRQ 273 requested
Jun  1 00:00:28 localhost kernel: [    1.826202] mousedev: PS/2 mouse device common for all mice
Jun  1 00:00:28 localhost kernel: [    1.831359] mmp-rtc mmp-rtc: warning: initializing default clockdivider/trim value
Jun  1 00:00:28 localhost kernel: [    1.835266] scan code fa
Jun  1 00:00:28 localhost kernel: [    1.838897] scan code aa
Jun  1 00:00:28 localhost kernel: [    1.843109] using rtc device, mmp-rtc, for alarms
Jun  1 00:00:28 localhost kernel: [    1.843261] mmp-rtc mmp-rtc: rtc core: registered mmp-rtc as rtc0
Jun  1 00:00:28 localhost kernel: [    1.853240] mmp_rtc_probe End!!!
Jun  1 00:00:28 localhost kernel: [    1.857055] i2c /dev entries driver
Jun  1 00:00:28 localhost kernel: [    1.862548] Linux media interface: v0.10
Jun  1 00:00:28 localhost kernel: [    1.866149] Linux video capture interface: v2.00
Jun  1 00:00:28 localhost kernel: [    1.870452] path 0 video layer : request vdma fail
Jun  1 00:00:28 localhost kernel: [    1.874481] pxa168_v4l2_ovly: registered and initialized video1: minor num 0 [v4l2]
Jun  1 00:00:28 localhost kernel: [    1.878265] path 1 video layer : request vdma fail
Jun  1 00:00:28 localhost kernel: [    1.882263] pxa168_v4l2_ovly: registered and initialized video2: minor num 1 [v4l2]
Jun  1 00:00:28 localhost kernel: [    1.890563] device-mapper: uevent: version 1.0.3
Jun  1 00:00:28 localhost kernel: [    1.894805] device-mapper: ioctl: 4.20.0-ioctl (2011-02-02) initialised: dm-devel@redhat.com
Jun  1 00:00:28 localhost kernel: [    1.899017] cpuidle: using governor ladder
Jun  1 00:00:28 localhost kernel: [    1.902923] cpuidle: using governor menu
Jun  1 00:00:28 localhost kernel: [    1.906585] sdhci: Secure Digital Host Controller Interface driver
Jun  1 00:00:28 localhost kernel: [    1.910522] sdhci: Copyright(c) Pierre Ossman
Jun  1 00:00:28 localhost kernel: [    1.914581] mmc0: no vmmc regulator found
Jun  1 00:00:28 localhost kernel: [    1.918273] Registered led device: mmc0::
Jun  1 00:00:28 localhost kernel: [    1.918457] mmc0: SDHCI controller on sdhci-pxa.2 [sdhci-pxa.2] using ADMA
Jun  1 00:00:28 localhost kernel: [    1.922119] mmc1: no vmmc regulator found
Jun  1 00:00:28 localhost kernel: [    1.925750] Registered led device: mmc1::
Jun  1 00:00:28 localhost kernel: [    1.925933] mmc1: SDHCI controller on sdhci-pxa.0 [sdhci-pxa.0] using ADMA
Jun  1 00:00:28 localhost kernel: [    1.929504] sdhci-pltfm: SDHCI platform and OF driver helper
Jun  1 00:00:28 localhost kernel: [    1.933685] usbcore: registered new interface driver usbhid
Jun  1 00:00:28 localhost kernel: [    1.937103] usbhid: USB HID core driver
Jun  1 00:00:28 localhost kernel: [    1.941375] usbcore: registered new interface driver snd-usb-audio
Jun  1 00:00:28 localhost kernel: [    1.945220] scan code fa
Jun  1 00:00:28 localhost kernel: [    1.949798] scan code ab
Jun  1 00:00:28 localhost kernel: [    1.953369] paul init and register ce156 i2c driver:
Jun  1 00:00:28 localhost kernel: [    1.956848] CE156: register i2c driver successfully
Jun  1 00:00:28 localhost kernel: [    1.960205] codec register ce156.2-0030
Jun  1 00:00:28 localhost kernel: [    1.963653] scan code 41
Jun  1 00:00:28 localhost kernel: [    1.967254] codec num_dai 1
Jun  1 00:00:28 localhost kernel: [    1.971130] scan code fa
Jun  1 00:00:28 localhost kernel: [    1.971862] usb 1-1: new high speed USB device number 2 using pxa-ehci
Jun  1 00:00:28 localhost kernel: [    1.979949] scan code fa
Jun  1 00:00:28 localhost kernel: [    1.987121] scan code fa
Jun  1 00:00:28 localhost kernel: [    1.993377] scan code fa
Jun  1 00:00:28 localhost kernel: [    1.998352] scan code fa
Jun  1 00:00:28 localhost kernel: [    2.001892] input: AT Translated Set 2 keyboard as /devices/platform/pxa2xx-spi.3/spi_master/spi3/spi3.255/serio0/input/input0
Jun  1 00:00:28 localhost kernel: [    2.032745] ce156 reg write finished
Jun  1 00:00:28 localhost kernel: [    2.036163] SND_SOC_BIAS_PREPARE
Jun  1 00:00:28 localhost kernel: [    2.068084] success set the ce156 reg!
Jun  1 00:00:28 localhost kernel: [    2.071289] ce156: initial ok
Jun  1 00:00:28 localhost kernel: [    2.074707]  audio subsystem power on (A stepping) 0x00001806
Jun  1 00:00:28 localhost kernel: [    2.093475] mmc0: new high speed MMC card at address 0001
Jun  1 00:00:28 localhost kernel: [    2.096893] mmc0: ios: 50000000 Hz, 8 bit width
Jun  1 00:00:28 localhost kernel: [    2.101013] mmcblk0: mmc0:0001 H4G1d 3.64 GiB 
Jun  1 00:00:28 localhost kernel: [    2.104705] mmcblk0boot0: mmc0:0001 H4G1d partition 1 4.00 MiB
Jun  1 00:00:28 localhost kernel: [    2.108398] mmcblk0boot1: mmc0:0001 H4G1d partition 2 4.00 MiB
Jun  1 00:00:28 localhost kernel: [    2.114105]  mmcblk0: p1 p2 p3 p4
Jun  1 00:00:28 localhost kernel: [    2.122009]  mmcblk0boot1: unknown partition table
Jun  1 00:00:28 localhost kernel: [    2.128723] hub 1-1:1.0: USB hub found
Jun  1 00:00:28 localhost kernel: [    2.132080]  mmcblk0boot0: unknown partition table
Jun  1 00:00:28 localhost kernel: [    2.135772] hub 1-1:1.0: 3 ports detected
Jun  1 00:00:28 localhost kernel: [    2.409240] asoc: CE156 <-> mmp3-sspa-dai.0 mapping ok
Jun  1 00:00:28 localhost kernel: [    2.414306] CE156: register i2c device successfully
Jun  1 00:00:28 localhost kernel: [    2.417419] ALSA device list:
Jun  1 00:00:28 localhost kernel: [    2.420654]   #0: mmp3 asoc
Jun  1 00:00:28 localhost kernel: [    2.424072] Netfilter messages via NETLINK v0.30.
Jun  1 00:00:28 localhost kernel: [    2.427398] nf_conntrack version 0.5.0 (16384 buckets, 65536 max)
Jun  1 00:00:28 localhost kernel: [    2.430633] usb 1-1.1: new high speed USB device number 3 using pxa-ehci
Jun  1 00:00:28 localhost kernel: [    2.434417] NF_TPROXY: Transparent proxy support initialized, version 4.1.0
Jun  1 00:00:28 localhost kernel: [    2.437683] NF_TPROXY: Copyright (c) 2006-2007 BalaBit IT Ltd.
Jun  1 00:00:28 localhost kernel: [    2.441528] IPv4 over IPv4 tunneling driver
Jun  1 00:00:28 localhost kernel: [    2.445220] ip_tables: (C) 2000-2006 Netfilter Core Team
Jun  1 00:00:28 localhost kernel: [    2.448516] TCP cubic registered
Jun  1 00:00:28 localhost kernel: [    2.451965] NET: Registered protocol family 10
Jun  1 00:00:28 localhost kernel: [    2.456115] ip6_tables: (C) 2000-2006 Netfilter Core Team
Jun  1 00:00:28 localhost kernel: [    2.459136] IPv6 over IPv4 tunneling driver
Jun  1 00:00:28 localhost kernel: [    2.462768] NET: Registered protocol family 17
Jun  1 00:00:28 localhost kernel: [    2.466033] NET: Registered protocol family 15
Jun  1 00:00:28 localhost kernel: [    2.469207] L2TP core driver, V2.0
Jun  1 00:00:28 localhost kernel: [    2.472503] lib80211: common routines for IEEE802.11 drivers
Jun  1 00:00:28 localhost kernel: [    2.475585] lib80211_crypt: registered algorithm 'NULL'
Jun  1 00:00:28 localhost kernel: [    2.475616] Registering the dns_resolver key type
Jun  1 00:00:28 localhost kernel: [    2.478912] VFP support v0.3: implementor 56 architecture 2 part 20 variant 9 rev 6
Jun  1 00:00:28 localhost kernel: [    2.482421] ThumbEE CPU extension supported.
Jun  1 00:00:28 localhost kernel: [    2.485626] PJ4 iWMMXt coprocessor enabled.
Jun  1 00:00:28 localhost kernel: [    2.489013] mmp PM-hotplug init function
Jun  1 00:00:28 localhost kernel: [    2.496185] hdmi_probe hpd pull out
Jun  1 00:00:28 localhost kernel: [    2.500091] mmp-rtc mmp-rtc: setting system clock to 2019-06-01 00:00:10 UTC (1559347210)
Jun  1 00:00:28 localhost kernel: [    2.504180]  alarm_dev_init, rtc power up : 0, alarm time: 0
Jun  1 00:00:28 localhost kernel: [    2.507720] Waiting 5sec before mounting root device...
Jun  1 00:00:28 localhost kernel: [    2.564666] scsi0 : usb-storage 1-1.1:1.0
Jun  1 00:00:28 localhost kernel: [    2.651153] usb 1-1.2: new high speed USB device number 4 using pxa-ehci
Jun  1 00:00:28 localhost kernel: [    2.772796] smsc75xx v1.0.0
Jun  1 00:00:28 localhost kernel: [    2.852416] smsc75xx 1-1.2:1.0: eth0: register 'smsc75xx' at usb-mv ehci-1.2, smsc75xx USB 2.0 Gigabit Ethernet, 00:80:64:d7:16:82
Jun  1 00:00:28 localhost kernel: [    3.533630] pxa-otg pxa-otg: change from state undefined to a_idle
Jun  1 00:00:28 localhost kernel: [    3.537078] pxa-otg pxa-otg: change from state a_idle to a_wait_vrise
Jun  1 00:00:28 localhost kernel: [    3.540557] pxa-otg pxa-otg: change from state a_wait_vrise to a_wait_bcon
Jun  1 00:00:28 localhost kernel: [    3.544097] pxa-otg pxa-otg: start host
Jun  1 00:00:28 localhost kernel: [    3.547729] pxa-ehci pxa-u2oehci: Marvell EHCI
Jun  1 00:00:28 localhost kernel: [    3.553833] pxa-ehci pxa-u2oehci: new USB bus registered, assigned bus number 2
Jun  1 00:00:28 localhost kernel: [    3.566192] scsi 0:0:0:0: Direct-Access     Generic  Ultra HS-COMBO   2.01 PQ: 0 ANSI: 0
Jun  1 00:00:28 localhost kernel: [    3.573089] sd 0:0:0:0: [sda] Attached SCSI removable disk
Jun  1 00:00:28 localhost kernel: [    3.588287] pxa-ehci pxa-u2oehci: irq 76, io mem 0xd4207000
Jun  1 00:00:28 localhost kernel: [    3.603912] pxa-ehci pxa-u2oehci: USB 2.0 started, EHCI 1.00
Jun  1 00:00:28 localhost kernel: [    3.608276] hub 2-0:1.0: USB hub found
Jun  1 00:00:28 localhost kernel: [    3.611846] hub 2-0:1.0: 1 port detected
Jun  1 00:00:28 localhost kernel: [    3.615783] pxa-otg pxa-otg: change from state a_wait_bcon to a_host
Jun  1 00:00:28 localhost kernel: [    3.939910] usb 2-1: new high speed USB device number 2 using pxa-ehci
Jun  1 00:00:28 localhost kernel: [    4.098999] hub 2-1:1.0: USB hub found
Jun  1 00:00:28 localhost kernel: [    4.103057] hub 2-1:1.0: 4 ports detected
Jun  1 00:00:28 localhost kernel: [    4.393432] usb 2-1.1: new full speed USB device number 3 using pxa-ehci
Jun  1 00:00:28 localhost kernel: [    4.517059] input: Logitech USB Receiver as /devices/platform/pxa-u2oehci/usb2/2-1/2-1.1/2-1.1:1.0/input/input1
Jun  1 00:00:28 localhost kernel: [    4.521270] generic-usb 0003:046D:C52B.0001: input: USB HID v1.11 Keyboard [Logitech USB Receiver] on usb-mv ehci-1.1/input0
Jun  1 00:00:28 localhost kernel: [    4.528778] input: Logitech USB Receiver as /devices/platform/pxa-u2oehci/usb2/2-1/2-1.1/2-1.1:1.1/input/input2
Jun  1 00:00:28 localhost kernel: [    4.533325] generic-usb 0003:046D:C52B.0002: input: USB HID v1.11 Mouse [Logitech USB Receiver] on usb-mv ehci-1.1/input1
Jun  1 00:00:28 localhost kernel: [    4.541259] generic-usb 0003:046D:C52B.0003: claimed by neither input, hiddev nor hidraw
Jun  1 00:00:28 localhost kernel: [    4.627807] usb 2-1.2: new high speed USB device number 4 using pxa-ehci
Jun  1 00:00:28 localhost kernel: [    4.748596] scsi1 : usb-storage 2-1.2:1.0
Jun  1 00:00:28 localhost kernel: [    5.969818] scsi 1:0:0:0: Direct-Access     GOODSUN  Mass storage     1100 PQ: 0 ANSI: 4
Jun  1 00:00:28 localhost kernel: [    5.975646] sd 1:0:0:0: [sdb] 3932160 512-byte logical blocks: (2.01 GB/1.87 GiB)
Jun  1 00:00:28 localhost kernel: [    5.981109] sd 1:0:0:0: [sdb] Write Protect is off
Jun  1 00:00:28 localhost kernel: [    5.985290] sd 1:0:0:0: [sdb] Mode Sense: 43 00 00 00
Jun  1 00:00:28 localhost kernel: [    5.986999] sd 1:0:0:0: [sdb] No Caching mode page present
Jun  1 00:00:28 localhost kernel: [    5.991119] sd 1:0:0:0: [sdb] Assuming drive cache: write through
Jun  1 00:00:28 localhost kernel: [    5.999359] sd 1:0:0:0: [sdb] No Caching mode page present
Jun  1 00:00:28 localhost kernel: [    6.003814] sd 1:0:0:0: [sdb] Assuming drive cache: write through
Jun  1 00:00:28 localhost kernel: [    6.009216]  sdb: sdb1 sdb2
Jun  1 00:00:28 localhost kernel: [    6.016876] sd 1:0:0:0: [sdb] No Caching mode page present
Jun  1 00:00:28 localhost kernel: [    6.021026] sd 1:0:0:0: [sdb] Assuming drive cache: write through
Jun  1 00:00:28 localhost kernel: [    6.025329] sd 1:0:0:0: [sdb] Attached SCSI removable disk
Jun  1 00:00:28 localhost kernel: [    7.518127] RAMDISK: gzip image found at block 0
Jun  1 00:00:28 localhost kernel: [    8.698028] RAMDISK: incomplete write (27706 != 32768)
Jun  1 00:00:28 localhost kernel: [    8.701934] write error
Jun  1 00:00:28 localhost kernel: [    9.098236] EXT3-fs: barriers not enabled
Jun  1 00:00:28 localhost kernel: [    9.103790] kjournald starting.  Commit interval 5 seconds
Jun  1 00:00:28 localhost kernel: [    9.109558] EXT3-fs (sdb2): using internal journal
Jun  1 00:00:28 localhost kernel: [    9.113739] EXT3-fs (sdb2): mounted filesystem with ordered data mode
Jun  1 00:00:28 localhost kernel: [    9.117675] VFS: Mounted root (ext3 filesystem) on device 8:18.
Jun  1 00:00:28 localhost kernel: [    9.125671] devtmpfs: mounted
Jun  1 00:00:28 localhost kernel: [    9.129608] Freeing init memory: 288K
Jun  1 00:00:28 localhost kernel: [    9.386291] init: Failed to create pty - disabling logging for job
Jun  1 00:00:28 localhost kernel: [    9.390289] init: Temporary process spawn error: No such file or directory

I don't know if you got the dts/dtb files last time but I'm going to try a new file host; they should expire after 3 days but I'll link to mmp3-dell-ariel.dtb and mmp3-dell-ariel.dts anyway.

If you can post your test kernel somewhere I can see if it will boot my machine.
Re: Debian on Dell Wyse 3020
April 06, 2023 05:47PM
Mischif,

> I don't know if you got the dts/dtb files last
> time but I'm going to try a new file host; they
> should expire after 3 days but I'll link to
> mmp3-dell-ariel.dtb
> and
> mmp3-dell-ariel.dts
> anyway.

OK cool! I got these 2 files now.

> If you can post your test kernel somewhere I can
> see if it will boot my machine.

Sure.I will compile and put the ariel DTB in the kernel and upload it.

But I think you will need to fake the ubuntu kernel files on /boot. The naming convention is a bit different. And since you don't have access to serial console, that's the only way to boot the new kernel.

If you have serial console and can interrupt u-boot, then things will be much easier.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Debian on Dell Wyse 3020
April 06, 2023 05:53PM
>
> OK cool! I got these 2 files now.

Strike that!

Just checked, the ariel DTS is already in the mainline kernel :)

So that will make things a lot easier.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Debian on Dell Wyse 3020
April 06, 2023 06:39PM
According to the DTS, you need to connect to UART3.

serial2 = &uart3;

Somewhere on the board are there more than one UART header?

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Debian on Dell Wyse 3020
April 06, 2023 08:08PM
Dowload at Dropbox

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

This tarball includes 6 files

linux-image-6.2.8-mvebu-tld-2.0_2.0_armhf.deb
linux-headers-6.2.8-mvebu-tld-2.0_2.0_armhf.deb
zImage-6.2.8-mvebu-tld-2.0
config-6.2.8-mvebu-tld-2.0
linux-dtb-6.2.8-mvebu-tld-2.0.tar
linux-6.2.8-mvebu-tld-1.patch

md5sum linux-6.2.8-mvebu-tld-2.x-bodhi.tar.bz2
3a464d978cac6d129d83ba9f7a7d5377  linux-6.2.8-mvebu-tld-2.x-bodhi.tar.bz2
sha256sum linux-6.2.8-mvebu-tld-2.x-bodhi.tar.bz2
3152567a43d35f775ff1d27e609e3a288e8acbf3d6f8f47f159a989ddc026700  linux-6.2.8-mvebu-tld-2.x-bodhi.tar.bz2

- Create the rootfs Debian-5.13.8-mvebu-tld-1-rootfs-bodhi.tar.bz2 on USB.
- chroot install kernel (linux-image-6.2.8-mvebu-tld-2.0_2.0_armhf.deb)
- Link the new kernel files to ubbuntu kernel files in /boot (necessary since you cannot change u-boot envs yet with serial console).

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

There are two sets of headers which look like UART ports on the motherboard; I've tried connecting to both but only one seems to be functional with the Dell kernel and it doesn't seem to let me data back.

I can create a new USB drive to test the new kernel and I can try hooking up to serial again to see if the new kernel will give me additional control, would I need all the files like the System.map too or would the zImage and initrd be enough?
Re: Debian on Dell Wyse 3020
April 06, 2023 10:12PM
Mischif,

> I can create a new USB drive to test the new
> kernel and I can try hooking up to serial again to
> see if the new kernel will give me additional
> control, would I need all the files like the
> System.map too or would the zImage and initrd be
> enough?

Normally it would be enough to have 3 files: zImage, initrd, and DTB. So without installing the kernel, we can boot the board with those 3 files.

However, we don't know what this stock u-boot looks like, and its envs used to boot the kernel look like. So we can only try to guess from the Ubuntu rootfs.

# lst boot/
total 7064
-rw-r--r--  1 root root 3160956 Apr 12  2012 vmlinuz-3.0.27-1-ac100
-rw-r--r--  1 root root 1352888 Apr 12  2012 System.map-3.0.27-1-ac100
-rw-r--r--  1 root root   78785 Apr 12  2012 config-3.0.27-1-ac100
-rw-r--r--  1 root root  414605 Apr 12  2012 abi-3.0.27-1-ac100
lrwxrwxrwx  1 root root      22 Apr 23  2012 vmlinuz -> vmlinuz-3.0.27-1-ac100
-rw-r--r--  1 root root     276 Apr 23  2012 bootimg.cfg
-rw-r--r--  1 root root 2195955 Apr 23  2012 initrd.img-3.0.27-1-ac100
-rw-r--r--  1 root root      23 Apr 23  2012 initrd.img
drwxr-xr-x  2 root root    4096 Apr 23  2012 .
drwxr-xr-x 21 root root    4096 Apr  6 15:15 ..

This kernel apparently is old and not an FDT kernel. So the board code was built into the kernel directly. But with modern kernel and device tree we can deal with that.

The problem here is I expected to see uImage and uInitrd. But this u-boot boots vmlinuz and initrd.img. Let's see what's in bootimg.cfg.

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

There are two sets of headers which look like UART ports on the motherboard; I've tried connecting to both but only one seems to be functional with the Dell kernel and it doesn't seem to let me data back.

That makes it a lot harder to get it booting the kernel files.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Debian on Dell Wyse 3020
April 06, 2023 10:50PM
This u-boot is old, so it should use bootm. UPDATE: this box does not use u-boot, the boot loader is wloader.

You could try this.

Without installing new kernel 6.2.8-mvebu-tld-2.0, mount the USB rootfs Debian-5.13.8-mvebu-tld-1-rootfs-bodhi.tar.bz2 on another Linux box. Assuming it is mounted at /media/sdb1/boot.

Extract the new kernel
cd /media/sdb1/boot
tar xf linux-6.2.8-mvebu-tld-2.x-bodhi.tar.bz2
tar xf linux-dtb-6.2.8-mvebu-tld-2.0.tar

Create the kernel files
cp -a zImage-6.2.8-mvebu-tld-2.0 zImage.fdt 
cat dts/mmp3-dell-ariel.dtb >> zImage.fdt
mkimage -A arm -O linux -T kernel -C none -a 0x00008000 -e 0x00008000 -n Linux-6.2.8-mvebu-tld-2.0  -d zImage.fdt uImage
mkimage -A arm -O linux -T ramdisk -C gzip -a 0x00000000 -e 0x00000000 -n initramfs-6.2.8-mvebu-tld-2.0 -d initrd.img-6.2.8-mvebu-tld-2.0 uInitrd

And then link them to where u-boot expected
ln -s uImage vmlinuz
ln -s uInitrd initrd.img

List the files for keepsake
ls -lart
sync

And then umount and take it to the Wyse 3020 try booting with it.

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



Edited 2 time(s). Last edit at 04/09/2023 02:50PM by bodhi.
Mischif
Re: Debian on Dell Wyse 3020
April 07, 2023 11:49AM
bodhi,

Without installing the image deb file I don't have a 6.2.8 initrd; I tried using the 5.13.8 initrd instead and I didn't get a segfault but wloader seemed to crash while loading everything and I still got nothing from the serial console, maybe that's progress.
Re: Debian on Dell Wyse 3020
April 07, 2023 02:15PM
Mischif,

> Without installing the image deb file I don't have
> a 6.2.8 initrd; I tried using the 5.13.8 initrd

Right, I forgot to modify that kernel initrd name. The initrd is not important, you could use any version close to the rootfs version (Debian 11.x or 10.x)

> instead and I didn't get a segfault but wloader
> seemed to crash while loading everything and I
> still got nothing from the serial console, maybe
> that's progress.

I think we are flying blind without serial console, so it is probably best to solve that first. Let's look at the WyseT50 thread to see if Koen got serial console working.

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

Turns out I just made a dumb mistake with the serial argument; I now have access to a console and the 6.2 kernel is booting, but for some reason it fails to recognize the flash drive I'm booting from to mount the rootfs:

[    0.000000][    T0] Booting Linux on physical CPU 0x0
[    0.000000][    T0] Linux version 6.2.8-mvebu-tld-2.0 (root@tldDebian) (gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2) #2.0 SMP PREEMPT Wed Apr  5 16:31:07 PDT 2023
[    0.000000][    T0] CPU: ARMv7 Processor [562f5842] revision 2 (ARMv7), cr=10c5387d
[    0.000000][    T0] CPU: div instructions available: patching division code
[    0.000000][    T0] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
[    0.000000][    T0] OF: fdt: Machine model: Dell Ariel
[    0.000000][    T0] Memory policy: Data cache writealloc
[    0.000000][    T0] Zone ranges:
[    0.000000][    T0]   Normal   [mem 0x0000000000000000-0x000000002fffffff]
[    0.000000][    T0]   HighMem  [mem 0x0000000030000000-0x000000007fefffff]
[    0.000000][    T0] Movable zone start for each node
[    0.000000][    T0] Early memory node ranges
[    0.000000][    T0]   node   0: [mem 0x0000000000000000-0x000000007fefffff]
[    0.000000][    T0] Initmem setup node 0 [mem 0x0000000000000000-0x000000007fefffff]
[    0.000000][    T0] percpu: Embedded 13 pages/cpu s21332 r8192 d23724 u53248
[    0.000000][    T0] Built 1 zonelists, mobility grouping on.  Total pages: 522304
[    0.000000][    T0] Kernel command line: rootdelay=5 root=/dev/sda2 console=ttyS2,115200 rw ramdisk_size=136314880 pm_disable
[    0.000000][    T0] Unknown kernel command line parameters "pm_disable ramdisk_size=136314880", will be passed to user space.
[    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: 2048584K/2096128K available (10240K kernel code, 836K rwdata, 3288K rodata, 1024K init, 469K bss, 47544K reserved, 0K cma-reserved, 1309696K highmem)
[    0.000000][    T0] rcu: Preemptible hierarchical RCU implementation.
[    0.000000][    T0] rcu:     RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
[    0.000000][    T0]  Trampoline variant of Tasks RCU enabled.
[    0.000000][    T0]  Tracing variant of Tasks RCU enabled.
[    0.000000][    T0] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000][    T0] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
[    0.000000][    T0] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000][    T0] L2C: platform modifies aux control register: 0x02060000 -> 0x32860000
[    0.000000][    T0] L2C: DT/platform modifies aux control register: 0x02060000 -> 0x32860000
[    0.000000][    T0] Tauros3 cache controller enabled, 8 ways, 512 kB
[    0.000000][    T0] Tauros3: CACHE_ID 0x880000ed, AUX_CTRL 0x32860000
[    0.000000][    T0] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[    0.000005][    T0] sched_clock: 32 bits at 26MHz, resolution 38ns, wraps every 82595524588ns
[    0.000090][    T0] clocksource: clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 73510017198 ns
[    0.000290][    T0] smp_twd: clock not found -2
[    0.000780][    T0] kfence: initialized - using 2097152 bytes for 255 objects at 0x(ptrval)-0x(ptrval)
[    0.001703][    T0] Console: colour dummy device 80x30
[    0.001748][    T0] Calibrating local timer... 2.16MHz.
[    0.060277][    T0] Calibrating delay loop... 1191.11 BogoMIPS (lpj=5955584)
[    0.100312][    T0] pid_max: default: 32768 minimum: 301
[    0.100669][    T0] LSM: initializing lsm=capability,integrity
[    0.100923][    T0] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.100943][    T0] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.102450][    T0] CPU: Testing write buffer coherency: ok
[    0.102900][    T1] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.104735][    T1] cblist_init_generic: Setting adjustable number of callback queues.
[    0.104760][    T1] cblist_init_generic: Setting shift to 1 and lim to 1.
[    0.104944][    T1] cblist_init_generic: Setting shift to 1 and lim to 1.
[    0.105137][    T1] Setting up static identity map for 0x100000 - 0x100060
[    0.105741][    T1] rcu: Hierarchical SRCU implementation.
[    0.105750][    T1] rcu:     Max phase no-delay instances is 1000.
[    0.107088][    T1] smp: Bringing up secondary CPUs ...
[    0.140313][    T0] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.140758][    T1] smp: Brought up 1 node, 2 CPUs
[    0.140778][    T1] SMP: Total of 2 processors activated (2382.23 BogoMIPS).
[    0.140790][    T1] CPU: All CPU(s) started in SVC mode.
[    0.141927][    T1] devtmpfs: initialized
[    0.152511][    T1] VFP support v0.3: implementor 56 architecture 2 part 20 variant 9 rev 6
[    0.152983][    T1] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.153038][    T1] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
[    0.153391][    T1] prandom: seed boundary self test passed
[    0.155915][    T1] prandom: 100 self tests passed
[    0.155926][    T1] pinctrl core: initialized pinctrl subsystem
[    0.157793][    T1] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.158494][    T1] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.165488][    T1] audit: initializing netlink subsys (disabled)
[    0.165928][   T24] audit: type=2000 audit(0.170:1): state=initialized audit_enabled=0 res=1
[    0.166752][    T1] thermal_sys: Registered thermal governor 'step_wise'
[    0.167141][    T1] cpuidle: using governor ladder
[    0.167203][    T1] cpuidle: using governor menu
[    0.167452][   T16] hw-breakpoint: Debug register access (0xee003e17) caused undefined instruction on CPU 0
[    0.167468][   T16] hw-breakpoint: CPU 0 failed to disable vector catch
[    0.167522][   T17] hw-breakpoint: Debug register access (0xee003e17) caused undefined instruction on CPU 1
[    0.350541][    T1] raid6: int32x8  gen()   207 MB/s
[    0.520606][    T1] raid6: int32x4  gen()   223 MB/s
[    0.690811][    T1] raid6: int32x2  gen()   359 MB/s
[    0.860915][    T1] raid6: int32x1  gen()   358 MB/s
[    0.860928][    T1] raid6: using algorithm int32x2 gen() 359 MB/s
[    1.031005][    T1] raid6: .... xor() 219 MB/s, rmw enabled
[    1.031016][    T1] raid6: using intx1 recovery algorithm
[    1.032556][    T1] SCSI subsystem initialized
[    1.033264][    T1] usbcore: registered new interface driver usbfs
[    1.033325][    T1] usbcore: registered new interface driver hub
[    1.033386][    T1] usbcore: registered new device driver usb
[    1.033854][    T1] pps_core: LinuxPPS API ver. 1 registered
[    1.033866][    T1] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    1.033901][    T1] PTP clock support registered
[    1.036343][    T1] vgaarb: loaded
[    1.037254][    T1] clocksource: Switched to clocksource clocksource
[    1.038306][    T1] VFS: Disk quotas dquot_6.6.0
[    1.038456][    T1] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    1.060074][    T1] NET: Registered PF_INET protocol family
[    1.060454][    T1] IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear)
[    1.062881][    T1] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[    1.063047][    T1] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    1.063091][    T1] TCP established hash table entries: 8192 (order: 3, 32768 bytes, linear)
[    1.063217][    T1] TCP bind hash table entries: 8192 (order: 5, 131072 bytes, linear)
[    1.063361][    T1] TCP: Hash tables configured (established 8192 bind 8192)
[    1.063767][    T1] MPTCP token hash table entries: 1024 (order: 2, 16384 bytes, linear)
[    1.063912][    T1] UDP hash table entries: 512 (order: 2, 16384 bytes, linear)
[    1.063954][    T1] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear)
[    1.064325][    T1] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    1.065569][    T1] RPC: Registered named UNIX socket transport module.
[    1.065585][    T1] RPC: Registered udp transport module.
[    1.065593][    T1] RPC: Registered tcp transport module.
[    1.065601][    T1] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    1.065625][    T1] PCI: CLS 0 bytes, default 64
[    1.065854][    T1] NetWinder Floating Point Emulator V0.97 (double precision)
[    1.066086][   T10] Trying to unpack rootfs image as initramfs...
[    1.067980][    T1] Initialise system trusted keyrings
[    1.068131][    T1] Key type blacklist registered
[    1.070308][    T1] workingset: timestamp_bits=14 max_order=19 bucket_order=5
[    1.070675][    T1] zbud: loaded
[    1.074126][    T1] NFS: Registering the id_resolver key type
[    1.074248][    T1] Key type id_resolver registered
[    1.074257][    T1] Key type id_legacy registered
[    1.074335][    T1] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    1.074362][    T1] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[    1.153585][    T1] xor: measuring software checksum speed
[    1.161894][    T1]    arm4regs        :  1199 MB/sec
[    1.173447][    T1]    8regs           :   858 MB/sec
[    1.182586][    T1]    32regs          :  1085 MB/sec
[    1.182599][    T1] xor: using function: arm4regs (1199 MB/sec)
[    1.182633][    T1] async_tx: api initialized (async)
[    1.182656][    T1] Key type asymmetric registered
[    1.182669][    T1] Asymmetric key parser 'x509' registered
[    1.183202][    T1] bounce: pool size: 64 pages
[    1.183821][    T1] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)
[    1.184117][    T1] io scheduler bfq registered
[    1.199720][    T1] gpio gpiochip0: Static allocation of GPIO base is deprecated, use dynamic allocation.
[    1.390765][    T1] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    1.397440][    T1] printk: console [ttyS2] disabled
[    1.397560][    T1] d4018000.serial: ttyS2 at MMIO 0xd4018000 (irq = 381, base_baud = 1625000) is a XScale
[    1.397655][    T1] printk: console [ttyS2] enabled
[    1.742360][   T10] Freeing initrd memory: 9424K
[    1.770158][    T1] wireguard: WireGuard 1.0.0 loaded. See www.wireguard.com for information.
[    2.313434][    T1] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
[    2.330950][    T1] usbcore: registered new interface driver usblp
[    2.337192][    T1] usbcore: registered new interface driver usb-storage
[    2.347918][    T1] mousedev: PS/2 mouse device common for all mice
[    2.356088][    T1] i2c_dev: i2c /dev entries driver
[    2.369812][    T1] device-mapper: uevent: version 1.0.3
[    2.375563][    T1] device-mapper: ioctl: 4.47.0-ioctl (2022-07-28) initialised: dm-devel@redhat.com
[    2.385499][    T1] device-mapper: multipath round-robin: version 1.2.0 loaded
[    2.392959][    T1] device-mapper: multipath queue-length: version 0.2.0 loaded
[    2.400323][    T1] device-mapper: multipath service-time: version 0.3.0 loaded
[    2.407804][    T1] device-mapper: dm-log-userspace: version 1.3.0 loaded
[    2.414601][    T1] device-mapper: raid: Loading target version 1.15.1
[    2.421977][    T1] hid: raw HID events driver (C) Jiri Kosina
[    2.428559][    T1] usbcore: registered new interface driver usbhid
[    2.434791][    T1] usbhid: USB HID core driver
[    2.440418][    T1] NET: Registered PF_INET6 protocol family
[    2.448088][    T1] Segment Routing with IPv6
[    2.452429][    T1] RPL Segment Routing with IPv6
[    2.457210][    T1] In-situ OAM (IOAM) with IPv6
[    2.462021][    T1] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    2.470990][    T1] NET: Registered PF_PACKET protocol family
[    2.477041][    T1] 8021q: 802.1Q VLAN Support v1.8
[    2.482069][    T1] Key type dns_resolver registered
[    2.487308][    T1] ThumbEE CPU extension supported.
[    2.492250][    T1] Registering SWP/SWPB emulation handler
[    2.497791][    T1] PJ4 iWMMXt v2 coprocessor enabled.
[    2.577064][    T1] registered taskstats version 1
[    2.587382][    T1] Loading compiled-in X.509 certificates
[    2.594011][    T1] zswap: loaded using pool lzo/zbud
[    2.599999][    T1] Key type .fscrypt registered
[    2.604593][    T1] Key type fscrypt-provisioning registered
[    2.610467][    T1] Key type big_key registered
[    2.652357][    T1] Key type encrypted registered
[    2.681946][    T1] Freeing unused kernel image (initmem) memory: 1024K
[    2.729524][    T1] Checked W+X mappings: passed, no W+X pages found
[    2.735860][    T1] Run /init as init process
Loading, please wait...
Starting version 247.3-6
Begin: Loading essential drivers ... done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ... done.
Begin: Waiting for root file system ... Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
done.
Gave up waiting for root file system device.  Common problems:
 - Boot args (cat /proc/cmdline)
   - Check rootdelay= (did the system wait long enough?)
 - Missing modules (cat /proc/modules; ls /dev)
ALERT!  /dev/sda2 does not exist.  Dropping to a shell!
Re: Debian on Dell Wyse 3020
April 08, 2023 10:09PM
Mischif,

Please post the serial header location, and pinouts.

And post the entire serial boot log (from uboot banner until when the kernel hang).

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

Serial info can be found on this page; I'm connected through the 4502.

I don't get any uboot info through the serial console; I've given you everything I get except for this part that comes up before wloader passes control to the new kernel, I don't think it's worth much but maybe you see something I don't:

*** FlashNumber...
Code: :
*** Loading Next Image...
*** Loading Next Image...
*** Set Partition for Image...
*** Validate Image...
*** GPIO_14, GPIO_13 both low ...
 Controller1 DDR size reg is 0xE ...
*** Your OBM Boot Test Successes ...
*** Shutting ports and transferring control ...

123ABC
12345
[    0.000000][    T0] Booting Linux on physical CPU 0x0
[...]
Re: Debian on Dell Wyse 3020
April 09, 2023 02:53PM
Mischi,

Please describe what you did to set up the rootfs. And what is the content of the wloader.conf, where it resides. And,
ls -lart /boot

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

I create a FAT32 partition mounted at /mnt/bootfs to hold the kernel/initrd/wloader.conf, then I create an ext3 filesystem mounted at /mnt/rootfs to hold the rootfs. From there I just extract everything as necessary and delete unused files:

tar -C /mnt/rootfs/ -x -j -f ~/Downloads/Debian-5.13.8-mvebu-tld-1-rootfs-bodhi.tar.bz2
tar -C /mnt/BOOTFS/ -x -j -f ~/Downloads/linux-6.2.8-mvebu-tld-2.x-bodhi.tar.bz2
cat /mnt/BOOTFS/zImage-6.2.8-mvebu-tld-2.0 /mnt/BOOTFS/dts/mmp3-dell-ariel.dtb  > /mnt/BOOTFS/zImage.fdt
mkimage -A arm -O linux -T kernel -C none -a 0x00008000 -e 0x00008000 -d /mnt/BOOTFS/zImage.fdt /mnt/BOOTFS/uImage
mkimage -A arm -O linux -T ramdisk -C gzip -d /mnt/rootfs/boot/initrd.img-5.13.8-mvebu-tld-1 /mnt/BOOTFS/uInitrd

wloader.conf looks like this:

<TX0D_START>

kernel=uImage
initrd=uInitrd
param="rootdelay=5 root=/dev/sda2 console=ttyS2,115200 raid=noautodetect"

<TX0D_END>

/mnt/bootfs looks like this:

drwxr-xr-x  2 mischif mischif    1536 Dec 31  1969 .
-rw-r--r--  1 mischif mischif 4973597 Apr  9 21:24 uImage
-rw-r--r--  1 mischif mischif 9649885 Apr  9 21:26 uInitrd
-rw-r--r--  1 mischif mischif     136 Apr  9 21:28 wloader.cfg
drwxr-x---+ 4 root    root         34 Apr  9 21:45 ..

Looking back through the 6.2 logs I never see the kernel try to bring up USB, is it possible something missed getting compiled in?
Re: Debian on Dell Wyse 3020
April 09, 2023 10:54PM
Mischif,

Thanks!

> Looking back through the 6.2 logs I never see the
> kernel try to bring up USB, is it possible
> something missed getting compiled in?

Indeed, this kernel default to no USB enabled. Will upload the tld-2.1 version.

Also, the bootargs should be:
param="rootdelay=5 root=LABEL=rootfs console=ttyS2,115200 raid=noautodetect earlyprintk=serial"
The 2nd partition contains the rootfs, and labeled as rootfs.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Debian on Dell Wyse 3020
April 10, 2023 05:10PM
Here is tld-2.1 kernel.

Download at Dropbox

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

md5sum linux-6.2.8-mvebu-tld-2.x-bodhi.tar.bz2
ed9fd513ca5a6bfaf118992f0feec0b7  linux-6.2.8-mvebu-tld-2.x-bodhi.tar.bz2
sha256sum linux-6.2.8-mvebu-tld-2.x-bodhi.tar.bz2
7885b743bdba35dd8fb884b722407632ff55837698901e995f7da1071be8cb98  linux-6.2.8-mvebu-tld-2.x-bodhi.tar.bz2

This tarball contains 6 files

linux-image-6.2.8-mvebu-tld-2.1_2.1_armhf.deb
linux-headers-6.2.8-mvebu-tld-2.1_2.1_armhf.deb
zImage-6.2.8-mvebu-tld-2.1
config-6.2.8-mvebu-tld-2.1
linux-dtb-6.2.8-mvebu-tld-2.1.tar
linux-6.2.8-mvebu-tld-1.patch

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

No luck, the logs with the 2.1 kernel looked the same as with the 2.0 kernel, but I did notice the 2.1 kernel was somehow smaller then the 2.0 kernel.

Reviewing the old kernel boot logs it looks like usb is handled by the pxau2o-ehci, mmp3-usb-phy and mmp3-hsic-phy modules, do you know if they're currently being compiled in your kernels?
Re: Debian on Dell Wyse 3020
April 10, 2023 06:07PM
Mischif,

> Reviewing the old kernel boot logs it looks like
> usb is handled by the pxau2o-ehci, mmp3-usb-phy
> and mmp3-hsic-phy modules, do you know if they're
> currently being compiled in your kernels?

Ah. I have to check.

I know mmp3* are configured in as builtin modules (no need to modprobe). But pxa* belong to previous versions of the SoC.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Mischif
Re: Debian on Dell Wyse 3020
April 11, 2023 10:15AM
bodhi,

Let me know when you've created a new build with the modules I brought up, you can take a look at the logs yourself as well to see if there might be any other relevant ones I missed.
Re: Debian on Dell Wyse 3020
April 11, 2023 02:42PM
Mischif,

mmp3-usb-phy and mmp3-hsic-phy are already in 2.1 kernel.

I'll take a look at pxau2o-ehci.

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

Subject:


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