OpenWrt Forum Archive

Topic: Openwrt Chaos Calmer on WNCE2001: Root on RAM instead on EEPROM?

The content of this topic has been archived on 28 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hi,

I am not deeply familiar yet with Linux and Openwrt, so please forgive me not to understand all the underlaying mechanisms :-)

I have a Netgear WNCE2001, which I flashed to OpenWrt Barrier Breaker. It worked fine, except for some issue with WPA Enterprise, which I hoped to solve by upgrading to Chaos Calmer (but later I realized on another router how it is done in Barrier Breaker).

So I updated the Firmware first to openwrt-15.05-rc1-ramips-rt305x-wnce2001-initramfs-uImage.bin and then to openwrt-15.05-rc1-ramips-rt305x-wnce2001-squashfs-factory-worldwide.bin , which seemed to work fine.

But... When I edit for example files in /etc/config or by Luci-Interface, or if I install or remove Software using Luci or opkg, it seems all to be done in the RAM and not in the Flash. On every reboot all changes are lost.

So I downgraded to Barrier Breaker again, using openwrt-ramips-rt305x-wnce2001-squashfs-sysupgrade.bin - but the problem of mounting RAM instead of Flash at / remained. I suspect some issue with the file system and mountings of it?

root@OpenWrt:/# df
Filesystem           1K-blocks      Used Available Use% Mounted on
rootfs                   14684        44     14640   0% /
/dev/root                 2304      2304         0 100% /rom
tmpfs                    14684       452     14232   3% /tmp
tmpfs                    14684        44     14640   0% /tmp/root
overlayfs:/tmp/root      14684        44     14640   0% /
tmpfs                      512         0       512   0% /dev

rootfs shows 14640k - it should be around 400k, so it is in RAM instead of Flash, right?

root@OpenWrt:/# mount
rootfs on / type rootfs (rw)
/dev/root on /rom type squashfs (ro,relatime)
proc on /proc type proc (rw,noatime)
sysfs on /sys type sysfs (rw,noatime)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,noatime)
tmpfs on /tmp/root type tmpfs (rw,noatime,mode=755)
overlayfs:/tmp/root on / type overlayfs (rw,noatime,lowerdir=/,upperdir=/tmp/root)
tmpfs on /dev type tmpfs (rw,relatime,size=512k,mode=755)
devpts on /dev/pts type devpts (rw,relatime,mode=600)
debugfs on /sys/kernel/debug type debugfs (rw,noatime)


How can I convince the device to use Flash instead of RAM for such operations again? Is there something like openwrt-ramips-rt305x-wnce2001-initramfs-uImage.bin for Barrier Breaker?


Thanks in advance, best regards, Fred :-)

Did noone else run into this problem?
Or is its solution so trivial that nobody bothers to answer? :-)

Flash BB again without "saving settings."  This should give you a clean install.

An initramfs image runs entirely from RAM, these you have to build yourself as that functionality is mostly of use to developers to quickly test code without flashing.

(Last edited by mk24 on 22 Jun 2015, 02:11)

mk24 wrote:

Flash BB again without "saving settings."  This should give you a clean install.

Thanks for the answer;

I previously flashed it many times in my desperation with as well as without saving the settings, by different approaches (RS232 via u-boot (and this needs initramfs...), scp, Web, (these two want squashfs)...),

however, I just tried it again via webinterface without saving the settings - still the same: All changes (regardless with opkg as well as www-interface as well as editing e.g. /etc/init.d/...) happens in RAM instead in Flash.

Example: Software-Luci-Page after de-installing wpad-mini and installing wpad via scp and opkg:
http://666kb.com/i/czpqxv7v76g8mw9w0.gif

Any other ideas are very welcome!

I suspect in Chaos Calmer this has been done cause 4MB are not enough for the system and for the userspace.
But what exactly has been changed to get this behavior?
And how can it be changed back?
For example: Where is the mounting point defined, and how can it be changed? Does it have something to do with U-Boot?
Or: How does the Eeprom get partitioned into squashfs and user-eeprom? How can this be changed?

Thanks in advance! :-)

(Last edited by Fredl on 22 Jun 2015, 09:13)

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)

Hey Fredl,

i ran into the same problem you did.. I also flashed chaos calmer 15.05 rc3 and now the whole root partition seems to be in the ram... Does someone know how this can be undone? When i try to flash barrier breaker back the issue still remains..
You're not alone..

Normally `df -T` should show something along the lines of:

Filesystem           Type       1K-blocks      Used Available Use% Mounted on
rootfs               rootfs          4608      1112      3496  24% /
/dev/root            squashfs        2304      2304         0 100% /rom
tmpfs                tmpfs          62992      1144     61848   2% /tmp
/dev/mtdblock3       jffs2           4608      1112      3496  24% /overlay
overlayfs:/overlay   overlay         4608      1112      3496  24% /
tmpfs                tmpfs            512         0       512   0% /dev

Notice the chain rootfs -> overlayfs -> /dev/mtdblock3, the final one is what actually puts stuff on flash but the rest of the chain needs to be there. Each member of the chain has the same stats for 1K-blocks, used, available and Use%.

(Last edited by DBAA on 22 Jul 2015, 19:35)

I have the same problem, same hardware.

With the latest BB or CC images, after kernel and rootfs are flashed, there is not enough space remaining to create a jffs2 partition for rootfs_data.

dmesg shows the corresponding logs:
   jffs2: Too few erase blocks (1)   (for CC)
or
   jffs2: Too few erase blocks (3)   (for BB)

Without a rootfs_data jffs2 partition, there is no persistent storage for the overlay filesystem to use, so a rams is used instead. That's why the config gets erased at every reboot.

To confirm, here's the /proc/mtd map from installing openwrt-15.05-rc3-ramips-rt305x-wnce2001-squashfs-sysupgrade.bin

root@OpenWrt:/# cat /proc/mtd
dev:    size   erasesize  name
mtd0: 00030000 00010000 "u-boot"
mtd1: 00010000 00010000 "factory"
mtd2: 00020000 00010000 "config"
mtd3: 00030000 00010000 "language"
mtd4: 00010000 00010000 "pot"
mtd5: 00010000 00010000 "checksum"
mtd6: 00350000 00010000 "firmware"
mtd7: 00116f1b 00010000 "kernel"
mtd8: 002390e5 00010000 "rootfs"
mtd9: 00010000 00010000 "rootfs_data"

You can see that there is only a single 64KB block available (0x10000 bytes) on CC.

(and your BB map above shows 0x30000 bytes, still too small for a jffs2)


So basically, both the currently released builds for WNCE2001 aren't usable with its 4MB flash. 
I wonder how long this has been broken?

What we really need is an older build, before things got bloated out, or to build a new image with smaller kernel and rootfs.

Unfortunately, I don't have one. 

But if you still have your original working 'factory' bin file, you can force the WNCE2001 into recovery mode by doing:

dd if=/dev/zero of=/dev/mtd5
reboot -f

then set your local PC's IP to static 192.168.1.3 and sftp the replacement file in binary mode to 192.168.1.251

(and if you do have such a working image, can you share it to me please. yoshac at hotmail dot com.  thanks)

(Last edited by yoshac on 28 Jul 2015, 06:49)

This one definitely worked for me for half a year or so:

http://downloads.openwrt.org/barrier_br … ldwide.bin

Going to CC (RC1, 2, 3) as well as going back to 14.07 however did not work. CC must have changed something in the ?partitioning, in U-Boot, or somwhere else, which does not get reverted when downgrading.

Hi Fredl, I just took a brand new (never been powered on, still in the package) WNCE2001 and booted it with its default 1.0.0.21 firmware.  Then I installed the file you linked to.

The results are exactly the same.

dmesg shows too few erase blocks to create mtd8, and the partition map confirms that image is also too large to run in the 4MB flash.

[   23.610000] jffs2: Too few erase blocks (3)

root@OpenWrt:/# cat /proc/mtd
dev:    size   erasesize  name
mtd0: 00030000 00010000 "u-boot"
mtd1: 00010000 00010000 "factory"
mtd2: 00020000 00010000 "config"
mtd3: 00030000 00010000 "language"
mtd4: 00010000 00010000 "pot"
mtd5: 00010000 00010000 "checksum"
mtd6: 00350000 00010000 "firmware"
mtd7: 0024e7f4 00010000 "rootfs"
mtd8: 00030000 00010000 "rootfs_data"

Maybe you previously had a pre-release image, a -RC or something for BB ?

Anyway, it seems none of the currently available images on openwrt.org are going to get where we want to be, so I am building my own...

To confirm this is being caused by squashfs/kernel too large, I built a default image with LuCI disabled.  That image works fine, and gives me a ~500KB jffs2 filesystem on mtd8

root@OpenWrt:/# cat /proc/mtd
dev:    size   erasesize  name
mtd0: 00030000 00010000 "u-boot"
mtd1: 00010000 00010000 "factory"
mtd2: 00020000 00010000 "config"
mtd3: 00030000 00010000 "language"
mtd4: 00010000 00010000 "pot"
mtd5: 00010000 00010000 "checksum"
mtd6: 00350000 00010000 "firmware"
mtd7: 002599eb 00010000 "rootfs"
mtd8: 00090000 00010000 "rootfs_data"
root@OpenWrt:/# df -h
Filesystem                Size      Used Available Use% Mounted on
rootfs                  576.0K    208.0K    368.0K  36% /
/dev/root                 1.8M      1.8M         0 100% /rom
tmpfs                    14.4M     60.0K     14.3M   0% /tmp
tmpfs                    14.4M     28.0K     14.4M   0% /tmp/root
tmpfs                   512.0K         0    512.0K   0% /dev
/dev/mtdblock8          576.0K    208.0K    368.0K  36% /overlay
overlayfs:/overlay      576.0K    208.0K    368.0K  36% /


So the trick will be to build an image with enough junk stripped out, but still allow LuCI to be used.

I'll start by dropping the USB related modules, as those are pretty large and we don't have USB on these devices.

Will post back with results later this weekend.

(Last edited by yoshac on 1 Aug 2015, 14:22)

I've posted CC binaries and the build config file here:

https://www.dropbox.com/sh/o8u162p87oqf … v1Daa?dl=0

Please post back here if you have any success with it... or email to yoshac at hotmail dot com

To free up enough usable space on the tiny 4MB flash, I had to cut fairly deep into the default packages. These images have no PPP, USB, ISDN, 3G and IPv6, but do have LuCI enabled.

I did a quick test of the 'worldwide' image, with wifi to lan bridging set up via the web interface - everything worked fine for IPv4, it shows 640KB size for the overlay filesystem and the config was persistent across a reboot.

Hey, 640KB should be enough for anyone, right?  ;-)

Damn, thanks!!!!!!! I tested it and it works!! There are no issues so far and the root is now finally on the EEPROM big_smile

hello guys
a little help... how can i install openwrt on wnce2001?
do you have an howto?
i tried to search but without results...
thanks

hi guys!
Could you please Tell me,  has a new version of firmware for the device already released? Firmware from the repository is not suitable, because of the settings, which are not savable. After reboot all the settings are resetiing to the factory defaults and free memory is displayed incorrectly.

Use Image Generator to create a smaller image.

Image Generator build a standard image, with the problem (not saving settings after reboot, unrealistically large amount of free memory on a flash, etc). yoshac create a work image, but this version didnt update on new version OpenWRT and didnt work OPKG (Signature check failed. opkg_download: Failed to download)

Correct, to a point.

IG is capable of creating an image with modules and packages included and excluded from the device profile and command line.

An image, without PPP, IPv6 and web interface = ~2.3MB

Sorry Max, it looks like we do not get each other.
The image size is not a problem at all.
The one I have (an image which is 3.2Mb) is installed properly.
However after installation I see: "there are 14 Mb free ROM space", but I have only 4Mb chip.
Therefore it seems to be using router RAM instead of the flash memory and no settings are saved after reboot.
I hope that clarifies everything

evgeneys wrote:

... and no settings are saved after reboot.

An indication that the jffs2 is full.

Output of df -h?

Output :

root@OpenWrt:~# df -h
Filesystem                Size      Used Available Use% Mounted on
rootfs                   14.2M     72.0K     14.1M   0% /
/dev/root                 2.3M      2.3M         0 100% /rom
tmpfs                    14.2M    504.0K     13.7M   3% /tmp
tmpfs                    14.2M     72.0K     14.1M   0% /tmp/root
overlayfs:/tmp/root      14.2M     72.0K     14.1M   0% /
tmpfs                   512.0K         0    512.0K   0% /dev

Odd.
Output of dmesg (directly after booting)?

Output :

root@OpenWrt:~# dmesg
[    0.000000] Linux version 3.18.23 (buildbot@builder1) (gcc version 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 r47269) ) #1 Sun Jan 31 14:39:33 CET 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 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] Initmem setup node 0 [mem 0x00000000-0x01ffffff]
[    0.000000] On node 0 totalpages: 8192
[    0.000000] free_area_init_node: node 0, pgdat 802f6290, node_mem_map 81000000
[    0.000000]   Normal zone: 64 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 8192 pages, LIFO batch:0
[    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] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0
[    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=00064210
[    0.000000] Readback ErrCtl register=00064210
[    0.000000] Memory: 28948K/32768K available (2508K kernel code, 119K rwdata, 492K rodata, 136K init, 185K bss, 3820K reserved)
[    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] clocksource_of_init: no matching clocksources found
[    0.070000] Calibrating delay loop... 255.59 BogoMIPS (lpj=1277952)
[    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.100000] NET: Registered protocol family 16
[    0.110000] rt2880-pinmux pinctrl: try to register 52 pins ...
[    0.110000] pinctrl core: registered pin 0 (io0) on rt2880-pinmux
[    0.110000] pinctrl core: registered pin 1 (io1) on rt2880-pinmux
[    0.110000] pinctrl core: registered pin 2 (io2) on rt2880-pinmux
[    0.110000] pinctrl core: registered pin 3 (io3) on rt2880-pinmux
[    0.110000] pinctrl core: registered pin 4 (io4) on rt2880-pinmux
[    0.110000] pinctrl core: registered pin 5 (io5) on rt2880-pinmux
[    0.110000] pinctrl core: registered pin 6 (io6) on rt2880-pinmux
[    0.110000] pinctrl core: registered pin 7 (io7) on rt2880-pinmux
[    0.110000] pinctrl core: registered pin 8 (io8) on rt2880-pinmux
[    0.110000] pinctrl core: registered pin 9 (io9) on rt2880-pinmux
[    0.110000] pinctrl core: registered pin 10 (io10) on rt2880-pinmux
[    0.110000] pinctrl core: registered pin 11 (io11) on rt2880-pinmux
[    0.110000] pinctrl core: registered pin 12 (io12) on rt2880-pinmux
[    0.110000] pinctrl core: registered pin 13 (io13) on rt2880-pinmux
[    0.110000] pinctrl core: registered pin 14 (io14) on rt2880-pinmux
[    0.110000] pinctrl core: registered pin 15 (io15) on rt2880-pinmux
[    0.110000] pinctrl core: registered pin 16 (io16) on rt2880-pinmux
[    0.110000] pinctrl core: registered pin 17 (io17) on rt2880-pinmux
[    0.110000] pinctrl core: registered pin 18 (io18) on rt2880-pinmux
[    0.110000] pinctrl core: registered pin 19 (io19) on rt2880-pinmux
[    0.110000] pinctrl core: registered pin 20 (io20) on rt2880-pinmux
[    0.110000] pinctrl core: registered pin 21 (io21) on rt2880-pinmux
[    0.110000] pinctrl core: registered pin 22 (io22) on rt2880-pinmux
[    0.110000] pinctrl core: registered pin 23 (io23) on rt2880-pinmux
[    0.110000] pinctrl core: registered pin 24 (io24) on rt2880-pinmux
[    0.110000] pinctrl core: registered pin 25 (io25) on rt2880-pinmux
[    0.110000] pinctrl core: registered pin 26 (io26) on rt2880-pinmux
[    0.110000] pinctrl core: registered pin 27 (io27) on rt2880-pinmux
[    0.110000] pinctrl core: registered pin 28 (io28) on rt2880-pinmux
[    0.110000] pinctrl core: registered pin 29 (io29) on rt2880-pinmux
[    0.110000] pinctrl core: registered pin 30 (io30) on rt2880-pinmux
[    0.110000] pinctrl core: registered pin 31 (io31) on rt2880-pinmux
[    0.110000] pinctrl core: registered pin 32 (io32) on rt2880-pinmux
[    0.110000] pinctrl core: registered pin 33 (io33) on rt2880-pinmux
[    0.110000] pinctrl core: registered pin 34 (io34) on rt2880-pinmux
[    0.110000] pinctrl core: registered pin 35 (io35) on rt2880-pinmux
[    0.110000] pinctrl core: registered pin 36 (io36) on rt2880-pinmux
[    0.110000] pinctrl core: registered pin 37 (io37) on rt2880-pinmux
[    0.110000] pinctrl core: registered pin 38 (io38) on rt2880-pinmux
[    0.110000] pinctrl core: registered pin 39 (io39) on rt2880-pinmux
[    0.110000] pinctrl core: registered pin 40 (io40) on rt2880-pinmux
[    0.110000] pinctrl core: registered pin 41 (io41) on rt2880-pinmux
[    0.110000] pinctrl core: registered pin 42 (io42) on rt2880-pinmux
[    0.110000] pinctrl core: registered pin 43 (io43) on rt2880-pinmux
[    0.110000] pinctrl core: registered pin 44 (io44) on rt2880-pinmux
[    0.110000] pinctrl core: registered pin 45 (io45) on rt2880-pinmux
[    0.110000] pinctrl core: registered pin 46 (io46) on rt2880-pinmux
[    0.110000] pinctrl core: registered pin 47 (io47) on rt2880-pinmux
[    0.110000] pinctrl core: registered pin 48 (io48) on rt2880-pinmux
[    0.110000] pinctrl core: registered pin 49 (io49) on rt2880-pinmux
[    0.110000] pinctrl core: registered pin 50 (io50) on rt2880-pinmux
[    0.110000] pinctrl core: registered pin 51 (io51) on rt2880-pinmux
[    0.110000] pinctrl core: add 6 pinmux maps
[    0.110000] rt2880-pinmux pinctrl: found group selector 7 for sdram
[    0.110000] rt2880-pinmux pinctrl: found group selector 0 for i2c
[    0.110000] rt2880-pinmux pinctrl: found group selector 4 for jtag
[    0.110000] rt2880-pinmux pinctrl: found group selector 6 for rgmii
[    0.110000] rt2880-pinmux pinctrl: found group selector 5 for mdio
[    0.110000] rt2880-pinmux pinctrl: found group selector 2 for uartf
[    0.110000] rt2880-pinmux pinctrl: request pin 24 (io24) for pinctrl
[    0.110000] rt2880-pinmux pinctrl: request pin 25 (io25) for pinctrl
[    0.110000] rt2880-pinmux pinctrl: request pin 26 (io26) for pinctrl
[    0.110000] rt2880-pinmux pinctrl: request pin 27 (io27) for pinctrl
[    0.110000] rt2880-pinmux pinctrl: request pin 28 (io28) for pinctrl
[    0.110000] rt2880-pinmux pinctrl: request pin 29 (io29) for pinctrl
[    0.110000] rt2880-pinmux pinctrl: request pin 30 (io30) for pinctrl
[    0.110000] rt2880-pinmux pinctrl: request pin 31 (io31) for pinctrl
[    0.110000] rt2880-pinmux pinctrl: request pin 32 (io32) for pinctrl
[    0.110000] rt2880-pinmux pinctrl: request pin 33 (io33) for pinctrl
[    0.110000] rt2880-pinmux pinctrl: request pin 34 (io34) for pinctrl
[    0.110000] rt2880-pinmux pinctrl: request pin 35 (io35) for pinctrl
[    0.110000] rt2880-pinmux pinctrl: request pin 36 (io36) for pinctrl
[    0.110000] rt2880-pinmux pinctrl: request pin 37 (io37) for pinctrl
[    0.110000] rt2880-pinmux pinctrl: request pin 38 (io38) for pinctrl
[    0.110000] rt2880-pinmux pinctrl: request pin 39 (io39) for pinctrl
[    0.110000] rt2880-pinmux pinctrl: request pin 1 (io1) for pinctrl
[    0.110000] rt2880-pinmux pinctrl: request pin 2 (io2) for pinctrl
[    0.110000] rt2880-pinmux pinctrl: request pin 17 (io17) for pinctrl
[    0.110000] rt2880-pinmux pinctrl: request pin 18 (io18) for pinctrl
[    0.110000] rt2880-pinmux pinctrl: request pin 19 (io19) for pinctrl
[    0.110000] rt2880-pinmux pinctrl: request pin 20 (io20) for pinctrl
[    0.110000] rt2880-pinmux pinctrl: request pin 21 (io21) for pinctrl
[    0.110000] rt2880-pinmux pinctrl: request pin 40 (io40) for pinctrl
[    0.110000] rt2880-pinmux pinctrl: request pin 41 (io41) for pinctrl
[    0.110000] rt2880-pinmux pinctrl: request pin 42 (io42) for pinctrl
[    0.110000] rt2880-pinmux pinctrl: request pin 43 (io43) for pinctrl
[    0.110000] rt2880-pinmux pinctrl: request pin 44 (io44) for pinctrl
[    0.110000] rt2880-pinmux pinctrl: request pin 45 (io45) for pinctrl
[    0.110000] rt2880-pinmux pinctrl: request pin 46 (io46) for pinctrl
[    0.110000] rt2880-pinmux pinctrl: request pin 47 (io47) for pinctrl
[    0.110000] rt2880-pinmux pinctrl: request pin 48 (io48) for pinctrl
[    0.110000] rt2880-pinmux pinctrl: request pin 49 (io49) for pinctrl
[    0.110000] rt2880-pinmux pinctrl: request pin 50 (io50) for pinctrl
[    0.110000] rt2880-pinmux pinctrl: request pin 51 (io51) for pinctrl
[    0.110000] rt2880-pinmux pinctrl: request pin 22 (io22) for pinctrl
[    0.110000] rt2880-pinmux pinctrl: request pin 23 (io23) for pinctrl
[    0.110000] rt2880-pinmux pinctrl: request pin 7 (io7) for pinctrl
[    0.110000] rt2880-pinmux pinctrl: request pin 8 (io8) for pinctrl
[    0.110000] rt2880-pinmux pinctrl: request pin 9 (io9) for pinctrl
[    0.110000] rt2880-pinmux pinctrl: request pin 10 (io10) for pinctrl
[    0.110000] rt2880-pinmux pinctrl: request pin 11 (io11) for pinctrl
[    0.110000] rt2880-pinmux pinctrl: request pin 12 (io12) for pinctrl
[    0.110000] rt2880-pinmux pinctrl: request pin 13 (io13) for pinctrl
[    0.110000] rt2880-pinmux pinctrl: request pin 14 (io14) for pinctrl
[    0.110000] rt2880-pinmux pinctrl: failed to lookup the sleep state
[    0.130000] rt2880_gpio 10000600.gpio: registering 24 gpios
[    0.130000] rt2880_gpio 10000600.gpio: registering 24 irq handlers
[    0.140000] Switched to clocksource MIPS
[    0.140000] NET: Registered protocol family 2
[    0.150000] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.150000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.160000] TCP: Hash tables configured (established 1024 bind 1024)
[    0.170000] TCP: reno registered
[    0.170000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.180000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.180000] NET: Registered protocol family 1
[    0.190000] rt-timer 10000100.timer: maximum frequency is 7812Hz
[    0.200000] alarmtimer alarmtimer: no of_node; not parsing pinctrl DT
[    0.200000] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.250000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.250000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.260000] 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.300000] serial8250 serial8250: no of_node; not parsing pinctrl DT
[    0.300000] pinctrl core: add 1 pinmux maps
[    0.300000] rt2880-pinmux pinctrl: found group selector 3 for uartlite
[    0.300000] rt2880-pinmux pinctrl: request pin 15 (io15) for 10000c00.uartlite
[    0.300000] rt2880-pinmux pinctrl: request pin 16 (io16) for 10000c00.uartlite
[    0.300000] console [ttyS0] disabled
[    0.310000] 10000c00.uartlite: ttyS0 at MMIO 0x10000c00 (irq = 20, base_baud = 8000000) is a 16550A
[    0.310000] console [ttyS0] enabled
[    0.320000] bootconsole [early0] disabled
[    0.330000] pinctrl core: add 1 pinmux maps
[    0.330000] rt2880-pinmux pinctrl: found group selector 1 for spi
[    0.330000] rt2880-pinmux pinctrl: request pin 3 (io3) for 10000b00.spi
[    0.330000] rt2880-pinmux pinctrl: request pin 4 (io4) for 10000b00.spi
[    0.330000] rt2880-pinmux pinctrl: request pin 5 (io5) for 10000b00.spi
[    0.330000] rt2880-pinmux pinctrl: request pin 6 (io6) for 10000b00.spi
[    0.350000] m25p80 spi32766.0: mx25l3205d (4096 Kbytes)
[    0.350000] 7 ofpart partitions found on MTD device spi32766.0
[    0.360000] 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.400000] 0x0000000b0000-0x000000400000 : "firmware"
[    0.450000] 2 uimage-fw partitions found on MTD device firmware
[    0.450000] 0x0000000b0000-0x0000001c2a9f : "kernel"
[    0.460000] 0x0000001c2a9f-0x000000400000 : "rootfs"
[    0.470000] mtd: device 8 (rootfs) set to be root filesystem
[    0.470000] 1 squashfs-split partitions found on MTD device rootfs
[    0.480000] 0x0000003f0000-0x000000400000 : "rootfs_data"
[    0.490000] ralink_soc_eth 10100000.ethernet eth0: ralink at 0xb0100000, irq 5
[    0.500000] rt2880_wdt 10000120.watchdog: Initialized
[    0.510000] TCP: cubic registered
[    0.510000] NET: Registered protocol family 17
[    0.520000] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
[    0.530000] Bridge firewalling registered
[    0.530000] 8021q: 802.1Q VLAN Support v1.8
[    0.570000] VFS: Mounted root (squashfs filesystem) readonly on device 31:8.
[    0.580000] Freeing unused kernel memory: 136K (8030e000 - 80330000)
[    3.350000] init: Console is alive
[    3.360000] init: - watchdog -
[    6.170000] usbcore: registered new interface driver usbfs
[    6.180000] usbcore: registered new interface driver hub
[    6.180000] usbcore: registered new device driver usb
[    6.190000] rt2880-pinmux pinctrl: request pin 10 (io10) for pio:10
[    6.190000] rt2880-pinmux pinctrl: request pin 0 (io0) for pio:0
[    6.190000] rt2880-pinmux pinctrl: request pin 11 (io11) for pio:11
[    6.190000] rt2880-pinmux pinctrl: request pin 7 (io7) for pio:7
[    6.200000] rt2880-pinmux pinctrl: request pin 8 (io8) for pio:8
[    6.200000] rt2880-pinmux pinctrl: request pin 9 (io9) for pio:9
[    6.200000] rt2880-pinmux pinctrl: request pin 12 (io12) for pio:12
[    6.200000] rt2880-pinmux pinctrl: request pin 13 (io13) for pio:13
[    6.490000] init: - preinit -
[    8.000000] 8021q: adding VLAN 0 to HW filter on device eth0
[    8.170000] random: procd urandom read with 12 bits of entropy available
[   11.570000] mount_root: jffs2 not ready yet, using temporary tmpfs overlay
[   11.620000] procd: - early -
[   11.620000] procd: - watchdog -
[   12.780000] procd: - ubus -
[   13.790000] procd: - init -
[   15.010000] NET: Registered protocol family 10
[   15.020000] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   15.050000] Loading modules backported from Linux version master-2015-03-09-0-g141f155
[   15.060000] Backport generated by backports.git backports-20150129-0-gdd4a670
[   15.070000] ip_tables: (C) 2000-2006 Netfilter Core Team
[   15.100000] nf_conntrack version 0.5.0 (454 buckets, 1816 max)
[   15.160000] xt_time: kernel timezone is -0000
[   15.220000] cfg80211: Calling CRDA to update world regulatory domain
[   15.270000] cfg80211: World regulatory domain updated:
[   15.270000] cfg80211:  DFS Master region: unset
[   15.270000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[   15.280000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[   15.290000] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz, 92000 KHz AUTO), (N/A, 2000 mBm), (N/A)
[   15.300000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
[   15.310000] cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (N/A)
[   15.320000] cfg80211:   (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
[   15.330000] cfg80211:   (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
[   15.340000] cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
[   15.350000] cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
[   15.420000] PPP generic driver version 2.4.2
[   15.430000] NET: Registered protocol family 24
[   15.500000] ieee80211 phy0: rt2x00_set_rt: Info - RT chipset 2872, rev 0200 detected
[   15.500000] ieee80211 phy0: rt2x00_set_rf: Info - RF chipset 0008 detected
[   15.510000] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   26.790000] jffs2: Too few erase blocks (1)
[   29.140000] 8021q: adding VLAN 0 to HW filter on device eth0
[   29.160000] device eth0 entered promiscuous mode
[   29.160000] br-lan: port 1(eth0) entered forwarding state
[   29.170000] br-lan: port 1(eth0) entered forwarding state
[   31.170000] br-lan: port 1(eth0) entered forwarding state
[   36.050000] rt305x-esw 10110000.esw: link changed 0x11
[   56.900000] rt305x-esw 10110000.esw: link changed 0x11
[   62.320000] rt305x-esw 10110000.esw: link changed 0x11
[   64.400000] rt305x-esw 10110000.esw: link changed 0x11
[   72.380000] rt305x-esw 10110000.esw: link changed 0x11
[   74.190000] random: nonblocking pool is initialized
[   80.240000] nf_conntrack: automatic helper assignment is deprecated and it will be removed soon. Use the iptables CT target to attach helpers instead.
[   81.310000] rt305x-esw 10110000.esw: link changed 0x11
[   97.010000] rt305x-esw 10110000.esw: link changed 0x11
[  108.990000] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[  146.760000] rt305x-esw 10110000.esw: link changed 0x05
[  184.300000] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[  186.760000] wlan0: authenticate with ec:cb:30:de:2e:b8
[  186.840000] wlan0: send auth to ec:cb:30:de:2e:b8 (try 1/3)
[  186.840000] wlan0: authenticated
[  186.860000] wlan0: associate with ec:cb:30:de:2e:b8 (try 1/3)
[  186.870000] wlan0: RX AssocResp from ec:cb:30:de:2e:b8 (capab=0x431 status=0 aid=1)
[  186.870000] wlan0: associated
[  186.880000] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready

Hi evgeneys,

the followiong looks suspicious:

[   11.570000] mount_root: jffs2 not ready yet, using temporary tmpfs overlay

Not sure what the root cause is though...

Best Regards
        M.

Hello Friend!
I also noticed that line in the log file.
Guess that there is a problem, but I got no idea how to get rid off this and get the working result member Yoshac:
  rootfs 576.0K 208.0K 368.0K 36% /
/ Dev / root 1.8M 1.8M 0 100% / rom
tmpfs 14.4M 60.0K 14.3M 0% / tmp
tmpfs 14.4M 28.0K 14.4M 0% / tmp / root
tmpfs 512.0K 0 512.0K 0% / dev
/ Dev / mtdblock8 576.0K 208.0K 368.0K 36% / overlay
overlayfs: / overlay 576.0K 208.0K 368.0K 36% /
Does anyone know how to?

(Last edited by evgeneys on 25 Aug 2016, 18:00)

evgeneys wrote:

Hello Friend!
I also noticed that line in the log file.
Guess that there is a problem, but I got no idea how to get rid off this and get the working result member Yoshac:
  rootfs 576.0K 208.0K 368.0K 36% /
/ Dev / root 1.8M 1.8M 0 100% / rom
tmpfs 14.4M 60.0K 14.3M 0% / tmp
tmpfs 14.4M 28.0K 14.4M 0% / tmp / root
tmpfs 512.0K 0 512.0K 0% / dev
/ Dev / mtdblock8 576.0K 208.0K 368.0K 36% / overlay
overlayfs: / overlay 576.0K 208.0K 368.0K 36% /
Does anyone know how to?

Comparing this with your latest df I see the rom partition grew from 1.8M to 2.3M or pretty much the 0.5M you had available for overlay on the old firmware. If I am allowed to guess all the "hidden" partitions like the kernel partition eat up all the rest of the 4M so that with you new new firmware you simply have no room for the overlay, so you would need to put /rom on a strict diet, and maybe in case image builder does not allow enough trimming you might need to build your own firmware image from scratch (then you have more control over what is included). What does:
cat /proc/mtd
return on your machine? Please also post the output of:
df -h
and
cat /proc/mtd
from after a fresh reboot of the router.

Best Regards
      M.

The discussion might have continued from here.