#18736: Problem with booting openwrt image for adm8668
-------------------------+------------------------
Reporter: moguai_xl@… | Owner: developers
Type: defect | Status: new
Priority: normal | Milestone:
Component: kernel | Version: Trunk
Keywords: |
-------------------------+------------------------
Hi,
I have a problem with openwrt image for adm8668 architecture downloaded
from https://downloads.openwrt.org/snapshots/trunk/adm8668/openwrt-
adm8668-squashfs.bin.
{{{
openwrt-adm8668-squashfs.bin 11-Jan-2015 07:25
3211264
}}}
After successful installation system won't boot. The same situation occurs
where I try to build my own image. I see the same message. I attach full
boot log.
{{{
07f?4
(v1.00.02) U-Boot 2.1.4 (Jan 28 2008 - 14:56:42)
DRAM: 64 MB
Flash: 8 MB
In: serial
Out: serial
Err: serial
Net: adm8668_net
Hit any key to stop autoboot: 0
TX error status2 = 0x04000008
Using adm8668_net device
host 192.168.0.250 is alive
TX error status2 = 0x04000008
Using adm8668_net device
TFTP from server 192.168.0.250; our IP address is 192.168.0.10
Filename 'vmlinuz-8668'.
Load address: 0x600000
Loading: T T
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
###########################################
done
Bytes transferred = 3211264 (310000 hex)
..................... done
Erased 49 sectors
Copy to Flash... done
## Booting image at b0040000 ...
Check vendor string... Image Name: ADM8668 Linux Kernel(2.4.31)
Created: 2015-01-11 7:25:58 UTC
Image Type: MIPS Linux Kernel Image (uncompressed)
Data Size: 3211200 Bytes = 3.1 MB
Load Address: 80400000
Entry Point: 80400000
Verifying Checksum ... OK
OK
Starting kernel ...
LZMA kernel loader
lzma data @ 0x804001d0 - 0x805284f9
load addr @ 0x80002000
jump table @ 0x83ff5340
Decompressing kernel...success!
[ 0.000000] Linux version 3.14.27 (openwrt@gb-16) (gcc version 4.8.3
(OpenWrt/Linaro GCC 4.8-2014.04 r43912) ) #1 Sun Jan 11 07:25:42 UTC 2015
[ 0.000000] Board info:
[ 0.000000] RAM size: 64 MB
[ 0.000000] NOR start: 0xb0000000
[ 0.000000] NOR size: 0x800000
[ 0.000000] bootconsole [early0] enabled
[ 0.000000] CPU0 revision is: 0001800b (MIPS 4Kc)
[ 0.000000] Determined physical RAM map:
[ 0.000000] memory: 04000000 @ 00000000 (usable)
[ 0.000000] Initrd not found or empty - disabling initrd
[ 0.000000] Zone ranges:
[ 0.000000] Normal [mem 0x00000000-0x03ffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x00000000-0x03ffffff]
[ 0.000000] Primary instruction cache 8kB, VIPT, 2-way, linesize 16
bytes.
[ 0.000000] Primary data cache 8kB, 2-way, VIPT, no aliases, linesize
16 bytes
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on.
Total pages: 16256
[ 0.000000] Kernel command line: console=ttyS0 earlyprintk
[ 0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[ 0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768
bytes)
[ 0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384
bytes)
[ 0.000000] Memory: 61268K/65536K available (2722K kernel code, 87K
rwdata, 476K rodata, 156K init, 184K bss, 4268K reserved)
[ 0.000000] NR_IRQS:32
[ 0.000000] ADM8668 CPU clock: 200 MHz
[ 0.000000] Calibrating delay loop... 199.06 BogoMIPS (lpj=995328)
[ 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.100000] NET: Registered protocol family 16
[ 0.120000] ------------[ cut here ]------------
[ 0.120000] WARNING: CPU: 0 PID: 1 at drivers/amba/bus.c:296
amba_device_add+0x64/0x248()
[ 0.130000] Modules linked in:
[ 0.130000] CPU: 0 PID: 1 Comm: swapper Not tainted 3.14.27 #1
[ 0.130000] Stack : 00000006 00000000 00000000 00000000 00000000
00000000 8038bdde 00000032
8038bdde 80339224 802eaaa0 80330917 00000001 803839e0 8381fbe0
80339224
80350db4 80390000 0000001e 80285790 00000003 801d8560 00000128
00000000
802edc84 83823d5c 00000000 00000000 00000000 00000000 00000000
00000000
00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000
...
[ 0.170000] Call Trace:
[ 0.170000] [<8021c6e0>] show_stack+0x48/0x70
[ 0.170000] [<80298538>] warn_slowpath_common+0x84/0xb4
[ 0.180000] [<802985f0>] warn_slowpath_null+0x18/0x24
[ 0.180000] [<80071574>] amba_device_add+0x64/0x248
[ 0.180000] [<8033b840>] adm8668_devs_register+0x1c/0xcc
[ 0.190000] [<800e7260>] do_one_initcall+0xf0/0x1ac
[ 0.190000] [<80339ae8>] kernel_init_freeable+0x144/0x20c
[ 0.190000] [<800066fc>] kernel_init+0x10/0x114
[ 0.200000] [<800020a8>] ret_from_kernel_thread+0x14/0x1c
[ 0.200000]
[ 0.200000] ---[ end trace 3cbb3ae922f711c1 ]---
[ 0.210000] ADM8668: applied USB workaround
[ 0.270000] bio: create slab <bio-0> at 0
[ 0.280000] PCI host bridge to bus 0000:00
[ 0.280000] pci_bus 0000:00: root bus resource [mem
0x16000000-0x1dffffff]
[ 0.290000] pci_bus 0000:00: root bus resource [io
0x12600000-0x127fffff]
[ 0.290000] pci_bus 0000:00: No busn resource found for root bus, will
use [bus 00-ff]
[ 0.300000] PCI: fixing up ADM8668 controller
[ 0.310000] pci 0000:00:01.0: BAR 0: assigned [mem
0x16000000-0x16007fff]
[ 0.320000] Switched to clocksource MIPS
[ 0.340000] NET: Registered protocol family 2
[ 0.350000] TCP established hash table entries: 1024 (order: 0, 4096
bytes)
[ 0.360000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.360000] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.370000] TCP: reno registered
[ 0.370000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.380000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.380000] NET: Registered protocol family 1
[ 0.400000] futex hash table entries: 256 (order: -1, 3072 bytes)
[ 0.410000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.410000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME)
(CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 0.430000] msgmni has been set to 119
[ 0.430000] io scheduler noop registered
[ 0.430000] io scheduler deadline registered (default)
[ 0.440000] Serial: AMBA driver
[ 0.440000] apb:uart0: ttyS0 at MMIO 0x1e400000 (irq = 6, base_baud =
0J́a AMBA
[ 0.450000] console [ttyS0] enabled
[ 0.450000] console [ttyS0] enabled
[ 0.460000] bootconsole [early0] disabled
[ 0.460000] bootconsole [early0] disabled
[ 0.480000] adm8668-nor: Found 1 x16 devices at 0x0 in 16-bit bank.
Manufacturer ID 0x0000c2 Chip ID 0x0022cb
[ 0.490000] Amd/Fujitsu Extended Query Table at 0x0040
[ 0.490000] Amd/Fujitsu Extended Query version 1.1.
[ 0.500000] number of CFI chips: 1
[ 0.500000] adm8668-nor: Couldn't find root filesystem
[ 0.510000] Creating 3 MTD partitions on "adm8668-nor":
[ 0.520000] 0x000000040000-0x000000800000 : "linux"
[ 0.540000] 0x0000000e0000-0x000000220000 : "rootfs"
[ 0.550000] mtd: device 1 (rootfs) set to be root filesystem
[ 0.560000] mtdsplit: no squashfs found in "rootfs"
[ 0.560000] mtdsplit: no squashfs found in "adm8668-nor"
[ 0.570000] 0x000000020000-0x000000040000 : "uboot_env"
[ 0.590000] net eth0: tulip_platform (Infineon ADM8668) at MMIO
0x11a00000 00:21:29:f0:a1:c3, IRQ 7
[ 0.610000] net eth1: tulip_platform (Infineon ADM8668) at MMIO
0x11600000 00:21:29:f0:a1:c4, IRQ 8
[ 0.620000] TCP: cubic registered
[ 0.620000] NET: Registered protocol family 17
[ 0.630000] Bridge firewalling registered
[ 0.630000] 8021q: 802.1Q VLAN Support v1.8
[ 0.650000] List of all partitions:
[ 0.660000] 1f00 7936 mtdblock0 (driver?)
[ 0.660000] 1f01 1280 mtdblock1 (driver?)
[ 0.670000] 1f02 128 mtdblock2 (driver?)
[ 0.670000] No filesystem could mount root, tried: squashfs
[ 0.680000] Kernel panic - not syncing: VFS: Unable to mount root fs on
unknown-block(31,1)
}}}
Regards,
--
Ticket URL: <https://dev.openwrt.org/ticket/18736>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets