Good work @csharper2005. Did you manage to find a way to reset the boot count? or does it change boot flag after restarting?
My device has a bad erase block before kernel. This makes it difficult to write the images to the correct addresses under U-Boot. If I get another one and I'll continue working on it.
Ok. Which part of the partition is that? I thought rewriting the whole partition should get rid of them?
Badblock is on factory partition. When I write the kernel image from initramfs it is shifted by 0x20000 left of what U-boot expects. Details are here - https://github.com/openwrt/openwrt/pull/4019#issuecomment-860268030. Do you have any idea how to overcome this?
# sc_dl
MT7621 # ? sc_dl
sc_dl sc_dl usage:
sc_dl [debug_level]
debug_level = [0,3]
0 - all
1 - warn
2 - info
3 - error
default is 2
MT7621 # sc_dl [0]
SC_DEBUG: Nand Partition Table Magic Found at 100000.
******************************************
Uboot StandAlone Entry
******************************************
DEBUG_INF:===================================================
DEBUG_INF:Sercomm Upgrade(Module Ver 2.16.01.31) Start!
DEBUG_INF:===================================================
Trying Eth0 (10/100-M)
Waitting for RX_DMA_BUSY status Start... done
ETH_STATE_ACTIVE!!
ECC bytes for page : 28
DEBUG_INF:ecc bytes 28
DEBUG_DBG:<boot-version > has been read before erased!
DEBUG_DBG:<boot-pid > has been read before erased!
DEBUG_DBG:<calibration1 > has been read before erased!
DEBUG_DBG:<calibration2 > has been read before erased!
DEBUG_DBG:<mac > has been read before erased!
DEBUG_DBG:<CSN > has been read before erased!
DEBUG_DBG:<language ID > has been read before erased!
DEBUG_DBG:<Domain ID > has been read before erased!
DEBUG_DBG:<PCBASN > has been read before erased!
DEBUG_DBG:<PIN > has been read before erased!
DEBUG_DBG:<SSID > has been read before erased!
DEBUG_DBG:<Passphrase > has been read before erased!
DEBUG_DBG:<boot_flag > has been read before erased!
DEBUG_DBG:<boot_count1 > has been read before erased!
DEBUG_DBG:<boot_count2 > has been read before erased!
DEBUG_DBG:<header_mian_kernel > has been read before erased!
DEBUG_DBG:<header_bk_kernel > has been read before erased!
DEBUG_DBG:=============================================
DEBUG_DBG:All parameters information listed:
DEBUG_DBG:=============================================
DEBUG_DBG:Partition Index 0, Name <u-boot>:
DEBUG_DBG:-----------------------------------
DEBUG_DBG:Param Name good_blk_idx offs_in_blk length Actionl
DEBUG_DBG:boot-version 4 ffb0 4 UPDATED
DEBUG_DBG:boot-pid 4 ffba 46 UPDATED
DEBUG_DBG:
DEBUG_DBG:Partition Index 2, Name <factory-data>:
DEBUG_DBG:-----------------------------------
DEBUG_DBG:Param Name good_blk_idx offs_in_blk length Actionl
DEBUG_DBG:calibration1 0 0 1000 KEPT
DEBUG_DBG:calibration2 0 8000 1000 KEPT
DEBUG_DBG:mac 1 1000 6 KEPT
DEBUG_DBG:CSN 1 1010 c KEPT
DEBUG_DBG:language ID 1 1040 4 KEPT
DEBUG_DBG:Domain ID 1 1050 4 KEPT
DEBUG_DBG:PCBASN 1 1060 c KEPT
DEBUG_DBG:PIN 1 1070 8 KEPT
DEBUG_DBG:SSID 1 1080 20 KEPT
DEBUG_DBG:Passphrase 1 10a0 40 KEPT
DEBUG_DBG:
DEBUG_DBG:Partition Index 3, Name <dual-flag>:
DEBUG_DBG:-----------------------------------
DEBUG_DBG:Param Name good_blk_idx offs_in_blk length Actionl
DEBUG_DBG:boot_flag 0 0 8 UPDATED
DEBUG_DBG:boot_count1 1 1 1 UPDATED
DEBUG_DBG:boot_count2 1 2 1 UPDATED
DEBUG_DBG:
DEBUG_DBG:Partition Index 4, Name <uImage1>:
DEBUG_DBG:-----------------------------------
DEBUG_DBG:Param Name good_blk_idx offs_in_blk length Actionl
DEBUG_DBG:header_mian_kernel 0 0 100 UPDATED
DEBUG_DBG:
DEBUG_DBG:Partition Index 5, Name <uImage2>:
DEBUG_DBG:-----------------------------------
DEBUG_DBG:Param Name good_blk_idx offs_in_blk length Actionl
DEBUG_DBG:header_bk_kernel 0 0 100 UPDATED
DEBUG_DBG:
DEBUG_DBG:=============================================
DEBUG_DBG:init state, listening
# sc_fl_map
MT7621 # sc_fl_map
SC_DEBUG: Nand Partition Table Magic Found at 100000.
******************************************
Uboot StandAlone Entry
******************************************
********************************************
Flash Map Information
********************************************
Partition Offset Length
u-boot 0 100000
part_map 100000 100000
factory-data 200000 100000
dual-flag 300000 100000
uImage1 400000 600000
uImage2 a00000 600000
rootfs1 1000000 2000000
rootfs2 3000000 2000000
config/log 5000000 1400000
app-tmp 6400000 1b80000
-----------------------------------------
Persist Partition:
part_map
factory-data
app-tmp
----------------------------------------
Sercomm Private:
Name Offset Length
calibration1 200000 1000
calibration2 208000 1000
mac 221000 6
CSN 221010 c
language ID 221040 4
Domain ID 221050 4
PCBASN 221060 c
PIN 221070 8
SSID 221080 20
Passphrase 2210a0 40
boot-version 8ffb0 4
boot-pid 8ffba 46
boot_flag 300000 8
boot_count1 320001 1
boot_count2 320002 1
header_mian_kernel 400000 100
header_bk_kernel a00000 100
Now I have on my test subject Turbo +:
boot_count1 -> mtd "Boot Flag" 0x20001 = 03
boot_count2 -> mtd "Boot Flag" 0x20002 = FF
Part Bootlog
*************************************
Boot Flag : Sercomm0�
*************************************
Kernel image header:
Image Addr: 00400100
Image Len: 00000004
Image CRC: 0362D7A9
Start to calculate kernel_crc from 0x00400100 ....
Kernel CRC verify OK!
Kernel Addr : 0xbc400100
## Booting image at bc400100 ...
Image Name: MIPS OpenWrt Linux-5.4.111
Image Type: MIPS Linux Kernel Image (lzma compressed)
Data Size: 2382013 Bytes = 2.3 MB
Load Address: 81001000
Entry Point: 81001000
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
boot_count1 is 03
rootfs check fail
Update boot flag to Sercomm1�
ranand_erase: start:300000, len:20000
.
*************************************
Boot Flag : Sercomm1�
*************************************
Kernel image header:
Image Addr: FFFFFFFF
Image Len: FFFFFFFF
Image CRC: FFFFFFFF
The kernel size is too large!
kernel check fail
Could not find valid kernel addr!
DEBUG_INF:===================================================
DEBUG_INF:Sercomm Upgrade(Module Ver 2.16.01.31) Start!
DEBUG_INF:===================================================
Blink red & green.
Reset counter: mtd "Boot Flag" 0x20001 -> FF
No I don't unfortunately. I initially thought that when you rewrite a partition with mtd it should automatically reset the bad blocks but I think I was wrong.
What I do sometimes with my devices to get them back to the way they were when I first got them is to load an initramfs kernel and then run mtd write on each single partiton (from mtd0 till mtd9) and then power off instead of the reboot command (just in case the reboot tries to write something to flash while rebooting). Maybe something to try I don't know.
When the UART is connected, if the kernel cannot load Uboot, go into "emergency mode" (the sс_dl"command is started) blinking a red-green LED.
It is necessary to interrupt Ctrl+C.
Uboot will execute the default boot mode BootType = 3 -> 3: Boot system code via Flash (default).
(If this is not the case, you must first set "setenv BootType=3" & "saveenv").
Uboot will start sorting out addresses from 0xbc400000 with a shift of 0x20000 and Uboot will try to boot from them, the red LED will be on in the process.
BootLog. "Emergency mode". Boot system code via Flash (default).
##### The CPU freq = 880 MHZ ####
estimate memory size =128 Mbytes
#Reset_MT7530
set LAN/WAN WLLLL
Load Standalone from 40000
SC_DEBUG: Nand Partition Table Magic Found at 100000.
******************************************
Uboot StandAlone Entry
******************************************
GPIO init
*********************************************************
Press any key to enter Boot Command Interface
*********************************************************
0
SC_DEBUG: Nand Partition Table Magic Found at 100000.
******************************************
Uboot StandAlone Entry
******************************************
***************************************************
Sercomm Boot Version 2.0.0.0, at Mar 6 2018, 19:39:56
***************************************************
SC_DEBUG: Nand Partition Table Magic Found at 100000.
Entering Firmware : Everything is OK.
*************************************
Boot Flag : Sercomm1�
*************************************
Kernel image header:
Image Addr: 00A00100
Image Len: 0022A5B1
Image CRC: BD12D932
Start to calculate kernel_crc from 0x00a00100 ....
Kernel CRC verify OK!
Kernel Addr : 0xbca00100
## Booting image at bca00100 ...
Image Name: MIPS OpenWrt Linux-5.4.119
Image Type: MIPS Linux Kernel Image (uncompressed)
Data Size: 2270577 Bytes = 2.2 MB
Load Address: 80001000
Entry Point: 80001000
Verifying Checksum ... OK
Unimplemented compression type 0
kernel check fail
Update boot flag to Sercomm0�
ranand_erase: start:300000, len:20000
.
*************************************
Boot Flag : Sercomm0�
*************************************
Kernel image header:
Image Addr: 00400100
Image Len: 00000004
Image CRC: 0362D7A9
Start to calculate kernel_crc from 0x00400100 ....
Kernel CRC verify OK!
Kernel Addr : 0xbc400100
## Booting image at bc400100 ...
Image Name: MIPS OpenWrt Linux-5.4.111
Image Type: MIPS Linux Kernel Image (lzma compressed)
Data Size: 2382013 Bytes = 2.3 MB
Load Address: 81001000
Entry Point: 81001000
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
boot_count1 is 03
rootfs check fail
Could not find valid kernel addr!
DEBUG_INF:===================================================
DEBUG_INF:Sercomm Upgrade(Module Ver 2.16.01.31) Start!
DEBUG_INF:===================================================
Trying Eth0 (10/100-M)
Waitting for RX_DMA_BUSY status Start... done
ETH_STATE_ACTIVE!!
ECC bytes for page : 28
DEBUG_INF:ecc bytes 28
DEBUG_DBG:<boot-version > has been read before erased!
DEBUG_DBG:<boot-pid > has been read before erased!
DEBUG_DBG:<calibration1 > has been read before erased!
DEBUG_DBG:<calibration2 > has been read before erased!
DEBUG_DBG:<mac > has been read before erased!
DEBUG_DBG:<CSN > has been read before erased!
DEBUG_DBG:<language ID > has been read before erased!
DEBUG_DBG:<Domain ID > has been read before erased!
DEBUG_DBG:<PCBASN > has been read before erased!
DEBUG_DBG:<PIN > has been read before erased!
DEBUG_DBG:<SSID > has been read before erased!
DEBUG_DBG:<Passphrase > has been read before erased!
DEBUG_DBG:<boot_flag > has been read before erased!
DEBUG_DBG:<boot_count1 > has been read before erased!
DEBUG_DBG:<boot_count2 > has been read before erased!
DEBUG_DBG:<header_mian_kernel > has been read before erased!
DEBUG_DBG:<header_bk_kernel > has been read before erased!
DEBUG_DBG:=============================================
DEBUG_DBG:All parameters information listed:
DEBUG_DBG:=============================================
DEBUG_DBG:Partition Index 0, Name <u-boot>:
DEBUG_DBG:-----------------------------------
DEBUG_DBG:Param Name good_blk_idx offs_in_blk length Action of Erase-All
DEBUG_DBG:boot-version 4 ffb0 4 UPDATED
DEBUG_DBG:boot-pid 4 ffba 46 UPDATED
DEBUG_DBG:
DEBUG_DBG:Partition Index 2, Name <factory-data>:
DEBUG_DBG:-----------------------------------
DEBUG_DBG:Param Name good_blk_idx offs_in_blk length Action of Erase-All
DEBUG_DBG:calibration1 0 0 1000 KEPT
DEBUG_DBG:calibration2 0 8000 1000 KEPT
DEBUG_DBG:mac 1 1000 6 KEPT
DEBUG_DBG:CSN 1 1010 c KEPT
DEBUG_DBG:language ID 1 1040 4 KEPT
DEBUG_DBG:Domain ID 1 1050 4 KEPT
DEBUG_DBG:PCBASN 1 1060 c KEPT
DEBUG_DBG:PIN 1 1070 8 KEPT
DEBUG_DBG:SSID 1 1080 20 KEPT
DEBUG_DBG:Passphrase 1 10a0 40 KEPT
DEBUG_DBG:
DEBUG_DBG:Partition Index 3, Name <dual-flag>:
DEBUG_DBG:-----------------------------------
DEBUG_DBG:Param Name good_blk_idx offs_in_blk length Action of Erase-All
DEBUG_DBG:boot_flag 0 0 8 UPDATED
DEBUG_DBG:boot_count1 1 1 1 UPDATED
DEBUG_DBG:boot_count2 1 2 1 UPDATED
DEBUG_DBG:
DEBUG_DBG:Partition Index 4, Name <uImage1>:
DEBUG_DBG:-----------------------------------
DEBUG_DBG:Param Name good_blk_idx offs_in_blk length Action of Erase-All
DEBUG_DBG:header_mian_kernel 0 0 100 UPDATED
DEBUG_DBG:
DEBUG_DBG:Partition Index 5, Name <uImage2>:
DEBUG_DBG:-----------------------------------
DEBUG_DBG:Param Name good_blk_idx offs_in_blk length Action of Erase-All
DEBUG_DBG:header_bk_kernel 0 0 100 UPDATED
DEBUG_DBG:
DEBUG_DBG:=============================================
DEBUG_DBG:init state, listening
DEBUG_DBG:state, listening
DEBUG_DBG:event, assign / set erase mode / console break
DEBUG_DBG:state, exit
DEBUG_INF:Console Ctrl C breaks dl process!
Please choose the operation:
1: Load system code to SDRAM via TFTP.
2: Load system code then write to Flash via TFTP.
3: Boot system code via Flash (default).
4: Entr boot command line interface.
7: Load Boot Loader code then write to Flash via Serial.
9: Load Boot Loader code then write to Flash via TFTP.
default: 3
3: System Boot system code via Flash.
## Booting image at bc400000 ...
Bad Magic Number,53657200
Search header in next block address 420000
Bad Magic Number,5A5B05C5
Search header in next block address 440000
Bad Magic Number,D365E16D
Search header in next block address 460000
Bad Magic Number,EB26842A
Search header in next block address 480000
Bad Magic Number,FF8874F1
Search header in next block address 4a0000
Bad Magic Number,D1F5A3C8
Search header in next block address 4c0000
Bad Magic Number,26767CBB
Search header in next block address 4e0000
Bad Magic Number,DD247356
Search header in next block address 500000
Bad Magic Number,FC285668
Search header in next block address 520000
Bad Magic Number,22FDA9FA
Search header in next block address 540000
Bad Magic Number,9B34A2FC
Search header in next block address 560000
Bad Magic Number,E6EC967B
Search header in next block address 580000
Bad Magic Number,F86B2025
Search header in next block address 5a0000
Bad Magic Number,1B77B7CD
Search header in next block address 5c0000
Bad Magic Number,D3A28D1C
Search header in next block address 5e0000
Bad Magic Number,B0D49A0F
Search header in next block address 600000
Bad Magic Number,96431438
Search header in next block address 620000
Bad Magic Number,E393D6A8
Search header in next block address 640000
Bad Magic Number,067F74BE
Search header in next block address 660000
Bad Magic Number,FFFFFFFF
Search header in next block address 680000
Bad Magic Number,FFFFFFFF
Search header in next block address 6a0000
Bad Magic Number,FFFFFFFF
Search header in next block address 6c0000
Bad Magic Number,FFFFFFFF
Search header in next block address 6e0000
Bad Magic Number,FFFFFFFF
Search header in next block address 700000
Bad Magic Number,FFFFFFFF
Search header in next block address 720000
Bad Magic Number,FFFFFFFF
Search header in next block address 740000
Bad Magic Number,FFFFFFFF
Search header in next block address 760000
Bad Magic Number,FFFFFFFF
Search header in next block address 780000
Bad Magic Number,FFFFFFFF
Search header in next block address 7a0000
Bad Magic Number,FFFFFFFF
Search header in next block address 7c0000
Bad Magic Number,FFFFFFFF
Search header in next block address 7e0000
Bad Magic Number,FFFFFFFF
Search header in next block address 800000
Bad Magic Number,FFFFFFFF
Search header in next block address 820000
Bad Magic Number,FFFFFFFF
Search header in next block address 840000
Bad Magic Number,FFFFFFFF
Search header in next block address 860000
Bad Magic Number,FFFFFFFF
Search header in next block address 880000
Bad Magic Number,FFFFFFFF
Search header in next block address 8a0000
Bad Magic Number,FFFFFFFF
Search header in next block address 8c0000
Bad Magic Number,FFFFFFFF
Search header in next block address 8e0000
Bad Magic Number,FFFFFFFF
Search header in next block address 900000
Bad Magic Number,FFFFFFFF
Search header in next block address 920000
Bad Magic Number,FFFFFFFF
Search header in next block address 940000
Bad Magic Number,FFFFFFFF
Search header in next block address 960000
Bad Magic Number,FFFFFFFF
Search header in next block address 980000
Bad Magic Number,FFFFFFFF
Search header in next block address 9a0000
Bad Magic Number,FFFFFFFF
Search header in next block address 9c0000
Bad Magic Number,FFFFFFFF
Search header in next block address 9e0000
Bad Magic Number,FFFFFFFF
Search header in next block address a00000
Bad Magic Number,53657200
Search header in next block address a20000
Bad Magic Number,CA4EEDCF
Search header in next block address a40000
Bad Magic Number,F36AED4D
Search header in next block address a60000
Bad Magic Number,EFACB299
Search header in next block address a80000
Bad Magic Number,C8DAA96E
Search header in next block address aa0000
Bad Magic Number,D8D7B148
Search header in next block address ac0000
Bad Magic Number,7B2DB592
Search header in next block address ae0000
Bad Magic Number,40C3A4F4
Search header in next block address b00000
Bad Magic Number,C7C192C8
Search header in next block address b20000
Bad Magic Number,E46B66BB
Search header in next block address b40000
Bad Magic Number,67490A9E
Search header in next block address b60000
Bad Magic Number,29F1ABD3
Search header in next block address b80000
Bad Magic Number,AD132ABC
Search header in next block address ba0000
Bad Magic Number,89D4AC8A
Search header in next block address bc0000
Bad Magic Number,9C6B5B58
Search header in next block address be0000
Bad Magic Number,65671E4F
Search header in next block address c00000
Bad Magic Number,69C8DBB6
Search header in next block address c20000
Bad Magic Number,F0B8CBBB
Search header in next block address c40000
Bad Magic Number,FFFFFFFF
Search header in next block address c60000
Bad Magic Number,FFFFFFFF
Search header in next block address c80000
Bad Magic Number,FFFFFFFF
Search header in next block address ca0000
Bad Magic Number,FFFFFFFF
Search header in next block address cc0000
Bad Magic Number,FFFFFFFF
Search header in next block address ce0000
Bad Magic Number,FFFFFFFF
Search header in next block address d00000
Bad Magic Number,FFFFFFFF
Search header in next block address d20000
Bad Magic Number,FFFFFFFF
Search header in next block address d40000
Bad Magic Number,FFFFFFFF
Search header in next block address d60000
Bad Magic Number,FFFFFFFF
Search header in next block address d80000
Bad Magic Number,FFFFFFFF
Search header in next block address da0000
Bad Magic Number,FFFFFFFF
Search header in next block address dc0000
Bad Magic Number,FFFFFFFF
Search header in next block address de0000
Bad Magic Number,FFFFFFFF
Search header in next block address e00000
Bad Magic Number,FFFFFFFF
Search header in next block address e20000
Bad Magic Number,FFFFFFFF
Search header in next block address e40000
Bad Magic Number,FFFFFFFF
Search header in next block address e60000
Bad Magic Number,FFFFFFFF
Search header in next block address e80000
Bad Magic Number,FFFFFFFF
Search header in next block address ea0000
Bad Magic Number,FFFFFFFF
Search header in next block address ec0000
Bad Magic Number,FFFFFFFF
Search header in next block address ee0000
Bad Magic Number,FFFFFFFF
Search header in next block address f00000
Bad Magic Number,FFFFFFFF
Search header in next block address f20000
Bad Magic Number,FFFFFFFF
Search header in next block address f40000
Bad Magic Number,FFFFFFFF
Search header in next block address f60000
Bad Magic Number,FFFFFFFF
Search header in next block address f80000
Bad Magic Number,FFFFFFFF
Search header in next block address fa0000
Bad Magic Number,FFFFFFFF
Search header in next block address fc0000
Bad Magic Number,FFFFFFFF
Search header in next block address fe0000
Bad Magic Number,FFFFFFFF
Search header in next block address 1000000
Bad Magic Number,55424923
Search header in next block address 1020000
Bad Magic Number,55424923
Search header in next block address 1040000
Bad Magic Number,55424923
Search header in next block address 1060000
Bad Magic Number,55424923
Search header in next block address 1080000
Bad Magic Number,55424923
Search header in next block address 10a0000
Bad Magic Number,55424923
Search header in next block address 10c0000
Bad Magic Number,55424923
Search header in next block address 10e0000
Bad Magic Number,55424923
Search header in next block address 1100000
Bad Magic Number,55424923
Search header in next block address 1120000
Bad Magic Number,55424923
Search header in next block address 1140000
Bad Magic Number,55424923
Search header in next block address 1160000
Bad Magic Number,55424923
Search header in next block address 1180000
Bad Magic Number,55424923
Search header in next block address 11a0000
Bad Magic Number,55424923
Search header in next block address 11c0000
Bad Magic Number,55424923
Search header in next block address 11e0000
Bad Magic Number,55424923
Search header in next block address 1200000
Bad Magic Number,55424923
Search header in next block address 1220000
Bad Magic Number,55424923
Search header in next block address 1240000
Bad Magic Number,55424923
Search header in next block address 1260000
Bad Magic Number,55424923
Search header in next block address 1280000
Bad Magic Number,55424923
Search header in next block address 12a0000
Bad Magic Number,55424923
Search header in next block address 12c0000
Bad Magic Number,55424923
Search header in next block address 12e0000
Bad Magic Number,55424923
Search header in next block address 1300000
Bad Magic Number,55424923
Search header in next block address 1320000
Bad Magic Number,55424923
Search header in next block address 1340000
Bad Magic Number,55424923
Search header in next block address 1360000
Bad Magic Number,55424923
Search header in next block address 1380000
Bad Magic Number,55424923
Search header in next block address 13a0000
Bad Magic Number,55424923
Search header in next block address 13c0000
Bad Magic Number,55424923
Search header in next block address 13e0000
Bad Magic Number,55424923
Search header in next block address 1400000
Bad Magic Number,55424923
Search header in next block address 1420000
Bad Magic Number,55424923
Search header in next block address 1440000
Bad Magic Number,55424923
Search header in next block address 1460000
Bad Magic Number,55424923
Search header in next block address 1480000
Bad Magic Number,55424923
Search header in next block address 14a0000
Bad Magic Number,55424923
Search header in next block address 14c0000
Bad Magic Number,55424923
Search header in next block address 14e0000
Bad Magic Number,55424923
Search header in next block address 1500000
Bad Magic Number,55424923
Search header in next block address 1520000
Bad Magic Number,55424923
Search header in next block address 1540000
Bad Magic Number,55424923
Search header in next block address 1560000
Bad Magic Number,55424923
Search header in next block address 1580000
Bad Magic Number,55424923
Search header in next block address 15a0000
Bad Magic Number,55424923
Search header in next block address 15c0000
Bad Magic Number,55424923
Search header in next block address 15e0000
Bad Magic Number,55424923
Search header in next block address 1600000
Bad Magic Number,55424923
Search header in next block address 1620000
Bad Magic Number,55424923
Search header in next block address 1640000
Bad Magic Number,55424923
Search header in next block address 1660000
Bad Magic Number,55424923
Search header in next block address 1680000
Bad Magic Number,55424923
Search header in next block address 16a0000
Bad Magic Number,55424923
Search header in next block address 16c0000
Bad Magic Number,55424923
Search header in next block address 16e0000
Bad Magic Number,55424923
Search header in next block address 1700000
Bad Magic Number,55424923
Search header in next block address 1720000
Bad Magic Number,55424923
Search header in next block address 1740000
Bad Magic Number,55424923
Search header in next block address 1760000
Bad Magic Number,55424923
Search header in next block address 1780000
Bad Magic Number,55424923
Search header in next block address 17a0000
Bad Magic Number,55424923
Search header in next block address 17c0000
Bad Magic Number,55424923
Search header in next block address 17e0000
Bad Magic Number,55424923
Search header in next block address 1800000
Bad Magic Number,55424923
Search header in next block address 1820000
Bad Magic Number,55424923
Search header in next block address 1840000
Bad Magic Number,55424923
Search header in next block address 1860000
Bad Magic Number,55424923
Search header in next block address 1880000
Bad Magic Number,55424923
Search header in next block address 18a0000
Bad Magic Number,55424923
Search header in next block address 18c0000
Bad Magic Number,55424923
Search header in next block address 18e0000
Bad Magic Number,55424923
Search header in next block address 1900000
Bad Magic Number,55424923
Search header in next block address 1920000
Bad Magic Number,55424923
Search header in next block address 1940000
Bad Magic Number,55424923
Search header in next block address 1960000
Bad Magic Number,55424923
Search header in next block address 1980000
Bad Magic Number,55424923
Search header in next block address 19a0000
Bad Magic Number,55424923
Search header in next block address 19c0000
Bad Magic Number,55424923
Search header in next block address 19e0000
Bad Magic Number,55424923
Search header in next block address 1a00000
Bad Magic Number,55424923
Search header in next block address 1a20000
Bad Magic Number,55424923
Search header in next block address 1a40000
Bad Magic Number,55424923
Search header in next block address 1a60000
Bad Magic Number,55424923
Search header in next block address 1a80000
Bad Magic Number,55424923
Search header in next block address 1aa0000
Bad Magic Number,55424923
Search header in next block address 1ac0000
Bad Magic Number,55424923
Search header in next block address 1ae0000
Bad Magic Number,55424923
Search header in next block address 1b00000
Bad Magic Number,55424923
Search header in next block address 1b20000
Bad Magic Number,55424923
Search header in next block address 1b40000
Bad Magic Number,55424923
Search header in next block address 1b60000
Bad Magic Number,55424923
Search header in next block address 1b80000
Bad Magic Number,55424923
Search header in next block address 1ba0000
Bad Magic Number,55424923
Search header in next block address 1bc0000
Bad Magic Number,55424923
Search header in next block address 1be0000
Bad Magic Number,55424923
Search header in next block address 1c00000
Bad Magic Number,55424923
Search header in next block address 1c20000
Bad Magic Number,55424923
Search header in next block address 1c40000
Bad Magic Number,55424923
Search header in next block address 1c60000
Bad Magic Number,55424923
Search header in next block address 1c80000
Bad Magic Number,55424923
Search header in next block address 1ca0000
Bad Magic Number,55424923
Search header in next block address 1cc0000
Bad Magic Number,55424923
Search header in next block address 1ce0000
Bad Magic Number,55424923
Search header in next block address 1d00000
Bad Magic Number,55424923
Search header in next block address 1d20000
Bad Magic Number,55424923
Search header in next block address 1d40000
Bad Magic Number,55424923
Search header in next block address 1d60000
Bad Magic Number,55424923
Search header in next block address 1d80000
Bad Magic Number,55424923
Search header in next block address 1da0000
Bad Magic Number,55424923
Search header in next block address 1dc0000
Bad Magic Number,55424923
Search header in next block address 1de0000
Bad Magic Number,55424923
Search header in next block address 1e00000
Bad Magic Number,55424923
Search header in next block address 1e20000
Bad Magic Number,55424923
Search header in next block address 1e40000
Bad Magic Number,55424923
Search header in next block address 1e60000
Bad Magic Number,55424923
Search header in next block address 1e80000
Bad Magic Number,55424923
Search header in next block address 1ea0000
Bad Magic Number,55424923
Search header in next block address 1ec0000
Bad Magic Number,55424923
Search header in next block address 1ee0000
Bad Magic Number,55424923
Search header in next block address 1f00000
Bad Magic Number,55424923
Search header in next block address 1f20000
Bad Magic Number,55424923
Search header in next block address 1f40000
Bad Magic Number,55424923
Search header in next block address 1f60000
Bad Magic Number,55424923
Search header in next block address 1f80000
Bad Magic Number,55424923
Search header in next block address 1fa0000
Bad Magic Number,55424923
Search header in next block address 1fc0000
Bad Magic Number,55424923
Search header in next block address 1fe0000
Bad Magic Number,55424923
It looks like this method is not suitable for GIGA, because after Ctrl + C, nothing is displayed, as if it were frozen.
Perhaps this also applies to us.
https://bugs.openwrt.org/index.php?do=details&task_id=3582
I successfully wrote the partitions on their right places and booted the kernel. Now I got a new challenge with UBI mounting - Add support for Beeline SmartBox Giga on stock U-Boot - For Developers - OpenWrt Forum
@kar200 Can you mail me bootloader and dump file for serial installation I tried installing openwrt on S3 but after it got upgraded my device doesnt get stable it just changes light color and reboot.
email id: skyzai16@gmail.com
Thanks
Greeting, I have upgraded the openwrt from stock formware and it worked one time, later after reboot it never started. Can you please help me how to restor it, I have read in installtion guide that the issue is beacuse the firmware is booting from Sercomm1 instead of Sercomm0, can you help me how could I change bootflag to Sercomm0 or any other method to restore my router.
U-Boot 1.1.3 (Mar 4 2020 - 17:12:16)
Board: Ralink APSoC DRAM: 256 MB
rt2880 uboot v0.00e04 05/25/2006
SERIAL_CLOCK_DIVISOR =16
kaiker,,CONFIG_BAUDRATE =57600
SDRAM SIZE:10000000
Top of RAM usable for U-Boot at: 90000000
Reserving 425k for U-Boot at: 8ff94000
Reserving 1028k for malloc() at: 8fe93000
Reserving 44 Bytes for Board Info at: 8fe92fd4
Reserving 36 Bytes for Global Data at: 8fe92fb0
Reserving 128k for boot params() at: 8fe72fb0
Stack Pointer at: 8fe72f98
relocate_code Pointer at: 8ff94000
Config XHCI 40M PLL
******************************
Software System Reset Occurred
******************************
Now running in RAM - U-Boot at: 8ff94000
monitor_flash_len =116812
Command "mdio": 0xa0206984 => 0x8ff9a984
Command "nand": 0xa020c2bc => 0x8ffa02bc
Command "reset": 0xa0215cec => 0x8ffa9cec
Command "go": 0xa020dc68 => 0x8ffa1c68
Command "bootm": 0xa020e4c4 => 0x8ffa24c4
Command "loadb": 0xa020f184 => 0x8ffa3184
Command "tftpboot": 0xa020f7b4 => 0x8ffa37b4
Command "nm": 0xa020fe40 => 0x8ffa3e40
Command "mm": 0xa020fea4 => 0x8ffa3ea4
Command "md": 0xa020ff08 => 0x8ffa3f08
Command "saveenv": 0xa0210480 => 0x8ffa4480
Command "setenv": 0xa0210df0 => 0x8ffa4df0
Command "printenv": 0xa02104d0 => 0x8ffa44d0
Command "?": 0xa02110c4 => 0x8ffa50c4
Command "help": 0xa02110c4 => 0x8ffa50c4
Command "version": 0xa0210f84 => 0x8ffa4f84
Command "sc_boot": 0xa0213d30 => 0x8ffa7d30
Command "sc_nand": 0xa0213d68 => 0x8ffa7d68
Command "sc_eth_test": 0xa0213da4 => 0x8ffa7da4
Command "sc_phy": 0xa0213de0 => 0x8ffa7de0
Command "sc_time": 0xa0213e1c => 0x8ffa7e1c
Command "sc_btver": 0xa0213e54 => 0x8ffa7e54
Command "sc_fl_map": 0xa0213e90 => 0x8ffa7e90
Command "sc_endian": 0xa0213ecc => 0x8ffa7ecc
Command "sc_gpio": 0xa0213f08 => 0x8ffa7f08
Command "sc_led": 0xa0213f44 => 0x8ffa7f44
Command "sc_dl": 0xa0213f80 => 0x8ffa7f80
Allocate 16 byte aligned buffer: 8ffca410
Enable NFI Clock
# MTK NAND # : Use HW ECC
NAND ID [C2 F1 80 95 02]
Device found in MTK table, ID: c2f1, EXT_ID: 809502
Support this Device in MTK table! c2f1
select_chip
[NAND]select ecc bit:4, sparesize :64 spare_per_sector=16
Signature matched and data read!
load_fact_bbt success 1023
load fact bbt success
[mtk_nand] probe successfully!
mtd->writesize=2048 mtd->oobsize=64, mtd->erasesize=131072 devinfo.iowidth=8
*** Warning - bad CRC, using default environment
icache: sets:256, ways:4, linesz:32 ,total:32768
dcache: sets:256, ways:4, linesz:32 ,total:32768
##### The CPU freq = 880 MHZ ####
estimate memory size =256 Mbytes
#Reset_MT7530
set LAN/WAN WLLLL
Load Standalone from 40000
SC_DEBUG: Nand Partition Table Magic Found at 100000.
******************************************
Uboot StandAlone Entry
******************************************
GPIO init
*********************************************************
Press any key to enter Boot Command Interface
********************************************************* 0
SC_DEBUG: Nand Partition Table Magic Found at 100000.
******************************************
Uboot StandAlone Entry
******************************************
***************************************************
Boot Version 0.2.1.0, at Mar 4 2020, 17:12:13
***************************************************
SC_DEBUG: Nand Partition Table Magic Found at 100000.
Entering Firmware : Everything is OK.
*************************************
Boot Flag : Sercomm1▒
*************************************
Fw header Magic check OK!
FW header checksum should: 0x155cb0ba, crc32 result: 0x155cb0ba, Fw header CRC check OK!
kernel : real offset: 0x00a00100, data length: 0x002c4e1b,checksum :0xaac71265
kernel result: 0xaac71265, kernel check sum ok!
rootfs: real offset: 0x03000000, data length: 0x00000004, checksum :0x2d55fc1c
rootfs result: 0x2d55fc1c, rootfs check sum ok!
Kernel Addr : 0xbca00100
## Booting image at bca00100 ...
Image Name: MIPS OpenWrt Linux-5.10.162
Image Type: MIPS Linux Kernel Image (lzma compressed)
Data Size: 2903515 Bytes = 2.8 MB
Load Address: 81001000
Entry Point: 81001000
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
kernel addr :0xBCA00100
No initrd
## Transferring control to Linux (at address 81001000) ...
## Giving linux memsize in MB, 256
Starting kernel ...
OpenWrt kernel loader for MIPS based SoC
Copyright (C) 2011 Gabor Juhos <juhosg@openwrt.org>
Decompressing kernel... done!
Starting kernel at 80001000...
[ 0.000000] Linux version 5.10.162 (builder@buildhost) (mipsel-openwrt-linux-musl-gcc (OpenWrt GCC 12.2.0 r21791-c03e458c86) 12.2.0, GNU ld (GNU Binutils) 2.39) #0 SMP Fri Jan 13 21:34:16 2023
[ 0.000000] SoC Type: MediaTek MT7621 ver:1 eco:3
[ 0.000000] printk: bootconsole [early0] enabled
[ 0.000000] CPU0 revision is: 0001992f (MIPS 1004Kc)
[ 0.000000] MIPS: machine is Etisalat S3
[ 0.000000] Initrd not found or empty - disabling initrd
[ 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] Zone ranges:
[ 0.000000] Normal [mem 0x0000000000000000-0x000000000fffffff]
[ 0.000000] HighMem empty
[ 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] percpu: Embedded 15 pages/cpu s30480 r8192 d22768 u61440
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 64960
[ 0.000000] Kernel command line: console=ttyS0,57600 rootfstype=squashfs,jffs2
[ 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] Writing ErrCtl register=00008000
[ 0.000000] Readback ErrCtl register=00008000
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.000000] Memory: 248716K/262144K available (7025K kernel code, 629K rwdata, 1416K rodata, 1284K init, 243K bss, 13428K reserved, 0K cma-reserved, 0K highmem)
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[ 0.000000] rcu: Hierarchical RCU implementation.
[ 0.000000] Tracing variant of Tasks RCU enabled.
[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[ 0.000000] NR_IRQS: 256
[ 0.000000] CPU Clock: 880MHz
[ 0.000000] clocksource: GIC: mask: 0xffffffffffffffff max_cycles: 0xcaf478abb4, max_idle_ns: 440795247997 ns
[ 0.000012] sched_clock: 64 bits at 880MHz, resolution 1ns, wraps every 4398046511103ns
[ 0.015859] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 4343773742 ns
[ 0.033809] Calibrating delay loop... 586.13 BogoMIPS (lpj=2930688)
[ 0.106131] pid_max: default: 32768 minimum: 301
[ 0.115443] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.129849] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.148110] rcu: Hierarchical SRCU implementation.
[ 0.157923] dyndbg: Ignore empty _ddebug table in a CONFIG_DYNAMIC_DEBUG_CORE build
[ 0.173516] smp: Bringing up secondary CPUs ...
[ 0.183254] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[ 0.183266] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[ 0.183277] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[ 0.183351] CPU1 revision is: 0001992f (MIPS 1004Kc)
[ 0.243325] Synchronize counters for CPU 1: done.
[ 0.305486] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[ 0.305495] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[ 0.305503] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[ 0.305547] CPU2 revision is: 0001992f (MIPS 1004Kc)
[ 0.364449] Synchronize counters for CPU 2: done.
[ 0.424812] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[ 0.424822] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[ 0.424829] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[ 0.424878] CPU3 revision is: 0001992f (MIPS 1004Kc)
[ 0.484030] Synchronize counters for CPU 3: done.
[ 0.543643] smp: Brought up 1 node, 4 CPUs
[ 0.555943] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.575450] futex hash table entries: 1024 (order: 3, 32768 bytes, linear)
[ 0.589264] pinctrl core: initialized pinctrl subsystem
[ 0.601987] NET: Registered protocol family 16
[ 0.611882] thermal_sys: Registered thermal governor 'step_wise'
[ 0.613378] cpuidle: using governor teo
[ 0.639533] OF: /ethernet@1e100000/mac@0: could not get #nvmem-cell-cells for /nand@1e003000/partitions/partition@200000/macaddr@21000
[ 0.663631] OF: /ethernet@1e100000/mac@1: could not get #nvmem-cell-cells for /nand@1e003000/partitions/partition@200000/macaddr@21000
[ 0.688763] OF: /pcie@1e140000/pcie@0,0/wifi@0,0: could not get #nvmem-cell-cells for /nand@1e003000/partitions/partition@200000/macaddr@21000
[ 0.714168] OF: /pcie@1e140000/pcie@1,0/wifi@0,0: could not get #nvmem-cell-cells for /nand@1e003000/partitions/partition@200000/macaddr@21000
[ 0.739978] OF: /pcie@1e140000/pcie@0,0/wifi@0,0: could not get #nvmem-cell-cells for /nand@1e003000/partitions/partition@200000/macaddr@21000
[ 0.765423] OF: /pcie@1e140000/pcie@1,0/wifi@0,0: could not get #nvmem-cell-cells for /nand@1e003000/partitions/partition@200000/macaddr@21000
[ 0.791223] OF: /pcie@1e140000/pcie@0,0/wifi@0,0: could not get #nvmem-cell-cells for /nand@1e003000/partitions/partition@200000/macaddr@21000
[ 0.816655] OF: /pcie@1e140000/pcie@1,0/wifi@0,0: could not get #nvmem-cell-cells for /nand@1e003000/partitions/partition@200000/macaddr@21000
[ 0.874309] clocksource: Switched to clocksource GIC
[ 0.885830] NET: Registered protocol family 2
[ 0.894775] IP idents hash table entries: 4096 (order: 3, 32768 bytes, linear)
[ 0.910541] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[ 0.927247] TCP established hash table entries: 2048 (order: 1, 8192 bytes, linear)
[ 0.942405] TCP bind hash table entries: 2048 (order: 2, 16384 bytes, linear)
[ 0.956555] TCP: Hash tables configured (established 2048 bind 2048)
[ 0.969314] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[ 0.982204] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[ 0.996329] NET: Registered protocol family 1
[ 1.004902] PCI: CLS 0 bytes, default 32
[ 1.015486] workingset: timestamp_bits=14 max_order=16 bucket_order=2
[ 1.032143] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 1.043650] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 1.063944] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
[ 1.080349] mt7621_gpio 1e000600.gpio: registering 32 gpios
[ 1.091649] mt7621_gpio 1e000600.gpio: registering 32 gpios
[ 1.102934] mt7621_gpio 1e000600.gpio: registering 32 gpios
[ 1.114531] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[ 1.129773] printk: console [ttyS0] disabled
[ 1.138318] 1e000c00.uartlite: ttyS0 at MMIO 0x1e000c00 (irq = 19, base_baud = 3125000) is a 16550A
[ 1.156288] printk: console [ttyS0] enabled
[ 1.156288] printk: console [ttyS0] enabled
[ 1.172796] printk: bootconsole [early0] disabled
[ 1.172796] printk: bootconsole [early0] disabled
[ 1.192683] 1e000e00.uartlite3: ttyS1 at MMIO 0x1e000e00 (irq = 20, base_baud = 3125000) is a 16550A
[ 1.214674] nand: device found, Manufacturer ID: 0xc2, Chip ID: 0xf1
[ 1.227356] nand: Macronix MX30LF1G18AC
[ 1.235009] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[ 1.250087] mt7621-nand 1e003000.nand: ECC strength adjusted to 4 bits
[ 1.320428] scpart: Valid 'SC PART MAP' (10 partitions) found at 0x100000
[ 1.334019] 10 scpart partitions found on MTD device mt7621-nand
[ 1.346369] Creating 10 MTD partitions on "mt7621-nand":
[ 1.356983] 0x000000000000-0x000000100000 : "u-boot"
[ 1.377889] 0x000000100000-0x000000200000 : "dynamic partition map"
[ 1.401468] 0x000000200000-0x000000300000 : "Factory"
[ 1.422643] 0x000000300000-0x000000400000 : "Boot Flag"
[ 1.444013] 0x000000400000-0x000000a00000 : "kernel"
[ 1.515183] 0x000000a00000-0x000001000000 : "Kernel 2"
[ 1.586759] 0x000001000000-0x000003000000 : "File System 1"
[ 1.920413] 0x000003000000-0x000005000000 : "File System 2"
[ 2.254309] 0x000005000000-0x000006400000 : "Configuration/log"
[ 2.468244] 0x000006400000-0x000007f80000 : "application tmp buffer (Ftool)"
[ 2.766029] Concatenating MTD devices:
[ 2.773524] (0): "File System 1"
[ 2.779963] (1): "Configuration/log"
[ 2.787080] (2): "application tmp buffer (Ftool)"
[ 2.796443] into device "ubi-concat"
[ 2.803592] 1 fixed-partitions partitions found on MTD device ubi-concat
[ 2.816934] Creating 1 MTD partitions on "ubi-concat":
[ 2.827174] 0x000000000000-0x000004f80000 : "ubi"
[ 3.675307] mt7530 mdio-bus:1f: MT7530 adapts as multi-chip module
[ 3.692926] mtk_soc_eth 1e100000.ethernet eth0: mediatek frame engine at 0xbe100000, irq 22
[ 3.710548] mtk_soc_eth 1e100000.ethernet wan: mediatek frame engine at 0xbe100000, irq 22
[ 3.728429] i2c /dev entries driver
[ 3.738009] mt7621-pci 1e140000.pcie: host bridge /pcie@1e140000 ranges:
[ 3.751410] mt7621-pci 1e140000.pcie: No bus range found for /pcie@1e140000, using [bus 00-ff]
[ 3.768952] mt7621-pci 1e140000.pcie: MEM 0x0060000000..0x006fffffff -> 0x0000000000
[ 3.785251] mt7621-pci 1e140000.pcie: IO 0x001e160000..0x001e16ffff -> 0x0000000000
[ 3.801645] mt7621-pci 1e140000.pcie: Parsing DT failed
[ 3.814588] NET: Registered protocol family 10
[ 3.825382] Segment Routing with IPv6
[ 3.832772] NET: Registered protocol family 17
[ 3.841751] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[ 3.867944] 8021q: 802.1Q VLAN Support v1.8
[ 3.879576] mt7530 mdio-bus:1f: MT7530 adapts as multi-chip module
[ 3.907676] mt7530 mdio-bus:1f lan1 (uninitialized): PHY [mt7530-0:01] driver [MediaTek MT7530 PHY] (irq=27)
[ 3.929732] mt7530 mdio-bus:1f lan2 (uninitialized): PHY [mt7530-0:02] driver [MediaTek MT7530 PHY] (irq=28)
[ 3.951749] mt7530 mdio-bus:1f lan3 (uninitialized): PHY [mt7530-0:03] driver [MediaTek MT7530 PHY] (irq=29)
[ 3.973785] mt7530 mdio-bus:1f lan4 (uninitialized): PHY [mt7530-0:04] driver [MediaTek MT7530 PHY] (irq=30)
[ 3.996183] mt7530 mdio-bus:1f: configuring for fixed/rgmii link mode
[ 4.013000] DSA: tree 0 setup
[ 4.019230] rt2880-pinmux pinctrl: pcie is already enabled
[ 4.030243] mt7621-pci 1e140000.pcie: host bridge /pcie@1e140000 ranges:
[ 4.043603] mt7621-pci 1e140000.pcie: No bus range found for /pcie@1e140000, using [bus 00-ff]
[ 4.061134] mt7621-pci 1e140000.pcie: MEM 0x0060000000..0x006fffffff -> 0x0000000000
[ 4.077431] mt7621-pci 1e140000.pcie: IO 0x001e160000..0x001e16ffff -> 0x0000000000
[ 4.093817] mt7621-pci-phy 1e149000.pcie-phy: PHY for 0xbe149000 (dual port = 1)
[ 4.108881] mt7621-pci-phy 1e14a000.pcie-phy: PHY for 0xbe14a000 (dual port = 0)
[ 4.123879] mt7621-pci 1e140000.pcie: failed to parse bus ranges property: -22
[ 4.238436] mt7621-pci-phy 1e149000.pcie-phy: Xtal is 40MHz
[ 4.249549] mt7621-pci-phy 1e14a000.pcie-phy: Xtal is 40MHz
[ 4.360808] mt7621-pci 1e140000.pcie: pcie2 no card, disable it (RST & CLK)
[ 4.374677] mt7621-pci 1e140000.pcie: PCIE0 enabled
[ 4.384386] mt7621-pci 1e140000.pcie: PCIE1 enabled
[ 4.394101] mt7621-pci 1e140000.pcie: PCI coherence region base: 0x60000000, mask/settings: 0xf0000002
[ 4.412782] mt7621-pci 1e140000.pcie: PCI host bridge to bus 0000:00
[ 4.425467] pci_bus 0000:00: root bus resource [io 0x1e160000-0x1e16ffff]
[ 4.kernel result: 0xaac71265, kernel check sum ok!
rootfs: real offset: 0x03000000, data length: 0x00000004, checksum :0x2d55fc1c
rootfs result: 0x2d55fc1c, rootfs check sum ok!
Kernel Addr : 0xbca00100
## Booting image at bca00100 ...
Image Name: MIPS OpenWrt Linux-5.10.162
Image Type: MIPS Linux Kernel Image (lzma compressed)
Data Size: 2903515 Bytes = 2.8 MB
Load Address: 81001000
Entry Point: 81001000
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
kernel addr :0xBCA00100
No initrd
## Transferring control to Linux (at address 81001000) ...
## Giving linux memsize in MB, 256
Starting kernel ...
OpenWrt kernel loader for MIPS based SoC
Copyright (C) 2011 Gabor Juhos <juhosg@openwrt.org>
Decompressing kernel... done!
Starting kernel at 80001000...
[ 0.000000] Linux version 5.10.162 (builder@buildhost) (mipsel-openwrt-linux-musl-gcc (OpenWrt GCC 12.2.0 r21791-c03e458c86) 12.2.0, GNU ld (GNU Binutils) 2.39) #0 SMP Fri Jan 13 21:34:16 2023
[ 0.000000] SoC Type: MediaTek MT7621 ver:1 eco:3
[ 0.000000] printk: bootconsole [early0] enabled
[ 0.000000] CPU0 revision is: 0001992f (MIPS 1004Kc)
[ 0.000000] MIPS: machine is Etisalat S3
[ 0.000000] Initrd not found or empty - disabling initrd
[ 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] Zone ranges:
[ 0.000000] Normal [mem 0x0000000000000000-0x000000000fffffff]
[ 0.000000] HighMem empty
[ 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] percpu: Embedded 15 pages/cpu s30480 r8192 d22768 u61440
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 64960
[ 0.000000] Kernel command line: console=ttyS0,57600 rootfstype=squashfs,jffs2
[ 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] Writing ErrCtl register=00008000
[ 0.000000] Readback ErrCtl register=00008000
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.000000] Memory: 248716K/262144K available (7025K kernel code, 629K rwdata, 1416K rodata, 1284K init, 243K bss, 13428K reserved, 0K cma-reserved, 0K highmem)
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[ 0.000000] rcu: Hierarchical RCU implementation.
[ 0.000000] Tracing variant of Tasks RCU enabled.
[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[ 0.000000] NR_IRQS: 256
[ 0.000000] CPU Clock: 880MHz
[ 0.000000] clocksource: GIC: mask: 0xffffffffffffffff max_cycles: 0xcaf478abb4, max_idle_ns: 440795247997 ns
[ 0.000012] sched_clock: 64 bits at 880MHz, resolution 1ns, wraps every 4398046511103ns
[ 0.015861] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 4343773742 ns
[ 0.033806] Calibrating delay loop... 586.13 BogoMIPS (lpj=2930688)
[ 0.106119] pid_max: default: 32768 minimum: 301
[ 0.115429] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.129832] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.148004] rcu: Hierarchical SRCU implementation.
[ 0.157800] dyndbg: Ignore empty _ddebug table in a CONFIG_DYNAMIC_DEBUG_CORE build
[ 0.173373] smp: Bringing up secondary CPUs ...
[ 0.183073] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[ 0.183085] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[ 0.183097] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[ 0.183168] CPU1 revision is: 0001992f (MIPS 1004Kc)
[ 0.243163] Synchronize counters for CPU 1: done.
[ 0.304855] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[ 0.304865] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[ 0.304873] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[ 0.304917] CPU2 revision is: 0001992f (MIPS 1004Kc)
[ 0.364029] Synchronize counters for CPU 2: done.
[ 0.424386] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[ 0.424396] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[ 0.424403] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[ 0.424451] CPU3 revision is: 0001992f (MIPS 1004Kc)
[ 0.483611] Synchronize counters for CPU 3: done.
[ 0.543225] smp: Brought up 1 node, 4 CPUs
[ 0.555506] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.575012] futex hash table entries: 1024 (order: 3, 32768 bytes, linear)
[ 0.588825] pinctrl core: initialized pinctrl subsystem
[ 0.601524] NET: Registered protocol family 16
[ 0.611369] thermal_sys: Registered thermal governor 'step_wise'
[ 0.612200] cpuidle: using governor teo
[ 0.638222] OF: /ethernet@1e100000/mac@0: could not get #nvmem-cell-cells for /nand@1e003000/partitions/partition@200000/macaddr@21000
[ 0.662234] OF: /ethernet@1e100000/mac@1: could not get #nvmem-cell-cells for /nand@1e003000/partitions/partition@200000/macaddr@21000
[ 0.687601] OF: /pcie@1e140000/pcie@0,0/wifi@0,0: could not get #nvmem-cell-cells for /nand@1e003000/partitions/partition@200000/macaddr@21000
[ 0.713073] OF: /pcie@1e140000/pcie@1,0/wifi@0,0: could not get #nvmem-cell-cells for /nand@1e003000/partitions/partition@200000/macaddr@21000
[ 0.738930] OF: /pcie@1e140000/pcie@0,0/wifi@0,0: could not get #nvmem-cell-cells for /nand@1e003000/partitions/partition@200000/macaddr@21000
[ 0.764383] OF: /pcie@1e140000/pcie@1,0/wifi@0,0: could not get #nvmem-cell-cells for /nand@1e003000/partitions/partition@200000/macaddr@21000
[ 0.790165] OF: /pcie@1e140000/pcie@0,0/wifi@0,0: could not get #nvmem-cell-cells for /nand@1e003000/partitions/partition@200000/macaddr@21000
[ 0.815608] OF: /pcie@1e140000/pcie@1,0/wifi@0,0: could not get #nvmem-cell-cells for /nand@1e003000/partitions/partition@200000/macaddr@21000
[ 0.873153] clocksource: Switched to clocksource GIC
[ 0.884748] NET: Registered protocol family 2
[ 0.893734] IP idents hash table entries: 4096 (order: 3, 32768 bytes, linear)
[ 0.909079] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[ 0.925724] TCP established hash table entries: 2048 (order: 1, 8192 bytes, linear)
[ 0.940907] TCP bind hash table entries: 2048 (order: 2, 16384 bytes, linear)
[ 0.955024] TCP: Hash tables configured (established 2048 bind 2048)
[ 0.967774] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[ 0.980658] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[ 0.994803] NET: Registered protocol family 1
[ 1.003377] PCI: CLS 0 bytes, default 32
[ 1.013990] workingset: timestamp_bits=14 max_order=16 bucket_order=2
[ 1.030597] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 1.042101] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 1.062399] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
[ 1.078933] mt7621_gpio 1e000600.gpio: registering 32 gpios
[ 1.090266] mt7621_gpio 1e000600.gpio: registering 32 gpios
[ 1.101573] mt7621_gpio 1e000600.gpio: registering 32 gpios
[ 1.113544] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[ 1.130297] printk: console [ttyS0] disabled
[ 1.138775] 1e000c00.uartlite: ttyS0 at MMIO 0x1e000c00 (irq = 19, base_baud = 3125000) is a 16550A
[ 1.156703] printk: console [ttyS0] enabled
[ 1.156703] printk: console [ttyS0] enabled
[ 1.173230] printk: bootconsole [early0] disabled
[ 1.173230] printk: bootconsole [early0] disabled
[ 1.192772] 1e000e00.uartlite3: ttyS1 at MMIO 0x1e000e00 (irq = 20, base_baud = 3125000) is a 16550A
[ 1.214497] nand: device found, Manufacturer ID: 0xc2, Chip ID: 0xf1
[ 1.227211] nand: Macronix MX30LF1G18AC
[ 1.235028] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[ 1.250114] mt7621-nand 1e003000.nand: ECC strength adjusted to 4 bits
[ 1.320443] scpart: Valid 'SC PART MAP' (10 partitions) found at 0x100000
[ 1.334032] 10 scpart partitions found on MTD device mt7621-nand
[ 1.346377] Creating 10 MTD partitions on "mt7621-nand":
[ 1.356992] 0x000000000000-0x000000100000 : "u-boot"
[ 1.377926] 0x000000100000-0x000000200000 : "dynamic partition map"
[ 1.401667] 0x000000200000-0x000000300000 : "Factory"
[ 1.422852] 0x000000300000-0x000000400000 : "Boot Flag"
[ 1.444257] 0x000000400000-0x000000a00000 : "kernel"
[ 1.515407] 0x000000a00000-0x000001000000 : "Kernel 2"
[ 1.587024] 0x000001000000-0x000003000000 : "File System 1"
[ 1.921108] 0x000003000000-0x000005000000 : "File System 2"
[ 2.255277] 0x000005000000-0x000006400000 : "Configuration/log"
[ 2.469667] 0x000006400000-0x000007f80000 : "application tmp buffer (Ftool)"
[ 2.768273] Concatenating MTD devices:
[ 2.775813] (0): "File System 1"
[ 2.782232] (1): "Configuration/log"
[ 2.789357] (2): "application tmp buffer (Ftool)"
[ 2.798715] into device "ubi-concat"
[ 2.805879] 1 fixed-partitions partitions found on MTD device ubi-concat
[ 2.819220] Creating 1 MTD partitions on "ubi-concat":
[ 2.829458] 0x000000000000-0x000004f80000 : "ubi"
[ 3.684096] mt7530 mdio-bus:1f: MT7530 adapts as multi-chip module
[ 3.701714] mtk_soc_eth 1e100000.ethernet eth0: mediatek frame engine at 0xbe100000, irq 22
[ 3.719310] mtk_soc_eth 1e100000.ethernet wan: mediatek frame engine at 0xbe100000, irq 22
[ 3.737148] i2c /dev entries driver
[ 3.746599] mt7621-pci 1e140000.pcie: host bridge /pcie@1e140000 ranges:
[ 3.760002] mt7621-pci 1e140000.pcie: No bus range found for /pcie@1e140000, using [bus 00-ff]
[ 3.777554] mt7621-pci 1e140000.pcie: MEM 0x0060000000..0x006fffffff -> 0x0000000000
[ 3.793851] mt7621-pci 1e140000.pcie: IO 0x001e160000..0x001e16ffff -> 0x0000000000
[ 3.810230] mt7621-pci 1e140000.pcie: Parsing DT failed
[ 3.823210] NET: Registered protocol family 10
[ 3.834023] Segment Routing with IPv6
[ 3.841402] NET: Registered protocol family 17
[ 3.850365] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[ 3.876580] 8021q: 802.1Q VLAN Support v1.8
[ 3.888329] mt7530 mdio-bus:1f: MT7530 adapts as multi-chip module
[ 3.916050] mt7530 mdio-bus:1f lan1 (uninitialized): PHY [mt7530-0:01] driver [MediaTek MT7530 PHY] (irq=27)
[ 3.938083] mt7530 mdio-bus:1f lan2 (uninitialized): PHY [mt7530-0:02] driver [MediaTek MT7530 PHY] (irq=28)
[ 3.960046] mt7530 mdio-bus:1f lan3 (uninitialized): PHY [mt7530-0:03] driver [MediaTek MT7530 PHY] (irq=29)
[ 3.982016] mt7530 mdio-bus:1f lan4 (uninitialized): PHY [mt7530-0:04] driver [MediaTek MT7530 PHY] (irq=30)
[ 4.004405] mt7530 mdio-bus:1f: configuring for fixed/rgmii link mode
[ 4.021215] DSA: tree 0 setup
[ 4.027500] rt2880-pinmux pinctrl: pcie is already enabled
[ 4.038524] mt7621-pci 1e140000.pcie: host bridge /pcie@1e140000 ranges:
[ 4.051889] mt7621-pci 1e140000.pcie: No bus range found for /pcie@1e140000, using [bus 00-ff]
[ 4.069431] mt7621-pci 1e140000.pcie: MEM 0x0060000000..0x006fffffff -> 0x0000000000
[ 4.085733] mt7621-pci 1e140000.pcie: IO 0x001e160000..0x001e16ffff -> 0x0000000000
[ 4.102114] mt7621-pci-phy 1e149000.pcie-phy: PHY for 0xbe149000 (dual port = 1)
[ 4.117250] mt7621-pci-phy 1e14a000.pcie-phy: PHY for 0xbe14a000 (dual port = 0)
[ 4.132276] mt7621-pci 1e140000.pcie: failed to parse bus ranges property: -22
[ 4.246887] mt7621-pci-phy 1e149000.pcie-phy: Xtal is 40MHz
[ 4.258000] mt7621-pci-phy 1e14a000.pcie-phy: Xtal is 40MHz
[ 4.369295] mt7621-pci 1e140000.pcie: pcie2 no card, disable it (RST & CLK)
[ 4.383163] mt7621-pci 1e140000.pcie: PCIE0 enabled
[ 4.392881] mt7621-pci 1e140000.pcie: PCIE1 enabled
[ 4.402583] mt7621-pci 1e140000.pcie: PCI coherence region base: 0x60000000, mask/settings: 0xf0000002
[ 4.421295] mt7621-pci 1e140000.pcie: PCI host bridge to bus 0000:00
[ 4.433992] pci_bus 0000:00: root bus resource [io 0x1e160000-0x1e16ffff]
[ 4.447688] pci_bus 0000:00: root bus resource [mem 0x60000000-0x6fffffff]
[ 4.461378] pci_bus 0000:00: root bus resource [bus 00-ff]
[ 4.472305] pci_bus 0000:00: root bus resource [mem 0x60000000-0x6fffffff] (bus address [0x00000000-0x0fffffff])
[ 4.492613] pci 0000:00:00.0: [0e8d:0801] type 01 class 0x060400
[ 4.504600] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x7fffffff]
[ 4.517083] pci 0000:00:00.0: reg 0x14: [mem 0x60400000-0x6040ffff]
[ 4.529642] pci 0000:00:00.0: supports D1
[ 4.537626] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[ 4.549357] OF: /pcie@1e140000/pcie@0,0/wifi@0,0: could not get #nvmem-cell-cells for /nand@1e003000/partitions/partition@200000/macaddr@21000
[ 4.575051] pci 0000:00:01.0: [0e8d:0801] type 01 class 0x060400
[ 4.587037] pci 0000:00:01.0: reg 0x10: [mem 0x00000000-0x7fffffff]
[ 4.599518] pci 0000:00:01.0: reg 0x14: [mem 0x60410000-0x6041ffff]
[ 4.612055] pci 0000:00:01.0: supports D1
[ 4.620038] pci 0000:00:01.0: PME# supported from D0 D1 D3hot
[ 4.631767] OF: /pcie@1e140000/pcie@1,0/wifi@0,0: could not get #nvmem-cell-cells for /nand@1e003000/partitions/partition@200000/macaddr@21000
[ 4.658654] pci 0000:01:00.0: [14c3:7615] type 00 class 0x000280
[ 4.670679] pci 0000:01:00.0: reg 0x10: initial BAR value 0x00000000 invalid
[ 4.684727] pci 0000:01:00.0: reg 0x10: [mem size 0x00100000 64bit]
[ 4.697377] pci 0000:01:00.0: 2.000 Gb/s available PCIe bandwidth, limited by 2.5 GT/s PCIe x1 link at 0000:00:00.0 (capable of 4.000 Gb/s with 5.0 GT/s PCIe x1 link)
[ 4.727248] OF: /pcie@1e140000/pcie@0,0/wifi@0,0: could not get #nvmem-cell-cells for /nand@1e003000/partitions/partition@200000/macaddr@21000
[ 4.753902] pci 0000:00:00.0: PCI bridge to [bus 01-ff]
[ 4.764322] pci 0000:00:00.0: bridge window [io 0x0000-0x0fff]
[ 4.776456] pci 0000:00:00.0: bridge window [mem 0x60000000-0x600fffff]
[ 4.789980] pci 0000:00:00.0: bridge window [mem 0x60100000-0x601fffff pref]
[ 4.804370] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[ 4.817800] pci 0000:02:00.0: [14c3:7603] type 00 class 0x028000
[ 4.829807] pci 0000:02:00.0: reg 0x10: initial BAR value 0x00000000 invalid
[ 4.843857] pci 0000:02:00.0: reg 0x10: [mem size 0x00100000]
[ 4.855433] pci 0000:02:00.0: PME# supported from D0 D3hot D3cold
[ 4.867867] OF: /pcie@1e140000/pcie@1,0/wifi@0,0: could not get #nvmem-cell-cells for /nand@1e003000/partitions/partition@200000/macaddr@21000
[ 4.894500] pci 0000:00:01.0: PCI bridge to [bus 02-ff]
[ 4.904929] pci 0000:00:01.0: bridge window [io 0x0000-0x0fff]
[ 4.917064] pci 0000:00:01.0: bridge window [mem 0x60200000-0x602fffff]
[ 4.930580] pci 0000:00:01.0: bridge window [mem 0x60300000-0x603fffff pref]
[ 4.944973] pci_bus 0000:02: busn_res: [bus 02-ff] end is updated to 02
[ 4.958190] pci 0000:00:00.0: BAR 0: no space for [mem size 0x80000000]
[ 4.971365] pci 0000:00:00.0: BAR 0: failed to assign [mem size 0x80000000]
[ 4.985231] pci 0000:00:01.0: BAR 0: no space for [mem size 0x80000000]
[ 4.998400] pci 0000:00:01.0: BAR 0: failed to assign [mem size 0x80000000]
[ 5.012262] pci 0000:00:00.0: BAR 8: assigned [mem 0x60000000-0x600fffff]
[ 5.025792] pci 0000:00:00.0: BAR 9: assigned [mem 0x60100000-0x601fffff pref]
[ 5.040173] pci 0000:00:01.0: BAR 8: assigned [mem 0x60200000-0x602fffff]
[ 5.053695] pci 0000:00:01.0: BAR 9: assigned [mem 0x60300000-0x603fffff pref]
[ 5.068080] pci 0000:00:00.0: BAR 1: assigned [mem 0x60400000-0x6040ffff]
[ 5.081601] pci 0000:00:01.0: BAR 1: assigned [mem 0x60410000-0x6041ffff]
[ 5.095130] pci 0000:00:00.0: BAR 7: assigned [io 0x1e160000-0x1e160fff]
[ 5.108648] pci 0000:00:01.0: BAR 7: assigned [io 0x1e161000-0x1e161fff]
[ 5.122173] pci 0000:01:00.0: BAR 0: assigned [mem 0x60000000-0x600fffff 64bit]
[ 5.136740] pci 0000:00:00.0: PCI bridge to [bus 01]
[ 5.146626] pci 0000:00:00.0: bridge window [io 0x1e160000-0x1e160fff]
[ 5.160147] pci 0000:00:00.0: bridge window [mem 0x60000000-0x600fffff]
[ 5.173667] pci 0000:00:00.0: bridge window [mem 0x60100000-0x601fffff pref]
[ 5.188057] pci 0000:02:00.0: BAR 0: assigned [mem 0x60200000-0x602fffff]
[ 5.201575] pci 0000:00:01.0: PCI bridge to [bus 02]
[ 5.211460] pci 0000:00:01.0: bridge window [io 0x1e161000-0x1e161fff]
[ 5.224987] pci 0000:00:01.0: bridge window [mem 0x60200000-0x602fffff]
[ 5.238502] pci 0000:00:01.0: bridge window [mem 0x60300000-0x603fffff pref]
[ 5.256352] UBI error: no valid UBI magic found inside mtd10
[ 5.268363] mt7530 mdio-bus:1f: Link is Up - 1Gbps/Full - flow control rx/tx
[ 5.282946] /dev/root: Can't open blockdev
[ 5.291124] VFS: Cannot open root device "(null)" or unknown-block(0,0): error -6
[ 5.306079] Please append a correct "root=" boot option; here are the available partitions:
[ 5.322900] 1f00 1024 mtdblock0
[ 5.322908] (driver?)
[ 5.335918] 1f01 1024 mtdblock1
[ 5.335922] (driver?)
[ 5.348921] 1f02 1024 mtdblock2
[ 5.348925] (driver?)
[ 5.361931] 1f03 1024 mtdblock3
[ 5.361936] (driver?)
[ 5.374945] 1f04 6144 mtdblock4
[ 5.374950] (driver?)
[ 5.387956] 1f05 6144 mtdblock5
[ 5.387961] (driver?)
[ 5.400961] 1f06 32768 mtdblock6
[ 5.400965] (driver?)
[ 5.413984] 1f07 32768 mtdblock7
[ 5.413989] (driver?)
[ 5.426990] 1f08 20480 mtdblock8
[ 5.426995] (driver?)
[ 5.440003] 1f09 28160 mtdblock9
[ 5.440008] (driver?)
[ 5.453018] 1f0a 81408 mtdblock10
[ 5.453023] (driver?)
[ 5.466200] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[ 5.482664] Rebooting in 1 seconds..
Hi @Skyzai16 , I don't think you should flash the bootloader on this device again. As I don't think there has been a new bootloader anyway.
Do you have access to the console? If not there another method to recover without opening the box.
I don't own this router anymore but if you need the file I can try and find it. It is basically the full flash dump of the router (can be truncated to the first kernel+rootfs plus the OOB data as it get's stripped automatically by the bootloader.
Have a look at this link
Hi @owais , I see there is another more helpful thread where you managed to fix your issue which so I guess here is not needed anymore.
Thanks, my problem is now resolved.
Do you have firmware upgrade file of opwnert 21.02, I want to upgrade my openwrt snapshot in sercomm s3, as internet and wirelss/usb in not working in snapshot.
Hi,
I don't know what this is but I am sure @csharper2005 and @MaxS0niX would have a better solution.
K.
Launch the initramfs image and run these commands from there. You are trying to overwrite a running kernel.