Hi! I am working on adding support for Linksys EA8100.
initramfs-kernel.bin
boots successfully via tftp and sysupgrade squashfs-sysupgrade.bin
seem to have worked correctly. Please check my patch on github that makes this happen.
Between reboots, tftp booting from initramfs-kernel.bin
allows me to manually mount /dev/mtdblock7
:
BusyBox v1.28.3 () built-in shell (ash)
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
-----------------------------------------------------
OpenWrt 18.06.1, r7258-5eb055306f
-----------------------------------------------------
=== WARNING! =====================================
There is no root password defined on this device!
Use the "passwd" command to set up a new password
in order to prevent unauthorized SSH logins.
--------------------------------------------------
root@OpenWrt:/# mkdir /tmp/squashfs
root@OpenWrt:/# mount /dev/mtdblock7 /tmp/squashfs
root@OpenWrt:/# mount
rootfs on / type rootfs (rw)
proc on /proc type proc (rw,nosuid,nodev,noexec,noatime)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,noatime)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,noatime)
tmpfs on /dev type tmpfs (rw,nosuid,relatime,size=512k,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,mode=600,ptmxmode=000)
debugfs on /sys/kernel/debug type debugfs (rw,noatime)
/dev/mtdblock7 on /tmp/squashfs type squashfs (ro,relatime)
root@OpenWrt:/# ls /tmp/squashfs/
bin etc lib overlay rom sbin tmp var
dev init mnt proc root sys usr www
root@OpenWrt:/#
However the kernel when booting from nand is not able to mount the squashfs as /
. It seem to detect the correct partition, though, because the squashfs is on mtdblock7
which I suppose is unknown-block(31,7)
:
[ 5.306133] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(31,7)
Possibly relevant sections of dmesg:
...
[ 0.000000] Kernel command line: console=ttyS0,115200 rootfstype=squashfs,jffs2
...
[ 0.823159] MediaTek Nand driver init, version v2.1 Fix AHB virt2phys error
[ 0.830300] Enable NFI Clock
[ 0.833169] # MTK NAND # : Use HW ECC
[ 0.836827] Device not found, ID: c2f1
[ 0.840586] Not Support this Device!
[ 0.844318] chip_mode=00000001
[ 0.847355] Support this Device in MTK table! c2f1
[ 0.852314] [NAND]select ecc bit:4, sparesize :64 spare_per_sector=16
[ 0.858770] nand: device found, Manufacturer ID: 0xc2, Chip ID: 0xf1
[ 0.865100] nand: Macronix NAND 128MiB 3,3V 8-bit
[ 0.869782] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[ 0.877340] Scanning device for bad blocks
[ 0.898127] Bad eraseblock 71 at 0x0000008e0000
[ 0.967428] Bad eraseblock 349 at 0x000002ba0000
[ 0.977750] Bad eraseblock 374 at 0x000002ec0000
[ 0.987603] Bad eraseblock 397 at 0x0000031a0000
[ 1.005870] Bad eraseblock 456 at 0x000003900000
[ 1.021098] Bad eraseblock 502 at 0x000003ec0000
[ 1.034456] Bad eraseblock 540 at 0x000004380000
[ 1.050159] Bad eraseblock 588 at 0x000004980000
[ 1.106496] Bad eraseblock 810 at 0x000006540000
[ 1.128493] Bad eraseblock 885 at 0x000006ea0000
[ 1.165420] 6 fixed-partitions partitions found on MTD device MT7621-NAND
[ 1.172195] Creating 6 MTD partitions on "MT7621-NAND":
[ 1.177403] 0x000000000000-0x000000080000 : "uboot"
[ 1.183370] 0x000000080000-0x0000000c0000 : "uboot_env"
[ 1.189526] 0x0000000c0000-0x000000100000 : "factory"
[ 1.195555] 0x000000100000-0x000000140000 : "s_env"
[ 1.201423] 0x000000140000-0x000000180000 : "devinfo"
[ 1.207409] 0x000000180000-0x000002980000 : "firmware"
[ 1.771302] 2 uimage-fw partitions found on MTD device firmware
[ 1.777219] 0x000000180000-0x000000580000 : "kernel"
[ 1.783288] 0x000000580000-0x000002980000 : "rootfs"
[ 1.789463] mtd: device 7 (rootfs) set to be root filesystem
[ 1.795168] 1 squashfs-split partitions found on MTD device rootfs
[ 1.801347] 0x000000700000-0x000002980000 : "rootfs_data"
[ 1.807972] [mtk_nand] probe successfully!
[ 1.812790] Signature matched and data read!
...
[ 5.099877] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0016001c: 0x58fc instead
[ 5.109313] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00160020: 0x73d0 instead
[ 5.118759] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00160024: 0xa60f instead
[ 5.128199] jffs2: Further such events for this erase block will not be printed
[ 5.209300] jffs2_scan_eraseblock(): End of filesystem marker found at 0x180000
[ 5.216899] jffs2: Cowardly refusing to erase blocks on filesystem with no valid JFFS2 nodes
[ 5.225307] jffs2: empty_blocks 275, bad_blocks 1, c->nr_blocks 288
[ 5.231651] VFS: Cannot open root device "(null)" or unknown-block(31,7): error -5
[ 5.239180] Please append a correct "root=" boot option; here are the available partitions:
[ 5.247510] 1f00 512 mtdblock0
[ 5.247516] (driver?)
[ 5.254032] 1f01 256 mtdblock1
[ 5.254037] (driver?)
[ 5.260549] 1f02 256 mtdblock2
[ 5.260554] (driver?)
[ 5.267053] 1f03 256 mtdblock3
[ 5.267057] (driver?)
[ 5.273569] 1f04 256 mtdblock4
[ 5.273574] (driver?)
[ 5.280092] 1f05 40960 mtdblock5
[ 5.280097] (driver?)
[ 5.286596] 1f06 4096 mtdblock6
[ 5.286600] (driver?)
[ 5.293113] 1f07 36864 mtdblock7
[ 5.293118] (driver?)
[ 5.299616] 1f08 35328 mtdblock8
[ 5.299619] (driver?)
[ 5.306133] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(31,7)
[ 5.316758] Rebooting in 1 seconds..
So it looks like the kernel probably tried mounting squashfs but this failed (even though manual mounting is ok) and then it disregarded an empty jffs2 and panicked.
Hope someone can give me advise as to what's wrong or where to look please? Thanks.
Full dmesg:
===================================================================
MT7621 stage1 code done
CPU=50000000 HZ BUS=16666666 HZ
===================================================================
U-Boot 1.1.3 (Aug 5 2016 - 15:06:22)
SERCOMM v1.03.0, Release date: 2016/08/05
Board: Ralink APSoC DRAM: 256 MB
relocate_code Pointer at: 8ffa8000
Config XHCI 40M PLL
******************************
Software System Reset Occurred
******************************
Allocate 16 byte aligned buffer: 8ffdf070
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
..============================================
Ralink UBoot Version: 5.0.0.0
--------------------------------------------
ASIC MT7621A DualCore (MAC to MT7530 Mode)
DRAM_CONF_FROM: Auto-Detection
DRAM_TYPE: DDR3
DRAM bus: 16 bit
Xtal Mode=3 OCP Ratio=1/3
Flash component: NAND Flash
Date:Aug 5 2016 Time:15:06:22
============================================
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
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.
You choosed 3
0
#### auto_recovery ####
check env def auto_recovery no
check env def auto_recovery yes
check env def boot_part 1
check env def boot_part_ready 3
enabled:1, boot_part:1, boot_part_ready:3
..nand read ret = 0x20000
boot_count:1, next_record:58
boot_count:1, next_record:58
3: System Boot system code via Flash.
## Booting image at bc180000 ...
Image Name: MIPS OpenWrt Linux-4.14.63
Image Type: MIPS Linux Kernel Image (lzma compressed)
Data Size: 1864499 Bytes = 1.8 MB
Load Address: 80001000
Entry Point: 80001000
............................. Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
No initrd
## Transferring control to Linux (at address 80001000) ...
## Giving linux memsize in MB, 256
Starting kernel ...
[ 0.000000] Linux version 4.14.63 (@) (gcc version 7.3.0 (OpenWrt GCC 7.3.0 r7258-5eb055306f)) #0 SMP Thu Aug 16 07:51:15 2018
[ 0.000000] SoC Type: MediaTek MT7621 ver:1 eco:3
[ 0.000000] bootconsole [early0] enabled
[ 0.000000] CPU0 revision is: 0001992f (MIPS 1004Kc)
[ 0.000000] MIPS: machine is Linksys EA8100
[ 0.000000] Determined physical RAM map:
[ 0.000000] memory: 10000000 @ 00000000 (usable)
[ 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] random: get_random_bytes called from start_kernel+0x90/0x4a4 with crng_init=0
[ 0.000000] percpu: Embedded 14 pages/cpu @8120e000 s26192 r8192 d22960 u57344
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 65024
[ 0.000000] Kernel command line: console=ttyS0,115200 rootfstype=squashfs,jffs2
[ 0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
[ 0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
[ 0.000000] Writing ErrCtl register=0002c40c
[ 0.000000] Readback ErrCtl register=0002c40c
[ 0.000000] Memory: 253484K/262144K available (4392K kernel code, 231K rwdata, 976K rodata, 212K init, 264K bss, 8660K reserved, 0K cma-reserved, 0K highmem)
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[ 0.000000] Hierarchical RCU implementation.
[ 0.000000] NR_IRQS: 256
[ 0.000000] clocksource: GIC: mask: 0xffffffffffffffff max_cycles: 0xcaf478abb4, max_idle_ns: 440795247997 ns
[ 0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 4343773742 ns
[ 0.000010] sched_clock: 32 bits at 440MHz, resolution 2ns, wraps every 4880645118ns
[ 0.007798] Calibrating delay loop... 586.13 BogoMIPS (lpj=2930688)
[ 0.073970] pid_max: default: 32768 minimum: 301
[ 0.078735] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.085242] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.093952] Hierarchical SRCU implementation.
[ 0.099066] smp: Bringing up secondary CPUs ...
[ 0.105935] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[ 0.105945] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[ 0.105957] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[ 0.106088] CPU1 revision is: 0001992f (MIPS 1004Kc)
[ 0.163804] Synchronize counters for CPU 1: done.
[ 0.199706] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[ 0.199714] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[ 0.199721] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[ 0.199792] CPU2 revision is: 0001992f (MIPS 1004Kc)
[ 0.254875] Synchronize counters for CPU 2: done.
[ 0.287018] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[ 0.287026] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[ 0.287032] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[ 0.287109] CPU3 revision is: 0001992f (MIPS 1004Kc)
[ 0.340055] Synchronize counters for CPU 3: done.
[ 0.369909] smp: Brought up 1 node, 4 CPUs
[ 0.377123] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.386905] futex hash table entries: 1024 (order: 3, 32768 bytes)
[ 0.393184] pinctrl core: initialized pinctrl subsystem
[ 0.398894] NET: Registered protocol family 16
[ 0.420369] mt7621_gpio 1e000600.gpio: registering 32 gpios
[ 0.426150] mt7621_gpio 1e000600.gpio: registering 32 gpios
[ 0.431901] mt7621_gpio 1e000600.gpio: registering 32 gpios
[ 0.439878] clocksource: Switched to clocksource GIC
[ 0.446347] NET: Registered protocol family 2
[ 0.451322] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.458205] TCP bind hash table entries: 2048 (order: 2, 16384 bytes)
[ 0.464623] TCP: Hash tables configured (established 2048 bind 2048)
[ 0.471024] UDP hash table entries: 256 (order: 1, 8192 bytes)
[ 0.476786] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[ 0.483243] NET: Registered protocol family 1
[ 0.719820] 4 CPUs re-calibrate udelay(lpj = 2924544)
[ 0.726192] Crashlog allocated RAM at address 0x3f00000
[ 0.731553] workingset: timestamp_bits=30 max_order=16 bucket_order=0
[ 0.743841] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.749579] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 0.760385] random: fast init done
[ 0.765958] io scheduler noop registered
[ 0.769792] io scheduler deadline registered (default)
[ 0.775846] Serial: 8250/16550 driver, 3 ports, IRQ sharing disabled
[ 0.783307] console [ttyS0] disabled
[ 0.786850] 1e000c00.uartlite: ttyS0 at MMIO 0x1e000c00 (irq = 18, base_baud = 3125000) is a 16550A
[ 0.795867] console [ttyS0] enabled
[ 0.795867] console [ttyS0] enabled
[ 0.802740] bootconsole [early0] disabled
[ 0.802740] bootconsole [early0] disabled
[ 0.811321] cacheinfo: Failed to find cpu0 device node
[ 0.816442] cacheinfo: Unable to detect cache hierarchy for CPU 0
[ 0.823159] MediaTek Nand driver init, version v2.1 Fix AHB virt2phys error
[ 0.830300] Enable NFI Clock
[ 0.833169] # MTK NAND # : Use HW ECC
[ 0.836827] Device not found, ID: c2f1
[ 0.840586] Not Support this Device!
[ 0.844318] chip_mode=00000001
[ 0.847355] Support this Device in MTK table! c2f1
[ 0.852314] [NAND]select ecc bit:4, sparesize :64 spare_per_sector=16
[ 0.858770] nand: device found, Manufacturer ID: 0xc2, Chip ID: 0xf1
[ 0.865100] nand: Macronix NAND 128MiB 3,3V 8-bit
[ 0.869782] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[ 0.877340] Scanning device for bad blocks
[ 0.898127] Bad eraseblock 71 at 0x0000008e0000
[ 0.967428] Bad eraseblock 349 at 0x000002ba0000
[ 0.977750] Bad eraseblock 374 at 0x000002ec0000
[ 0.987603] Bad eraseblock 397 at 0x0000031a0000
[ 1.005870] Bad eraseblock 456 at 0x000003900000
[ 1.021098] Bad eraseblock 502 at 0x000003ec0000
[ 1.034456] Bad eraseblock 540 at 0x000004380000
[ 1.050159] Bad eraseblock 588 at 0x000004980000
[ 1.106496] Bad eraseblock 810 at 0x000006540000
[ 1.128493] Bad eraseblock 885 at 0x000006ea0000
[ 1.165420] 6 fixed-partitions partitions found on MTD device MT7621-NAND
[ 1.172195] Creating 6 MTD partitions on "MT7621-NAND":
[ 1.177403] 0x000000000000-0x000000080000 : "uboot"
[ 1.183370] 0x000000080000-0x0000000c0000 : "uboot_env"
[ 1.189526] 0x0000000c0000-0x000000100000 : "factory"
[ 1.195555] 0x000000100000-0x000000140000 : "s_env"
[ 1.201423] 0x000000140000-0x000000180000 : "devinfo"
[ 1.207409] 0x000000180000-0x000002980000 : "firmware"
[ 1.771302] 2 uimage-fw partitions found on MTD device firmware
[ 1.777219] 0x000000180000-0x000000580000 : "kernel"
[ 1.783288] 0x000000580000-0x000002980000 : "rootfs"
[ 1.789463] mtd: device 7 (rootfs) set to be root filesystem
[ 1.795168] 1 squashfs-split partitions found on MTD device rootfs
[ 1.801347] 0x000000700000-0x000002980000 : "rootfs_data"
[ 1.807972] [mtk_nand] probe successfully!
[ 1.812790] Signature matched and data read!
[ 1.817036] load_fact_bbt success 1023
[ 1.821441] libphy: Fixed MDIO Bus: probed
[ 1.891651] mtk_soc_eth 1e100000.ethernet: generated random MAC address da:1b:64:a3:81:c3
[ 1.899995] libphy: mdio: probed
[ 3.302770] mtk_soc_eth 1e100000.ethernet: loaded mt7530 driver
[ 3.309407] mtk_soc_eth 1e100000.ethernet eth0: mediatek frame engine at 0xbe100000, irq 20
[ 3.320139] NET: Registered protocol family 10
[ 3.326062] Segment Routing with IPv6
[ 3.329811] NET: Registered protocol family 17
[ 3.334331] 8021q: 802.1Q VLAN Support v1.8
[ 3.340813] hctosys: unable to open rtc device (rtc0)
[ 3.347788] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000010: 0xc000 instead
[ 3.357260] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0000005c: 0x3000 instead
[ 3.366712] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0000007c: 0x3000 instead
[ 3.376166] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000000dc: 0x0c00 instead
[ 3.458152] jffs2: Empty flash at 0x00000100 ends at 0x00000118
[ 3.464071] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000118: 0x82dc instead
[ 3.473517] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0000011c: 0x9ec9 instead
[ 3.482963] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000120: 0xd28e instead
[ 3.492409] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000124: 0x1a0e instead
[ 3.501854] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000128: 0xe5b8 instead
[ 3.511300] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0000012c: 0x8812 instead
[ 3.520740] jffs2: Further such events for this erase block will not be printed
[ 3.536370] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00020000: 0xee07 instead
[ 3.545825] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00020004: 0x4b2e instead
[ 3.555270] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00020008: 0xfef6 instead
[ 3.564716] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0002000c: 0xf55b instead
[ 3.574162] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00020010: 0x9cbc instead
[ 3.583607] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00020014: 0x96e1 instead
[ 3.593057] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00020018: 0x2134 instead
[ 3.602502] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0002001c: 0x9813 instead
[ 3.611948] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00020020: 0xbf12 instead
[ 3.621393] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00020024: 0xfe80 instead
[ 3.630834] jffs2: Further such events for this erase block will not be printed
[ 3.682403] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00040000: 0xbefe instead
[ 3.691854] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00040004: 0xf599 instead
[ 3.701300] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00040008: 0x37fb instead
[ 3.710746] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0004000c: 0xabad instead
[ 3.720196] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00040010: 0x5fad instead
[ 3.729628] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00040014: 0xc233 instead
[ 3.739072] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00040018: 0x5861 instead
[ 3.748518] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0004001c: 0x4ee1 instead
[ 3.757963] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00040020: 0x7419 instead
[ 3.767409] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00040024: 0x7696 instead
[ 3.776850] jffs2: Further such events for this erase block will not be printed
[ 3.821811] jffs2: Old JFFS2 bitmask found at 0x00047e1c
[ 3.827095] jffs2: You cannot use older JFFS2 filesystems with newer kernels
[ 3.840720] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00060000: 0x0b7e instead
[ 3.850174] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00060004: 0x77e8 instead
[ 3.859606] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00060008: 0x70d5 instead
[ 3.869049] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0006000c: 0x6ea7 instead
[ 3.878495] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00060010: 0x5351 instead
[ 3.887940] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00060014: 0x635f instead
[ 3.897386] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00060018: 0x7944 instead
[ 3.906831] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0006001c: 0x2aaf instead
[ 3.916276] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00060020: 0x4ba6 instead
[ 3.925722] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00060024: 0xb3b4 instead
[ 3.935162] jffs2: Further such events for this erase block will not be printed
[ 3.986728] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00080000: 0xe685 instead
[ 3.996180] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00080004: 0x0686 instead
[ 4.005627] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00080008: 0x49b7 instead
[ 4.015072] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0008000c: 0xd9ea instead
[ 4.024518] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00080010: 0xf8d1 instead
[ 4.033963] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00080014: 0xea4b instead
[ 4.043409] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00080018: 0xfee5 instead
[ 4.052855] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0008001c: 0x37c3 instead
[ 4.062300] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00080020: 0x86f2 instead
[ 4.071745] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00080024: 0x625e instead
[ 4.081186] jffs2: Further such events for this erase block will not be printed
[ 4.132798] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000a0000: 0xbfce instead
[ 4.142255] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000a0004: 0x7003 instead
[ 4.151701] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000a0008: 0x86e2 instead
[ 4.161147] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000a000c: 0xb871 instead
[ 4.170593] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000a0010: 0xd3b1 instead
[ 4.180039] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000a0014: 0x33fc instead
[ 4.189470] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000a0018: 0xf5c2 instead
[ 4.198914] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000a001c: 0xdbe7 instead
[ 4.208360] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000a0020: 0x7d9a instead
[ 4.217805] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000a0024: 0x81b5 instead
[ 4.227246] jffs2: Further such events for this erase block will not be printed
[ 4.274472] jffs2: Old JFFS2 bitmask found at 0x000b20fc
[ 4.279756] jffs2: You cannot use older JFFS2 filesystems with newer kernels
[ 4.291146] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000c0000: 0xbc4e instead
[ 4.300596] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000c0004: 0xe8fc instead
[ 4.310041] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000c0008: 0x57a1 instead
[ 4.319473] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000c000c: 0x9860 instead
[ 4.328917] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000c0010: 0x19c7 instead
[ 4.338363] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000c0014: 0x9a43 instead
[ 4.347808] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000c0018: 0x74cd instead
[ 4.357253] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000c001c: 0xd159 instead
[ 4.366699] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000c0020: 0x8cfe instead
[ 4.376149] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000c0024: 0x0385 instead
[ 4.385589] jffs2: Further such events for this erase block will not be printed
[ 4.437154] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000e0000: 0x451d instead
[ 4.446606] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000e0004: 0x04ed instead
[ 4.456052] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000e0008: 0x7947 instead
[ 4.465497] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000e000c: 0x323a instead
[ 4.474943] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000e0010: 0xb31e instead
[ 4.484388] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000e0014: 0x67e0 instead
[ 4.493834] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000e0018: 0xf12d instead
[ 4.503284] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000e001c: 0x634e instead
[ 4.512730] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000e0020: 0xece5 instead
[ 4.522176] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000e0024: 0x0f2f instead
[ 4.531616] jffs2: Further such events for this erase block will not be printed
[ 4.567574] mtk_soc_eth 1e100000.ethernet eth0: port 4 link up
[ 4.583289] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00100000: 0x4e7a instead
[ 4.592739] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00100004: 0x90e6 instead
[ 4.602185] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00100008: 0x599b instead
[ 4.611630] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0010000c: 0x4c1c instead
[ 4.621076] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00100010: 0x94f8 instead
[ 4.630526] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00100014: 0x47be instead
[ 4.639972] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00100018: 0x191d instead
[ 4.649403] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0010001c: 0x86c6 instead
[ 4.658847] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00100020: 0xdae1 instead
[ 4.668293] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00100024: 0xac02 instead
[ 4.677733] jffs2: Further such events for this erase block will not be printed
[ 4.729290] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00120000: 0xca98 instead
[ 4.738742] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00120004: 0xedbb instead
...
[ 4.804866] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00120020: 0x39c3 instead
[ 4.814312] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00120024: 0x2e93 instead
[ 4.823752] jffs2: Further such events for this erase block will not be printed
[ 4.871074] jffs2: Old JFFS2 bitmask found at 0x00132770
[ 4.876358] jffs2: You cannot use older JFFS2 filesystems with newer kernels
[ 4.887633] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00140000: 0x639a instead
[ 4.897087] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00140004: 0xde55 instead
...
[ 4.963207] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00140020: 0xe46c instead
[ 4.972653] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00140024: 0xc8aa instead
[ 4.982093] jffs2: Further such events for this erase block will not be printed
[ 5.033683] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00160000: 0x6f27 instead
[ 5.043136] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00160004: 0xf7b9 instead
...
[ 5.109313] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00160020: 0x73d0 instead
[ 5.118759] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00160024: 0xa60f instead
[ 5.128199] jffs2: Further such events for this erase block will not be printed
[ 5.209300] jffs2_scan_eraseblock(): End of filesystem marker found at 0x180000
[ 5.216899] jffs2: Cowardly refusing to erase blocks on filesystem with no valid JFFS2 nodes
[ 5.225307] jffs2: empty_blocks 275, bad_blocks 1, c->nr_blocks 288
[ 5.231651] VFS: Cannot open root device "(null)" or unknown-block(31,7): error -5
[ 5.239180] Please append a correct "root=" boot option; here are the available partitions:
[ 5.247510] 1f00 512 mtdblock0
[ 5.247516] (driver?)
[ 5.254032] 1f01 256 mtdblock1
[ 5.254037] (driver?)
[ 5.260549] 1f02 256 mtdblock2
[ 5.260554] (driver?)
[ 5.267053] 1f03 256 mtdblock3
[ 5.267057] (driver?)
[ 5.273569] 1f04 256 mtdblock4
[ 5.273574] (driver?)
[ 5.280092] 1f05 40960 mtdblock5
[ 5.280097] (driver?)
[ 5.286596] 1f06 4096 mtdblock6
[ 5.286600] (driver?)
[ 5.293113] 1f07 36864 mtdblock7
[ 5.293118] (driver?)
[ 5.299616] 1f08 35328 mtdblock8
[ 5.299619] (driver?)
[ 5.306133] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(31,7)
[ 5.316758] Rebooting in 1 seconds..