I recorded logs over uart for both devices using the same sd card running poky/core-image-base. Here's the start of the diff where you can see bcrm-pcie doesn't load correctly (timestamps filtered out for ease of comparison)
Code: Select all
diff --git a/cm4-USB-filtered.log b/pi4b-uart-filtered.log
index 45b534b..851c1fc 100644
--- a/cm4-USB-filtered.log
+++ b/pi4b-uart-filtered.log
@@ -3,7 +3,7 @@
CPU: ARMv7 Processor [410fd083] revision 3 (ARMv7), cr=30c5383d
CPU: div instructions available: patching division code
CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
- OF: fdt: Machine model: Raspberry Pi Compute Module 4 Rev 1.0
+ OF: fdt: Machine model: Raspberry Pi 4 Model B Rev 1.1
random: fast init done
Memory policy: Data cache writealloc
Reserved memory: created CMA memory pool at 0x000000001ac00000, size 320 MiB
@@ -19,7 +19,7 @@
Initmem setup node 0 [mem 0x0000000000000000-0x00000000fbffffff]
percpu: Embedded 20 pages/cpu s51404 r8192 d22324 u81920
Built 1 zonelists, mobility grouping on. Total pages: 1011008
- Kernel command line: coherent_pool=1M 8250.nr_uarts=1 snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1 video=HDMI-A-1:1440x900M@60 smsc95xx.macad
dr=E4:5F:01:2D:59:AE vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000 dwc_otg.lpm_enable=0 console=ttyS0,115200 root=/dev/mmcblk0p2 rootfstype=ext4 roo
twait
+ Kernel command line: coherent_pool=1M 8250.nr_uarts=1 snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1 video=HDMI-A-1:1280x800M@60 smsc95xx.macad
dr=DC:A6:32:0D:6F:29 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000 dwc_otg.lpm_enable=0 console=ttyS0,115200 root=/dev/mmcblk0p2 rootfstype=ext4 roo
twait
Dentry cache hash table entries: 131072 (order: 7, 524288 bytes, linear)
Inode-cache hash table entries: 65536 (order: 6, 262144 bytes, linear)
mem auto-init: stack:off, heap alloc:off, heap free:off
@@ -96,10 +96,10 @@
VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
FS-Cache: Loaded
CacheFiles: Loaded
- simple-framebuffer 3e6c5000.framebuffer: framebuffer at 0x3e6c5000, 0x502800 bytes, mapped to 0x(ptrval)
- simple-framebuffer 3e6c5000.framebuffer: format=a8r8g8b8, mode=1440x900x32, linelength=5760
- Console: switching to colour frame buffer device 180x56
- simple-framebuffer 3e6c5000.framebuffer: fb0: simplefb registered!
+ simple-framebuffer 3e7df000.framebuffer: framebuffer at 0x3e7df000, 0x3e8000 bytes, mapped to 0x(ptrval)
+ simple-framebuffer 3e7df000.framebuffer: format=a8r8g8b8, mode=1280x800x32, linelength=5120
+ Console: switching to colour frame buffer device 160x50
+ simple-framebuffer 3e7df000.framebuffer: fb0: simplefb registered!
NET: Registered protocol family 2
IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear)
tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
@@ -129,13 +129,27 @@
Block layer SCSI generic (bsg) driver version 0.4 loaded (major 248)
io scheduler mq-deadline registered
io scheduler kyber registered
- gpio-507 (ant1): hogged as output/high
- gpio-511 (ant2): hogged as output/low
brcm-pcie fd500000.pcie: host bridge /scb/pcie@7d500000 ranges:
brcm-pcie fd500000.pcie: No bus range found for /scb/pcie@7d500000, using [bus 00-ff]
brcm-pcie fd500000.pcie: MEM 0x0600000000..0x063fffffff -> 0x00c0000000
- brcm-pcie fd500000.pcie: IB MEM 0x0000000000..0x00ffffffff -> 0x0400000000
- brcm-pcie fd500000.pcie: link down
+ brcm-pcie fd500000.pcie: IB MEM 0x0000000000..0x00bfffffff -> 0x0400000000
+ brcm-pcie fd500000.pcie: link up, 5.0 GT/s PCIe x1 (SSC)
+ brcm-pcie fd500000.pcie: PCI host bridge to bus 0000:00
+ pci_bus 0000:00: root bus resource [bus 00-ff]
+ pci_bus 0000:00: root bus resource [mem 0x600000000-0x63fffffff] (bus address [0xc0000000-0xffffffff])
+ pci 0000:00:00.0: [14e4:2711] type 01 class 0x060400
+ pci 0000:00:00.0: PME# supported from D0 D3hot
+ PCI: bus0: Fast back to back transfers disabled
+ pci 0000:01:00.0: [1106:3483] type 00 class 0x0c0330
+ pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x00000fff 64bit]
+ pci 0000:01:00.0: PME# supported from D0 D3cold
+ PCI: bus1: Fast back to back transfers disabled
+ pci 0000:00:00.0: BAR 8: assigned [mem 0x600000000-0x6000fffff]
+ pci 0000:01:00.0: BAR 0: assigned [mem 0x600000000-0x600000fff 64bit]
+ pci 0000:00:00.0: PCI bridge to [bus 01]
+ pci 0000:00:00.0: bridge window [mem 0x600000000-0x6000fffff]
+ pcieport 0000:00:00.0: enabling device (0140 -> 0142)
+ pcieport 0000:00:00.0: PME: Signaling with IRQ 82
Serial: 8250/16550 driver, 1 ports, IRQ sharing enabled
bcm2835-aux-uart fe215040.serial: there is not valid maps for state default
iproc-rng200 fe104000.rng: hwrng registered
I don't know what changed in my builds to cause this. I have removed all my software and am using only core open-embedded and poky layers + meta-raspberrypi on kirkstone. I have deleted my whole build folder and started over fresh and still have this issue. How could this carry over after that? I am at a loss as to what to try next.
Any help or ideas are appreciated.