1

Temat: [WRTU54G-TM/ADM8668] OpenWRT TRUNK (13 luty 2k15r.)-Problem z ROOTFS.

Wrzuciłem via UBOOT plik "openwrt-adm8668-squashfs.bin" (tutaj: "https://downloads.openwrt.org/snapshots … 8/generic/").

LOGi...

UBOOT - printenv:

ADM8668 # printenv

baudrate=115200
ipaddr=192.168.0.10
bootfile=vmlinuz-8668
kernel_addr=0xb0040000
serverip=192.168.0.250
baudrate=115200
flash_flash=bootm $(kernel_addr)
update_kernel=erase $(kernel_addr) b05effff;tftpboot $(kernel_addr) $(bootfile)
update_loader=erase b0000000 b000ffff;tftpboot b0000000 u-boot.img
update_2nd=erase b0600000 b07fffff;tftpboot b0600000 vmlinuz-8668-recovery
tftp_boot=tftpboot 600000 $(bootfile);bootm 80600000
bootargs_rd=load_ramdisk=/dev/ram0 rw root=/dev/ram0 console=/dev/ttyS0
ethact=adm8668_net
netretry=no
if_pingable=ping $(serverip)
if_tftp_success=tftpboot 600000 $(bootfile)
do_upgrade=erase $(kernel_addr) +$(filesize); cp.b $(fileaddr) $(kernel_addr) $(filesize)
ethaddr=$(ipaddr)
bootcmd=run if_pingable if_tftp_success do_upgrade; bootm $(kernel_addr)
bootdelay=8
netdev=adm2
bootargs=rootfstype=squashfs root=/dev/mtdblock1 console=/dev/ttyS0
stdin=serial
stdout=serial
stderr=serial

Environment size: 918/1020 bytes
ADM8668 #

-----
Boot-owanie snapshot-a z dnia 13 luty 2015r.:

(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:  8  7  6  5  4  3  2  1  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 T T 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-02-13  11:08:42 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 - 0x805287db
load addr @ 0x80002000

jump table @ 0x83ff5340

Decompressing kernel...success!
[    0.000000] Linux version 3.14.32 (openwrt@gb-18) (gcc version 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 r44423) ) #1 Fri Feb 13 11:08:20 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 (2724K kernel code, 85K 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.32 #1
[    0.130000] Stack : 00000006 00000000 00000000 00000000 00000000 00000000 8038bdde 00000032
      8038bdde 80339224 802eaac0 8033094b 00000001 803839e0 8381fbe0 80339224
      80350db4 80390000 0000001e 80285ec0 00000003 801d8abc 00000128 00000000
      802edca4 83823d5c 00000000 00000000 00000000 00000000 00000000 00000000
      00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
      ...
[    0.170000] Call Trace:
[    0.170000] [<8021cc54>] show_stack+0x48/0x70
[    0.170000] [<80298bc8>] warn_slowpath_common+0x84/0xb4
[    0.180000] [<80298c80>] warn_slowpath_null+0x18/0x24
[    0.180000] [<800715f0>] amba_device_add+0x64/0x248
[    0.180000] [<8033b840>] adm8668_devs_register+0x1c/0xcc
[    0.190000] [<800e7288>] 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 5e25e952a0f86503 ]---
[    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.390000] 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.420000] 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 = 0)Í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.500000]   Amd/Fujitsu Extended Query version 1.1.
[    0.500000] number of CFI chips: 1
[    0.510000] adm8668-nor: Couldn't find root filesystem
[    0.520000] 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:ef:29:22, IRQ 7
[    0.610000] net eth1: tulip_platform (Infineon ADM8668) at MMIO 0x11600000 00:21:29:ef:29:23, 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)
[   78.710000] random: nonblocking pool is initialized

2

Odp: [WRTU54G-TM/ADM8668] OpenWRT TRUNK (13 luty 2k15r.)-Problem z ROOTFS.

Zgłaszaj na dev.openwrt.org

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.