OpenWrt on 21.02 on WNDR4700 not boot with SSD

Hi, I upgrade my Netgear WNDR4700 from 19.07 to 21.20 but the router don´t boot if my Crucial MX300 disk is inserted. Without disk boot is fine. Here is some log, maybe somebody could me explain what is wrong.

With disk the log:

Auto calibration ---

U-Boot 2009.08 (Jul 03 2012 - 13:04:31)

CPU:   AMCC PowerPC APM82181 Rev. E at 1000 MHz (PLB=166, OPB=83, EBC=83 MHz)
       Security support
       Bootstrap Option D - Boot ROM Location NAND wo/ECC 2k page (8 bits), booting from NAND
       32 kB I-Cache 32 kB D-Cache
DNI HW ID: 29763875 NAND flash 128MB RAM 256MB U-Boot 2009.08 dni1 V1.4
Board: AMCC APM82181 Evaluation Board, PCIE0/SATA1, 1*USB OTG
I2C:   ready
DRAM:  256 MB (ECC not enabled, 500 Mb/s, 32-bit, CL3)
NAND:  128 MiB
*** Warning - bad CRC, using default environment

Configure Max Payload 256B
PCIE0: successfully set as root-complex
        03  00  168c  0030  0280  ff
        02  02  111d  803a  0604  00
        04  00  168c  0033  0280  ff
        02  03  111d  803a  0604  00
        02  04  111d  803a  0604  00
        01  00  111d  803a  0604  00
 131072 bytes read: OK
Net:   ppc_4xx_eth0
AR8327 GigaSW initialize...done
ENET Speed is 1000 Mbps - FULL duplex connection (EMAC0)

 Client starts...[Listening] for ADVERTISE...TTT
Retry count exceeded; boot the image as usual

 nmrp server is stopped or failed !

Type run flash_nfs to mount root filesystem over NFS

Hit any key to stop autoboot:  0

Loading from device 0: NAND 128MiB 3,3V 8-bit (offset 0x180000)

** check device-tree image **
   Verifying Checksum ... OK

** check kernel image **
   Verifying Checksum ... OK

** check rootfs image **
   Verifying Checksum ... OK

NAND read: device 0 offset 0x180000, size 0x20000
 131072 bytes read: OK
## Booting kernel from Legacy Image at 00500000 ...
   Image Name:   POWERPC OpenWrt Linux-5.4.154
   Image Type:   PowerPC Linux Kernel Image (lzma compressed)
   Data Size:    2770341 Bytes =  2.6 MB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 00800040
   Booting using the fdt blob at 0x800040
   Uncompressing Kernel Image ... OK
[    0.000000] Linux version 5.4.154 (builder@buildhost) (gcc version 8.4.0 (OpenWrt GCC 8.4.0 r16325-88151b8303)) #0 Sun Oct 24 09:01:35 2021
[    0.000000] Using PowerPC 44x Platform machine description
[    0.000000] -----------------------------------------------------
[    0.000000] phys_mem_size     = 0x10000000
[    0.000000] dcache_bsize      = 0x20
[    0.000000] icache_bsize      = 0x20
[    0.000000] cpu_features      = 0x0000000000000120
[    0.000000]   possible        = 0x0000000040000120
[    0.000000]   always          = 0x0000000000000120
[    0.000000] cpu_user_features = 0x8c008000 0x00000000
[    0.000000] mmu_features      = 0x00000008
[    0.000000] -----------------------------------------------------
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x000000000fffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x000000000fffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000000fffffff]
[    0.000000] MMU: Allocated 1088 bytes of context maps for 255 contexts
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 64960
[    0.000000] Kernel command line: rootfstype=squashfs noinitrd
[    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes, linear)
[    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 251868K/262144K available (6228K kernel code, 232K rwdata, 760K rodata, 176K init, 237K bss, 10276K reserved, 0K cma-reserved)
[    0.000000] Kernel virtual memory layout:
[    0.000000]   * 0xfffdf000..0xfffff000  : fixmap
[    0.000000]   * 0xd1000000..0xfffdf000  : vmalloc & ioremap
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS: 512, nr_irqs: 512, preallocated irqs: 16
[    0.000000] UIC0 (32 IRQ sources) at DCR 0xc0
[    0.000000] UIC1 (32 IRQ sources) at DCR 0xd0
[    0.000000] UIC2 (32 IRQ sources) at DCR 0xe0
[    0.000000] UIC3 (32 IRQ sources) at DCR 0xf0
[    0.000000] random: get_random_u32 called from 0xc06d59e4 with crng_init=0
[    0.000017] clocksource: timebase: mask: 0xffffffffffffffff max_cycles: 0x1cd42e4dffb, max_idle_ns: 881590591483 ns
[    0.000027] clocksource: timebase mult[800000] shift[23] registered
[    0.000089] pid_max: default: 32768 minimum: 301
[    0.000221] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.000238] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.004651] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.004680] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
[    0.005297] NET: Registered protocol family 16
[    0.005786] DMA: preallocated 256 KiB pool for atomic allocations
[    0.006484] 256k L2-cache enabled
[    0.006616] PCIE0: Checking link...
[    0.006620] PCIE0: Device detected, waiting for link...
[    0.006624] PCIE0: link is up !
[    0.113002] PCI host bridge /plb/pciex@d00000000 (primary) ranges:
[    0.113038]  MEM 0x0000000e00000000..0x0000000e7fffffff -> 0x0000000080000000
[    0.113052]  MEM 0x0000000f00000000..0x0000000f000fffff -> 0x0000000000000000
[    0.113061]   IO 0x0000000f80000000..0x0000000f8000ffff -> 0x0000000000000000
[    0.113084] 4xx PCI DMA offset set to 0x00000000
[    0.113088] 4xx PCI DMA window base to 0x0000000000000000
[    0.113092] DMA window size 0x0000000080000000
[    0.113114] PCIE0: successfully set as root-complex
[    0.113772] PCI: Probing PCI hardware
[    0.113889] PCI host bridge to bus 0000:40
[    0.113907] pci_bus 0000:40: root bus resource [io  0x0000-0xffff]
[    0.113918] pci_bus 0000:40: root bus resource [mem 0xe00000000-0xe7fffffff] (bus address [0x80000000-0xffffffff])
[    0.113928] pci_bus 0000:40: root bus resource [mem 0xf00000000-0xf000fffff] (bus address [0x00000000-0x000fffff])
[    0.113937] pci_bus 0000:40: root bus resource [bus 40-ff]
[    0.113948] pci_bus 0000:40: busn_res: [bus 40-ff] end is updated to ff
[    0.113985] pci 0000:40:00.0: [aaa0:bed0] type 01 class 0x060400
[    0.114023] pci 0000:40:00.0: reg 0x10: [mem 0x00000000-0x7fffffff pref]
[    0.114059] PCI: Hiding 4xx host bridge resources 0000:40:00.0
[    0.115365] pci 0000:41:00.0: [111d:803a] type 01 class 0x060400
[    0.115440] pci 0000:41:00.0: Max Payload Size set to 256 (was 128, max 256)
[    0.115450] pci 0000:41:00.0: enabling Extended Tags
[    0.115533] pci 0000:41:00.0: PME# supported from D0 D3hot D3cold
[    0.116644] pci 0000:40:00.0: PCI bridge to [bus 41-7f]
[    0.116663] pci 0000:40:00.0:   bridge window [io  0x0000-0x0fff]
[    0.116673] pci 0000:40:00.0:   bridge window [mem 0xe30000000-0xe301fffff]
[    0.116698] pci 0000:41:00.0: bridge configuration invalid ([bus 02-05]), reconfiguring
[    0.116939] pci 0000:42:02.0: [111d:803a] type 01 class 0x060400
[    0.117017] pci 0000:42:02.0: Max Payload Size set to 256 (was 128, max 256)
[    0.117026] pci 0000:42:02.0: enabling Extended Tags
[    0.117118] pci 0000:42:02.0: PME# supported from D0 D3hot D3cold
[    0.117374] pci 0000:42:03.0: [111d:803a] type 01 class 0x060400
[    0.117451] pci 0000:42:03.0: Max Payload Size set to 256 (was 128, max 256)
[    0.117460] pci 0000:42:03.0: enabling Extended Tags
[    0.117549] pci 0000:42:03.0: PME# supported from D0 D3hot D3cold
[    0.117799] pci 0000:42:04.0: [111d:803a] type 01 class 0x060400
[    0.117877] pci 0000:42:04.0: Max Payload Size set to 256 (was 128, max 256)
[    0.117887] pci 0000:42:04.0: enabling Extended Tags
[    0.117976] pci 0000:42:04.0: PME# supported from D0 D3hot D3cold
[    0.118984] pci 0000:41:00.0: PCI bridge to [bus 42-7f]
[    0.119006] pci 0000:41:00.0:   bridge window [mem 0xe30000000-0xe301fffff]
[    0.119045] pci 0000:42:02.0: bridge configuration invalid ([bus 03-03]), reconfiguring
[    0.119060] pci 0000:42:03.0: bridge configuration invalid ([bus 04-04]), reconfiguring
[    0.119073] pci 0000:42:04.0: bridge configuration invalid ([bus 05-05]), reconfiguring
[    0.119242] pci 0000:43:00.0: [168c:0030] type 00 class 0x028000
[    0.119296] pci 0000:43:00.0: reg 0x10: [mem 0xe30000000-0xe3001ffff 64bit]
[    0.119354] pci 0000:43:00.0: reg 0x30: [mem 0xf00000000-0xf0000ffff pref]
[    0.119371] pci 0000:43:00.0: can't set Max Payload Size to 256; if necessary, use "pci=pcie_bus_safe" and report a bug
[    0.119480] pci 0000:43:00.0: supports D1
[    0.119487] pci 0000:43:00.0: PME# supported from D0 D1 D3hot
[    0.120605] pci 0000:42:02.0: PCI bridge to [bus 43-7f]
[    0.120631] pci 0000:42:02.0:   bridge window [mem 0xe30000000-0xe300fffff]
[    0.120736] pci_bus 0000:43: busn_res: [bus 43-7f] end is updated to 43
[    0.120924] pci 0000:44:00.0: [168c:0033] type 00 class 0x028000
[    0.120984] pci 0000:44:00.0: reg 0x10: [mem 0xe30100000-0xe3011ffff 64bit]
[    0.121044] pci 0000:44:00.0: reg 0x30: [mem 0xf00000000-0xf0000ffff pref]
[    0.121061] pci 0000:44:00.0: can't set Max Payload Size to 256; if necessary, use "pci=pcie_bus_safe" and report a bug
[    0.121174] pci 0000:44:00.0: supports D1
[    0.121182] pci 0000:44:00.0: PME# supported from D0 D1 D3hot
[    0.122286] pci 0000:42:03.0: PCI bridge to [bus 44-7f]
[    0.122309] pci 0000:42:03.0:   bridge window [mem 0xe30100000-0xe301fffff]
[    0.122403] pci_bus 0000:44: busn_res: [bus 44-7f] end is updated to 44
[    0.123450] pci 0000:42:04.0: PCI bridge to [bus 45-7f]
[    0.123481] pci_bus 0000:45: busn_res: [bus 45-7f] end is updated to 45
[    0.123493] pci_bus 0000:42: busn_res: [bus 42-7f] end is updated to 45
[    0.123514] pci_bus 0000:40: busn_res: [bus 40-ff] end is updated to 7f
[    0.123570] pci 0000:40:00.0: disabling bridge window [io  0x0000-0xffffffffffffffff] to [bus 41-7f] (unused)
[    0.123594] pci 0000:40:00.0: BAR 8: assigned [mem 0xe00000000-0xe001fffff]
[    0.123609] pci 0000:41:00.0: BAR 8: assigned [mem 0xe00000000-0xe001fffff]
[    0.123620] pci 0000:42:02.0: BAR 8: assigned [mem 0xe00000000-0xe000fffff]
[    0.123630] pci 0000:42:03.0: BAR 8: assigned [mem 0xe00100000-0xe001fffff]
[    0.123642] pci 0000:43:00.0: BAR 0: assigned [mem 0xe00000000-0xe0001ffff 64bit]
[    0.123663] pci 0000:43:00.0: BAR 6: assigned [mem 0xe00020000-0xe0002ffff pref]
[    0.123672] pci 0000:42:02.0: PCI bridge to [bus 43]
[    0.123683] pci 0000:42:02.0:   bridge window [mem 0xe00000000-0xe000fffff]
[    0.123698] pci 0000:44:00.0: BAR 0: assigned [mem 0xe00100000-0xe0011ffff 64bit]
[    0.123717] pci 0000:44:00.0: BAR 6: assigned [mem 0xe00120000-0xe0012ffff pref]
[    0.123725] pci 0000:42:03.0: PCI bridge to [bus 44]
[    0.123734] pci 0000:42:03.0:   bridge window [mem 0xe00100000-0xe001fffff]
[    0.123746] pci 0000:42:04.0: PCI bridge to [bus 45]
[    0.123760] pci 0000:41:00.0: PCI bridge to [bus 42-45]
[    0.123770] pci 0000:41:00.0:   bridge window [mem 0xe00000000-0xe001fffff]
[    0.123781] pci 0000:40:00.0: PCI bridge to [bus 41-7f]
[    0.123789] pci 0000:40:00.0:   bridge window [mem 0xe00000000-0xe001fffff]
[    0.123800] pci_bus 0000:40: resource 4 [io  0x0000-0xffff]
[    0.123808] pci_bus 0000:40: resource 5 [mem 0xe00000000-0xe7fffffff]
[    0.123815] pci_bus 0000:40: resource 6 [mem 0xf00000000-0xf000fffff]
[    0.123823] pci_bus 0000:41: resource 1 [mem 0xe00000000-0xe001fffff]
[    0.123831] pci_bus 0000:42: resource 1 [mem 0xe00000000-0xe001fffff]
[    0.123839] pci_bus 0000:43: resource 1 [mem 0xe00000000-0xe000fffff]
[    0.123846] pci_bus 0000:44: resource 1 [mem 0xe00100000-0xe001fffff]
[    0.136981] SCSI subsystem initialized
[    0.137761] workqueue: max_active 576 requested for napi_workq is out of range, clamping between 1 and 512
[    0.140046] clocksource: Switched to clocksource timebase
[    0.140755] thermal_sys: Registered thermal governor 'step_wise'
[    0.141164] NET: Registered protocol family 2
[    0.141270] IP idents hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    0.141714] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[    0.141741] TCP established hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.141763] TCP bind hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.141783] TCP: Hash tables configured (established 2048 bind 2048)
[    0.141871] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.141893] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.142046] NET: Registered protocol family 1
[    0.142139] PCI: CLS 32 bytes, default 32
[    0.145525] dw_dmac 4bffd0800.dma: DesignWare DMA Controller, 2 channels
[    0.151499] workingset: timestamp_bits=14 max_order=16 bucket_order=2
[    0.155457] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.210872] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
[    0.211858] pcie_pme: probe of 0000:40:00.0:pcie001 failed with error -22
[    0.211972] pcieport 0000:40:00.0: AER: request AER IRQ 0 failed
[    0.211989] aer: probe of 0000:40:00.0:pcie002 failed with error -22
[    0.212931] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    0.214810] printk: console [ttyS0] disabled
[    0.214869] 4ef600300.serial: ttyS0 at MMIO 0x4ef600300 (irq = 35, base_baud = 347222) is a TI16750
[    1.224225] printk: console [ttyS0] enabled
[    1.228841] Loading iSCSI transport class v2.0-870.
[    1.235272] sata-dwc 4bffd1800.sata: id 0, controller version 1.91
[    1.242501] scsi host0: sata-dwc
[    1.246027] ata1: SATA max UDMA/133 irq 43
[    1.251373] nand: device found, Manufacturer ID: 0xad, Chip ID: 0xf1
[    1.257745] nand: Hynix H27U1G8F2BTR-BC
[    1.261573] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    1.269135] Scanning device for bad blocks
[    1.336240] 12 fixed-partitions partitions found on MTD device 4e4000000.ndfc.nand
[    1.343805] Creating 12 MTD partitions on "4e4000000.ndfc.nand":
[    1.349807] 0x000000000000-0x000008000000 : "NAND 128MiB 3,3V 8-bit"
[    1.357605] 0x000000000000-0x000000180000 : "uboot"
[    1.363072] 0x000000180000-0x0000001a0000 : "device-tree"
[    1.369028] 0x000000180000-0x000000500000 : "kernel"
[    1.374591] 0x000000500000-0x0000019e0000 : "ubi"
[    1.379989] 0x0000019e0000-0x000001a60000 : "config"
[    1.385525] 0x000001a60000-0x000001ae0000 : "pot"
[    1.390808] 0x000001ae0000-0x000001de0000 : "traffic_meter"
[    1.396974] 0x000001de0000-0x000001fa0000 : "language"
[    1.402696] 0x000001fa0000-0x000007fc0000 : "ecos"
[    1.408646] 0x000007fc0000-0x000008000000 : "wifi_data"
[    1.414442] 0x000000180000-0x0000019e0000 : "firmware"
[    1.420797] libphy: Fixed MDIO Bus: probed
[    1.424908] PPC 4xx OCP EMAC driver, version 3.54
[    1.430030] MAL v2 /plb/mcmal, 1 TX channels, 1 RX channels
[    1.435799] RGMII /plb/opb/emac-rgmii@ef601500 initialized with MDIO support
[    1.442985] TAH /plb/opb/emac-tah@ef601350 initialized
[    1.448408] /plb/opb/emac-rgmii@ef601500: input 0 in rgmii mode
[    1.454452] libphy: emac_mdio: probed
[    1.466188] switch0: Atheros AR8327 rev. 4 switch registered on 4ef600c00.ethernet
[    1.586308] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[    1.594796] ata1.00: supports DRM functions and may not be fully accessible
[    1.601752] ata1.00: ATA-10: Crucial_CT750MX300SSD1,  M0CR011, max UDMA/133
[    1.608699] ata1.00: 1465149168 sectors, multi 16: LBA48 NCQ (depth 1/32)
[    1.616105] sata-dwc 4bffd1800.sata: sata_dwc_clear_dmacr DMA protocol RX and TX DMA not pending tag=0x20 pending=-812518712 dmacr: 0x00000006
[    1.628867] BUG: Kernel NULL pointer dereference at 0x00000000
[    1.634673] Faulting instruction address: 0xc03aa898
[    1.639617] Oops: Kernel access of bad area, sig: 11 [#1]
[    1.644991] BE PAGE_SIZE=4K PowerPC 44x Platform
[    1.649585] Modules linked in:
[    1.652632] CPU: 0 PID: 365 Comm: scsi_eh_0 Not tainted 5.4.154 #0
[    1.658780] NIP:  c03aa898 LR: c038fb9c CTR: c03aa74c
[    1.663808] REGS: cfb19a00 TRAP: 0300   Not tainted  (5.4.154)
[    1.669612] MSR:  00021000 <CE,ME>  CR: 48000222  XER: 00000000
[    1.675505] DEAR: 00000000 ESR: 00000000
[    1.675505] GPR00: c038fb9c cfb19ab8 cfa3a640 00000000 0f87ebc0 fc3f0000 00000002 00000010
[    1.675505] GPR08: 00000002 00000004 00000010 bffd1c00 ffffffff 00000000 c03a4220 00000047
[    1.675505] GPR16: fafbfcfd 00000000 00000000 00029000 cfb19bc8 cf87d7b0 00000000 00000000
[    1.675505] GPR24: 00000000 cf87dbc0 cfa06980 00000000 cf87c000 00000000 cfafb800 cf87d7b0
[    1.712709] Call Trace:
[    1.715149] [cfb19ab8] [c0323b14] 0xc0323b14 (unreliable)
[    1.720521] [cfb19b28] [c038fb9c] 0xc038fb9c
[    1.724771] [cfb19b48] [c038fef0] 0xc038fef0
[    1.729023] [cfb19bb8] [c039024c] 0xc039024c
[    1.733273] [cfb19c08] [c03904b0] 0xc03904b0
[    1.737524] [cfb19c78] [c0390544] 0xc0390544
[    1.741775] [cfb19c98] [c03905cc] 0xc03905cc
[    1.746026] [cfb19cb8] [c0391d78] 0xc0391d78
[    1.750277] [cfb19d88] [c03a0b64] 0xc03a0b64
[    1.754528] [cfb19e18] [c03a1f34] 0xc03a1f34
[    1.758779] [cfb19e48] [c03a1a08] 0xc03a1a08
[    1.763030] [cfb19e78] [c03a1ea8] 0xc03a1ea8
[    1.767280] [cfb19ea8] [c037019c] 0xc037019c
[    1.771532] [cfb19ef8] [c004378c] 0xc004378c
[    1.775782] [cfb19f38] [c000c22c] 0xc000c22c
[    1.780032] Instruction dump:
[    1.782990] 419e00f4 91410028 9161002c 99210048 39200004 807e0104 39400010 90c10018
[    1.790702] 91410038 9141003c 91210030 91210034 <81230000> 81290098 2f890000 419e0018
[    1.798598] ---[ end trace 4799eec1398820ac ]---
[    1.803195]
[    2.804714] Kernel panic - not syncing: Fatal exception
[    2.809915] Rebooting in 1 seconds..

and without disk logs:


Auto calibration ---

U-Boot 2009.08 (Jul 03 2012 - 13:04:31)

CPU:   AMCC PowerPC APM82181 Rev. E at 1000 MHz (PLB=166, OPB=83, EBC=83 MHz)
       Security support
       Bootstrap Option D - Boot ROM Location NAND wo/ECC 2k page (8 bits), booting from NAND
       32 kB I-Cache 32 kB D-Cache
DNI HW ID: 29763875 NAND flash 128MB RAM 256MB U-Boot 2009.08 dni1 V1.4
Board: AMCC APM82181 Evaluation Board, PCIE0/SATA1, 1*USB OTG
I2C:   ready
DRAM:  256 MB (ECC not enabled, 500 Mb/s, 32-bit, CL3)
NAND:  128 MiB
*** Warning - bad CRC, using default environment

Configure Max Payload 256B
PCIE0: successfully set as root-complex
        03  00  168c  0030  0280  ff
        02  02  111d  803a  0604  00
        04  00  168c  0033  0280  ff
        02  03  111d  803a  0604  00
        05  00  1912  0015  0c03  00
        02  04  111d  803a  0604  00
        01  00  111d  803a  0604  00
 131072 bytes read: OK
Net:   ppc_4xx_eth0
AR8327 GigaSW initialize...done
ENET Speed is 1000 Mbps - FULL duplex connection (EMAC0)

 Client starts...[Listening] for ADVERTISE...TTT
Retry count exceeded; boot the image as usual

 nmrp server is stopped or failed !

Type run flash_nfs to mount root filesystem over NFS

Hit any key to stop autoboot:  0

Loading from device 0: NAND 128MiB 3,3V 8-bit (offset 0x180000)

** check device-tree image **
   Verifying Checksum ... OK

** check kernel image **
   Verifying Checksum ... OK

** check rootfs image **
   Verifying Checksum ... OK

NAND read: device 0 offset 0x180000, size 0x20000
 131072 bytes read: OK
## Booting kernel from Legacy Image at 00500000 ...
   Image Name:   POWERPC OpenWrt Linux-5.4.154
   Image Type:   PowerPC Linux Kernel Image (lzma compressed)
   Data Size:    2770341 Bytes =  2.6 MB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 00800040
   Booting using the fdt blob at 0x800040
   Uncompressing Kernel Image ... OK
[    0.000000] Linux version 5.4.154 (builder@buildhost) (gcc version 8.4.0 (OpenWrt GCC 8.4.0 r16325-88151b8303)) #0 Sun Oct 24 09:01:35 2021
[    0.000000] Using PowerPC 44x Platform machine description
[    0.000000] -----------------------------------------------------
[    0.000000] phys_mem_size     = 0x10000000
[    0.000000] dcache_bsize      = 0x20
[    0.000000] icache_bsize      = 0x20
[    0.000000] cpu_features      = 0x0000000000000120
[    0.000000]   possible        = 0x0000000040000120
[    0.000000]   always          = 0x0000000000000120
[    0.000000] cpu_user_features = 0x8c008000 0x00000000
[    0.000000] mmu_features      = 0x00000008
[    0.000000] -----------------------------------------------------
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x000000000fffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x000000000fffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000000fffffff]
[    0.000000] MMU: Allocated 1088 bytes of context maps for 255 contexts
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 64960
[    0.000000] Kernel command line: rootfstype=squashfs noinitrd
[    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes, linear)
[    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 251868K/262144K available (6228K kernel code, 232K rwdata, 760K rodata, 176K init, 237K bss, 10276K reserved, 0K cma-reserved)
[    0.000000] Kernel virtual memory layout:
[    0.000000]   * 0xfffdf000..0xfffff000  : fixmap
[    0.000000]   * 0xd1000000..0xfffdf000  : vmalloc & ioremap
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS: 512, nr_irqs: 512, preallocated irqs: 16
[    0.000000] UIC0 (32 IRQ sources) at DCR 0xc0
[    0.000000] UIC1 (32 IRQ sources) at DCR 0xd0
[    0.000000] UIC2 (32 IRQ sources) at DCR 0xe0
[    0.000000] UIC3 (32 IRQ sources) at DCR 0xf0
[    0.000000] random: get_random_u32 called from 0xc06d59e4 with crng_init=0
[    0.000017] clocksource: timebase: mask: 0xffffffffffffffff max_cycles: 0x1cd42e4dffb, max_idle_ns: 881590591483 ns
[    0.000028] clocksource: timebase mult[800000] shift[23] registered
[    0.000091] pid_max: default: 32768 minimum: 301
[    0.000222] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.000239] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.004654] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.004682] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
[    0.005298] NET: Registered protocol family 16
[    0.005786] DMA: preallocated 256 KiB pool for atomic allocations
[    0.006485] 256k L2-cache enabled
[    0.006616] PCIE0: Checking link...
[    0.006621] PCIE0: Device detected, waiting for link...
[    0.006625] PCIE0: link is up !
[    0.113002] PCI host bridge /plb/pciex@d00000000 (primary) ranges:
[    0.113038]  MEM 0x0000000e00000000..0x0000000e7fffffff -> 0x0000000080000000
[    0.113052]  MEM 0x0000000f00000000..0x0000000f000fffff -> 0x0000000000000000
[    0.113062]   IO 0x0000000f80000000..0x0000000f8000ffff -> 0x0000000000000000
[    0.113084] 4xx PCI DMA offset set to 0x00000000
[    0.113088] 4xx PCI DMA window base to 0x0000000000000000
[    0.113092] DMA window size 0x0000000080000000
[    0.113114] PCIE0: successfully set as root-complex
[    0.113771] PCI: Probing PCI hardware
[    0.113888] PCI host bridge to bus 0000:40
[    0.113906] pci_bus 0000:40: root bus resource [io  0x0000-0xffff]
[    0.113917] pci_bus 0000:40: root bus resource [mem 0xe00000000-0xe7fffffff] (bus address [0x80000000-0xffffffff])
[    0.113927] pci_bus 0000:40: root bus resource [mem 0xf00000000-0xf000fffff] (bus address [0x00000000-0x000fffff])
[    0.113936] pci_bus 0000:40: root bus resource [bus 40-ff]
[    0.113947] pci_bus 0000:40: busn_res: [bus 40-ff] end is updated to ff
[    0.113985] pci 0000:40:00.0: [aaa0:bed0] type 01 class 0x060400
[    0.114022] pci 0000:40:00.0: reg 0x10: [mem 0x00000000-0x7fffffff pref]
[    0.114058] PCI: Hiding 4xx host bridge resources 0000:40:00.0
[    0.115363] pci 0000:41:00.0: [111d:803a] type 01 class 0x060400
[    0.115438] pci 0000:41:00.0: Max Payload Size set to 256 (was 128, max 256)
[    0.115448] pci 0000:41:00.0: enabling Extended Tags
[    0.115531] pci 0000:41:00.0: PME# supported from D0 D3hot D3cold
[    0.116642] pci 0000:40:00.0: PCI bridge to [bus 41-7f]
[    0.116661] pci 0000:40:00.0:   bridge window [io  0x0000-0x0fff]
[    0.116671] pci 0000:40:00.0:   bridge window [mem 0xe30000000-0xe302fffff]
[    0.116696] pci 0000:41:00.0: bridge configuration invalid ([bus 02-05]), reconfiguring
[    0.116937] pci 0000:42:02.0: [111d:803a] type 01 class 0x060400
[    0.117014] pci 0000:42:02.0: Max Payload Size set to 256 (was 128, max 256)
[    0.117024] pci 0000:42:02.0: enabling Extended Tags
[    0.117116] pci 0000:42:02.0: PME# supported from D0 D3hot D3cold
[    0.117371] pci 0000:42:03.0: [111d:803a] type 01 class 0x060400
[    0.117448] pci 0000:42:03.0: Max Payload Size set to 256 (was 128, max 256)
[    0.117458] pci 0000:42:03.0: enabling Extended Tags
[    0.117546] pci 0000:42:03.0: PME# supported from D0 D3hot D3cold
[    0.117797] pci 0000:42:04.0: [111d:803a] type 01 class 0x060400
[    0.117875] pci 0000:42:04.0: Max Payload Size set to 256 (was 128, max 256)
[    0.117884] pci 0000:42:04.0: enabling Extended Tags
[    0.117973] pci 0000:42:04.0: PME# supported from D0 D3hot D3cold
[    0.118982] pci 0000:41:00.0: PCI bridge to [bus 42-7f]
[    0.119004] pci 0000:41:00.0:   bridge window [mem 0xe30000000-0xe302fffff]
[    0.119042] pci 0000:42:02.0: bridge configuration invalid ([bus 03-03]), reconfiguring
[    0.119057] pci 0000:42:03.0: bridge configuration invalid ([bus 04-04]), reconfiguring
[    0.119070] pci 0000:42:04.0: bridge configuration invalid ([bus 05-05]), reconfiguring
[    0.119239] pci 0000:43:00.0: [168c:0030] type 00 class 0x028000
[    0.119293] pci 0000:43:00.0: reg 0x10: [mem 0xe30000000-0xe3001ffff 64bit]
[    0.119352] pci 0000:43:00.0: reg 0x30: [mem 0xf00000000-0xf0000ffff pref]
[    0.119368] pci 0000:43:00.0: can't set Max Payload Size to 256; if necessary, use "pci=pcie_bus_safe" and report a bug
[    0.119477] pci 0000:43:00.0: supports D1
[    0.119485] pci 0000:43:00.0: PME# supported from D0 D1 D3hot
[    0.120604] pci 0000:42:02.0: PCI bridge to [bus 43-7f]
[    0.120630] pci 0000:42:02.0:   bridge window [mem 0xe30000000-0xe300fffff]
[    0.120734] pci_bus 0000:43: busn_res: [bus 43-7f] end is updated to 43
[    0.120923] pci 0000:44:00.0: [168c:0033] type 00 class 0x028000
[    0.120983] pci 0000:44:00.0: reg 0x10: [mem 0xe30100000-0xe3011ffff 64bit]
[    0.121043] pci 0000:44:00.0: reg 0x30: [mem 0xf00000000-0xf0000ffff pref]
[    0.121059] pci 0000:44:00.0: can't set Max Payload Size to 256; if necessary, use "pci=pcie_bus_safe" and report a bug
[    0.121173] pci 0000:44:00.0: supports D1
[    0.121180] pci 0000:44:00.0: PME# supported from D0 D1 D3hot
[    0.122284] pci 0000:42:03.0: PCI bridge to [bus 44-7f]
[    0.122308] pci 0000:42:03.0:   bridge window [mem 0xe30100000-0xe301fffff]
[    0.122402] pci_bus 0000:44: busn_res: [bus 44-7f] end is updated to 44
[    0.122584] pci 0000:45:00.0: [1912:0015] type 00 class 0x0c0330
[    0.122644] pci 0000:45:00.0: reg 0x10: [mem 0xe30200000-0xe30201fff 64bit]
[    0.122723] pci 0000:45:00.0: can't set Max Payload Size to 256; if necessary, use "pci=pcie_bus_safe" and report a bug
[    0.122843] pci 0000:45:00.0: PME# supported from D0 D3hot
[    0.122902] pci 0000:45:00.0: 2.000 Gb/s available PCIe bandwidth, limited by 2.5 GT/s x1 link at 0000:40:00.0 (capable of 4.000 Gb/s with 5 GT/s x1 link)
[    0.123971] pci 0000:42:04.0: PCI bridge to [bus 45-7f]
[    0.123994] pci 0000:42:04.0:   bridge window [mem 0xe30200000-0xe302fffff]
[    0.124079] pci_bus 0000:45: busn_res: [bus 45-7f] end is updated to 45
[    0.124097] pci_bus 0000:42: busn_res: [bus 42-7f] end is updated to 45
[    0.124117] pci_bus 0000:40: busn_res: [bus 40-ff] end is updated to 7f
[    0.124175] pci 0000:40:00.0: disabling bridge window [io  0x0000-0xffffffffffffffff] to [bus 41-7f] (unused)
[    0.124198] pci 0000:40:00.0: BAR 8: assigned [mem 0xe00000000-0xe002fffff]
[    0.124211] pci 0000:41:00.0: BAR 8: assigned [mem 0xe00000000-0xe002fffff]
[    0.124251] pci 0000:42:02.0: BAR 8: assigned [mem 0xe00000000-0xe000fffff]
[    0.124260] pci 0000:42:03.0: BAR 8: assigned [mem 0xe00100000-0xe001fffff]
[    0.124270] pci 0000:42:04.0: BAR 8: assigned [mem 0xe00200000-0xe002fffff]
[    0.124283] pci 0000:43:00.0: BAR 0: assigned [mem 0xe00000000-0xe0001ffff 64bit]
[    0.124305] pci 0000:43:00.0: BAR 6: assigned [mem 0xe00020000-0xe0002ffff pref]
[    0.124313] pci 0000:42:02.0: PCI bridge to [bus 43]
[    0.124324] pci 0000:42:02.0:   bridge window [mem 0xe00000000-0xe000fffff]
[    0.124342] pci 0000:44:00.0: BAR 0: assigned [mem 0xe00100000-0xe0011ffff 64bit]
[    0.124361] pci 0000:44:00.0: BAR 6: assigned [mem 0xe00120000-0xe0012ffff pref]
[    0.124369] pci 0000:42:03.0: PCI bridge to [bus 44]
[    0.124379] pci 0000:42:03.0:   bridge window [mem 0xe00100000-0xe001fffff]
[    0.124394] pci 0000:45:00.0: BAR 0: assigned [mem 0xe00200000-0xe00201fff 64bit]
[    0.124413] pci 0000:42:04.0: PCI bridge to [bus 45]
[    0.124422] pci 0000:42:04.0:   bridge window [mem 0xe00200000-0xe002fffff]
[    0.124434] pci 0000:41:00.0: PCI bridge to [bus 42-45]
[    0.124444] pci 0000:41:00.0:   bridge window [mem 0xe00000000-0xe002fffff]
[    0.124455] pci 0000:40:00.0: PCI bridge to [bus 41-7f]
[    0.124464] pci 0000:40:00.0:   bridge window [mem 0xe00000000-0xe002fffff]
[    0.124474] pci_bus 0000:40: resource 4 [io  0x0000-0xffff]
[    0.124482] pci_bus 0000:40: resource 5 [mem 0xe00000000-0xe7fffffff]
[    0.124489] pci_bus 0000:40: resource 6 [mem 0xf00000000-0xf000fffff]
[    0.124497] pci_bus 0000:41: resource 1 [mem 0xe00000000-0xe002fffff]
[    0.124505] pci_bus 0000:42: resource 1 [mem 0xe00000000-0xe002fffff]
[    0.124513] pci_bus 0000:43: resource 1 [mem 0xe00000000-0xe000fffff]
[    0.124521] pci_bus 0000:44: resource 1 [mem 0xe00100000-0xe001fffff]
[    0.124528] pci_bus 0000:45: resource 1 [mem 0xe00200000-0xe002fffff]
[    0.137928] SCSI subsystem initialized
[    0.138711] workqueue: max_active 576 requested for napi_workq is out of range, clamping between 1 and 512
[    0.141006] clocksource: Switched to clocksource timebase
[    0.141664] thermal_sys: Registered thermal governor 'step_wise'
[    0.142062] NET: Registered protocol family 2
[    0.142171] IP idents hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    0.142613] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[    0.142640] TCP established hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.142662] TCP bind hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.142683] TCP: Hash tables configured (established 2048 bind 2048)
[    0.142771] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.142797] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.142953] NET: Registered protocol family 1
[    5.996865] pci 0000:45:00.0: xHCI HW not ready after 5 sec (HC bug?) status = 0x801
[    5.998368] pci 0000:45:00.0: 0xc040fa30 took 5718068 usecs
[    5.998387] PCI: CLS 32 bytes, default 32
[    6.001817] dw_dmac 4bffd0800.dma: DesignWare DMA Controller, 2 channels
[    6.006521] workingset: timestamp_bits=14 max_order=16 bucket_order=2
[    6.010478] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    6.065575] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
[    6.066611] pcie_pme: probe of 0000:40:00.0:pcie001 failed with error -22
[    6.066710] pcieport 0000:40:00.0: AER: request AER IRQ 0 failed
[    6.066726] aer: probe of 0000:40:00.0:pcie002 failed with error -22
[    6.067590] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    6.069522] printk: console [ttyS0] disabled
[    6.069589] 4ef600300.serial: ttyS0 at MMIO 0x4ef600300 (irq = 36, base_baud = 347222) is a TI16750
[    7.169540] printk: console [ttyS0] enabled
[    7.174154] Loading iSCSI transport class v2.0-870.
[    7.180575] sata-dwc 4bffd1800.sata: id 0, controller version 1.91
[    7.187804] scsi host0: sata-dwc
[    7.191330] ata1: SATA max UDMA/133 irq 44
[    7.196687] nand: device found, Manufacturer ID: 0xad, Chip ID: 0xf1
[    7.203058] nand: Hynix H27U1G8F2BTR-BC
[    7.206887] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    7.214449] Scanning device for bad blocks
[    7.281519] 12 fixed-partitions partitions found on MTD device 4e4000000.ndfc.nand
[    7.289082] Creating 12 MTD partitions on "4e4000000.ndfc.nand":
[    7.295073] 0x000000000000-0x000008000000 : "NAND 128MiB 3,3V 8-bit"
[    7.302873] 0x000000000000-0x000000180000 : "uboot"
[    7.308345] 0x000000180000-0x0000001a0000 : "device-tree"
[    7.314299] 0x000000180000-0x000000500000 : "kernel"
[    7.319854] 0x000000500000-0x0000019e0000 : "ubi"
[    7.325280] 0x0000019e0000-0x000001a60000 : "config"
[    7.330811] 0x000001a60000-0x000001ae0000 : "pot"
[    7.336094] 0x000001ae0000-0x000001de0000 : "traffic_meter"
[    7.342261] 0x000001de0000-0x000001fa0000 : "language"
[    7.347998] 0x000001fa0000-0x000007fc0000 : "ecos"
[    7.353954] 0x000007fc0000-0x000008000000 : "wifi_data"
[    7.359751] 0x000000180000-0x0000019e0000 : "firmware"
[    7.366072] libphy: Fixed MDIO Bus: probed
[    7.370191] PPC 4xx OCP EMAC driver, version 3.54
[    7.375307] MAL v2 /plb/mcmal, 1 TX channels, 1 RX channels
[    7.381088] RGMII /plb/opb/emac-rgmii@ef601500 initialized with MDIO support
[    7.388278] TAH /plb/opb/emac-tah@ef601350 initialized
[    7.393705] /plb/opb/emac-rgmii@ef601500: input 0 in rgmii mode
[    7.399748] libphy: emac_mdio: probed
[    7.411632] switch0: Atheros AR8327 rev. 4 switch registered on 4ef600c00.ethernet
[    7.531264] ata1: SATA link down (SStatus 0 SControl 300)
[    7.990197] eth0: EMAC-0 /plb/opb/ethernet@ef600c00, MAC 10:0d:7f:4e:26:4d
[    7.997079] eth0: found Atheros AR8216/AR8236/AR8316 PHY (0x00)
[    8.003171] i2c /dev entries driver
[    8.007161] ibm-iic 4ef600700.i2c: using standard (100 kHz) mode
[    8.034430] booke_wdt: powerpc book-e watchdog driver loaded
[    8.052678] NET: Registered protocol family 10
[    8.058814] Segment Routing with IPv6
[    8.062569] NET: Registered protocol family 17
[    8.067061] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    8.079979] 8021q: 802.1Q VLAN Support v1.8
[    8.084199] drmem: No dynamic reconfiguration memory found
[    8.093164] UBI: auto-attach mtd4
[    8.096482] ubi0: attaching mtd4
[    8.148389] ubi0: scanning is finished
[    8.159581] ubi0: attached mtd4 (name "ubi", size 20 MiB)
[    8.165000] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 129024 bytes
[    8.171853] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 512
[    8.178530] ubi0: VID header offset: 512 (aligned 512), data offset: 2048
[    8.185294] ubi0: good PEBs: 167, bad PEBs: 0, corrupted PEBs: 0
[    8.191283] ubi0: user volume: 2, internal volumes: 1, max. volumes count: 128
[    8.198482] ubi0: max/mean erase counter: 2/1, WL threshold: 4096, image sequence number: 1630448408
[    8.207580] ubi0: available PEBs: 0, total reserved PEBs: 167, PEBs reserved for bad PEB handling: 20
[    8.216811] ubi0: background thread "ubi_bgt0d" started, PID 508
[    8.223968] block ubiblock0_0: created from ubi0:0(rootfs)
[    8.229468] ubiblock: device ubiblock0_0 (rootfs) set to be root filesystem
[    8.236408] hctosys: unable to open rtc device (rtc0)
[    8.245560] VFS: Mounted root (squashfs filesystem) readonly on device 254:0.
[    8.253299] Freeing unused kernel memory: 176K
[    8.257990] Run /sbin/init as init process
[    8.502746] init: Console is alive
[    8.506349] init: - watchdog -
[    9.347177] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    9.392536] usbcore: registered new interface driver usbfs
[    9.398123] usbcore: registered new interface driver hub
[    9.403506] usbcore: registered new device driver usb
[    9.544730] dwc2 4bff80000.usbotg: DWC OTG Controller
[    9.549828] dwc2 4bff80000.usbotg: new USB bus registered, assigned bus number 1
[    9.557250] dwc2 4bff80000.usbotg: irq 40, io mem 0x4bff80000
[    9.563782] hub 1-0:1.0: USB hub found
[    9.567758] hub 1-0:1.0: 1 port detected
[    9.582609] xhci_hcd 0000:45:00.0: Direct firmware load for K2013080.mem failed with error -2
[    9.591155] xhci_hcd 0000:45:00.0: Falling back to sysfs fallback for: K2013080.mem
[    9.606187] usbcore: registered new interface driver usb-storage
[    9.612770] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    9.622685] init: - preinit -
[    9.916022] usb 1-1: new high-speed USB device number 2 using dwc2
[   10.067549] eth0: link is up, 1000 FDX
[   10.080881] random: procd: uninitialized urandom read (4 bytes read)
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
[   10.145502] usb-storage 1-1:1.0: USB Mass Storage device detected
[   10.152141] scsi host1: usb-storage 1-1:1.0
[   11.073242] Atheros AR8216/AR8236/AR8316 4ef600c00.ethernet:00: Port 1 is up
[   11.170303] scsi 1:0:0:0: Direct-Access     Generic  STORAGE DEVICE   9454 PQ: 0 ANSI: 0
[   11.181914] sd 1:0:0:0: [sda] Attached SCSI removable disk
[   14.194310] mount_root: loading kmods from internal overlay
[   14.211969] kmodloader: loading kernel modules from //etc/modules-boot.d/*
[   14.219646] kmodloader: done loading kernel modules from //etc/modules-boot.d/*
[   14.929585] UBIFS (ubi0:1): Mounting in unauthenticated mode
[   14.935472] UBIFS (ubi0:1): background thread "ubifs_bgt0_1" started, PID 653
[   14.981083] UBIFS (ubi0:1): recovery needed
[   15.079136] UBIFS (ubi0:1): recovery completed
[   15.083664] UBIFS (ubi0:1): UBIFS: mounted UBI device 0, volume 1, name "rootfs_data"
[   15.091480] UBIFS (ubi0:1): LEB size: 129024 bytes (126 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[   15.101358] UBIFS (ubi0:1): FS size: 12515328 bytes (11 MiB, 97 LEBs), journal size 1032193 bytes (0 MiB, 6 LEBs)
[   15.111577] UBIFS (ubi0:1): reserved for root: 591129 bytes (577 KiB)
[   15.118000] UBIFS (ubi0:1): media format: w5/r0 (latest is w5/r0), UUID 76E21044-3551-4CD6-9C83-89307093DC7D, small LPT model
[   15.131620] block: attempting to load /tmp/ubifs_cfg/upper/etc/config/fstab
[   15.141978] block: extroot: not configured
[   15.150002] UBIFS (ubi0:1): un-mount UBI device 0
[   15.154729] UBIFS (ubi0:1): background thread "ubifs_bgt0_1" stops
[   15.164428] UBIFS (ubi0:1): Mounting in unauthenticated mode
[   15.172034] UBIFS (ubi0:1): background thread "ubifs_bgt0_1" started, PID 656
[   15.270090] UBIFS (ubi0:1): UBIFS: mounted UBI device 0, volume 1, name "rootfs_data"
[   15.277932] UBIFS (ubi0:1): LEB size: 129024 bytes (126 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[   15.287814] UBIFS (ubi0:1): FS size: 12515328 bytes (11 MiB, 97 LEBs), journal size 1032193 bytes (0 MiB, 6 LEBs)
[   15.298029] UBIFS (ubi0:1): reserved for root: 591129 bytes (577 KiB)
[   15.304450] UBIFS (ubi0:1): media format: w5/r0 (latest is w5/r0), UUID 76E21044-3551-4CD6-9C83-89307093DC7D, small LPT model
[   15.318641] mount_root: loading kmods from internal overlay
[   15.335456] kmodloader: loading kernel modules from /tmp/overlay/upper/etc/modules-boot.d/*
[   15.345283] kmodloader: done loading kernel modules from /tmp/overlay/upper/etc/modules-boot.d/*
[   15.963673] block: attempting to load /tmp/ubifs_cfg/upper/etc/config/fstab
[   15.973591] block: extroot: not configured
[   15.979768] mount_root: switching to ubifs overlay
[   16.026505] urandom-seed: Seeding with /etc/urandom.seed
[   16.076628] procd: - early -
[   16.079669] procd: - watchdog -
[   16.299136] random: fast init done
[   16.663551] procd: - watchdog -
[   16.667107] procd: - ubus -
[   16.715712] random: ubusd: uninitialized urandom read (4 bytes read)
[   16.723664] random: ubusd: uninitialized urandom read (4 bytes read)
[   16.730364] random: ubusd: uninitialized urandom read (4 bytes read)
[   16.740439] procd: - init -
Please press Enter to activate this console.
[   17.222976] kmodloader: loading kernel modules from /etc/modules.d/*
[   17.273397] device-mapper: ioctl: 4.41.0-ioctl (2019-09-16) initialised: dm-devel@redhat.com
[   17.337440] Loading modules backported from Linux version v5.10.68-0-g4d8524048a35
[   17.345019] Backport generated by backports.git v5.10.68-1-0-ga4f9ba32
[   17.390969] xt_time: kernel timezone is -0000
[   17.430804] urngd: v1.0.2 started.
[   17.577026] PPP generic driver version 2.4.2
[   17.586001] NET: Registered protocol family 24
[   17.675129] ieee80211 phy0: Atheros AR9300 Rev:3 mem=0xd56e0000, irq=19
[   17.693692] random: crng init done
[   17.697136] random: 6 urandom warning(s) missed due to ratelimiting
[   17.747732] ieee80211 phy1: Atheros AR9300 Rev:4 mem=0xd5840000, irq=20
[   17.817268] kmodloader: done loading kernel modules from /etc/modules.d/*
[   24.796900] eth0: link is up, 1000 FDX
[   24.875445] br-lan: port 1(eth0.1) entered blocking state
[   24.880881] br-lan: port 1(eth0.1) entered disabled state
[   24.886493] device eth0.1 entered promiscuous mode
[   24.891287] device eth0 entered promiscuous mode
[   25.001136] br-lan: port 1(eth0.1) entered blocking state
[   25.006549] br-lan: port 1(eth0.1) entered forwarding state
[   25.921096] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[   70.625170] xhci_hcd 0000:45:00.0: firmware failed to load
[   70.634873] xhci_hcd 0000:45:00.0: Direct firmware load for K2026090.mem failed with error -2
[   70.643407] xhci_hcd 0000:45:00.0: Falling back to sysfs fallback for: K2026090.mem
[   70.768121] xhci_hcd 0000:45:00.0: firmware failed to load
[   70.773645] xhci_hcd 0000:45:00.0: Unloading driver

What happens if you connect the SSD after the device has fully booted up? (SATA is technically hotplug capable).

The issue might also be down to power spikes during the device initialization.

If I connect the disk after openwrt botted up I get the same error: "Oops: Kernel access of bad area ..."

This line is the key:

ata1.00: supports DRM functions and may not be fully accessible

I ran into a similar problem on My Book Live Duo (same APM82181 platform).
See here.

Regards, Tice