Modify

Opened 19 months ago

Last modified 19 months ago

#22813 new defect

ramips rev 49400 boot failed

Reported by: erdnaxe78@… Owned by: developers
Priority: normal Milestone:
Component: kernel Version: Trunk
Keywords: ramips mx25l3205d Cc:

Description

When I compile OpenWRT from the latest trunk for a new device (french isp device) I can't manage to boot.

Here my dts but it was copied from ALL0256N-4M.dts (same hardware): http://pastebin.com/MzG1CSnJ
The uboot bootenv vars are the following: http://pastebin.com/422kU0hb

I think the problem comes from the latest trunks (trying since 2 mouths).
I already successfully port an another device (also a ramips but more recent SoC).

My kernel boot log:

Starting kernel ...

[    0.000000] Linux version 3.18.36 (erdnaxe@harchsus) (gcc version 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 r49400) ) #1 Thu Jul 14 13:08:21 CEST 2016
[    0.000000] SoC Type: Ralink RT3052 id:1 rev:3
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 0001964c (MIPS 24KEc)
[    0.000000] MIPS: machine is SFR MiniHub
[    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] Initmem setup 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=00000c4a
[    0.000000] Readback ErrCtl register=00000c4a
[    0.000000] Memory: 29020K/32768K available (2405K kernel code, 118K rwdata, 480K rodata, 188K init, 181K bss, 3748K reserved)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS:256
[    0.000000] CPU Clock: 320MHz
[    0.000000] clocksource_of_init: no matching clocksources found
[    0.000000] Calibrating delay loop... 212.58 BogoMIPS (lpj=1062912)
[    0.080000] pid_max: default: 32768 minimum: 301
[    0.080000] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.090000] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.100000] pinctrl core: initialized pinctrl subsystem
[    0.110000] NET: Registered protocol family 16
[    0.160000] rt2880_gpio 10000600.gpio: registering 24 gpios
[    0.170000] rt2880_gpio 10000600.gpio: registering 24 irq handlers
[    0.180000] Switched to clocksource MIPS
[    0.190000] NET: Registered protocol family 2
[    0.200000] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.210000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.220000] TCP: Hash tables configured (established 1024 bind 1024)
[    0.240000] TCP: reno registered
[    0.240000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.250000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.270000] NET: Registered protocol family 1
[    0.280000] rt-timer 10000100.timer: maximum frequency is 6510Hz
[    0.290000] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.320000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.330000] 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.400000] io scheduler noop registered
[    0.410000] io scheduler deadline registered (default)
[    0.420000] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    0.430000] console [ttyS0] disabled
[    0.440000] 10000c00.uartlite: ttyS0 at MMIO 0x10000c00 (irq = 20, base_baud = 6666666) is a 16550A
[    0.460000] console [ttyS0] enabled
[    0.460000] console [ttyS0] enabled
[    0.470000] bootconsole [early0] disabled
[    0.470000] bootconsole [early0] disabled
[    0.500000] m25p80 spi32766.0: mx25l3205d (4096 Kbytes)
[    0.510000] 4 ofpart partitions found on MTD device spi32766.0
[    0.530000] Creating 4 MTD partitions on "spi32766.0":
[    0.540000] 0x000000000000-0x000000030000 : "u-boot"
[    0.550000] 0x000000030000-0x000000040000 : "u-boot-env"
[    0.560000] 0x000000040000-0x000000050000 : "factory"
[    0.570000] 0x000000050000-0x000000340000 : "firmware"
[    0.630000] ralink_soc_eth 10100000.ethernet eth0: ralink at 0xb0100000, irq 5
[    0.650000] rt2880_wdt 10000120.watchdog: Initialized
[    0.660000] TCP: cubic registered
[    0.670000] NET: Registered protocol family 17
[    0.670000] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
[    0.700000] 8021q: 802.1Q VLAN Support v1.8
[    0.730000] VFS: Cannot open root device "(null)" or unknown-block(0,0): error -6
[    0.740000] Please append a correct "root=" boot option; here are the available partitions:
[    0.760000] 1f00             192 mtdblock0  (driver?)
[    0.770000] 1f01              64 mtdblock1  (driver?)
[    0.780000] 1f02              64 mtdblock2  (driver?)
[    0.790000] 1f03            3008 mtdblock3  (driver?)
[    0.800000] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[    0.800000] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[   82.190000] random: nonblocking pool is initialized

Attachments (0)

Change History (2)

comment:1 Changed 19 months ago by anonymous

Also, in the dts I tried many sizes for "firmware" but I don't think that's the problem.

comment:2 Changed 19 months ago by anonymous

Ok it's not a OpenWRT bug (sorry). It's because there is eRcOmM :/

Add Comment

Modify Ticket

Action
as new .
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.