Failed installation on Asus RT-AX53U

Can you provide the output of dmesg | head -250 ?

1 Like
# dmesg | head -250
[  348.311278] [PMF]Set_PMFMFPR_Proc:: apidx=0, Desired MFPR=0
[  348.316896] [PMF]Set_PMFMFPR_Proc:: apidx=1, Desired MFPR=0
[  348.322580] [PMF]Set_PMFMFPR_Proc:: apidx=2, Desired MFPR=0
[  348.328312] [PMF]Set_PMFMFPR_Proc:: apidx=3, Desired MFPR=0
[  348.333984] [PMF]Set_PMFMFPR_Proc:: apidx=4, Desired MFPR=0
[  348.339638] [PMF]Set_PMFMFPR_Proc:: apidx=5, Desired MFPR=0
[  348.345371] [PMF]Set_PMFMFPR_Proc:: apidx=6, Desired MFPR=0
[  348.350959] [PMF]Set_PMFMFPR_Proc:: apidx=7, Desired MFPR=0
[  348.356574] [PMF]Set_PMFMFPR_Proc:: apidx=8, Desired MFPR=0
[  348.362300] [PMF]Set_PMFMFPR_Proc:: apidx=9, Desired MFPR=0
[  348.368076] [PMF]Set_PMFMFPR_Proc:: apidx=10, Desired MFPR=0
[  348.373887] [PMF]Set_PMFMFPR_Proc:: apidx=11, Desired MFPR=0
[  348.379944] [PMF]Set_PMFSHA256_Proc:: apidx=0, Desired PMFSHA256=0
[  348.386169] [PMF]Set_PMFSHA256_Proc:: apidx=1, Desired PMFSHA256=0
[  348.392332] [PMF]Set_PMFSHA256_Proc:: apidx=2, Desired PMFSHA256=0
[  348.398525] [PMF]Set_PMFSHA256_Proc:: apidx=3, Desired PMFSHA256=0
[  348.404754] [PMF]Set_PMFSHA256_Proc:: apidx=4, Desired PMFSHA256=0
[  348.410928] [PMF]Set_PMFSHA256_Proc:: apidx=5, Desired PMFSHA256=0
[  348.417144] [PMF]Set_PMFSHA256_Proc:: apidx=6, Desired PMFSHA256=0
[  348.423336] [PMF]Set_PMFSHA256_Proc:: apidx=7, Desired PMFSHA256=0
[  348.429668] [PMF]Set_PMFSHA256_Proc:: apidx=8, Desired PMFSHA256=0
[  348.435961] [PMF]Set_PMFSHA256_Proc:: apidx=9, Desired PMFSHA256=0
[  348.442189] [PMF]Set_PMFSHA256_Proc:: apidx=10, Desired PMFSHA256=0
[  348.448637] [PMF]Set_PMFSHA256_Proc:: apidx=11, Desired PMFSHA256=0
[  348.457245] ReadMboParameterFromFile::(bMboEnable[0]=1, MboCapIndication = 0x40)
[  348.464777] ReadMboParameterFromFile::(bMboEnable[1]=1, MboCapIndication = 0x40)
[  348.472179] ReadMboParameterFromFile::(bMboEnable[2]=1, MboCapIndication = 0x40)
[  348.479623] ReadMboParameterFromFile::(bMboEnable[3]=1, MboCapIndication = 0x40)
[  348.487090] ReadMboParameterFromFile::(bMboEnable[4]=1, MboCapIndication = 0x40)
[  348.494507] ReadMboParameterFromFile::(bMboEnable[5]=1, MboCapIndication = 0x40)
[  348.501919] ReadMboParameterFromFile::(bMboEnable[6]=1, MboCapIndication = 0x40)
[  348.509369] ReadMboParameterFromFile::(bMboEnable[7]=1, MboCapIndication = 0x40)
[  348.516838] ReadMboParameterFromFile::(bMboEnable[8]=1, MboCapIndication = 0x40)
[  348.524267] ReadMboParameterFromFile::(bMboEnable[9]=1, MboCapIndication = 0x40)
[  348.531681] ReadMboParameterFromFile::(bMboEnable[10]=1, MboCapIndication = 0x40)
[  348.539215] ReadMboParameterFromFile::(bMboEnable[11]=1, MboCapIndication = 0x40)
[  348.547136] ReadMboParameterFromFile::(bMboEnable[0]=1)
[  348.552348] ReadMboParameterFromFile::(bMboEnable[1]=1)
[  348.565295] ApCliEntry[0].Enable=0
[  348.568698] ApCliEntry[1].Enable=0
[  348.580496] rtmp_read_wds_from_file(): WDS Profile
[  348.585655] WDS Number: band[0]=0, band[1]=0
[  348.590212] WDS-Enable mode=0
[  348.593160] WDS-Enable mode=0
[  348.597107] If/wds0 - PeerPhyMode=0xb1
[  348.600993] If/wds1 - PeerPhyMode=0xb1
[  348.606515] AsicSetReptFuncEnable, caller:RTMPSetProfileParameters+0xbce4/0x114d4
[  348.614094] RepeaterCtrlExit, wrong state(0,0)
[  348.618695] Band_0_RpEn(0),RpEnByAnyBnd(0),RpEn(0)
[  348.623657] AndesSendCmdMsg: Could not send in band command due to diablefRTMP_ADAPTER_MCU_SEND_IN_BAND_CMD
[  348.633623] AndesSendCmdMsg: Command type = ed, Extension command type = 48
[  348.640684] MACRepeaterEn=0 Band=0
[  348.644123] AsicSetReptFuncEnable, caller:RTMPSetProfileParameters+0xbce4/0x114d4
[  348.651630] RepeaterCtrlExit, wrong state(0,0)
[  348.656145] Band_1_RpEn(0),RpEnByAnyBnd(0),RpEn(0)
[  348.661104] AndesSendCmdMsg: Could not send in band command due to diablefRTMP_ADAPTER_MCU_SEND_IN_BAND_CMD
[  348.670982] AndesSendCmdMsg: Command type = ed, Extension command type = 48
[  348.678292] MACRepeaterEn=0 Band=1
[  348.690473] HT_BAWinSize: wdev[0]: (TX=256, RX=256)
[  348.695375] HT_BAWinSize: wdev[1]: (TX=256, RX=256)
[  348.700394] HT_BAWinSize: wdev[2]: (TX=256, RX=256)
[  348.705586] HT_BAWinSize: wdev[3]: (TX=256, RX=256)
[  348.710534] HT_BAWinSize: wdev[4]: (TX=256, RX=256)
[  348.715764] HT_BAWinSize: wdev[5]: (TX=256, RX=256)
[  348.720752] HT_BAWinSize: wdev[6]: (TX=256, RX=256)
[  348.725753] HT_BAWinSize: wdev[7]: (TX=256, RX=256)
[  348.730771] HT_BAWinSize: wdev[8]: (TX=256, RX=256)
[  348.735797] HT_BAWinSize: wdev[9]: (TX=256, RX=256)
[  348.740823] HT_BAWinSize: wdev[10]: (TX=256, RX=256)
[  348.745942] HT_BAWinSize: wdev[11]: (TX=256, RX=256)
[  348.752431] HT: WDEV[0] Ext Channel = ABOVE
[  348.756688] HT: WDEV[1] Ext Channel = ABOVE
[  348.761016] HT: WDEV[2] Ext Channel = ABOVE
[  348.765364] HT: WDEV[3] Ext Channel = ABOVE
[  348.769699] HT: WDEV[4] Ext Channel = ABOVE
[  348.773964] HT: WDEV[5] Ext Channel = ABOVE
[  348.778220] HT: WDEV[6] Ext Channel = BELOW
[  348.782431] HT: WDEV[7] Ext Channel = BELOW
[  348.787060] HT: WDEV[8] Ext Channel = BELOW
[  348.791335] HT: WDEV[9] Ext Channel = BELOW
[  348.795617] HT: WDEV[a] Ext Channel = BELOW
[  348.799949] HT: WDEV[b] Ext Channel = BELOW
[  348.804888] HT: greenap_cap = 0
[  348.808703] 0:ra0 TWTsupport = 0
[  348.811924] 1:ra1 TWTsupport = 0
[  348.815215] 2:ra2 TWTsupport = 0
[  348.818474] 3:ra3 TWTsupport = 0
[  348.821738] 4:ra4 TWTsupport = 0
[  348.825192] 5:ra5 TWTsupport = 0
[  348.828565] 6:rai0 TWTsupport = 0
[  348.832063] 7:rai1 TWTsupport = 0
[  348.835688] 8:rai2 TWTsupport = 0
[  348.839087] 9:rai3 TWTsupport = 0
[  348.842550] 10:rai4 TWTsupport = 0
[  348.846164] 11:rai5 TWTsupport = 0
[  348.966823] WtcSetMaxStaNum: MaxStaNum:224, BssidNum:12, WdsNum:16, MSTANum:2, MaxNumChipRept:32, MinMcastWcid:274
[  348.977249] Top Init Done!
[  348.979976] Use dev_alloc_skb
[  348.982933] token_tx_two_queues_init(): ct sw token(0) number = 2048
[  348.989540] token_tx_two_queues_init(): token que(0) inited done!id_head/tail=0/2048
[  348.997653] token_tx_two_queues_init(): 8a868804,8a868804
[  349.003238] token_tx_two_queues_init(): ct sw token(1) number = 6144
[  349.010528] token_tx_two_queues_init(): token que(1) inited done!id_head/tail=0/6144
[  349.018344] token_tx_two_queues_init(): 8a8688ac,8a8688ac
[  349.029693] TxRing[0]: attr:0, total 2048 entry initialized
[  349.039670] TxRing[1]: attr:0, total 2048 entry initialized
[  349.049836] TxRing[2]: attr:0, total 2048 entry initialized
[  349.055729] RX[0] DESC a0c30000 size = 24576
[  349.062601] RX[1] DESC a0c38000 size = 16384
[  349.068819] RX[2] DESC a0dd8000 size = 24576
[  349.075487] RX[3] DESC a0de0000 size = 24576
[  349.079859] RX[4] DESC a0dd2000 size = 8192
[  349.084826] RX[5] DESC a0dd4000 size = 16384
[  349.090711] RX[6] DESC a0e18000 size = 8192
[  349.096084] -->TX_RING_0[0xd9330]: Attr:0, Base=0xc28000, Cnt=2048!
[  349.102343] -->TX_RING_1[0xd5420]: Attr:0, Base=0xdc0000, Cnt=2048!
[  349.109082] -->TX_RING_2[0xd5430]: Attr:0, Base=0xdc8000, Cnt=2048!
[  349.115524] -->TX_RING_3[0xd5400]: Attr:3, Base=0xdb7000, Cnt=128!
[  349.121738] -->TX_RING_4[0xd5410]: Attr:2, Base=0xdd0000, Cnt=256!
[  349.128060] -->TX_RING_5[0xd5440]: Attr:1, Base=0xdd1000, Cnt=256!
[  349.134288] -->RX_RING_0[0xd8510]: Base=0xc30000, Cnt=1536
[  349.139767] -->RX_RING_1[0xd9520]: Base=0xc38000, Cnt=1024
[  349.145272] -->RX_RING_2[0xd4500]: Base=0xdd8000, Cnt=1536
[  349.150875] -->RX_RING_3[0xd4510]: Base=0xde0000, Cnt=10
[  349.156332] -->RX_RING_4[0xd5500]: Base=0xdd2000, Cnt=512
[  349.161845] -->RX_RING_5[0xd5510]: Base=0xdd4000, Cnt=1024
[  349.167475] -->RX_RING_6[0xd5520]: Base=0xe18000, Cnt=512
[  349.172940] Hif Init Done!
[  349.179837] pci_driver_own_by_port: success to clear p=0 fw own, from(1): 1 is interrupt mode, 2 is polling mode.
[  349.191140] pci_driver_own_by_port: success to clear p=1 fw own, from(1): 1 is interrupt mode, 2 is polling mode.
[  349.201395] fw_prepare():using E2 ROM patch
[  349.205840] fw_prepare():using E2 RAM
[  349.209744] Parsing patch header
[  349.213067] 	Built date: 20201105222230a
[  349.217216] 
[  349.218767] 	Platform: ALPS
[  349.221658] 	HW/SW version: 0x8a108a10
[  349.225564] 	Patch version: 0xffffffff
[  349.229492] 	Section num: 0x2, subsys: 0x4
[  349.233640] 	Section 0: type = 0x30002, offset = 0xe0, size = 0xfc90
[  349.240059] 	Target address: 0x200000, length: 0xfc90
[  349.245251] 	Section 1: type = 0x30002, offset = 0xfd70, size = 0x13720
[  349.252031] 	Target address: 0xe000f000, length: 0x13720
[  349.257775] Patch SEM Status = 1
[  349.261473] patch is ready, continue to ILM/DLM DL
[  349.266482]  WfMcuHwInit: Before NICLoadFirmware, check ICapMode = 0 
[  349.273657] Parsing CPU 0 fw tailer
[  349.277211] 	Chip ID: 0x0b
[  349.280076] 	Eco version: 0x01
[  349.283140] 	Region number: 0x07
[  349.286458] 	Format version: 0x02
[  349.289841] 	Format flag: 0x01
[  349.292938] 	Ram version: ____000000
[  349.296673] 	Built date: 20201105222304
[  349.300706] 	Common crc: 0xaa870ac
[  349.304319] Parsing tailer region 0
[  349.307929] 	Decomp crc: 0x0
[  349.310974] 	Decomp size: 0x0
[  349.314051] 	Decomp block size: 0x0
[  349.317669] 	Target address: 0x21fc00
[  349.321453] 	Download size: 110592
[  349.325084] 	Feature set: 0x20
[  349.328332] Parsing tailer region 1
[  349.331952] 	Decomp crc: 0x0
[  349.334912] 	Decomp size: 0x0
[  349.337899] 	Decomp block size: 0x0
[  349.341481] 	Target address: 0x31dc00
[  349.345426] 	Download size: 205824
[  349.348913] 	Feature set: 0x00
[  349.352066] Parsing tailer region 2
[  349.355599] 	Decomp crc: 0x0
[  349.358483] 	Decomp size: 0x0
[  349.361445] 	Decomp block size: 0x0
[  349.365131] 	Target address: 0x417400
[  349.368908] 	Download size: 31744
[  349.372270] 	Feature set: 0x00
[  349.375535] Parsing tailer region 3
[  349.379085] 	Decomp crc: 0x0
[  349.382088] 	Decomp size: 0x0
[  349.385242] 	Decomp block size: 0x0
[  349.388852] 	Target address: 0xe0022800
[  349.392739] 	Download size: 411136
[  349.396251] 	Feature set: 0x00
[  349.399380] Parsing tailer region 4
[  349.402945] 	Decomp crc: 0x0
[  349.406158] 	Decomp size: 0x0
[  349.409225] 	Decomp block size: 0x0
[  349.412838] 	Target address: 0xe0086e00
[  349.416981] 	Download size: 332288
[  349.420444] 	Feature set: 0x00
[  349.423712] Parsing tailer region 5
[  349.427360] 	Decomp crc: 0x0
[  349.430266] 	Decomp size: 0x0
[  349.433261] 	Decomp block size: 0x0
[  349.436858] 	Target address: 0x23ac00
[  349.440600] 	Download size: 87040
[  349.443995] 	Feature set: 0x00
[  349.447446] Parsing tailer region 6
[  349.450972] 	Decomp crc: 0x0
[  349.453883] 	Decomp size: 0x0
[  349.456895] 	Decomp block size: 0x0
[  349.460441] 	Target address: 0x400000
[  349.464190] 	Download size: 81920
[  349.467658] 	Feature set: 0x00
[  349.470920] 	Release info: header tag = 0, total length = 68
[  349.476780] 	tag 1, padding length = 3, tag length = 61
[  349.482060] 	payload: t-neptune-main-mt7915-1953-MT7915D_1953_MT7621-20201105221902
[  349.490224] Start address = 0x21fc00, DL length = 110592, Data mode = 0x80000000
[  349.499174] EventGenericEventHandler: CMD Success
[  349.504036] MtCmdAddressLenReq:(ret = 0)
[  349.510043] Start address = 0x31dc00, DL length = 205824, Data mode = 0x80000000
[  349.518776] EventGenericEventHandler: CMD Success
[  349.523521] MtCmdAddressLenReq:(ret = 0)
[  349.531098] Start address = 0x417400, DL length = 31744, Data mode = 0x80000000
[  349.539732] EventGenericEventHandler: CMD Success
[  349.544522] MtCmdAddressLenReq:(ret = 0)
[  349.549403] Start address = 0xe0022800, DL length = 411136, Data mode = 0x80000000
[  349.558652] EventGenericEventHandler: CMD Success
[  349.563552] MtCmdAddressLenReq:(ret = 0)
[  349.574369] Start address = 0xe0086e00, DL length = 332288, Data mode = 0x80000000
[  349.583198] EventGenericEventHandler: CMD Success
[  349.587956] MtCmdAddressLenReq:(ret = 0)
[  349.597861] Start address = 0x23ac00, DL length = 87040, Data mode = 0x80000000
[  349.606487] EventGenericEventHandler: CMD Success
[  349.611408] MtCmdAddressLenReq:(ret = 0)
[  349.617528] Start address = 0x400000, DL length = 81920, Data mode = 0x80000000
[  349.626203] EventGenericEventHandler: CMD Success
[  349.630976] MtCmdAddressLenReq:(ret = 0)
[  349.636572] MtCmdFwStartReq: override = 0x1, address = 0x21fc00
[  349.644006] EventGenericEventHandler: CMD Success
[  349.648823] Parsing CPU 1 fw tailer
[  349.652317] 	Chip ID: 0x00
[  349.655164] 	Eco version: 0x01
[  349.658247] 	Region number: 0x03
[  349.661469] 	Format version: 0x02
[  349.664851] 	Format flag: 0x01
[  349.667955] 	Ram version: DEV_000000
[  349.671662] 	Built date: 20201105222323
[  349.675740] 	Common crc: 0x8fcbc5ad
[  349.679370] Parsing tailer region 0
[  349.682932] 	Decomp crc: 0x0
[  349.685886] 	Decomp size: 0x0
[  349.688878] 	Decomp block size: 0x0
[  349.692421] 	Target address: 0x10200000
[  349.696697] 	Download size: 88512
[  349.700087] 	Feature set: 0x00
[  349.703319] Parsing tailer region 1
[  349.707042] 	Decomp crc: 0x0
[  349.709948] 	Decomp size: 0x0
[  349.712946] 	Decomp block size: 0x0

dang, it's up for too long. try after a reboot :slight_smile: thank you

1 Like

Just rebooted it. Would this help?

# dmesg | head -250
[    0.000000] Linux version 4.4.198 (heidi_wen@sw4-build-server) (gcc version 5.4.0 (LEDE GCC 5.4.0 r0-22e5567) ) #1 SMP Tue Oct 11 18:54:34 CST 2022
[    0.000000] SoC Type: MediaTek MT7621 ver:1 eco:3
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 0001992f (MIPS 1004Kc)
[    0.000000] MIPS: machine is MediaTek MT7621 RFB (802.11ax, NAND with NMBM)
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 10000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000000000000-0x0000000000ffffff]
[    0.000000]   Normal   [mem 0x0000000001000000-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] On node 0 totalpages: 65536
[    0.000000] free_area_init_node: node 0, pgdat 819db040, node_mem_map 81d34000
[    0.000000]   DMA zone: 32 pages used for memmap
[    0.000000]   DMA zone: 0 pages reserved
[    0.000000]   DMA zone: 4096 pages, LIFO batch:0
[    0.000000]   Normal zone: 480 pages used for memmap
[    0.000000]   Normal zone: 61440 pages, LIFO batch:15
[    0.000000] VPE topology {2,2} total 4
[    0.000000] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    0.000000] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    0.000000] PERCPU: Embedded 10 pages/cpu @81f44000 s9280 r8192 d23488 u40960
[    0.000000] pcpu-alloc: s9280 r8192 d23488 u40960 alloc=10*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 65024
[    0.000000] Kernel command line: console=ttyS0,115200 rootfstype=squashfs,jffs2
[    0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Writing ErrCtl register=0000202b
[    0.000000] Readback ErrCtl register=0000202b
[    0.000000] Memory: 246136K/262144K available (7951K kernel code, 2948K rwdata, 2052K rodata, 220K init, 327K bss, 16008K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000] NR_IRQS:256
[    0.000000] clocksource: GIC: mask: 0xffffffffffffffff max_cycles: 0xcaf478abb4, max_idle_ns: 440795247997 ns
[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 4343773742 ns
[    0.000008] sched_clock: 32 bits at 440MHz, resolution 2ns, wraps every 4880645118ns
[    0.007775] Calibrating delay loop... 586.13 BogoMIPS (lpj=2930688)
[    0.070402] pid_max: default: 32768 minimum: 301
[    0.075120] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.081645] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    8.427728] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    8.427737] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    8.427748] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    8.427890] CPU1 revision is: 0001992f (MIPS 1004Kc)
[    0.177649] Synchronize counters for CPU 1: done.
[    8.204538] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    8.204544] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    8.204550] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    8.204620] CPU2 revision is: 0001992f (MIPS 1004Kc)
[    0.268019] Synchronize counters for CPU 2: done.
[    8.294643] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    8.294649] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    8.294655] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    8.294737] CPU3 revision is: 0001992f (MIPS 1004Kc)
[    0.353203] Synchronize counters for CPU 3: done.
[    0.357934] Brought up 4 CPUs
[    0.361497] devtmpfs: initialized
[    0.369285] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.379064] futex hash table entries: 1024 (order: 3, 32768 bytes)
[    0.385358] pinctrl core: initialized pinctrl subsystem
[    0.391152] NET: Registered protocol family 16
[    0.402630] FPU Affinity set after 11720 emulations
[    0.431571] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    0.437203] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    0.442843] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    0.448838] mt7621-pci 1e140000.pcie: Failed to get gpio for PCIe1
[    0.454980] mt7621-pci 1e140000.pcie: Failed to get gpio for PCIe2
[    0.661410] PCIe port 2 link down
[    0.664643] PCI coherence region base: 0x60000000, mask/settings: 0xf0000002
[    0.704321] PCI host bridge to bus 0000:00
[    0.708354] pci_bus 0000:00: root bus resource [mem 0x60000000-0x6fffffff]
[    0.715228] pci_bus 0000:00: root bus resource [io  0x1e160000-0x1e16ffff]
[    0.722000] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[    0.728776] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[    0.736638] pci 0000:00:00.0: [0e8d:0801] type 01 class 0x060400
[    0.736689] pci 0000:00:00.0: reg 0x14: [mem 0x00000000-0x0000ffff]
[    0.736755] pci 0000:00:00.0: supports D1
[    0.736768] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[    0.737023] pci 0000:00:01.0: [0e8d:0801] type 01 class 0x060400
[    0.737077] pci 0000:00:01.0: reg 0x14: [mem 0x00000000-0x0000ffff]
[    0.737156] pci 0000:00:01.0: supports D1
[    0.737176] pci 0000:00:01.0: PME# supported from D0 D1 D3hot
[    0.737434] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    0.745391] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    0.753473] pci 0000:01:00.0: [14c3:7916] type 00 class 0x000280
[    0.753570] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x000fffff 64bit pref]
[    0.753625] pci 0000:01:00.0: reg 0x18: [mem 0x00000000-0x00003fff 64bit pref]
[    0.753663] pci 0000:01:00.0: reg 0x20: [mem 0x00000000-0x00000fff 64bit pref]
[    0.753773] pci 0000:01:00.0: supports D1 D2
[    0.753786] pci 0000:01:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[    0.754004] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    0.754233] pci 0000:02:00.0: [14c3:7915] type 00 class 0x000280
[    0.754330] pci 0000:02:00.0: reg 0x10: [mem 0x00000000-0x000fffff 64bit pref]
[    0.754377] pci 0000:02:00.0: reg 0x18: [mem 0x00000000-0x00003fff 64bit pref]
[    0.754413] pci 0000:02:00.0: reg 0x20: [mem 0x00000000-0x00000fff 64bit pref]
[    0.754518] pci 0000:02:00.0: supports D1 D2
[    0.754531] pci 0000:02:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[    0.754746] pci_bus 0000:02: busn_res: [bus 02-ff] end is updated to 02
[    0.754782] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 02
[    0.754878] pci 0000:00:00.0: BAR 9: assigned [mem 0x60000000-0x601fffff pref]
[    0.762066] pci 0000:00:01.0: BAR 9: assigned [mem 0x60200000-0x603fffff pref]
[    0.769178] pci 0000:00:00.0: BAR 1: assigned [mem 0x60400000-0x6040ffff]
[    0.775963] pci 0000:00:01.0: BAR 1: assigned [mem 0x60410000-0x6041ffff]
[    0.782675] pci 0000:01:00.0: BAR 0: assigned [mem 0x60000000-0x600fffff 64bit pref]
[    0.790407] pci 0000:01:00.0: BAR 2: assigned [mem 0x60100000-0x60103fff 64bit pref]
[    0.798062] pci 0000:01:00.0: BAR 4: assigned [mem 0x60104000-0x60104fff 64bit pref]
[    0.805781] pci 0000:00:00.0: PCI bridge to [bus 01]
[    0.810656] pci 0000:00:00.0:   bridge window [mem 0x60000000-0x601fffff pref]
[    0.817861] pci 0000:02:00.0: BAR 0: assigned [mem 0x60200000-0x602fffff 64bit pref]
[    0.825538] pci 0000:02:00.0: BAR 2: assigned [mem 0x60300000-0x60303fff 64bit pref]
[    0.833239] pci 0000:02:00.0: BAR 4: assigned [mem 0x60304000-0x60304fff 64bit pref]
[    0.840907] pci 0000:00:01.0: PCI bridge to [bus 02]
[    0.845837] pci 0000:00:01.0:   bridge window [mem 0x60200000-0x603fffff pref]
[    0.854761] clocksource: Switched to clocksource GIC
[    0.862444] NET: Registered protocol family 2
[    0.867518] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
[    0.874404] TCP bind hash table entries: 2048 (order: 2, 16384 bytes)
[    0.880873] TCP: Hash tables configured (established 2048 bind 2048)
[    0.887275] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.893023] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.899556] NET: Registered protocol family 1
[    0.903911] PCI: CLS 80 bytes, default 32
[    0.918344] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.924110] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.940623] io scheduler noop registered
[    0.944464] io scheduler deadline registered (default)
[    0.951426] Serial: 8250/16550 driver, 3 ports, IRQ sharing disabled
[    0.959478] console [ttyS0] disabled
[    0.963014] 1e000c00.uartlite: ttyS0 at MMIO 0x1e000c00 (irq = 33, base_baud = 3125000) is a 16550A
[    0.972033] console [ttyS0] enabled
[    0.978904] bootconsole [early0] disabled
[    0.987795] 1e000d00.uartfull: ttyS1 at MMIO 0x1e000d00 (irq = 34, base_baud = 3125000) is a 16550A
[    0.997600] 1e000e00.uartfull: ttyS2 at MMIO 0x1e000e00 (irq = 35, base_baud = 3125000) is a 16550A
[    1.011394] IMQ driver loaded successfully. (numdevs = 3, numqueues = 1, imq_dev_accurate_stats = 1)
[    1.020533] 	Hooking IMQ after NAT on PREROUTING.
[    1.025225] 	Hooking IMQ before NAT on POSTROUTING.
[    1.030510] libphy: Fixed MDIO Bus: probed
[    1.095033] libphy: mdio: probed
[    1.098789] mtk_soc_eth 1e100000.ethernet: generated random MAC address ca:e9:d7:a4:39:41
[    1.107452] mtk_soc_eth 1e100000.ethernet: connected mac 0 to PHY at fixed-0:00 [uid=00000000, driver=Generic PHY]
[    1.118590] mtk_soc_eth 1e100000.ethernet eth0: mediatek frame engine at 0xbe100000, irq 10
[    1.127009] mtk_soc_eth 1e100000.ethernet: generated random MAC address 3e:57:25:82:50:8c
[    1.135703] mtk_soc_eth 1e100000.ethernet: connected mac 1 to PHY at fixed-0:01 [uid=00000000, driver=Generic PHY]
[    1.146846] mtk_soc_eth 1e100000.ethernet eth1: mediatek frame engine at 0xbe100000, irq 10
[    1.155435] PPP generic driver version 2.4.2
[    1.160051] PPP BSD Compression module registered
[    1.164810] PPP MPPE Compression module registered
[    1.169594] NET: Registered protocol family 24
[    1.174049] PPTP driver version 0.8.5
[    1.177997] register mt_drv
[    1.180962] <--mt7916_hif_init()
[    1.184749] Rx[0] Ring: total 24576 bytes allocated
[    1.194012] Rx[1] Ring: total 16384 bytes allocated
[    1.198997] <-- pci_alloc_tx_rx_ring_mem, Status=0
[    1.236581] 
[    1.236581] 
[    1.236581] === pAd = c0381000, size = 13482752 ===
[    1.236581] 
[    1.247702] <-- RTMPAllocAdapterBlock, Status=0
[    1.252228] PCI CSRBaseAddress =0xc0280000, csr_addr=0xc0280000!
[    1.258248] RTMPInitPCIeDevice():device_id=0x7915
[    1.262935] mt7915_init()-->
[    1.265812] Use the default iPAiLNA bin image!
[    1.270310] <--mt7915_init()
[    1.273469] RtmpOSFileOpen(): Error 2 opening /etc/wireless/l1profile.dat
[    1.281276] wdev_init(caller:RTMP_COM_IoctlHandle+0x39c/0x18ac), wdev(0)
[    1.288902] Rx[0] Ring: total 24576 bytes allocated
[    1.293967] Rx[1] Ring: total 24576 bytes allocated
[    1.301252] Rx[2] Ring: total 8192 bytes allocated
[    1.310401] Rx[3] Ring: total 16384 bytes allocated
[    1.317646] Rx[4] Ring: total 8192 bytes allocated
[    1.322482] <-- pci_alloc_tx_rx_ring_mem, Status=0
[    1.329102] GACT probability NOT on
[    1.332600] Mirror/redirect action on
[    1.336335] u32 classifier
[    1.339025]     Performance counters on
[    1.342835]     input device check on
[    1.346490]     Actions configured
[    1.349911] Netfilter messages via NETLINK v0.30.
[    1.354667] nf_conntrack version 0.5.0 (3845 buckets, 15380 max)
[    1.361138] ctnetlink v0.93: registering with nfnetlink.
[    1.366706] xt_time: kernel timezone is -0000
[    1.371275] gre: GRE over IPv4 demultiplexor driver
[    1.376342] ip_tables: (C) 2000-2006 Netfilter Core Team
[    1.381933] arp_tables: (C) 2002 David S. Miller
[    1.387994] NET: Registered protocol family 10
[    1.394474] ip6_tables: (C) 2000-2006 Netfilter Core Team
[    1.400215] NET: Registered protocol family 17
[    1.404665] NET: Registered protocol family 15
[    1.409160] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
[    1.421773] l2tp_core: L2TP core driver, V2.0
[    1.426153] l2tp_ppp: PPPoL2TP kernel driver, V2.0
[    1.430926] 8021q: 802.1Q VLAN Support v1.8
[    1.437890] mtkmips-pinmux pinctrl: spi is already enabled
[    1.443371] mtk-nand 1e003000.nand: Error applying setting, reverse things back
[    1.451220] nand: device found, Manufacturer ID: 0x01, Chip ID: 0xf1
[    1.457566] nand: AMD/Spansion S34ML01G2
[    1.461471] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    1.469730] Scanning device for bad blocks
[    3.165453] nmbm nmbm: Signature found at block 1023 [0x07fe0000]
[    3.174882] nmbm nmbm: First info table with writecount 0 found in block 960
[    3.191538] nmbm nmbm: Second info table with writecount 0 found in block 963
[    3.198795] nmbm nmbm: NMBM has been successfully attached
[    3.204299] 7 ofpart partitions found on MTD device nmbm
[    3.209595] Creating 7 MTD partitions on "nmbm":
[    3.214195] 0x000000000000-0x0000000e0000 : "Bootloader"
[    3.220982] 0x0000000e0000-0x0000001e0000 : "nvram"
[    3.227285] 0x0000001e0000-0x0000002e0000 : "Factory"
[    3.233660] 0x0000002e0000-0x0000003e0000 : "Factory2"
[    3.240232] 0x0000003e0000-0x0000035e0000 : "Kernel"
[    3.565178] 2 fit-fw partitions found on MTD device Kernel
[    3.570669] 0x0000003e0000-0x0000007a0000 : "linux"
[    3.576972] 0x00000078f094-0x0000035e0000 : "rootfs"
[    3.583547] mtd: device 7 (rootfs) set to be root filesystem
[    3.589259] 0x0000035e0000-0x0000067e0000 : "Kernel2"
[    3.596030] 0x0000067e0000-0x000007800000 : "jffs2"
[    3.634892] mt753x gsw: Switch is MediaTek MT7530 rev 1
[    3.661598] libphy: mt753x_mdio: probed
[    3.671626] hctosys: unable to open rtc device (rtc0)
[    3.684288] offset 0x14000 elapse 0ms
[    3.703690] found private data block and skip it
[    3.720812] VFS: Mounted root (squashfs filesystem) readonly on device 31:7.
[    3.745277] devtmpfs: mounted
[    3.748844] Freeing unused kernel memory: 220K
[    3.753269] This architecture does not have kernel memory protection.
[    5.522040] mt753x gsw: Port 1 Link is Up - 100Mbps/Full
[    6.721656] mt753x gsw: Port 0 Link is Up - 1Gbps/Full
[   11.706965] init (1): drop_caches: 1
[   13.716045] random: init: uninitialized urandom read (5 bytes read, 43 bits of entropy available)
[   15.734745] nvram_commit(): pid 1 comm [init]
[   15.738825] found private data block and skip it
[   16.355126] random: init: uninitialized urandom read (4 bytes read, 48 bits of entropy available)
[   16.364043] random: init: uninitialized urandom read (4 bytes read, 48 bits of entropy available)
[   18.145379] mt753x gsw: Port 0 Link is Down
[   18.149690] mt753x gsw: Port 1 Link is Down
[   20.880364] mt753x gsw: Port 0 Link is Up - 1Gbps/Full
[   23.514768] nvram_commit(): pid 1 comm [init]
[   23.518906] found private data block and skip it
[   25.574752] nvram_commit(): pid 1 comm [init]
[   25.578851] found private data block and skip it
[   26.464150] jffs2: notice: (1) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[   28.484768] nvram_commit(): pid 1 comm [init]
[   28.490842] found private data block and skip it

Thanks a lot for your help!

I see nothing odd, sadly. writing 20.03.2 should work, as in, what you've tried here:

1 Like

I do have a theory about this.
We didn't yet prove that the bootloader of this device is capable to run the 2nd Kernel partition if it can't boot the first one, that just might be the case here.
If there's something broken with the 22.03 builds it will (theoretically) boot the 2nd partition that OpenWrt doesn't currently touch, so you have the official firmware intact on it, which the bootloader boots.
I will try today to flash that specific build and see what's going on via serial, and maybe try to trash the OpenWrt partition to see what will the device do.
LE: yup, just checked. If it can't boot the first partition (Kernel, I've trashed it on purpose) it will check the 2nd partition (Kernel2) and if that's ok, it will copy it to Kernel. Log:

Hit any key to stop autoboot:  0

  *** U-Boot Boot Menu ***

     1. Startup system (Default)
     2. Upgrade firmware
     3. Upgrade bootloader
     4. Upgrade bootloader (advanced mode)
     5. Load image
     0. U-Boot console


  Press UP/DOWN to move, ENTER to select
Reading from 0x1e0000, size 0x100000
Succeeded

RT-AX53U bootloader version: 1.0.0.0
Reading from 0x1e0000, size 0x100000
Succeeded
MAC Address: FC:34:97:0C:A0:60
Reading from 0x1e0000, size 0x40000
Succeeded
Check Factory's EEPROM successfully! (r = 16)
Reading from 0x2e0000, size 0x40000
Succeeded
Check Factory2's EEPROM successfully! (r = 16)
Reading from 0x3e0000, size 0x2000
Succeeded
Reading from 0x3e0000, size 0x3f
Succeeded
Bad TRX magic.
Reading from 0x35e0000, size 0x2000
Succeeded
Reading from 0x35e0000, size 0x29c86f8
Succeeded
   Image Name:
   Image Type:   MIPS Linux Kernel Image (lzma compressed)
   Data Size:    43812536 Bytes = 41.8 MiB
   Load Address: 81001000
   Entry Point:  81001000
   Verifying Checksum ... OK

## 1st FW damaged; 2nd FW good ...
Erasing from 0x3e0000, size 0x29c86f8 ...
Succeeded
Writing to 0x3e0000, size 0x29c86f8
Succeeded

## Fix 1st FW and boot from 2st FW ...
## Loading kernel from FIT Image at 83000040 ...

But I did flash 22.03.2 without any issues, and without a serial console I can't imagine why yours doesn't like OpenWrt.

1 Like

Hi,

I just bought the device and almost got afraid of flashing it due to this post ^^
(I took backups of all mtd partitions though and ASUS recovery should get the device booting again in most cases)
Flashing worked like a charm.
I rebooted with "reboot" command and when just the "Internet" LED (Saturn icon) kept on blinking, I used the power switch to reboot forcefully. Then OpenWRT booted up with LuCI. (I flashed the newest release)

Good luck @paemuri in getting yours flashed :slight_smile:

Stuff I noticed:
The router updates itself even when autoupdates are disabled (atleast it did for me).
(It was in Access Point mode and connected via WAN to my AVM Fritz!Box)
Unless the Fritz!Box somehow told it to update (some TR-Protocols), it did so on its own.

Maybe a bit offtopic:
I'm wondering whether it's hard to create actual images for the device to flash via stock web gui. Asus ships .trx files after all since it's an OpenWRT fork. I might binwalk the official trx files if I have the time.
https://openwrt.org/docs/techref/image.format
But if anyone's already working on this, pls tell me. I have never done something like this and still need to figure out where to start ^^

1 Like

Regarding the stock flashable image, not worth doing it, it will cause useless NAND wear, flashing the image twice (first on backup then on main partition).
I'm currently running a self built image with patches gathered from different pull requests and comments, expanding the usable space in OpenWrt

Filesystem                Size      Used Available Use% Mounted on
/dev/root                 5.3M      5.3M         0 100% /rom
tmpfs                   122.0M      1.2M    120.8M   1% /tmp
/dev/ubi0_1              91.2M     56.0K     86.4M   0% /overlay
overlayfs:/overlay       91.2M     56.0K     86.4M   0% /
tmpfs                   512.0K         0    512.0K   0% /dev
2 Likes

That was something else I was wondering about:
Whether it's possible to change the partition layout without modifying the bootloader.
Nice that that's possible :slight_smile:

Maybe it's useless to flash both partitions but if any update in the future fails, it would reboot to stock firmware without those patches, right?

I actually bought the device to add Gluon support since it seems to be a great entry device with WiFi6 support that we could recommend to our Freifunk users.

I would kinda like the ability to switch to OpenWRT/Freifunk via GUI more than explaining our users how to flash via ssh. Even if it's not all that complicated, it's way less work since you don't need to install/run any additional software for ssh. And we wouldn't run into issues like this thread and the first reboot of the device would work without a kernel panic ^^

Or is the current .bin already flashable via stock GUI? (probably not)

Hi. I have the same problem as paemuri. I tried to install newest release - 22.03.2 via ssh. After reboot command router booted properly, so I configured wifi, dhcp etc. and everything was working. After that I wanted to move device to other room. Router didn't boot second time. Power led lights up than led for connected ethernet cable blinks but only once. All led goes out for a while and process starts from beginning. I recovered firmware by Asus firmware restoration tool and tried to install again, but unsuccessfully.

1 Like

I had similar issues:
a) the image shown in the wiki will brick your router. You have to use the latest image for openwrt 22.03, available in the table on the same wiki
b) not sure if it's relevant but I gave it a few minutes of idle after mtd-write
c) After proper flashing, router has only one LED is lit (which is different from asus default where many LEDs are flashing) - one can think it's bricked while it's not
d) !SUPER IMPORTANT! don't forget to turn back DHCP to ON on your LAN interface. I had static address set 192.168.1.10 (for the purpose of restoring bricked device) and it couldn't connect with newly flashed open_wrt device. Router behaved like if it was bricked.

I struggled so much with this so much, please edit wiki instruction so it references only latest image for mtd-write.

Thanks a lot!

1 Like

In my case every image causes the same. I recorded video how it looks like: https://streamable.com/fr99z9
After that I had to use Asus app to recover firmware. After recovering, all setting (lan, wan etc) are the same as before flashing openwrt, so its very interesting.

the settings are stored in a partition called nvram, I think, which openwrt doesn't touch. that's why everything is as it was before.

Hi there!
I just got the ASUS RT-AX53U and followed the wiki in order to flash OpenWRT.
It didn't flash the firmware the first time so the second time I waited for 10 minutes before rebooting the router and everything worked fine.

This is the file I used:
mtd-write -i openwrt-22.03.2-ramips-mt7621-asus_rt-ax53u-squashfs-factory.bin -d Kernel

Regards.

2 Likes

OK, now 22.03.3 has been released.

I still have problem with installation. Event with tftp I cant boot openwrt.



RT-AX53U bootloader version: 1.0.0.0

Input U-Boot's IP address: 192.168.1.1
Input TFTP server's IP address: 192.168.1.2
Input IP netmask: 255.255.255.0
Input file name: openwrt-ramips-mt7621-asus_rt-ax53u-squashfs-factory.bin

Using eth@1e100000 device
TFTP from server 192.168.1.2; our IP address is 192.168.1.1
Filename 'openwrt-ramips-mt7621-asus_rt-ax53u-squashfs-factory.bin'.
Load address: 0x83000000
Loading: T #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         ################################
         3.1 MiB/s
done
Bytes transferred = 9043968 (8a0000 hex)

*** Loaded 9043968 (0x8a0000) bytes at 0x83000000 ***


Erasing from 0x3e0000 to 0xc7ffff, size 0x8a0000 ... OK
Writting from 0x83000000 to 0x3e0000, size 0x8a0000 ... OK

*** Firmware upgrade completed! ***

Error: no Image found at offset 0x003e0000
Error: no Image found at offset 0x003e0040
=>

When trying to boot:

[    4.409247] pci 0000:02:00.0: BAR 4: assigned [mem 0x60504000-0x60504fff 64bit pref]
[    4.416990] pci 0000:00:01.0: PCI bridge to [bus 02]
[    4.421965] pci 0000:00:01.0:   bridge window [io  0x1e161000-0x1e161fff]
[    4.428724] pci 0000:00:01.0:   bridge window [mem 0x60300000-0x603fffff]
[    4.435504] pci 0000:00:01.0:   bridge window [mem 0x60400000-0x605fffff pref]
[    4.446863] UBI error: no valid UBI magic found inside mtd7
[    4.453205] mt7530 mdio-bus:1f: Link is Up - 1Gbps/Full - flow control rx/tx
[    4.460915] /dev/root: Can't open blockdev
[    4.465089] VFS: Cannot open root device "(null)" or unknown-block(0,0): error -6
[    4.472564] Please append a correct "root=" boot option; here are the available partitions:
[    4.480888] 1f00             512 mtdblock0
[    4.480893]  (driver?)
[    4.487435] 1f01             384 mtdblock1
[    4.487440]  (driver?)
[    4.493972] 1f02            1024 mtdblock2
[    4.493977]  (driver?)
[    4.500480] 1f03            1024 mtdblock3
[    4.500484]  (driver?)
[    4.507007] 1f04            1024 mtdblock4
[    4.507012]  (driver?)
[    4.513540] 1f05           51200 mtdblock5
[    4.513544]  (driver?)
[    4.520049] 1f06            4096 mtdblock6
[    4.520053]  (driver?)
[    4.526579] 1f07           47104 mtdblock7
[    4.526584]  (driver?)
[    4.533110] 1f08           51200 mtdblock8
[    4.533115]  (driver?)
[    4.539618] 1f09           16512 mtdblock9
[    4.539622]  (driver?)
[    4.546155] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[    4.554412] Rebooting in 1 seconds..

Try to flash initramfs first via tftp.

Fixed: https://github.com/openwrt/openwrt/issues/12674

Snapshots contain the fix now.

1 Like

Hi! I've tried everything suggested here but this router doesn't want to boot with OWRT. Everytime it boots in stock just like nothing happened.

1 Like