This is the bootlog and the output of ifconfig and df seen on RS232 directly on first reboot after flashing openwrt-ramips-rt305x-wnce2001-squashfs-sysupgrade.bin via U-Boot:
(An attempt of flashing openwrt-ramips-rt305x-wnce2001-squashfs-factory-worldwide.bin results in "raspi_read: from:b0000 len:40 Bad Magic Number,1B21B1B4" in U-Boot).
U-Boot 1.1.3 (Jul 2 2010 - 09:49:13)
Board: Ralink APSoC DRAM: 32 MB
relocate_code Pointer at: 81fb4000
spi_wait_nsec: 3e
spi deice id: c2 20 16 c2 20 (2016c220)
find flash: mx25l3205d
raspi_read: from:30000 len:1000
raspi_read: from:30000 len:1000
============================================
Ralink UBoot Version: 3.3
--------------------------------------------
ASIC 3052_MP2 (Port5<->None)
DRAM component: 256 Mbits SDR
DRAM bus: 16 bit
Total memory: 32 MBytes
Flash component: SPI Flash
Date:Jul 2 2010 Time:09:49:13
Cameo Version: v1.00 Build:07
Module Name: Netgear WNCE-2001
============================================
icache: sets:256, ways:4, linesz:32 ,total:32768
dcache: sets:128, ways:4, linesz:32 ,total:16384
##### The CPU freq = 384 MHZ ####
SDRAM bus set to 16 bit
SDRAM size =32 Mbytes
Please choose the operation:
0: Don't check the image's checksum.
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.
9: Load Boot Loader code then write to Flash via TFTP.
You choosed 3
0
raspi_read: from:a0000 len:50
raspi_read: from:b0000 len:0
3: System Boot system code via Flash.
## Booting image at bf0b0000 ...
raspi_read: from:b0000 len:40
Image Name: MIPS OpenWrt Linux-3.10.49
Created: 2014-10-01 14:34:54 UTC
Image Type: MIPS Linux Kernel Image (lzma compressed)
Data Size: 1054668 Bytes = 1 MB
Load Address: 80000000
Entry Point: 80000000
raspi_read: from:b0040 len:1017cc
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
No initrd
## Transferring control to Linux (at address 80000000) ...
## Giving linux memsize in MB, 32
Starting kernel ...
[ 0.000000] Linux version 3.10.49 (bb@builder1) (gcc version 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 r42625) ) #3 Wed Oct 1 16:33:08 CEST 2014
[ 0.000000] SoC Type: Ralink RT3052 id:1 rev:3
[ 0.000000] bootconsole [early0] enabled
[ 0.000000] CPU revision is: 0001964c (MIPS 24KEc)
[ 0.000000] MIPS: machine is Netgear WNCE2001
[ 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,115200 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=00049865
[ 0.000000] Readback ErrCtl register=00049865
[ 0.000000] Memory: 29156k/32768k available (2284k kernel code, 3612k reserved, 574k data, 212k init, 0k highmem)
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] NR_IRQS:256
[ 0.000000] CPU Clock: 384MHz
[ 0.000000] Calibrating delay loop... 255.59 BogoMIPS (lpj=1277952)
[ 0.070000] pid_max: default: 32768 minimum: 301
[ 0.070000] Mount-cache hash table entries: 512
[ 0.080000] pinctrl core: initialized pinctrl subsystem
[ 0.090000] NET: Registered protocol family 16
[ 0.130000] bio: create slab <bio-0> at 0
[ 0.140000] rt2880_gpio 10000600.gpio: registering 24 gpios
[ 0.140000] rt2880_gpio 10000600.gpio: registering 24 irq handlers
[ 0.150000] Switching to clocksource MIPS
[ 0.160000] NET: Registered protocol family 2
[ 0.170000] TCP established hash table entries: 512 (order: 0, 4096 bytes)
[ 0.180000] TCP bind hash table entries: 512 (order: -1, 2048 bytes)
[ 0.180000] TCP: Hash tables configured (established 512 bind 512)
[ 0.190000] TCP: reno registered
[ 0.190000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.200000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.200000] NET: Registered protocol family 1
[ 0.210000] rt-timer 10000100.timer: maximum frequncy is 7812Hz
[ 0.260000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.260000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 0.270000] msgmni has been set to 56
[ 0.280000] io scheduler noop registered
[ 0.280000] io scheduler deadline registered (default)
[ 0.290000] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[ 0.310000] 10000c00.uartlite: ttyS0 at MMIO 0x10000c00 (irq = 20) is a 16550A
[ 0.320000] console [ttyS0] enabled, bootconsole disabled
[ 0.320000] console [ttyS0] enabled, bootconsole disabled
[ 0.340000] m25p80 spi32766.0: mx25l3205d (4096 Kbytes)
[ 0.350000] 7 ofpart partitions found on MTD device spi32766.0
[ 0.350000] Creating 7 MTD partitions on "spi32766.0":
[ 0.360000] 0x000000000000-0x000000030000 : "u-boot"
[ 0.370000] 0x000000030000-0x000000040000 : "factory"
[ 0.380000] 0x000000040000-0x000000060000 : "config"
[ 0.380000] 0x000000060000-0x000000090000 : "language"
[ 0.390000] 0x000000090000-0x0000000a0000 : "pot"
[ 0.400000] 0x0000000a0000-0x0000000b0000 : "checksum"
[ 0.410000] 0x0000000b0000-0x000000400000 : "firmware"
[ 0.420000] 0x0000001b180c-0x000000400000 : "rootfs"
[ 0.420000] mtd: partition "rootfs" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
[ 0.440000] mtd: device 7 (rootfs) set to be root filesystem
[ 0.450000] mtd: partition "rootfs_data" created automatically, ofs=0x3d0000, len=0x30000
[ 0.450000] 0x0000003d0000-0x000000400000 : "rootfs_data"
[ 0.470000] eth0: done loading
[ 0.480000] rt2880_wdt 10000120.watchdog: Initialized
[ 0.490000] TCP: cubic registered
[ 0.490000] NET: Registered protocol family 17
[ 0.490000] Bridge firewalling registered
[ 0.500000] 8021q: 802.1Q VLAN Support v1.8
[ 0.520000] VFS: Mounted root (squashfs filesystem) readonly on device 31:7.
[ 0.530000] Freeing unused kernel memory: 212K (802cb000 - 80300000)
procd: Console is alive
procd: - watchdog -
[ 5.400000] usbcore: registered new interface driver usbfs
[ 5.410000] usbcore: registered new interface driver hub
[ 5.420000] usbcore: registered new device driver usb
[ 5.430000] dwc_otg: version 2.72a 24-JUN-2008
[ 5.440000] leds-gpio gpio-leds.3: pins are not configured from the driver
procd: - preinit -
Board is WNCE2001, updating checksum partition...
Checksum is already zero, nothing to do.
ifconfig: SIOCSIFFLAGS: Cannot assign requested address
sendto(): Network is unreachable
Press the [f] key and hit [enter] to enter failsafe mode
Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level
jffs2 is not ready - marker found
ifconfig: SIOCSIFFLAGS: Cannot assign requested address
procd: - early -
procd: - watchdog -
procd: - ubus -
procd: - init -
Please press Enter to activate this console.
[ 12.250000] NET: Registered protocol family 10
[ 12.270000] nf_conntrack version 0.5.0 (458 buckets, 1832 max)
[ 12.290000] ip6_tables: (C) 2000-2006 Netfilter Core Team
[ 12.310000] Loading modules backported from Linux version master-2014-05-22-0-gf2032ea
[ 12.320000] Backport generated by backports.git backports-20140320-37-g5c33da0
[ 12.340000] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 12.410000] xt_time: kernel timezone is -0000
[ 12.460000] cfg80211: Calling CRDA to update world regulatory domain
[ 12.460000] cfg80211: World regulatory domain updated:
[ 12.470000] cfg80211: DFS Master region: unset
[ 12.470000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[ 12.480000] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[ 12.490000] cfg80211: (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[ 12.500000] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
[ 12.510000] cfg80211: (5170000 KHz - 5250000 KHz @ 160000 KHz), (N/A, 2000 mBm), (N/A)
[ 12.510000] cfg80211: (5250000 KHz - 5330000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
[ 12.520000] cfg80211: (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
[ 12.530000] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
[ 12.540000] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
[ 12.630000] PPP generic driver version 2.4.2
[ 12.640000] NET: Registered protocol family 24
[ 12.690000] ieee80211 phy0: rt2x00_set_rt: Info - RT chipset 2872, rev 0200 detected
[ 12.700000] ieee80211 phy0: rt2800_init_eeprom: Error - Invalid RF chipset 0x000a detected
[ 12.700000] ieee80211 phy0: rt2x00lib_probe_dev: Error - Failed to allocate device
[ 12.710000] ------------[ cut here ]------------
[ 12.720000] WARNING: at mm/vmalloc.c:1482 release_firmware+0x58/0x8c()
[ 12.720000] Trying to vfree() bad address (80d74600)
[ 12.730000] Modules linked in: rt2800soc(+) rt2800mmio rt2800lib pppoe ppp_async iptable_nat rt2x00soc rt2x00mmio rt2x00lib pppox ppp_generic nf_nat_ipv4 nf_conntrack_ipv4 mac80211 ipt_MASQUERADE cfg80211 xt_time xt_tcpudp xt_state xt_nat xt_multiport xt_mark xt_mac xt_limit xt_id xt_conntrack xt_comment xt_TCPMSS xt_REDIRECT xt_LOG xt_CT slhc nf_nat_irc nf_nat_ftp nf_nat nf_defrag_ipv4 nf_conntrack_irc nf_conntrack_ftp iptable_raw iptable_mangle iptable_filter ipt_REJECT ip_tables crc_itu_t crc_ccitt compat ledtrig_usbdev ip6t_REJECT ip6table_raw ip6table_mangle ip6table_filter ip6_tables x_tables nf_conntrack_ipv6 nf_conntrack nf_defrag_ipv6 ipv6 eeprom_93cx6 arc4 crypto_blkcipher leds_gpio dwc_otg gpio_button_hotplug usbcore nls_base usb_common
[ 12.790000] CPU: 0 PID: 510 Comm: kmodloader Not tainted 3.10.49 #3
[ 12.800000] Stack : 00000000 00000000 00000000 00000000 8032afbe 00000037 81918e38 80320000
802789ac 802bab73 000001fe 80323820 81918e38 80320000 00000000 00000016
00000124 8021b168 00000003 801836c4 8027e76c 80320000 8027a004 81b77bcc
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000 00000000 00000000 00000000 81b77b58
...
[ 12.840000] Call Trace:
[ 12.840000] [<801c077c>] show_stack+0x48/0x70
[ 12.840000] [<8022b98c>] warn_slowpath_common+0x78/0xa8
[ 12.850000] [<8022b9e8>] warn_slowpath_fmt+0x2c/0x38
[ 12.850000] [<8019d278>] release_firmware+0x58/0x8c
[ 12.860000] [<80d062bc>] rt2x00lib_free_eeprom_file+0x18/0x2c [rt2x00lib]
[ 12.870000] [<80d01848>] rt2x00lib_probe_dev+0x72c/0x7c8 [rt2x00lib]
[ 12.870000] [<80d0b198>] rt2x00soc_probe+0x15c/0x1b0 [rt2x00soc]
[ 12.880000] [<800bed50>] driver_probe_device+0xd8/0x22c
[ 12.880000] [<8003250c>] __driver_attach+0x7c/0xb4
[ 12.890000] [<8007d6d8>] bus_for_each_dev+0x98/0xa8
[ 12.890000] [<8007d3a0>] bus_add_driver+0x108/0x24c
[ 12.900000] [<800bef78>] driver_register+0xbc/0x16c
[ 12.900000] [<800b451c>] do_one_initcall+0xf0/0x198
[ 12.910000] [<80139a2c>] load_module+0x156c/0x1b34
[ 12.910000] [<80016764>] SyS_init_module+0xbc/0xd4
[ 12.920000] [<800065b0>] stack_done+0x20/0x44
[ 12.920000]
[ 12.920000] ---[ end trace 7afa57f459e157ec ]---
[ 12.930000] Kernel bug detected[#1]:
[ 12.930000] CPU: 0 PID: 510 Comm: kmodloader Tainted: G W 3.10.49 #3
[ 12.930000] task: 81918c90 ti: 81b76000 task.ti: 81b76000
[ 12.930000] $ 0 : 00000000 00000000 8101df80 00000001
[ 12.930000] $ 4 : 00000000 00000000 80d07650 00000000
[ 12.930000] $ 8 : 0000002d 39353466 37353165 5d206365
[ 12.930000] $12 : 00000000 03bf0000 00000000 bc000000
[ 12.930000] $16 : 8188b440 ffffffed 8188aac0 8188b6cc
[ 12.930000] $20 : 81857210 80320000 00000000 00000016
[ 12.930000] $24 : 00000003 80061e8c
[ 12.930000] $28 : 81b76000 81b77c88 00000124 80d062bc
[ 12.930000] Hi : 00000000
[ 12.930000] Lo : cbd20000
[ 12.930000] epc : 8012d9a0 kfree+0x64/0x11c
[ 12.930000] Tainted: G W
[ 12.t2x00lib_free_eeprom_file+0x18/0x2c [rt2x00lib]
[ 12.930000] Status: 1100a403 KERNEL EXL IE
[ 12.930000] Cause : 10800034
[ 12.930000] PrId : 0001964c (MIPS 24KEc)
[ 12.930000] Modules linked in: rt2800soc(+) rt2800mmio rt2800lib pppoe ppp_async iptable_nat rt2x00soc rt2x00mmio rt2x00lib pppox ppp_generic nf_nat_ipv4 nf_conntrack_ipv4 mac80211 ipt_MASQUERADE cfg80211 xt_time xt_tcpudp xt_state xt_nat xt_multiport xt_mark xt_mac xt_limit xt_id xt_conntrack xt_comment xt_TCPMSS xt_REDIRECT xt_LOG xt_CT slhc nf_nat_irc nf_nat_ftp nf_nat nf_defrag_ipv4 nf_conntrack_irc nf_conntrack_ftp iptable_raw iptable_mangle iptable_filter ipt_REJECT ip_tables crc_itu_t crc_ccitt compat ledtrig_usbdev ip6t_REJECT ip6table_raw ip6table_mangle ip6table_filter ip6_tables x_tables nf_conntrack_ipv6 nf_conntrack nf_defrag_ipv6 ipv6 eeprom_93cx6 arc4 crypto_blkcipher leds_gpio dwc_otg gpio_button_hotplug usbcore nls_base usb_common
[ 12.930000] Process kmodloader (pid: 510, threadinfo=81b76000, task=81918c90, tls=77501440)
[ 12.930000] Stack : 80d0683c 81b77c90 81b77ca8 8188b440 8188b440 80d01848 80d37c00 80e32fd8
80d06474 00000000 00000000 80d37e80 8188a120 8188b440 8188b440 81857200
8188aac0 80e59554 81857210 80320000 00000000 00000016 00000124 80d0b198
80320000 800bf0b4 00000200 81b77d98 81857210 00000000 80e597c4 80330000
00000003 800bed50 00000124 80d37c00 81857210 8017e64c 00000000 81857210
...
[ 12.930000] Call Trace:
[ 12.930000] [<8012d9a0>] kfree+0x64/0x11c
[ 12.930000] [<80d062bc>] rt2x00lib_free_eeprom_file+0x18/0x2c [rt2x00lib]
[ 12.930000] [<80d01848>] rt2x00lib_probe_dev+0x72c/0x7c8 [rt2x00lib]
[ 12.930000] [<80d0b198>] rt2x00soc_probe+0x15c/0x1b0 [rt2x00soc]
[ 12.930000] [<800bed50>] driver_probe_device+0xd8/0x22c
[ 12.930000] [<8003250c>] __driver_attach+0x7c/0xb4
[ 12.930000] [<8007d6d8>] bus_for_each_dev+0x98/0xa8
[ 12.930000] [<8007d3a0>] bus_add_driver+0x108/0x24c
[ 12.930000] [<800bef78>] driver_register+0xbc/0x16c
[ 12.930000] [<800b451c>] do_one_initcall+0xf0/0x198
[ 12.930000] [<80139a2c>] load_module+0x156c/0x1b34
[ 12.930000] [<80016764>] SyS_init_module+0xbc/0xd4
[ 12.930000] [<800065b0>] stack_done+0x20/0x44
[ 12.930000]
[ 12.930000]
Code: 8c430000 3063c000 2c630001 <00030336> 8c450000 7ca503 13.210000] ---[ end trace 7afa57f459e157ed ]---
[ 22.890000] jffs2: Too few erase blocks (3)
procd: - init complete -
BusyBox v1.22.1 (2014-09-21 10:15:39 CEST) built-in shell (ash)
Enter 'help' for a list of built-in commands.
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
-----------------------------------------------------
BARRIER BREAKER (14.07, r42625)
-----------------------------------------------------
* 1/2 oz Galliano Pour all ingredients into
* 4 oz cold Coffee an irish coffee mug filled
* 1 1/2 oz Dark Rum with crushed ice. Stir.
* 2 tsp. Creme de Cacao
-----------------------------------------------------
root@OpenWrt:/# ifconfig
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:192 errors:0 dropped:0 overruns:0 frame:0
TX packets:192 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:13056 (12.7 KiB) TX bytes:13056 (12.7 KiB)
root@OpenWrt:/# df
Filesystem 1K-blocks Used Available Use% Mounted on
rootfs 14684 32 14652 0% /
/dev/root 2304 2304 0 100% /rom
tmpfs 14684 40 14644 0% /tmp
tmpfs 14684 32 14652 0% /tmp/root
overlayfs:/tmp/root 14684 32 14652 0% /
tmpfs 512 0 512 0% /dev
root@OpenWrt:/#
(Last edited by Fredl on 6 Jul 2015, 17:19)