#18046: ramips: dir-610-a1 does not boot: Unable to mount root fs
----------------------+-----------------------------------
Reporter: linux@… | Owner: developers
Type: defect | Status: new
Priority: normal | Milestone:
Component: kernel | Version: Barrier Breaker 14.07
Resolution: | Keywords:
----------------------+-----------------------------------
Comment (by juanpaul):
Same problem here, Router D-Link DIR-610 Hw. A1, with Flash ESMT F25L32PA
as expected.
I've tried with the 14.07 and the image from trunk of the day Jan/11/2015.
I've tried to build my own images between the trunk @37785 ~ @37956, then,
in the first it don't detected the Flash and in the last, it don't find
the rootfs inside firmware.
Bootlog of snapshot from trunk on Jan/11/2015 - openwrt-ramips-rt305x-
dir-610-a1-squashfs-factory.bin:
{{{
3: System Boot system code via Flash.
## Booting image at bc050000 ...
...............................................addr:80400000
We have SEAMA, Image Size = 3014592
Verifying Checksum ...
Uncompressing SEAMA linux.lzma ... OK
## Transferring control to Linux (at address ff000000) ...
## Giving linux memsize in MB, 32
Starting kernel ...
[ 0.000000] Linux version 3.14.28 (openwrt@gb-16) (gcc version 4.8.3
(OpenWrt/Linaro GCC 4.8-2014.04 r43929) ) #1 Sun Jan 11 13:50:18 UTC 2015
[ 0.000000] SoC Type: Ralink RT5350 id:1 rev:3
[ 0.000000] bootconsole [early0] enabled
[ 0.000000] CPU0 revision is: 0001964c (MIPS 24KEc)
[ 0.000000] MIPS: machine is D-Link DIR-610 A1
[ 0.000000] Determined physical RAM map:
[ 0.000000] memory: 02000000 @ 00000000 (usable)
[ 0.000000] Initrd not found or empty - disabling initrd
[ 0.000000] Zone ranges:
[ 0.000000] Normal [mem 0x00000000-0x01ffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x00000000-0x01ffffff]
[ 0.000000] Primary instruction cache 32kB, VIPT, 4-way, linesize 32
bytes.
[ 0.000000] Primary data cache 16kB, 4-way, VIPT, no aliases, linesize
32 bytes
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on.
Total pages: 8128
[ 0.000000] Kernel command line: console=ttyS0,57600
rootfstype=squashfs,jffs2
[ 0.000000] PID hash table entries: 128 (order: -3, 512 bytes)
[ 0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384
bytes)
[ 0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.000000] Writing ErrCtl register=00004590
[ 0.000000] Readback ErrCtl register=00004590
[ 0.000000] Memory: 29024K/32768K available (2437K kernel code, 122K
rwdata, 472K rodata, 160K init, 183K bss, 3744K reserved)
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] NR_IRQS:256
[ 0.000000] CPU Clock: 360MHz
[ 0.000000] systick: running - mult: 214748, shift: 32
[ 0.000000] genirq: Flags mismatch irq 7. 00014600 (timer) vs. 00014600
(systick)
[ 0.010000] Calibrating delay loop... 479.23 BogoMIPS (lpj=2396160)
[ 0.070000] pid_max: default: 32768 minimum: 301
[ 0.070000] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.080000] Mountpoint-cache hash table entries: 1024 (order: 0, 4096
bytes)
[ 0.090000] pinctrl core: initialized pinctrl subsystem
[ 0.090000] NET: Registered protocol family 16
[ 0.120000] bio: create slab <bio-0> at 0
[ 0.120000] rt2880_gpio 10000600.gpio: registering 22 gpios
[ 0.130000] rt2880_gpio 10000600.gpio: registering 22 irq handlers
[ 0.140000] Switched to clocksource systick
[ 0.140000] NET: Registered protocol family 2
[ 0.160000] TCP established hash table entries: 1024 (order: 0, 4096
bytes)
[ 0.180000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.180000] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.200000] TCP: reno registered
[ 0.210000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.220000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.230000] NET: Registered protocol family 1
[ 0.240000] rt-timer 10000100.timer: maximum frequency is 7324Hz
[ 0.260000] futex hash table entries: 256 (order: -1, 3072 bytes)
[ 0.320000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.320000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME)
(CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 0.350000] msgmni has been set to 56
[ 0.350000] io scheduler noop registered
[ 0.370000] io scheduler deadline registered (default)
[ 0.370000] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[ 0.400000] 10000c00.uartlite: ttyS0 at MMIO 0x10000c00 (irq = 20,
base_baud = 2500000) is a 16550A
[ 0.430000] console [ttyS0] enabled
[ 0.430000] console [ttyS0] enabled
[ 0.440000] bootconsole [early0] disabled
[ 0.440000] bootconsole [early0] disabled
[ 0.470000] m25p80 spi32766.0: f25l32pa (4096 Kbytes)
[ 0.480000] 4 ofpart partitions found on MTD device spi32766.0
[ 0.490000] Creating 4 MTD partitions on "spi32766.0":
[ 0.500000] 0x000000000000-0x000000030000 : "u-boot"
[ 0.520000] 0x000000030000-0x000000040000 : "devdata"
[ 0.520000] 0x000000040000-0x000000050000 : "factory"
[ 0.540000] 0x000000050000-0x000000400000 : "firmware"
[ 0.590000] ralink_soc_eth 10100000.ethernet eth0: ralink at
0xb0100000, irq 5
[ 0.610000] rt3xxx-usbphy usbphy.3: loaded
[ 0.620000] rt2880_wdt 10000120.watchdog: Initialized
[ 0.630000] TCP: cubic registered
[ 0.640000] NET: Registered protocol family 17
[ 0.650000] Bridge firewalling registered
[ 0.650000] 8021q: 802.1Q VLAN Support v1.8
[ 0.670000] VFS: Cannot open root device "(null)" or unknown-
block(0,0): error -6
[ 0.690000] Please append a correct "root=" boot option; here are the
available partitions:
[ 0.700000] 1f00 192 mtdblock0 (driver?)
[ 0.710000] 1f01 64 mtdblock1 (driver?)
[ 0.720000] 1f02 64 mtdblock2 (driver?)
[ 0.730000] 1f03 3776 mtdblock3 (driver?)
[ 0.740000] Kernel panic - not syncing: VFS: Unable to mount root fs on
unknown-block(0,0)
}}}
--
Ticket URL: <https://dev.openwrt.org/ticket/18046#comment:2>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets