Installing OpenWRT on Watchguard T40W

Yeah, here you go.

T40:

U-Boot 2018.09 (Dec 05 2019 - 10:13:47 -0800)

SoC:  LS1043AE Rev1.1 (0x87920011)
Clock Configuration:
       CPU0(A53):1000 MHz  CPU1(A53):1000 MHz  CPU2(A53):1000 MHz  
       CPU3(A53):1000 MHz  
       Bus:      300  MHz  DDR:      1600 MT/s  FMAN:     500  MHz
Reset Configuration Word (RCW):
       00000000: 0610000a 0a000000 00000000 00000000
       00000010: 45580002 00000012 40044000 c1002000
       00000020: 00000000 00000000 00000000 0003fffe
       00000030: 20004504 0418320a 00000096 00000001
Model: LS1043A QDS Board - T40/T20
Board: LS1043AQDS, boot from vBank: 0
I2C:   ready
DRAM:  Initializing DDR...
Detected UDIMM Fixed DDR4 on board
3.9 GiB (DDR4, 32-bit, CL=11, ECC off)
Using SERDES1 Protocol: 17752 (0x4558)
SEC Firmware: Bad firmware image (not a FIT image)
Waking secondary cores to start from fbd35000
All (4) cores are up.
MMC:   FSL_SDHC: 0
Loading Environment from SPI Flash... SF: Detected mx25u3235f with page size 256 Bytes, erase size 64 KiB, total 4 MiB
*** Warning - bad CRC, using default environment
In:    serial
Out:   serial
Err:   serial
Net:   SF: Detected mx25u3235f with page size 256 Bytes, erase size 64 KiB, total 4 MiB
Fman1: Uploading microcode version 108.4.9
PCIe0: pcie@3400000 Root Complex: no link
PCIe1: pcie@3500000 Root Complex: x1 gen1
PCIe2: pcie@3600000 disabled
FM1@DTSEC1 [PRIME], FM1@DTSEC2, FM1@DTSEC3, FM1@DTSEC5, FM1@DTSEC6
### main_loop entered: bootdelay=3

### main_loop: bootcmd="run wgBootSysA"
=> sf probe
SF: Detected mx25u3235f with page size 256 Bytes, erase size 64 KiB, total 4 MiB
=> sf read 0x80080000 0x0 0xff
device 0 offset 0x0, size 0xff
SF: 255 bytes @ 0x0 Read: OK
=> md 0x80080000 0xff
80080000: 01ee0100 aa55aa55 0a000000 0610000a    ....U.U.........
80080010: 00000000 00000000 00000012 45580002    ..............XE
80080020: c1002000 40044000 00000000 00000000    . ...@.@........
80080030: 0003fffe 00000000 0418320a 20004504    .........2...E. 
80080040: 00000001 00000096 40100000 0957015c    ...........@\.W.
80080050: 00000000 09570600 40100000 09570604    ......W....@..W.
80080060: 00502880 09ea08dc 0000e010 09570178    .(P.........x.W.
80080070: 00000008 09180000 0000009e 09570418    ..............W.
80080080: 0000009e 0957041c 0000009e 09570420    ......W..... .W.
80080090: 00004400 09ee00c0 00002200 09570158    .D......."..X.W.
800800a0: 00000001 89008040 00502880 09ea08dc    ....@....(P.....
800800b0: 00000300 09570158 01000100 89400890    ....X.W.......@.
800800c0: 01000100 89500890 01000100 89600890    ......P.......`.
800800d0: 000f400c 09550000 40006108 a905de06    .@....U..a.@....
800800e0: 00000000 00000000 00000000 00000000    ................
800800f0: 00000000 00000000 00000000 de000000    ................
80080100: deadbeef deadbeef deadbeef deadbeef    ................
80080110: deadbeef deadbeef deadbeef deadbeef    ................
(repeats)
=> mdio list
FSL_MDIO0:
4 - Generic PHY <--> FM1@DTSEC1
5 - Generic PHY <--> FM1@DTSEC2
6 - Generic PHY <--> FM1@DTSEC5
7 - Generic PHY <--> FM1@DTSEC6
FM_TGEC_MDIO:
1 - AR8035 <--> FM1@DTSEC3

T45:

U-Boot 2018.09 (Jul 20 2022 - 02:38:54 -0700)

SoC:  LS1043AE Rev1.1 (0x87920011)
Clock Configuration:
       CPU0(A53):1600 MHz  CPU1(A53):1600 MHz  CPU2(A53):1600 MHz  
       CPU3(A53):1600 MHz  
       Bus:      300  MHz  DDR:      1600 MT/s  FMAN:     500  MHz
Reset Configuration Word (RCW):
       00000000: 06100010 0a000000 00000000 00000000
       00000010: 45580002 00000012 40044000 c1002000
       00000020: 00000000 00000000 00000000 00036ffd
       00000030: 20044104 04183208 00000096 00000001
Model: LS1043A QDS Board - T40/T20
Board: LS1043AQDS, boot from vBank: 0
I2C:   ready
DRAM:  Initializing DDR...(ddr_raw_timing.tckmax_ps = 1500, ddr_raw_timing.tccdl_ps = 6250)
Detected UDIMM Fixed DDR4 on board
3.9 GiB (DDR4, 32-bit, CL=11, ECC off)
Using SERDES1 Protocol: 17752 (0x4558)
SEC Firmware: Bad firmware image (not a FIT image)
AW-XM458MA-PUR: Reset AW-XM458MA-PUR to fix wifi crash when soft reboot
SF: Detected mx25u3232f with page size 256 Bytes, erase size 64 KiB, total 4 MiB
device 0 offset 0x280018, size 0xd
SF: 13 bytes @ 0x280018 Read: OK
Waking secondary cores to start from fbd36000
All (4) cores are up.
MMC:   FSL_SDHC: 0
Loading Environment from SPI Flash... OK
In:    serial
Out:   serial
Err:   serial
Net:   SF: Detected mx25u3232f with page size 256 Bytes, erase size 64 KiB, total 4 MiB
Fman1: Uploading microcode version 108.4.9
PCIe0: pcie@3400000 Root Complex: no link
PCIe1: pcie@3500000 Root Complex: no link
PCIe2: pcie@3600000 disabled
FM1@DTSEC1 [PRIME], FM1@DTSEC2, FM1@DTSEC3, FM1@DTSEC5, FM1@DTSEC6
### main_loop entered: bootdelay=3

### main_loop: bootcmd="run wgBootSysA"
=> sf probe
SF: Detected mx25u3232f with page size 256 Bytes, erase size 64 KiB, total 4 MiB
=> sf read 0x80080000 0x0 0xff
device 0 offset 0x0, size 0xff
SF: 255 bytes @ 0x0 Read: OK
=> md 0x80080000 0xff
80080000: 01ee0100 aa55aa55 0a000000 06100010    ....U.U.........
80080010: 00000000 00000000 00000012 45580002    ..............XE
80080020: c1002000 40044000 00000000 00000000    . ...@.@........
80080030: 00036ffd 00000000 04183208 20044104    .o.......2...A. 
80080040: 00000001 00000096 40100000 0957015c    ...........@\.W.
80080050: 00000000 09570600 40100000 09570604    ......W....@..W.
80080060: 00502880 09ea08dc 0000e010 09570178    .(P.........x.W.
80080070: 00000008 09180000 0000009e 09570418    ..............W.
80080080: 0000009e 0957041c 0000009e 09570420    ......W..... .W.
80080090: 00004400 09ee00c0 00002200 09570158    .D......."..X.W.
800800a0: 00000001 89008040 00502880 09ea08dc    ....@....(P.....
800800b0: 00000300 09570158 01000100 89400890    ....X.W.......@.
800800c0: 01000100 89500890 01000100 89600890    ......P.......`.
800800d0: 000f400c 09550000 40006108 f5f2aa67    .@....U..a.@g...
800800e0: 00000000 00000000 00000000 00000000    ................
800800f0: 00000000 00000000 00000000 de000000    ................
80080100: deadbeef deadbeef deadbeef deadbeef    ................
80080110: deadbeef deadbeef deadbeef deadbeef    ................
(repeats)
=> mdio list
FSL_MDIO0:
4 - Generic PHY <--> FM1@DTSEC1
5 - Generic PHY <--> FM1@DTSEC2
6 - Generic PHY <--> FM1@DTSEC5
7 - Generic PHY <--> FM1@DTSEC6
FM_TGEC_MDIO:
1 - RealTek RTL8211F <--> FM1@DTSEC3

Forgot to mention I also have the GPL archive from WatchGuard for the T45, which should also include the T40. I’m happy to share that with you, just drop me a DM with your email address.

Ayyy, 0x83000000 did it!

=> bootm 0x82000000#ls1043rdb
## Loading kernel from FIT Image at 82000000 ...
   Using 'ls1043rdb' configuration
   Trying 'kernel@0' kernel subimage
     Description:  Linux Kernel
     Created:      2025-10-08   5:51:55 UTC
     Type:         Kernel Image
     Compression:  gzip compressed
     Data Start:   0x820000d4
     Data Size:    8220210 Bytes = 7.8 MiB
     Architecture: AArch64
     OS:           Linux
     Load Address: 0x83000000
     Entry Point:  0x83000000
     Hash algo:    sha1
     Hash value:   677fd2d6dc70b947438874fc02ca04f2fb28d9b1
   Verifying Hash Integrity ... sha1+ OK
## Loading fdt from FIT Image at 82000000 ...
   Using 'ls1043rdb' configuration
   Trying 'fdt@0' fdt subimage
     Description:  Flattened Device Tree blob LS1043RDB
     Created:      2025-10-08   5:51:55 UTC
     Type:         Flat Device Tree
     Compression:  uncompressed
     Data Start:   0x827d700c
     Data Size:    28687 Bytes = 28 KiB
     Architecture: AArch64
     Load Address: 0x90000000
     Hash algo:    sha1
     Hash value:   38a5798e96060ebf88e88351e8a8c16865821858
   Verifying Hash Integrity ... sha1+ OK
   Loading fdt from 0x827d700c to 0x90000000
   Booting using the fdt blob at 0x90000000
   Uncompressing Kernel Image ... OK
   Using Device Tree in place at 0000000090000000, end 000000009001a00e
WARNING: SEC firmware not running, no kaslr-seed
WARNING failed to get smmu node: FDT_ERR_NOTFOUND
WARNING failed to get smmu node: FDT_ERR_NOTFOUND

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[    0.000000] Linux version 6.6.103 (hmartin@renoir) (aarch64-openwrt-linux-musl-gcc (OpenWrt GCC 14.3.0 r30926-a8e3bff523) 14.3.0, GNU ld (GNU Binutils5
[    0.000000] Machine model: LS1043A RDB Board
[    0.000000] earlycon: uart8250 at MMIO 0x00000000021c0500 (options '')
[    0.000000] printk: bootconsole [uart8250] enabled
[    0.000000] efi: UEFI not found.
[    0.000000] Reserved memory: created DMA memory pool at 0x00000008ff000000, size 16 MiB
[    0.000000] OF: reserved mem: initialized node bman-fbpr, compatible id shared-dma-pool
[    0.000000] OF: reserved mem: 0x00000008ff000000..0x00000008ffffffff (16384 KiB) nomap non-reusable bman-fbpr
[    0.000000] Reserved memory: created DMA memory pool at 0x00000008fec00000, size 4 MiB
[    0.000000] OF: reserved mem: initialized node qman-fqd, compatible id shared-dma-pool
[    0.000000] OF: reserved mem: 0x00000008fec00000..0x00000008feffffff (4096 KiB) nomap non-reusable qman-fqd
[    0.000000] Reserved memory: created DMA memory pool at 0x00000008fc000000, size 32 MiB
[    0.000000] OF: reserved mem: initialized node qman-pfdr, compatible id shared-dma-pool
[    0.000000] OF: reserved mem: 0x00000008fc000000..0x00000008fdffffff (32768 KiB) nomap non-reusable qman-pfdr
[    0.000000] NUMA: No NUMA configuration found
[    0.000000] NUMA: Faking a node at [mem 0x0000000080000000-0x00000008ffffffff]
[    0.000000] NUMA: NODE_DATA [mem 0x8fe408a80-0x8fe40afff]
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000080000000-0x00000000ffffffff]
[    0.000000]   DMA32    empty
[    0.000000]   Normal   [mem 0x0000000100000000-0x00000008ffffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000080000000-0x00000000fbdfffff]
[    0.000000]   node   0: [mem 0x0000000880000000-0x00000008fbffffff]
[    0.000000]   node   0: [mem 0x00000008fc000000-0x00000008fdffffff]
[    0.000000]   node   0: [mem 0x00000008fe000000-0x00000008febfffff]
[    0.000000]   node   0: [mem 0x00000008fec00000-0x00000008ffffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x00000008ffffffff]
[    0.000000] On node 0, zone Normal: 16896 pages in unavailable ranges
[    0.000000] cma: Reserved 16 MiB at 0x00000000fac00000 on node -1
[    0.000000] percpu: Embedded 20 pages/cpu s44008 r8192 d29720 u81920
[    0.000000] Detected VIPT I-cache on CPU0
[    0.000000] alternatives: applying boot alternatives
[    0.000000] Kernel command line: root=/dev/sda3 rw console=ttyS0,115200 earlycon=uart8250,mmio,0x21c0500
(snip)
[    2.181260] physmap-flash 60000000.nor: physmap platform flash device: [mem 0x60000000-0x67ffffff]
[    2.190287] SError Interrupt on CPU2, code 0x00000000bf000002 -- SError
[    2.190289] fsl-ifc 1530000.memory-controller: transaction sent to IFC is not mapped to any memory bank 0x80000000
[    2.190296] CPU: 2 PID: 1 Comm: swapper/0 Tainted: G   M               6.6.103 #0
[    2.190305] Hardware name: LS1043A RDB Board (DT)

Of course it kernel panics later on, but this is progress!

2 Likes

I have been working on my OpenWrt port for the T40 and finally got it booting with all network interfaces functional:

[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[    0.000000] Linux version 6.12.71 (hmartin@renoir) (aarch64-openwrt-linux-musl-gcc (OpenWrt GCC 14.3.0 r32673-482ba7230a) 14.3.0, GNU ld (GNU Binutils6
[    0.000000] Machine model: WatchGuard T20/T40
[    0.000000] earlycon: uart8250 at MMIO 0x00000000021c0500 (options '')
[    0.000000] printk: legacy bootconsole [uart8250] enabled
[    0.000000] Reserved memory: created DMA memory pool at 0x00000008ff000000, size 16 MiB
[    0.000000] OF: reserved mem: initialized node bman-fbpr, compatible id shared-dma-pool
[    0.000000] OF: reserved mem: 0x00000008ff000000..0x00000008ffffffff (16384 KiB) nomap non-reusable bman-fbpr
[    0.000000] Reserved memory: created DMA memory pool at 0x00000008fec00000, size 4 MiB
[    0.000000] OF: reserved mem: initialized node qman-fqd, compatible id shared-dma-pool
[    0.000000] OF: reserved mem: 0x00000008fec00000..0x00000008feffffff (4096 KiB) nomap non-reusable qman-fqd
[    0.000000] Reserved memory: created DMA memory pool at 0x00000008fc000000, size 32 MiB
[    0.000000] OF: reserved mem: initialized node qman-pfdr, compatible id shared-dma-pool
[    0.000000] OF: reserved mem: 0x00000008fc000000..0x00000008fdffffff (32768 KiB) nomap non-reusable qman-pfdr
[    0.000000] NUMA: Faking a node at [mem 0x0000000080000000-0x00000008ffffffff]
[    0.000000] NODE_DATA(0) allocated [mem 0x8fe413bc0-0x8fe41623f]
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000080000000-0x00000000ffffffff]
[    0.000000]   DMA32    empty
[    0.000000]   Normal   [mem 0x0000000100000000-0x00000008ffffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000080000000-0x00000000fbdfffff]
[    0.000000]   node   0: [mem 0x0000000880000000-0x00000008fbffffff]
[    0.000000]   node   0: [mem 0x00000008fc000000-0x00000008fdffffff]
[    0.000000]   node   0: [mem 0x00000008fe000000-0x00000008febfffff]
[    0.000000]   node   0: [mem 0x00000008fec00000-0x00000008ffffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x00000008ffffffff]
[    0.000000] On node 0, zone Normal: 16896 pages in unavailable ranges
[    0.000000] cma: Reserved 16 MiB at 0x00000000fac00000 on node -1
[    0.000000] percpu: Embedded 21 pages/cpu s49048 r8192 d28776 u86016
[    0.000000] Detected VIPT I-cache on CPU0
[    0.000000] alternatives: applying boot alternatives
[    0.000000] Kernel command line: root=/dev/sda3 rw console=ttyS0,115200 earlycon=uart8250,mmio,0x21c0500
[    0.000000] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes, linear)
[    0.000000] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)
[    0.000000] Fallback order for Node 0: 0 
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 1031680
[    0.000000] Policy zone: Normal
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] software IO TLB: area num 4.
[    0.000000] software IO TLB: mapped [mem 0x00000000f6c00000-0x00000000fac00000] (64MB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] rcu: Preemptible hierarchical RCU implementation.
[    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=64 to nr_cpu_ids=4.
[    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=4
[    0.000000] RCU Tasks: Setting shift to 2 and lim to 1 rcu_task_cb_adjust=1 rcu_task_cpu_ids=4.
[    0.000000] RCU Tasks Trace: Setting shift to 2 and lim to 1 rcu_task_cb_adjust=1 rcu_task_cpu_ids=4.
[    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[    0.000000] GIC: Adjusting CPU interface base to 0x000000000142f000
[    0.000000] Root IRQ handler: gic_handle_irq
[    0.000000] GIC: Using split EOI/Deactivate mode
[    0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[    0.000000] arch_timer: Enabling global workaround for Freescale erratum a005858
[    0.000000] arch_timer: CPU0: Trapping CNTVCT access
[    0.000000] arch_timer: cp15 timer(s) running at 25.00MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x5c40939b5, max_idle_ns: 440795202646 ns
[    0.000001] sched_clock: 56 bits at 25MHz, resolution 40ns, wraps every 4398046511100ns
[    0.008270] Console: colour dummy device 80x25
[    0.014546] Calibrating delay loop (skipped), value calculated using timer frequency.. 50.00 BogoMIPS (lpj=250000)
[    0.024980] pid_max: default: 32768 minimum: 301
[    0.034037] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.041510] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.053785] rcu: Hierarchical SRCU implementation.
[    0.058607] rcu:     Max phase no-delay instances is 1000.
[    0.064122] Timer migration: 1 hierarchy levels; 8 children per group; 1 crossnode level
[    0.072678] smp: Bringing up secondary CPUs ...
[    0.077662] Detected VIPT I-cache on CPU1
[    0.077731] arch_timer: CPU1: Trapping CNTVCT access
[    0.077745] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[    0.078254] Detected VIPT I-cache on CPU2
[    0.078304] arch_timer: CPU2: Trapping CNTVCT access
[    0.078315] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
[    0.078759] Detected VIPT I-cache on CPU3
[    0.078808] arch_timer: CPU3: Trapping CNTVCT access
[    0.078818] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
[    0.078896] smp: Brought up 1 node, 4 CPUs
[    0.129800] SMP: Total of 4 processors activated.
[    0.134532] CPU: All CPU(s) started at EL2
[    0.138658] CPU features: detected: 32-bit EL0 Support
[    0.143828] CPU features: detected: CRC32 instructions
[    0.149046] alternatives: applying system-wide alternatives
[    0.154871] CPU features: emulated: Privileged Access Never (PAN) using TTBR0_EL1 switching
[    0.163503] Memory: 3885036K/4126720K available (12800K kernel code, 1168K rwdata, 3536K rodata, 3776K init, 365K bss, 221668K reserved, 16384K cma-re)
[    0.184185] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.194110] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[    0.201543] 27312 pages in range for non-PLT usage
[    0.201550] 518832 pages in range for PLT usage
[    0.208766] Machine: WatchGuard T20/T40
[    0.217189] SoC family: QorIQ LS1043A
[    0.220871] SoC ID: svr:0x87920011, Revision: 1.1
[    0.229013] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.235830] DMA: preallocated 512 KiB GFP_KERNEL pool for atomic allocations
[    0.243105] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[    0.251143] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[    0.259684] thermal_sys: Registered thermal governor 'step_wise'
[    0.259727] cpuidle: using governor menu
[    0.269828] ASID allocator initialised with 65536 entries
[    0.275752] Serial: AMBA PL011 UART driver
[    0.301504] HugeTLB: registered 1.00 GiB page size, pre-allocated 0 pages
[    0.308346] HugeTLB: 0 KiB vmemmap can be freed for a 1.00 GiB page
[    0.314666] HugeTLB: registered 32.0 MiB page size, pre-allocated 0 pages
[    0.321497] HugeTLB: 0 KiB vmemmap can be freed for a 32.0 MiB page
[    0.327819] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages
[    0.334650] HugeTLB: 0 KiB vmemmap can be freed for a 2.00 MiB page
[    0.340965] HugeTLB: registered 64.0 KiB page size, pre-allocated 0 pages
[    0.347797] HugeTLB: 0 KiB vmemmap can be freed for a 64.0 KiB page
[    0.362700] cryptd: max_cpu_qlen set to 1000
[    0.369481] raid6: skipped pq benchmark and selected neonx8
[    0.375091] raid6: using neon recovery algorithm
[    0.382230] iommu: Default domain type: Passthrough
[    0.387577] SCSI subsystem initialized
[    0.392385] i2c i2c-0: IMX I2C adapter registered
[    0.397179] i2c i2c-0: using dma0chan16 (tx) and dma0chan17 (rx) for DMA transfers
[    0.405018] pps_core: LinuxPPS API ver. 1 registered
[    0.410013] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.419231] PTP clock support registered
[    0.423315] fsl-ifc 1530000.memory-controller: Freescale Integrated Flash Controller
[    0.431144] fsl-ifc 1530000.memory-controller: IFC version 1.4, 8 banks
[    0.438868] vgaarb: loaded
[    0.441877] clocksource: Switched to clocksource arch_sys_counter
[    0.449899] VFS: Disk quotas dquot_6.6.0
[    0.453983] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    0.465926] NET: Registered PF_INET protocol family
[    0.471090] IP idents hash table entries: 65536 (order: 7, 524288 bytes, linear)
[    0.482728] tcp_listen_portaddr_hash hash table entries: 2048 (order: 3, 32768 bytes, linear)
[    0.491380] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.499200] TCP established hash table entries: 32768 (order: 6, 262144 bytes, linear)
[    0.507432] TCP bind hash table entries: 32768 (order: 8, 1048576 bytes, linear)
[    0.515826] TCP: Hash tables configured (established 32768 bind 32768)
[    0.522871] MPTCP token hash table entries: 4096 (order: 5, 98304 bytes, linear)
[    0.530522] UDP hash table entries: 2048 (order: 4, 65536 bytes, linear)
[    0.537368] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes, linear)
[    0.544892] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.550617] PCI: CLS 0 bytes, default 64
[    0.563272] workingset: timestamp_bits=44 max_order=20 bucket_order=0
[    0.576192] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.582806] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.593282] fuse: init (API version 7.41)
[    0.598026] SGI XFS with ACLs, security attributes, realtime, no debug enabled
[    0.610127] xor: measuring software checksum speed
[    0.616473]    8regs           :  2169 MB/sec
[    0.622380]    32regs          :  2155 MB/sec
[    0.628427]    arm64_neon      :  1972 MB/sec
[    0.632816] xor: using function: 8regs (2169 MB/sec)
[    0.637974] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[    0.648620] layerscape-pcie 3400000.pcie: host bridge /soc/pcie@3400000 ranges:
[    0.656026] layerscape-pcie 3400000.pcie:       IO 0x4000010000..0x400001ffff -> 0x0000000000
[    0.664647] layerscape-pcie 3400000.pcie:      MEM 0x4040000000..0x407fffffff -> 0x0040000000
[    0.673278] layerscape-pcie 3400000.pcie: iATU: unroll F, 6 ob, 6 ib, align 4K, limit 4G
[    1.671899] layerscape-pcie 3400000.pcie: Phy link never came up
[    1.678285] layerscape-pcie 3400000.pcie: PCI host bridge to bus 0000:00
[    1.685113] pci_bus 0000:00: root bus resource [bus 00-ff]
[    1.690640] pci_bus 0000:00: root bus resource [io  0x0000-0xffff]
[    1.696873] pci_bus 0000:00: root bus resource [mem 0x4040000000-0x407fffffff] (bus address [0x40000000-0x7fffffff])
[    1.707505] pci 0000:00:00.0: [1957:8080] type 01 class 0x060400 PCIe Root Port
[    1.714890] pci 0000:00:00.0: ROM [mem 0x4040000000-0x40400007ff pref]
[    1.721464] pci 0000:00:00.0: PCI bridge to [bus 01-ff]
[    1.726777] pci 0000:00:00.0: supports D1 D2
[    1.731074] pci 0000:00:00.0: PME# supported from D0 D1 D2 D3hot
[    1.739084] pci 0000:00:00.0: ROM [mem 0x4040000000-0x40400007ff pref]: assigned
[    1.746547] pci 0000:00:00.0: PCI bridge to [bus 01-ff]
[    1.751813] pci_bus 0000:00: resource 4 [io  0x0000-0xffff]
[    1.757430] pci_bus 0000:00: resource 5 [mem 0x4040000000-0x407fffffff]
[    1.764394] pcieport 0000:00:00.0: PME: Signaling with IRQ 33
[    1.770403] pcieport 0000:00:00.0: AER: enabled with IRQ 33
[    1.776712] layerscape-pcie 3500000.pcie: host bridge /soc/pcie@3500000 ranges:
[    1.784109] layerscape-pcie 3500000.pcie:       IO 0x4800010000..0x480001ffff -> 0x0000000000
[    1.792720] layerscape-pcie 3500000.pcie:      MEM 0x4840000000..0x487fffffff -> 0x0040000000
[    1.801359] layerscape-pcie 3500000.pcie: iATU: unroll F, 6 ob, 6 ib, align 4K, limit 4G
[    1.809588] layerscape-pcie 3500000.pcie: PCIe Gen.1 x1 link up
[    1.815744] layerscape-pcie 3500000.pcie: PCI host bridge to bus 0001:00
[    1.822509] pci_bus 0001:00: root bus resource [bus 00-ff]
[    1.828036] pci_bus 0001:00: root bus resource [io  0x10000-0x1ffff] (bus address [0x0000-0xffff])
[    1.837067] pci_bus 0001:00: root bus resource [mem 0x4840000000-0x487fffffff] (bus address [0x40000000-0x7fffffff])
[    1.847699] pci 0001:00:00.0: [1957:8080] type 01 class 0x060400 PCIe Root Port
[    1.855082] pci 0001:00:00.0: ROM [mem 0x4840000000-0x48400007ff pref]
[    1.861657] pci 0001:00:00.0: PCI bridge to [bus 01-ff]
[    1.866926] pci 0001:00:00.0:   bridge window [mem 0x4840100000-0x48404fffff]
[    1.874162] pci 0001:00:00.0: supports D1 D2
[    1.878460] pci 0001:00:00.0: PME# supported from D0 D1 D2 D3hot
[    1.886487] pci 0001:01:00.0: [168c:003c] type 00 class 0x028000 PCIe Endpoint
[    1.893925] pci 0001:01:00.0: BAR 0 [mem 0x4840200000-0x48403fffff 64bit]
[    1.900955] pci 0001:01:00.0: ROM [mem 0x4840400000-0x484040ffff pref]
[    1.907881] pci 0001:01:00.0: supports D1
[    1.911933] pci 0001:01:00.0: PME# supported from D0 D1 D3hot
[    1.931962] pci 0001:00:00.0: bridge window [mem 0x4840000000-0x48402fffff]: assigned
[    1.939852] pci 0001:00:00.0: ROM [mem 0x4840300000-0x48403007ff pref]: assigned
[    1.947357] pci 0001:01:00.0: BAR 0 [mem 0x4840000000-0x48401fffff 64bit]: assigned
[    1.955117] pci 0001:01:00.0: ROM [mem 0x4840200000-0x484020ffff pref]: assigned
[    1.962575] pci 0001:00:00.0: PCI bridge to [bus 01-ff]
[    1.967838] pci 0001:00:00.0:   bridge window [mem 0x4840000000-0x48402fffff]
[    1.975033] pci_bus 0001:00: resource 4 [io  0x10000-0x1ffff]
[    1.980819] pci_bus 0001:00: resource 5 [mem 0x4840000000-0x487fffffff]
[    1.987486] pci_bus 0001:01: resource 1 [mem 0x4840000000-0x48402fffff]
[    1.994483] pcieport 0001:00:00.0: PME: Signaling with IRQ 34
[    2.000641] pcieport 0001:00:00.0: AER: enabled with IRQ 34
[    2.019306] bman_portal 508000000.bman-portal: Portal initialised, cpu 0
[    2.026223] bman_portal 508010000.bman-portal: Portal initialised, cpu 1
[    2.033139] bman_portal 508020000.bman-portal: Portal initialised, cpu 2
[    2.040054] bman_portal 508030000.bman-portal: Portal initialised, cpu 3
[    2.047810] qman_portal 500000000.qman-portal: Portal initialised, cpu 0
[    2.054711] qman_portal 500010000.qman-portal: Portal initialised, cpu 1
[    2.061618] qman_portal 500020000.qman-portal: Portal initialised, cpu 2
[    2.068917] qman_portal 500030000.qman-portal: Portal initialised, cpu 3
[    2.077126] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[    2.085664] printk: legacy console [ttyS0] disabled
[    2.090950] 21c0500.serial: ttyS0 at MMIO 0x21c0500 (irq = 56, base_baud = 18750000) is a 16550A
[    2.099892] printk: legacy console [ttyS0] enabled
[    2.099892] printk: legacy console [ttyS0] enabled
[    2.109514] printk: legacy bootconsole [uart8250] disabled
[    2.109514] printk: legacy bootconsole [uart8250] disabled
[    2.122796] 21c0600.serial: ttyS1 at MMIO 0x21c0600 (irq = 56, base_baud = 18750000) is a 16550A
[    2.132407] 21d0500.serial: ttyS2 at MMIO 0x21d0500 (irq = 57, base_baud = 18750000) is a 16550A
[    2.142232] 21d0600.serial: ttyS3 at MMIO 0x21d0600 (irq = 57, base_baud = 18750000) is a 16550A
[    2.152089] fsl-lpuart 2950000.serial: failed to get alias id, errno -19
[    2.167165] brd: module loaded
[    2.174136] loop: module loaded
[    3.908665] fsl_dpaa_mac 1ae0000.ethernet: FMan MEMAC
[    3.913758] fsl_dpaa_mac 1ae0000.ethernet: FMan MAC address: 00:0b:6b:01:01:01
[    3.921245] fsl_dpaa_mac 1ae2000.ethernet: FMan MEMAC
[    3.926310] fsl_dpaa_mac 1ae2000.ethernet: FMan MAC address: 00:0b:6b:01:01:02
[    3.933766] fsl_dpaa_mac 1ae4000.ethernet: FMan MEMAC
[    3.938822] fsl_dpaa_mac 1ae4000.ethernet: FMan MAC address: 00:0b:6b:01:01:03
[    3.946331] fsl_dpaa_mac 1ae8000.ethernet: FMan MEMAC
[    3.951387] fsl_dpaa_mac 1ae8000.ethernet: FMan MAC address: 00:0b:6b:01:01:05
[    3.958851] fsl_dpaa_mac 1aea000.ethernet: FMan MEMAC
[    3.963917] fsl_dpaa_mac 1aea000.ethernet: FMan MAC address: 00:0b:6b:01:01:06
[    3.974809] fsl_dpaa_mac 1ae0000.ethernet eth0: Probed interface eth0
[    3.984663] fsl_dpaa_mac 1ae2000.ethernet eth1: Probed interface eth1
[    3.994739] fsl_dpaa_mac 1ae4000.ethernet eth2: Probed interface eth2
[    4.004492] fsl_dpaa_mac 1ae8000.ethernet eth3: Probed interface eth3
[    4.014386] fsl_dpaa_mac 1aea000.ethernet eth4: Probed interface eth4
[    4.022210] VFIO - User Level meta-driver version: 0.3
[    4.027624] mousedev: PS/2 mouse device common for all mice
[    4.034323] ftm-alarm 29d0000.rtc: registered as rtc1
[    4.039669] i2c_dev: i2c /dev entries driver
[    4.044722] pca954x 0-0077: probe failed
[    4.048880] ptp_qoriq: device tree node missing required elements, try automatic configuration
[    4.100018] qoriq-cpufreq qoriq-cpufreq: Freescale QorIQ CPU frequency scaling driver
[    4.108454] sdhci: Secure Digital Host Controller Interface driver
[    4.114652] sdhci: Copyright(c) Pierre Ossman
[    4.119009] sdhci-pltfm: SDHCI platform and OF driver helper
[    4.125674] caam 1700000.crypto: Linux CAAM Queue I/F driver initialised
[    4.132439] caam 1700000.crypto: Entropy delay = 3200
[    4.143002] caam 1700000.crypto: Instantiated RNG4 SH0
[    4.148493] caam 1700000.crypto: Instantiated RNG4 SH1
[    4.153662] caam 1700000.crypto: device ID = 0x0a12060000000000 (Era 8)
[    4.157573] mmc0: SDHCI controller on 1560000.mmc [1560000.mmc] using ADMA 64-bit
[    4.160285] caam 1700000.crypto: job rings = 3, qi = 1
[    4.176458] caam algorithms registered in /proc/crypto
[    4.181985] caam 1700000.crypto: caam pkc algorithms registered in /proc/crypto
[    4.189318] caam 1700000.crypto: registering rng-caam
[    4.194637] caam 1700000.crypto: rng crypto API alg registered prng-caam
[    4.202269] caam 1700000.crypto: algorithms registered in /proc/crypto
[    4.205485] random: crng init done
[    4.213928] NET: Registered PF_INET6 protocol family
[    4.220042] Segment Routing with IPv6
[    4.223814] In-situ OAM (IOAM) with IPv6
[    4.227806] NET: Registered PF_PACKET protocol family
[    4.232986] 8021q: 802.1Q VLAN Support v1.8
[    4.255247] Demotion targets for Node 0: null
[    4.261646] Btrfs loaded, zoned=no, fsverity=no
[    4.269169] clk: Disabling unused clocks
[    4.274766] Freeing unused kernel memory: 3776K
[    4.279381] Run /init as init process
[    4.433286] init: Console is alive
[    4.436820] init: - watchdog -
[    4.445396] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    4.461629] usbcore: registered new interface driver usbfs
[    4.467202] usbcore: registered new interface driver hub
[    4.472581] usbcore: registered new device driver usb
[    4.481394] ahci-qoriq 3200000.sata: AHCI vers 0001.0301, 32 command slots, 6 Gbps, platform mode
[    4.490329] ahci-qoriq 3200000.sata: 1/1 ports implemented (port mask 0x1)
[    4.497224] ahci-qoriq 3200000.sata: flags: 64bit ncq sntf pm clo only pmp fbs pio slum part ccc sds apst 
[    4.508117] scsi host0: ahci-qoriq
[    4.511805] ata1: SATA max UDMA/133 mmio [mem 0x03200000-0x0320ffff] port 0x100 irq 68 lpm-pol 0
[    4.833610] ata1: SATA link down (SStatus 0 SControl 300)
[    4.849248] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[    4.854806] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 1
[    4.862564] xhci-hcd xhci-hcd.1.auto: hcc params 0x0220f66d hci version 0x100 quirks 0x0000808002000810
[    4.872037] xhci-hcd xhci-hcd.1.auto: irq 69, io mem 0x02f00000
[    4.878085] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[    4.883590] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 2
[    4.891259] xhci-hcd xhci-hcd.1.auto: Host supports USB 3.0 SuperSpeed
[    4.898298] hub 1-0:1.0: USB hub found
[    4.902086] hub 1-0:1.0: 1 port detected
[    4.906756] hub 2-0:1.0: USB hub found
[    4.910526] hub 2-0:1.0: 1 port detected
[    4.917186] usbcore: registered new interface driver usb-storage
[    4.923419] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    4.934501] init: - preinit -
[    5.201795] fsl_dpaa_mac 1ae0000.ethernet eth0: PHY [0x0000000001afc000:04] driver [Generic PHY] (irq=POLL)
[    5.211703] fsl_dpaa_mac 1ae0000.ethernet eth0: configuring for inband/qsgmii link mode
Press the [f] key and hit [enter] to enter failsafe mode
Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level
[    8.323090] fsl_dpaa_mac 1ae0000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[    9.492106] fsl_dpaa_mac 1ae0000.ethernet eth0: Link is Down
[    9.706124] procd: - early -
[    9.709090] procd: - watchdog -
[   10.262256] procd: - watchdog -
[   10.265723] procd: - ubus -
[   10.420660] procd: - init -
Please press Enter to activate this console.
[   10.656573] kmodloader: loading kernel modules from /etc/modules.d/*
[   10.698116] PPP generic driver version 2.4.2
[   10.703641] NET: Registered PF_PPPOX protocol family
[   10.711716] kmodloader: done loading kernel modules from /etc/modules.d/*
[   10.914787] urngd: v1.0.2 started.
[   16.208681] fsl_dpaa_mac 1ae0000.ethernet eth0: PHY [0x0000000001afc000:04] driver [Generic PHY] (irq=POLL)
[   16.221109] fsl_dpaa_mac 1ae0000.ethernet eth0: configuring for inband/qsgmii link mode
[   16.231448] br-lan: port 1(eth0) entered blocking state
[   16.237290] br-lan: port 1(eth0) entered disabled state
[   16.242596] fsl_dpaa_mac 1ae0000.ethernet eth0: entered allmulticast mode
[   16.249647] fsl_dpaa_mac 1ae0000.ethernet eth0: entered promiscuous mode
[   16.266054] fsl_dpaa_mac 1ae2000.ethernet eth1: PHY [0x0000000001afc000:05] driver [Generic PHY] (irq=POLL)
[   16.275951] fsl_dpaa_mac 1ae2000.ethernet eth1: configuring for inband/qsgmii link mode
[   16.286971] br-lan: port 2(eth1) entered blocking state
[   16.292422] br-lan: port 2(eth1) entered disabled state
[   16.297693] fsl_dpaa_mac 1ae2000.ethernet eth1: entered allmulticast mode
[   16.305023] fsl_dpaa_mac 1ae2000.ethernet eth1: entered promiscuous mode
[   16.316210] fsl_dpaa_mac 1ae8000.ethernet eth3: PHY [0x0000000001afc000:06] driver [Generic PHY] (irq=POLL)
[   16.326027] fsl_dpaa_mac 1ae8000.ethernet eth3: configuring for inband/qsgmii link mode
[   16.335965] br-lan: port 3(eth3) entered blocking state
[   16.341234] br-lan: port 3(eth3) entered disabled state
[   16.346604] fsl_dpaa_mac 1ae8000.ethernet eth3: entered allmulticast mode
[   16.354119] fsl_dpaa_mac 1ae8000.ethernet eth3: entered promiscuous mode
[   16.365490] fsl_dpaa_mac 1aea000.ethernet eth4: PHY [0x0000000001afc000:07] driver [Generic PHY] (irq=POLL)
[   16.375402] fsl_dpaa_mac 1aea000.ethernet eth4: configuring for inband/qsgmii link mode
[   16.385642] br-lan: port 4(eth4) entered blocking state
[   16.390903] br-lan: port 4(eth4) entered disabled state
[   16.396470] fsl_dpaa_mac 1aea000.ethernet eth4: entered allmulticast mode
[   16.403641] fsl_dpaa_mac 1aea000.ethernet eth4: entered promiscuous mode
[   16.416873] fsl_dpaa_mac 1ae4000.ethernet eth2: PHY [0x0000000001afd000:01] driver [Generic PHY] (irq=POLL)
[   16.426685] fsl_dpaa_mac 1ae4000.ethernet eth2: configuring for phy/rgmii-txid link mode
[   19.363072] fsl_dpaa_mac 1ae0000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[   19.363139] br-lan: port 1(eth0) entered blocking state
[   19.376815] br-lan: port 1(eth0) entered forwarding state

I only today found out about @shadow578 blog posts on this device, really insightful! I will try to prepare a PR for the T40 soon (if @shadow578 doesn’t beat me to it).

4 Likes