@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.
@kar200 send me your email address
@kar200 Can you help me fix this in s3?
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.