by cbc02009 » Wed Aug 18, 2021 1:22 pm
Thanks for the suggestion. Unfortunately it didn't work for me.
I can confirm the board that doesn't work is version 1.4 (the one that does is 1.2), so I think you're definitely pointing me in the right direction. I'll have to do more research.
Just for posterity, here's the boot output of my revision 1.4 Pi:
$this->bbcode_second_pass_code('', 'U-Boot 2021.04-1 (May 27 2021 - 18:44:02 +0000) Arch Linux ARM
DRAM: 1.9 GiB
RPI 4 Model B (0xb03114)
MMC: mmcnr@7e300000: 1, emmc2@7e340000: 0
Loading Environment from FAT... *** Warning - bad CRC, using default environment
In: serial
Out: serial
Err: serial
Net: eth0: ethernet@7d580000
PCIe BRCM: link up, 5.0 Gbps x1 (SSC)
starting USB...
Bus xhci_pci: Register 5000420 NbrPorts 5
Starting the controller
USB XHCI 1.00
scanning bus xhci_pci for devices... 2 USB Device(s) found
scanning usb for storage devices... 0 Storage Device(s) found
Hit any key to stop autoboot: 0
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
Found U-Boot script /boot.scr
708 bytes read in 27 ms (25.4 KiB/s)
## Executing script at 02c00000
34003456 bytes read in 1757 ms (18.5 MiB/s)
35918 bytes read in 45 ms (779.3 KiB/s)
7183002 bytes read in 384 ms (17.8 MiB/s)
Moving Image from 0x80000 to 0x200000, end=2350000
## Flattened Device Tree blob at 02e00000
Booting using the fdt blob at 0x2e00000
Using Device Tree in place at 0000000002e00000, end 0000000002e0bc4d
Starting kernel ...
[ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd083]
[ 0.000000] Linux version 5.11.4-1-ARCH (builduser@leming) (aarch64-unknown-linux-gnu-gcc (GCC) 10.2.0, GNU ld (GNU Binutils) 2.35) #1 SMP Sun Mar 7 23:46:10 UTC 2021
[ 0.000000] Machine model: Raspberry Pi 4 Model B
[ 0.000000] efi: UEFI not found.
[ 0.000000] Reserved memory: created CMA memory pool at 0x0000000037400000, size 64 MiB
[ 0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
[ 0.000000] Zone ranges:
[ 0.000000] DMA [mem 0x0000000000000000-0x000000003fffffff]
[ 0.000000] DMA32 [mem 0x0000000040000000-0x000000007fffffff]
[ 0.000000] Normal empty
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000000000000-0x000000003b3fffff]
[ 0.000000] node 0: [mem 0x0000000040000000-0x000000007fffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000007fffffff]
[ 0.000000] percpu: Embedded 23 pages/cpu s56152 r8192 d29864 u94208
[ 0.000000] Detected PIPT I-cache on CPU0
[ 0.000000] CPU features: detected: Spectre-v2
[ 0.000000] CPU features: detected: Spectre-v4
[ 0.000000] CPU features: detected: ARM errata 1165522, 1319367, or 1530923
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 496944
[ 0.000000] Kernel command line: console=ttyS1,115200 console=tty0 root=PARTUUID=4cb9ccd2-02 rw rootwait smsc95xx.macaddr=e4:5f:01:41:3f:b6
[ 0.000000] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes, linear)
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.000000] software IO TLB: mapped [mem 0x0000000033400000-0x0000000037400000] (64MB)
[ 0.000000] Memory: 1806412K/2019328K available (16512K kernel code, 3318K rwdata, 7928K rodata, 5312K init, 838K bss, 147380K reserved, 65536K cma-reserved)
[ 0.000000] random: get_random_u64 called from cache_random_seq_create+0x84/0x180 with crng_init=0
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[ 0.000000] rcu: Hierarchical RCU implementation.
[ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=4.
[ 0.000000] Trampoline variant of Tasks RCU enabled.
[ 0.000000] Rude 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=4
[ 0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[ 0.000000] GIC: Using split EOI/Deactivate mode
[ 0.000000] arch_timer: cp15 timer(s) running at 54.00MHz (phys).
[ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0xc743ce346, max_idle_ns: 440795203123 ns
[ 0.000001] sched_clock: 56 bits at 54MHz, resolution 18ns, wraps every 4398046511102ns
[ 0.000249] Console: colour dummy device 80x25
[ 0.000574] printk: console [tty0] enabled
[ 0.000627] Calibrating delay loop (skipped), value calculated using timer frequency.. 108.00 BogoMIPS (lpj=540000)
[ 0.000657] pid_max: default: 32768 minimum: 301
[ 0.000804] LSM: Security Framework initializing
[ 0.000832] Yama: becoming mindful.
[ 0.000938] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
[ 0.000998] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
[ 0.003247] rcu: Hierarchical SRCU implementation.
[ 0.005666] EFI services will not be available.
[ 0.006159] smp: Bringing up secondary CPUs ...
[ 0.006754] Detected PIPT I-cache on CPU1
[ 0.006826] CPU1: Booted secondary processor 0x0000000001 [0x410fd083]
[ 0.007489] Detected PIPT I-cache on CPU2
[ 0.007536] CPU2: Booted secondary processor 0x0000000002 [0x410fd083]
[ 0.008162] Detected PIPT I-cache on CPU3
[ 0.008209] CPU3: Booted secondary processor 0x0000000003 [0x410fd083]
[ 0.008317] smp: Brought up 1 node, 4 CPUs
[ 0.008383] SMP: Total of 4 processors activated.
[ 0.008399] CPU features: detected: 32-bit EL0 Support
[ 0.008416] CPU features: detected: CRC32 instructions
[ 0.008432] CPU features: detected: 32-bit EL1 Support
[ 0.032448] CPU: All CPU(s) started at EL2
[ 0.032567] alternatives: patching kernel code
[ 0.034283] devtmpfs: initialized
[ 0.040713] Registered cp15_barrier emulation handler
[ 0.040764] Registered setend emulation handler
[ 0.040994] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.041033] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[ 0.042989] pinctrl core: initialized pinctrl subsystem
[ 0.043863] DMI not present or invalid.
[ 0.044502] NET: Registered protocol family 16
[ 0.046163] DMA: preallocated 256 KiB GFP_KERNEL pool for atomic allocations
[ 0.046270] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[ 0.046441] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[ 0.046537] audit: initializing netlink subsys (disabled)
[ 0.046757] audit: type=2000 audit(0.040:1): state=initialized audit_enabled=0 res=1
[ 0.047766] thermal_sys: Registered thermal governor 'fair_share'
[ 0.047776] thermal_sys: Registered thermal governor 'bang_bang'
[ 0.047795] thermal_sys: Registered thermal governor 'step_wise'
[ 0.047809] thermal_sys: Registered thermal governor 'user_space'
[ 0.047822] thermal_sys: Registered thermal governor 'power_allocator'
[ 0.048037] cpuidle: using governor ladder
[ 0.048083] cpuidle: using governor menu
[ 0.048290] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[ 0.048414] ASID allocator initialised with 65536 entries
[ 0.049276] Serial: AMBA PL011 UART driver
[ 0.078703] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages
[ 0.078748] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages
[ 0.078766] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[ 0.078783] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages
[ 1.315832] cryptd: max_cpu_qlen set to 1000
[ 1.340848] ACPI: Interpreter disabled.
[ 1.342462] iommu: Default domain type: Translated
[ 1.342855] vgaarb: loaded
[ 1.343737] SCSI subsystem initialized
[ 1.344141] usbcore: registered new interface driver usbfs
[ 1.344201] usbcore: registered new interface driver hub
[ 1.344253] usbcore: registered new device driver usb
[ 1.344453] usb_phy_generic phy: supply vcc not found, using dummy regulator
[ 1.345098] pps_core: LinuxPPS API ver. 1 registered
[ 1.345117] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 1.345146] PTP clock support registered
[ 1.345378] EDAC MC: Ver: 3.0.0
[ 1.346484] Advanced Linux Sound Architecture Driver Initialized.
[ 1.347055] NetLabel: Initializing
[ 1.347073] NetLabel: domain hash size = 128
[ 1.347087] NetLabel: protocols = UNLABELED CIPSOv4 CALIPSO
[ 1.347154] NetLabel: unlabeled traffic allowed by default
[ 1.347459] clocksource: Switched to clocksource arch_sys_counter
[ 1.347708] VFS: Disk quotas dquot_6.6.0
[ 1.347783] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[ 1.348191] pnp: PnP ACPI: disabled
[ 1.355674] NET: Registered protocol family 2
[ 1.356404] tcp_listen_portaddr_hash hash table entries: 1024 (order: 2, 16384 bytes, linear)
[ 1.356458] TCP established hash table entries: 16384 (order: 5, 131072 bytes, linear)
[ 1.356631] TCP bind hash table entries: 16384 (order: 6, 262144 bytes, linear)
[ 1.356868] TCP: Hash tables configured (established 16384 bind 16384)
[ 1.357167] MPTCP token hash table entries: 2048 (order: 3, 49152 bytes, linear)
[ 1.357252] UDP hash table entries: 1024 (order: 3, 32768 bytes, linear)
[ 1.357298] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes, linear)
[ 1.357541] NET: Registered protocol family 1
[ 1.358249] RPC: Registered named UNIX socket transport module.
[ 1.358271] RPC: Registered udp transport module.
[ 1.358283] RPC: Registered tcp transport module.
[ 1.358296] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 1.358316] PCI: CLS 0 bytes, default 64
[ 1.358492] Trying to unpack rootfs image as initramfs...
[ 1.805386] Freeing initrd memory: 7012K
[ 1.806450] hw perfevents: enabled with armv8_cortex_a72 PMU driver, 7 counters available
[ 1.806608] kvm [1]: IPA Size Limit: 44 bits
[ 1.808520] kvm [1]: vgic interrupt IRQ9
[ 1.808728] kvm [1]: Hyp mode initialized successfully
[ 1.901842] Initialise system trusted keyrings
[ 1.902054] workingset: timestamp_bits=46 max_order=19 bucket_order=0
[ 1.907587] zbud: loaded
[ 1.909863] NFS: Registering the id_resolver key type
[ 1.909904] Key type id_resolver registered
[ 1.909919] Key type id_legacy registered
[ 1.910028] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[ 1.910229] SGI XFS with ACLs, security attributes, quota, no debug enabled
[ 1.977182] NET: Registered protocol family 38
[ 1.977221] Key type asymmetric registered
[ 1.977238] Asymmetric key parser 'x509' registered
[ 1.977289] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 242)
[ 1.977434] io scheduler mq-deadline registered
[ 1.977480] io scheduler kyber registered
[ 1.977616] io scheduler bfq registered
[ 1.987341] IPMI message handler: version 39.2
[ 2.001489] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[ 2.003351] printk: console [ttyS1] disabled
[ 2.003456] fe215040.serial: ttyS1 at MMIO 0xfe215040 (irq = 26, base_baud = 62499999) is a 16550
[ 2.895033] printk: console [ttyS1] enabled
[ 2.900741] msm_serial: driver initialized
[ 2.906948] iproc-rng200 fe104000.rng: hwrng registered
[ 2.913267] cacheinfo: Unable to detect cache hierarchy for CPU 0
[ 2.920388] bcm2835-power bcm2835-power: Broadcom BCM2835 power domains driver
[ 2.931881] libphy: Fixed MDIO Bus: probed
[ 2.938472] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 2.945120] ehci-pci: EHCI PCI platform driver
[ 2.949745] ehci-platform: EHCI generic platform driver
[ 2.955188] ehci-orion: EHCI orion driver
[ 2.959415] tegra-ehci: Tegra EHCI driver
[ 2.963593] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 2.969915] ohci-pci: OHCI PCI platform driver
[ 2.974463] ohci-platform: OHCI generic platform driver
[ 2.979907] uhci_hcd: USB Universal Host Controller Interface driver
[ 2.987160] usbcore: registered new interface driver uas
[ 2.992623] usbcore: registered new interface driver usb-storage
[ 2.998763] usbcore: registered new interface driver ums-alauda
[ 3.004799] usbcore: registered new interface driver ums-cypress
[ 3.010936] usbcore: registered new interface driver ums-datafab
[ 3.017065] usbcore: registered new interface driver ums_eneub6250
[ 3.023381] usbcore: registered new interface driver ums-freecom
[ 3.029531] usbcore: registered new interface driver ums-isd200
[ 3.035566] usbcore: registered new interface driver ums-jumpshot
[ 3.041791] usbcore: registered new interface driver ums-karma
[ 3.047755] usbcore: registered new interface driver ums-onetouch
[ 3.053976] usbcore: registered new interface driver ums-realtek
[ 3.060117] usbcore: registered new interface driver ums-sddr09
[ 3.066153] usbcore: registered new interface driver ums-sddr55
[ 3.072202] usbcore: registered new interface driver ums-usbat
[ 3.078223] usbcore: registered new interface driver usbserial_generic
[ 3.084870] usbserial: USB Serial support registered for generic
[ 3.092330] mousedev: PS/2 mouse device common for all mice
[ 3.101513] device-mapper: uevent: version 1.0.3
[ 3.106506] device-mapper: ioctl: 4.43.0-ioctl (2020-10-01) initialised: dm-devel@redhat.com
[ 3.116914] sdhci: Secure Digital Host Controller Interface driver
[ 3.123229] sdhci: Copyright(c) Pierre Ossman
[ 3.128417] Synopsys Designware Multimedia Card Interface Driver
[ 3.135538] sdhci-pltfm: SDHCI platform and OF driver helper
[ 3.143260] ledtrig-cpu: registered to indicate activity on CPUs
[ 3.150452] hid: raw HID events driver (C) Jiri Kosina
[ 3.155798] usbcore: registered new interface driver usbhid
[ 3.161476] usbhid: USB HID core driver
[ 3.166849] bcm2835-mbox fe00b880.mailbox: mailbox enabled
[ 3.177193] Initializing XFRM netlink socket
[ 3.182139] NET: Registered protocol family 10
[ 3.212618] Segment Routing with IPv6
[ 3.216450] mip6: Mobile IPv6
[ 3.219498] NET: Registered protocol family 17
[ 3.224198] Key type dns_resolver registered
[ 3.228920] registered taskstats version 1
[ 3.233092] Loading compiled-in X.509 certificates
[ 3.238389] zswap: loaded using pool lzo/zbud
[ 3.243036] debug_vm_pgtable: [debug_vm_pgtable ]: Validating architecture page table helpers
[ 3.252558] Key type ._fscrypt registered
[ 3.256632] Key type .fscrypt registered
[ 3.260665] Key type fscrypt-provisioning registered
[ 3.277522] Key type encrypted registered
[ 3.286632] fe201000.serial: ttyAMA0 at MMIO 0xfe201000 (irq = 24, base_baud = 0) is a PL011 rev2
[ 3.295948] serial serial0: tty port ttyAMA0 registered
[ 3.312111] raspberrypi-firmware soc:firmware: Attached to firmware from 2021-06-29T16:00:18
[ 3.480842] dwc2 fe980000.usb: supply vusb_d not found, using dummy regulator
[ 3.488209] dwc2 fe980000.usb: supply vusb_a not found, using dummy regulator
[ 3.595819] dwc2 fe980000.usb: dwc2_check_param_tx_fifo_sizes: Invalid parameter g-tx-fifo-size, setting to default average
[ 3.607131] dwc2 fe980000.usb: EPs: 8, dedicated fifos, 4080 entries in SPRAM
[ 3.625995] sdhci-iproc fe300000.sdhci: allocated mmc-pwrseq
[ 3.682674] mmc0: SDHCI controller on fe300000.sdhci [fe300000.sdhci] using PIO
[ 3.705281] mmc0: queuing unknown CIS tuple 0x80 (2 bytes)
[ 3.712507] mmc0: queuing unknown CIS tuple 0x80 (3 bytes)
[ 3.719700] mmc0: queuing unknown CIS tuple 0x80 (3 bytes)
[ 3.724992] ALSA device list:
[ 3.728179] mmc0: queuing unknown CIS tuple 0x80 (7 bytes)
[ 3.728275] No soundcards found.
[ 3.735448] mmc0: queuing unknown CIS tuple 0x80 (3 bytes)
[ 3.740698] mmc1: SDHCI controller on fe340000.emmc2 [fe340000.emmc2] using ADMA
[ 3.754156] Freeing unused kernel memory: 5312K
[ 3.758857] Run /init as init process
[ 3.782758] random: fast init done
[ 3.799126] mmc1: ADMA error: 0x02000000
[ 3.803127] mmc1: sdhci: ============ SDHCI REGISTER DUMP ===========
[ 3.809656] mmc1: sdhci: Sys addr: 0x00000000 | Version: 0x00001002
[ 3.816187] mmc1: sdhci: Blk size: 0x00007008 | Blk cnt: 0x00000001
[ 3.822716] mmc1: sdhci: Argument: 0x00000000 | Trn mode: 0x00000013
[ 3.829244] mmc1: sdhci: Present: 0x1fff0206 | Host ctl: 0x00000011
[ 3.835773] mmc1: sdhci: Power: 0x0000000f | Blk gap: 0x00000080
[ 3.842302] mmc1: sdhci: Wake-up: 0x00000000 | Clock: 0x00007d07
[ 3.848831] mmc1: sdhci: Timeout: 0x00000000 | Int stat: 0x00000000
[ 3.855359] mmc1: sdhci: Int enab: 0x03ff100b | Sig enab: 0x03ff100b
[ 3.861888] mmc1: sdhci: ACmd stat: 0x00000000 | Slot int: 0x00000000
[ 3.868415] mmc1: sdhci: Caps: 0x45ee6432 | Caps_1: 0x0000a525
[ 3.874944] mmc1: sdhci: Cmd: 0x0000333a | Max curr: 0x00080008
[ 3.881472] mmc1: sdhci: Resp[0]: 0x00000920 | Resp[1]: 0x00ee7f7f
[ 3.888000] mmc1: sdhci: Resp[2]: 0x325b5900 | Resp[3]: 0x00400e00
[ 3.894527] mmc1: sdhci: Host ctl2: 0x00000008
[ 3.899027] mmc1: sdhci: ADMA Err: 0x00000001 | ADMA Ptr: 0xc3000200
[ 3.905555] mmc1: sdhci: ============================================
[ 3.912082] mmc1: sdhci: c3000200: DMA 0xf3400000, LEN 0x0008, Attr=0x21
[ 3.918876] mmc1: sdhci: c3000208: DMA 0x00000000, LEN 0x0000, Attr=0x03
')