OpenWrt Forum Archive

Topic: WPN824N opensource

The content of this topic has been archived between 6 Feb 2018 and 27 Apr 2018. Unfortunately there are posts – most likely complete pages – missing.

Sorry to resurrect this ancient thread. I tried installing OpenWRT on my WPN824N rev.1 router. I pulled the code from here https://github.com/guilhem/openwrt-wpn824n, which appears to be some trunk version with the patch by MBS/Spudz76, included in this thread. I am new to OpenWRT and there is precious little information on WPN824N so I am not sure if it is supported in trunk.

My experience is pretty similar to most people who posted to the thread. Namely, I uploaded the firmware using the web interface. Everything seemed to go OK: the firmware updater recognized the image as OpenWRT version x.x.x and did its loading bar, "wait 3 minutes for update", etc., dance. However, when the router came back up after reboot it got stuck in the testing stage with power and check mark leds lit.

I then took it apart and hooked up a serial console to see if it was a total goner. I was pleasantly surprised to see that it actually got as far as booting the kernel but panicked unable to mount the root filesystem. Here is the full console output:

U-Boot 1.1.4 (Oct 16 2009 - 19:04:09)

WPN824N (ar7240) U-boot dni7 V0.6
DRAM:
sri
#### TAP VALUE 1 = 9, 2 = 9
32 MB
Top of RAM usable for U-Boot at: 82000000
Reserving 269k for U-Boot at: 81fbc000
Reserving 192k for malloc() at: 81f8c000
Reserving 44 Bytes for Board Info at: 81f8bfd4
Reserving 36 Bytes for Global Data at: 81f8bfb0
Reserving 128k for boot params() at: 81f6bfb0
Stack Pointer at: 81f6bf98
Now running in RAM - U-Boot at: 81fbc000
id read 0x100000ff
flash size 4194304, sector count = 64
Flash:  4 MB
*** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial
Net:   ag7240_enet_initialize...
No valid address in Flash. Using fixed address
No valid address in Flash. Using fixed address
: cfg1 0xf cfg2 0x7014
eth0: 00:03:7f:09:0b:ad
eth0 up
: cfg1 0xf cfg2 0x7214
eth1: 00:03:7f:09:0b:ad
ATHRS26: resetting s26
ATHRS26: s26 reset done
eth1 up
eth0, eth1
Trying eth1
eth1 link down
FAIL
Trying eth0
eth0 link down
FAIL

 Client starts...[Listening] for ADVERTISE...TTT
Retry count exceeded; boot the image as usual

 nmrp server is stopped or failed !
Hit any key to stop autoboot:  0
   Verifying Checksum ... OK
### SQUASHFS loading 'image/uImage' to 0x80800000
### SQUASHFS load complete: 1066359 bytes loaded to 0x80800000
## Booting image at 80800000 ...
   Image Name:   MIPS OpenWrt Linux-3.10.49
   Created:      2015-11-27   1:59:46 UTC
   Image Type:   MIPS Linux Kernel Image (lzma compressed)
   Data Size:    1066295 Bytes =  1 MB
   Load Address: 80060000
   Entry Point:  80060000
   Verifying Checksum ... OK
   Uncompressing Kernel Image ... OK
No initrd
## Transferring control to Linux (at address 80060000) ...
## Giving linux memsize in bytes, 33554432

Starting kernel ...

[    0.000000] Linux version 3.10.49 (user@openwrt-build) (gcc version 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 r46516) ) #1 Fri Nov 27 01:57:30 UTC 2015
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU revision is: 00019374 (MIPS 24Kc)
[    0.000000] SoC: Atheros AR7240 rev 2
[    0.000000] Clocks: CPU:360.000MHz, DDR:360.000MHz, AHB:180.000MHz, Ref:5.000MHz
[    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 64kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 8128
[    0.000000] Kernel command line:  board=WPN824N console=ttyS0,115200 mtdparts=spi0.0:256k(u-boot)ro,64k(u-boot-env)ro,1024k(kernel),2688k(rootfs),64k(art)ro,3712k@0x50000(firmware) rootfstype=squashfs,jffs2 noinitrd
[    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=00000000
[    0.000000] Readback ErrCtl register=00000000
[    0.000000] Memory: 28784k/32768k available (2239k kernel code, 3984k reserved, 603k data, 228k init, 0k highmem)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS:51
[    0.000000] Calibrating delay loop... 239.61 BogoMIPS (lpj=1198080)
[    0.070000] pid_max: default: 32768 minimum: 301
[    0.070000] Mount-cache hash table entries: 512
[    0.080000] NET: Registered protocol family 16
[    0.090000] MIPS: machine is NETGEAR WPN824N
[    0.500000] registering PCI controller with io_map_base unset
[    0.510000] bio: create slab <bio-0> at 0
[    0.520000] PCI host bridge to bus 0000:00
[    0.520000] pci_bus 0000:00: root bus resource [mem 0x10000000-0x13ffffff]
[    0.530000] pci_bus 0000:00: root bus resource [io  0x0000]
[    0.530000] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[    0.540000] pci 0000:00:00.0: fixup device configuration
[    0.540000] pci 0000:00:00.0: BAR 0: assigned [mem 0x10000000-0x1000ffff 64bit]
[    0.550000] pci 0000:00:00.0: using irq 40 for pin 1
[    0.550000] Switching to clocksource MIPS
[    0.560000] NET: Registered protocol family 2
[    0.560000] TCP established hash table entries: 512 (order: 0, 4096 bytes)
[    0.570000] TCP bind hash table entries: 512 (order: -1, 2048 bytes)
[    0.580000] TCP: Hash tables configured (established 512 bind 512)
[    0.580000] TCP: reno registered
[    0.590000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.590000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.600000] NET: Registered protocol family 1
[    0.620000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.630000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.640000] msgmni has been set to 56
[    0.650000] io scheduler noop registered
[    0.650000] io scheduler deadline registered (default)
[    0.660000] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[    0.680000] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11) is a 16550A
[    0.690000] console [ttyS0] enabled, bootconsole disabled
[    0.690000] console [ttyS0] enabled, bootconsole disabled
[    0.700000] ath79-spi ath79-spi: master is unqueued, this is deprecated
[    0.710000] m25p80 spi0.0: found s25sl032p, expected m25p80
[    0.720000] m25p80 spi0.0: s25sl032p (4096 Kbytes)
[    0.720000] 6 cmdlinepart partitions found on MTD device spi0.0
[    0.730000] Creating 6 MTD partitions on "spi0.0":
[    0.730000] 0x000000000000-0x000000040000 : "u-boot"
[    0.740000] 0x000000040000-0x000000050000 : "u-boot-env"
[    0.750000] 0x000000050000-0x000000150000 : "kernel"
[    0.760000] 0x000000150000-0x0000003f0000 : "rootfs"
[    0.760000] mtd: device 3 (rootfs) set to be root filesystem
[    0.770000] mtdsplit: no squashfs found in "rootfs"
[    0.770000] mtdsplit: no squashfs found in "spi0.0"
[    0.780000] 0x0000003f0000-0x000000400000 : "art"
[    0.790000] 0x000000050000-0x0000003f0000 : "firmware"
[    0.900000] libphy: ag71xx_mdio: probed
[    1.450000] ag71xx-mdio.0: Found an AR7240/AR9330 built-in switch
[    2.490000] eth0: Atheros AG71xx at 0xba000000, irq 5, mode:GMII
[    3.060000] ag71xx ag71xx.0: connected to PHY at ag71xx-mdio.0:04 [uid=004dd041, driver=Generic PHY]
[    3.070000] eth1: Atheros AG71xx at 0xb9000000, irq 4, mode:MII
[    3.070000] TCP: cubic registered
[    3.080000] NET: Registered protocol family 17
[    3.080000] 8021q: 802.1Q VLAN Support v1.8
[    3.090000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000000: 0x4953 instead
[    3.100000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000004: 0xfa5e instead
[    3.110000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000008: 0xd1d5 instead
[    3.120000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0000000c: 0x8357 instead
[    3.130000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000010: 0x7fca instead
[    3.140000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000014: 0x4413 instead
[    3.150000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000018: 0x167d instead
[    3.160000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0000001c: 0xac2b instead
[    3.170000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000020: 0x531f instead
[    3.180000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000024: 0x2496 instead
[    3.190000] jffs2: Further such events for this erase block will not be printed
[    3.210000] jffs2: Empty flash at 0x00005478 ends at 0x00005480
[    3.240000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00010000: 0x7ac0 instead
[    3.250000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00010004: 0xe6df instead
[    3.260000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00010008: 0xa39b instead
[    3.270000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0001000c: 0xb03b instead
[    3.280000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00010010: 0x1056 instead
[    3.290000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00010014: 0xb0a8 instead
[    3.300000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00010018: 0x2c86 instead
[    3.310000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0001001c: 0xfb3b instead
[    3.320000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00010020: 0x1bb3 instead
[    3.330000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00010024: 0xaed0 instead
[    3.330000] jffs2: Further such events for this erase block will not be printed
[    3.380000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00020000: 0x403c instead
[    3.390000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00020004: 0x30fe instead
[    3.400000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00020008: 0x6940 instead
[    3.410000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0002000c: 0x5abb instead
[    3.420000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00020010: 0xd9ff instead
[    3.430000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00020014: 0x7ba4 instead
[    3.440000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00020018: 0xc5f1 instead
[    3.450000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0002001c: 0x3457 instead
[    3.460000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00020020: 0x3830 instead
[    3.470000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00020024: 0x9e8c instead
[    3.470000] jffs2: Further such events for this erase block will not be printed
[    3.520000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00030000: 0x49af instead
[    3.530000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00030004: 0x8d42 instead
[    3.540000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00030008: 0x9335 instead
[    3.550000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0003000c: 0x597c instead
[    3.560000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00030010: 0x352a instead
[    3.570000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00030014: 0x15be instead
[    3.580000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00030018: 0x7210 instead
[    3.590000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0003001c: 0x3cdf instead
[    3.600000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00030020: 0x76c5 instead
[    3.610000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00030024: 0xbd59 instead
[    3.610000] jffs2: Further such events for this erase block will not be printed
[    3.660000] jffs2: Old JFFS2 bitmask found at 0x0003eb58
[    3.660000] jffs2: You cannot use older JFFS2 filesystems with newer kernels
[    3.670000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00040000: 0xcaf0 instead
[    3.680000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00040004: 0x0fa3 instead
[    3.690000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00040008: 0xa3a7 instead
[    3.700000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0004000c: 0x2c22 instead
[    3.710000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00040010: 0x2591 instead
[    3.720000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00040014: 0xfc17 instead
[    3.730000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00040018: 0xe8cc instead
[    3.740000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0004001c: 0x1999 instead
[    3.750000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00040020: 0xa2e0 instead
[    3.760000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00040024: 0x0cd3 instead
[    3.770000] jffs2: Further such events for this erase block will not be printed
[    3.810000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00050000: 0x153f instead
[    3.820000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00050004: 0xe5ea instead
[    3.830000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00050008: 0x9ebe instead
[    3.840000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0005000c: 0x6fb2 instead
[    3.850000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00050010: 0xa20a instead
[    3.860000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00050014: 0xb677 instead
[    3.870000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00050018: 0x1f40 instead
[    3.880000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0005001c: 0x0a9e instead
[    3.890000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00050020: 0xb630 instead
[    3.900000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00050024: 0xa0a4 instead
[    3.910000] jffs2: Further such events for this erase block will not be printed
[    3.950000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00060000: 0xe668 instead
[    3.960000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00060004: 0xce16 instead
[    3.970000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00060008: 0x7f54 instead
[    3.980000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0006000c: 0xd3fe instead
[    3.990000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00060010: 0x0f5b instead
[    4.000000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00060014: 0x028b instead
[    4.010000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00060018: 0x8225 instead
[    4.020000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0006001c: 0xcdee instead
[    4.030000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00060020: 0x98f4 instead
[    4.040000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00060024: 0xb472 instead
[    4.050000] jffs2: Further such events for this erase block will not be printed
[    4.080000] jffs2: Old JFFS2 bitmask found at 0x0006ba6c
[    4.090000] jffs2: You cannot use older JFFS2 filesystems with newer kernels
[    4.100000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00070000: 0xd5af instead
[    4.110000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00070004: 0x09a0 instead
[    4.120000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00070008: 0x5d0a instead
[    4.130000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0007000c: 0x74d4 instead
[    4.140000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00070010: 0x5284 instead
[    4.150000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00070014: 0x6e83 instead
[    4.160000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00070018: 0xa890 instead
[    4.170000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0007001c: 0xfa57 instead
[    4.180000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00070020: 0xb852 instead
[    4.190000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00070024: 0x5c5f instead
[    4.200000] jffs2: Further such events for this erase block will not be printed
[    4.240000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00080000: 0xa054 instead
[    4.250000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00080004: 0x38d6 instead
[    4.260000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00080008: 0x70f3 instead
[    4.270000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0008000c: 0xa190 instead
[    4.280000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00080010: 0x8ee7 instead
[    4.290000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00080014: 0x24c2 instead
[    4.300000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00080018: 0x47a8 instead
[    4.310000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0008001c: 0xff17 instead
[    4.320000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00080020: 0xf83d instead
[    4.330000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00080024: 0xd757 instead
[    4.340000] jffs2: Further such events for this erase block will not be printed
[    4.390000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00090000: 0x75be instead
[    4.390000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00090004: 0x982c instead
[    4.400000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00090008: 0x6f20 instead
[    4.410000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0009000c: 0xffae instead
[    4.420000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00090010: 0x580f instead
[    4.430000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00090014: 0x9359 instead
[    4.440000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00090018: 0xf1ed instead
[    4.450000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0009001c: 0xf272 instead
[    4.460000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00090020: 0x4143 instead
[    4.470000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00090024: 0x8e55 instead
[    4.480000] jffs2: Further such events for this erase block will not be printed
[    4.530000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000a0000: 0x10d4 instead
[    4.530000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000a0004: 0x80c2 instead
[    4.540000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000a0008: 0x82c3 instead
[    4.550000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000a000c: 0x01e2 instead
[    4.560000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000a0010: 0x9418 instead
[    4.570000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000a0014: 0xff95 instead
[    4.580000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000a0018: 0xe996 instead
[    4.590000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000a001c: 0xd115 instead
[    4.600000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000a0020: 0x5609 instead
[    4.610000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000a0024: 0x5c14 instead
[    4.620000] jffs2: Further such events for this erase block will not be printed
[    4.670000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000b0000: 0xe122 instead
[    4.670000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000b0004: 0xa034 instead
[    4.680000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000b0008: 0xda49 instead
[    4.690000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000b000c: 0x37a2 instead
[    4.700000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000b0010: 0x2f15 instead
[    4.710000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000b0014: 0x422e instead
[    4.720000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000b0018: 0x313b instead
[    4.730000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000b001c: 0x5966 instead
[    4.740000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000b0020: 0xcfbe instead
[    4.750000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000b0024: 0xa3b9 instead
[    4.760000] jffs2: Further such events for this erase block will not be printed
[    4.810000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000c0000: 0x6627 instead
[    4.810000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000c0004: 0x0cdc instead
[    4.820000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000c0008: 0xe4eb instead
[    4.830000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000c000c: 0x1208 instead
[    4.840000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000c0010: 0x67ee instead
[    4.850000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000c0014: 0x17d8 instead
[    4.860000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000c0018: 0xdde1 instead
[    4.870000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000c001c: 0x24d8 instead
[    4.880000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000c0020: 0x6ba2 instead
[    4.890000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000c0024: 0xb0d2 instead
[    4.900000] jffs2: Further such events for this erase block will not be printed
[    4.950000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000d0000: 0xb508 instead
[    4.950000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000d0004: 0xb2a1 instead
[    4.960000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000d0008: 0xe302 instead
[    4.970000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000d000c: 0xbeb2 instead
[    4.980000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000d0010: 0x02c6 instead
[    4.990000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000d0014: 0x5ad1 instead
[    5.000000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000d0018: 0x03b6 instead
[    5.010000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000d001c: 0xddbe instead
[    5.020000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000d0020: 0x73bc instead
[    5.030000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000d0024: 0x2fca instead
[    5.040000] jffs2: Further such events for this erase block will not be printed
[    5.060000] jffs2: Old JFFS2 bitmask found at 0x000d6684
[    5.070000] jffs2: You cannot use older JFFS2 filesystems with newer kernels
[    5.100000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000e0000: 0xe1d3 instead
[    5.110000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000e0004: 0x1ea8 instead
[    5.120000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000e0008: 0x2393 instead
[    5.130000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000e000c: 0x272b instead
[    5.140000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000e0010: 0xb2bd instead
[    5.150000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000e0014: 0x71d1 instead
[    5.160000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000e0018: 0x0e2b instead
[    5.160000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000e001c: 0x9890 instead
[    5.170000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000e0020: 0x731a instead
[    5.180000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000e0024: 0xb830 instead
[    5.190000] jffs2: Further such events for this erase block will not be printed
[    5.240000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000f0000: 0xe969 instead
[    5.250000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000f0004: 0x8106 instead
[    5.260000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000f0008: 0x99d2 instead
[    5.270000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000f000c: 0xe531 instead
[    5.280000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000f0010: 0x5378 instead
[    5.290000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000f0014: 0x1496 instead
[    5.300000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000f0018: 0x7c2b instead
[    5.300000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000f001c: 0x35a0 instead
[    5.310000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000f0020: 0x54fd instead
[    5.320000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000f0024: 0x1859 instead
[    5.330000] jffs2: Further such events for this erase block will not be printed
[    5.380000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00100000: 0x446b instead
[    5.390000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00100004: 0x6052 instead
[    5.400000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00100008: 0x4f60 instead
[    5.410000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0010000c: 0x8a94 instead
[    5.420000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00100010: 0x231e instead
[    5.430000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00100014: 0xb47d instead
[    5.440000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00100018: 0xb7de instead
[    5.440000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0010001c: 0x45c9 instead
[    5.450000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00100020: 0xd5dc instead
[    5.460000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00100024: 0xde5e instead
[    5.470000] jffs2: Further such events for this erase block will not be printed
[    5.520000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00110000: 0x1b71 instead
[    5.530000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00110004: 0x3291 instead
[    5.540000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00110008: 0x7508 instead
[    5.550000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0011000c: 0x6002 instead
[    5.560000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00110010: 0x4a2e instead
[    5.570000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00110014: 0x1e73 instead
[    5.580000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00110018: 0x6951 instead
[    5.590000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0011001c: 0x737a instead
[    5.590000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00110020: 0xd03c instead
[    5.600000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00110024: 0x5768 instead
[    5.610000] jffs2: Further such events for this erase block will not be printed
[    5.630000] jffs2: Old JFFS2 bitmask found at 0x00114a10
[    5.640000] jffs2: You cannot use older JFFS2 filesystems with newer kernels
[    5.670000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00120000: 0x39ba instead
[    5.680000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00120004: 0xec51 instead
[    5.690000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00120008: 0xfccb instead
[    5.700000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0012000c: 0x0a68 instead
[    5.710000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00120010: 0xee0c instead
[    5.720000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00120014: 0x0a79 instead
[    5.730000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00120018: 0x45b9 instead
[    5.740000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0012001c: 0xf5ff instead
[    5.750000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00120020: 0xe434 instead
[    5.760000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00120024: 0xe62e instead
[    5.770000] jffs2: Further such events for this erase block will not be printed
[    5.810000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00130000: 0xfb22 instead
[    5.820000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00130004: 0x323f instead
[    5.830000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00130008: 0x80be instead
[    5.840000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0013000c: 0xba6a instead
[    5.850000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00130010: 0xb13f instead
[    5.860000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00130014: 0x0533 instead
[    5.870000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00130018: 0xf850 instead
[    5.880000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0013001c: 0xcca4 instead
[    5.890000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00130020: 0x71b3 instead
[    5.900000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00130024: 0xfc71 instead
[    5.910000] jffs2: Further such events for this erase block will not be printed
[    5.950000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00140000: 0xc788 instead
[    5.960000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00140004: 0x9e22 instead
[    5.970000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00140008: 0xa42e instead
[    5.980000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0014000c: 0x4a98 instead
[    5.990000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00140010: 0xe8fb instead
[    6.000000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00140014: 0x4d7a instead
[    6.010000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00140018: 0xb61a instead
[    6.020000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0014001c: 0x1c21 instead
[    6.030000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00140020: 0xa9a7 instead
[    6.040000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00140024: 0x9628 instead
[    6.050000] jffs2: Further such events for this erase block will not be printed
[    6.090000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00150000: 0xc5bf instead
[    6.100000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00150004: 0x721a instead
[    6.110000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00150008: 0x477e instead
[    6.120000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0015000c: 0x07b5 instead
[    6.130000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00150010: 0xff00 instead
[    6.140000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00150014: 0x6c82 instead
[    6.150000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00150018: 0x5614 instead
[    6.160000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0015001c: 0xee07 instead
[    6.170000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00150020: 0xfd87 instead
[    6.180000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00150024: 0x4d10 instead
[    6.190000] jffs2: Further such events for this erase block will not be printed
[    6.230000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00160000: 0x8f4a instead
[    6.240000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00160004: 0x1a44 instead
[    6.250000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00160008: 0x3f12 instead
[    6.260000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0016000c: 0x8e7a instead
[    6.270000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00160010: 0xb08a instead
[    6.280000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00160014: 0x55b2 instead
[    6.290000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00160018: 0x5dc4 instead
[    6.300000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0016001c: 0x3bb9 instead
[    6.310000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00160020: 0x3997 instead
[    6.320000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00160024: 0xb964 instead
[    6.330000] jffs2: Further such events for this erase block will not be printed
[    6.370000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00170000: 0x59e3 instead
[    6.380000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00170004: 0x894f instead
[    6.390000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00170008: 0x9dab instead
[    6.400000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0017000c: 0xaa96 instead
[    6.410000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00170010: 0xd352 instead
[    6.420000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00170014: 0xa089 instead
[    6.430000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00170018: 0x51eb instead
[    6.440000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0017001c: 0x30cf instead
[    6.450000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00170020: 0xdbea instead
[    6.460000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00170024: 0x9a6b instead
[    6.470000] jffs2: Further such events for this erase block will not be printed
[    6.510000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00180000: 0x9012 instead
[    6.520000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00180004: 0x97cd instead
[    6.530000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00180008: 0x2d5d instead
[    6.540000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0018000c: 0xa719 instead
[    6.550000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00180010: 0xb816 instead
[    6.560000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00180014: 0x5921 instead
[    6.570000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00180018: 0x051d instead
[    6.580000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0018001c: 0x5d90 instead
[    6.590000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00180020: 0xfc53 instead
[    6.600000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00180024: 0x5b48 instead
[    6.610000] jffs2: Further such events for this erase block will not be printed
[    6.650000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00190000: 0xa8f9 instead
[    6.660000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00190004: 0xf41f instead
[    6.670000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00190008: 0xaf11 instead
[    6.680000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0019000c: 0xa4fa instead
[    6.690000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00190010: 0x0896 instead
[    6.700000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00190014: 0xd732 instead
[    6.710000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00190018: 0x646d instead
[    6.720000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0019001c: 0x39e2 instead
[    6.730000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00190020: 0xfce1 instead
[    6.740000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00190024: 0x866c instead
[    6.750000] jffs2: Further such events for this erase block will not be printed
[    6.790000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001a0000: 0xb734 instead
[    6.800000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001a0004: 0xca73 instead
[    6.810000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001a0008: 0x4936 instead
[    6.820000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001a000c: 0x8514 instead
[    6.830000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001a0010: 0x616a instead
[    6.840000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001a0014: 0x17ba instead
[    6.850000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001a0018: 0xd5d5 instead
[    6.860000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001a001c: 0xabe4 instead
[    6.870000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001a0020: 0x2ee2 instead
[    6.880000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001a0024: 0x6e9c instead
[    6.890000] jffs2: Further such events for this erase block will not be printed
[    6.930000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001b0000: 0x2952 instead
[    6.940000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001b0004: 0xa07c instead
[    6.950000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001b0008: 0xad5e instead
[    6.960000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001b000c: 0xe00c instead
[    6.970000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001b0010: 0x9fde instead
[    6.980000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001b0014: 0xc1a4 instead
[    6.990000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001b0018: 0x7f65 instead
[    7.000000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001b001c: 0x5397 instead
[    7.010000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001b0020: 0x9bfd instead
[    7.020000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001b0024: 0xd687 instead
[    7.030000] jffs2: Further such events for this erase block will not be printed
[    7.070000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001c0000: 0x6542 instead
[    7.080000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001c0004: 0xaee6 instead
[    7.090000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001c0008: 0xf80d instead
[    7.100000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001c000c: 0xae20 instead
[    7.110000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001c0010: 0xfe1e instead
[    7.120000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001c0014: 0xd9ec instead
[    7.130000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001c0018: 0x10f2 instead
[    7.140000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001c001c: 0x938e instead
[    7.150000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001c0020: 0xbfdf instead
[    7.160000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001c0024: 0x1642 instead
[    7.170000] jffs2: Further such events for this erase block will not be printed
[    7.210000] jffs2_scan_eraseblock(): End of filesystem marker found at 0x1d0000
[    7.220000] jffs2: Cowardly refusing to erase blocks on filesystem with no valid JFFS2 nodes
[    7.230000] jffs2: empty_blocks 13, bad_blocks 0, c->nr_blocks 42
[    7.230000] VFS: Cannot open root device "(null)" or unknown-block(31,3): error -5
[    7.240000] Please append a correct "root=" boot option; here are the available partitions:
[    7.250000] 1f00             256 mtdblock0  (driver?)
[    7.250000] 1f01              64 mtdblock1  (driver?)
[    7.260000] 1f02            1024 mtdblock2  (driver?)
[    7.270000] 1f03            2688 mtdblock3  (driver?)
[    7.270000] 1f04              64 mtdblock4  (driver?)
[    7.280000] 1f05            3712 mtdblock5  (driver?)
[    7.280000] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(31,3)

I don't have sufficient experience with routers and flash memory to figure out where the problem lies. In particular, I am not sure why no rootfs is found on mtd device 3, as boot log reports. I would be grateful if one of the original patch creators or someone else with experience could suggest how to troubleshoot this issue.

(Last edited by dgenin on 28 Nov 2015, 14:20)

Wild guess: your kernel is slightly too large for the configured flash layout.

dgenin wrote:
## Booting image at 80800000 ...
   Image Name:   MIPS OpenWrt Linux-3.10.49
   Created:      2015-11-27   1:59:46 UTC
   Image Type:   MIPS Linux Kernel Image (lzma compressed)
   Data Size:    1066295 Bytes =  1 MB
   Load Address: 80060000
   Entry Point:  80060000
   Verifying Checksum ... OK
   Uncompressing Kernel Image ... OK
No initrd
## Transferring control to Linux (at address 80060000) ...
## Giving linux memsize in bytes, 33554432
[    0.000000] Kernel command line:  board=WPN824N console=ttyS0,115200 mtdparts=spi0.0:256k(u-boot)ro,64k(u-boot-env)ro,1024k(kernel),2688k(rootfs),64k(art)ro,3712k@0x50000(firmware) rootfstype=squashfs,jffs2 noinitrd

Over here, it is configured, that the reserved space for the kernel should be 1024k (=1048576), but its actual size is 1066295 bytes.
I would suggest to replace the mentioned line with the following (stolen from WNR2000v3):
wpn824n_mtdlayout=mtdparts=spi0.0:256k(u-boot)ro,64k(u-boot-env)ro,3712k(firmware),64k(art)ro
Please give it a try. If it works, please consider to upgrade to current trunk, so we could finally end up having support in the official openwrt repos (take this patchset as reference on which files to cover, of course substituting gli with netgear).

Doesn't seem to like missing "root=" option. Here is the output

U-Boot 1.1.4 (Oct 16 2009 - 19:04:09)

WPN824N (ar7240) U-boot dni7 V0.6
DRAM:
sri
#### TAP VALUE 1 = 9, 2 = 9
32 MB
Top of RAM usable for U-Boot at: 82000000
Reserving 269k for U-Boot at: 81fbc000
Reserving 192k for malloc() at: 81f8c000
Reserving 44 Bytes for Board Info at: 81f8bfd4
Reserving 36 Bytes for Global Data at: 81f8bfb0
Reserving 128k for boot params() at: 81f6bfb0
Stack Pointer at: 81f6bf98
Now running in RAM - U-Boot at: 81fbc000
id read 0x100000ff
flash size 4194304, sector count = 64
Flash:  4 MB
*** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial
Net:   ag7240_enet_initialize...
No valid address in Flash. Using fixed address
No valid address in Flash. Using fixed address
: cfg1 0xf cfg2 0x7014
eth0: 00:03:7f:09:0b:ad
eth0 up
: cfg1 0xf cfg2 0x7214
eth1: 00:03:7f:09:0b:ad
ATHRS26: resetting s26
ATHRS26: s26 reset done
eth1 up
eth0, eth1
Trying eth1
dup 1 speed 1000

 Client starts...[Listening] for ADVERTISE...TTT
Abort

 nmrp server is stopped or failed !
Hit any key to stop autoboot:  0
ar7240> fsload
### SQUASHFS loading 'uImage' to 0x81000000
### SQUASHFS LOAD ERROR<0> for uImage!
Trying eth1

The Router is in TFTP Server Firmware Recovery mode NOW!
Listening on Port : 69, IP Address: 192.168.1.1...
checksum bad
checksum bad
checksum bad
Upgrade Mode
Rcv:
        .................................................................
        .................................................................
        .................................................................
        .................................................................
        .................................................................
        .................................................................
        .................................................................
        .................................................................
        .........................................................
Done!
Bytes transferred = 2949253 (2d0085 hex)
Erase Flash from 0x9f050000 to 0x9f39ffff in Bank # 1
First 0x5 last 0x39 sector size 0x10000                                                                                                                                                             57
Erased 53 sectors
Copy image to Flash... write addr: 9f050000
Done
Rebooting...

Resetting...

U-Boot 1.1.4 (Oct 16 2009 - 19:04:09)

WPN824N (ar7240) U-boot dni7 V0.6
DRAM:
sri
#### TAP VALUE 1 = 8, 2 = 9
32 MB
Top of RAM usable for U-Boot at: 82000000
Reserving 269k for U-Boot at: 81fbc000
Reserving 192k for malloc() at: 81f8c000
Reserving 44 Bytes for Board Info at: 81f8bfd4
Reserving 36 Bytes for Global Data at: 81f8bfb0
Reserving 128k for boot params() at: 81f6bfb0
Stack Pointer at: 81f6bf98
Now running in RAM - U-Boot at: 81fbc000
id read 0x100000ff
flash size 4194304, sector count = 64
Flash:  4 MB
*** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial
Net:   ag7240_enet_initialize...
No valid address in Flash. Using fixed address
No valid address in Flash. Using fixed address
: cfg1 0xf cfg2 0x7014
eth0: 00:03:7f:09:0b:ad
eth0 up
: cfg1 0xf cfg2 0x7214
eth1: 00:03:7f:09:0b:ad
ATHRS26: resetting s26
ATHRS26: s26 reset done
eth1 up
eth0, eth1
Trying eth1
dup 1 speed 1000

 Client starts...[Listening] for ADVERTISE...TTT
Retry count exceeded; boot the image as usual

 nmrp server is stopped or failed !
Hit any key to stop autoboot:  0
   Verifying Checksum ... OK
### SQUASHFS loading 'image/uImage' to 0x80800000
### SQUASHFS load complete: 1066374 bytes loaded to 0x80800000
## Booting image at 80800000 ...
   Image Name:   MIPS OpenWrt Linux-3.10.49
   Created:      2015-11-30   0:07:25 UTC
   Image Type:   MIPS Linux Kernel Image (lzma compressed)
   Data Size:    1066310 Bytes =  1 MB
   Load Address: 80060000
   Entry Point:  80060000
   Verifying Checksum ... OK
   Uncompressing Kernel Image ... OK
No initrd
## Transferring control to Linux (at address 80060000) ...
## Giving linux memsize in bytes, 33554432

Starting kernel ...

[    0.000000] Linux version 3.10.49 (user@openwrt-build) (gcc version 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 r46516) ) #1 Mon Nov 30 00:07:10 UTC 2015
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU revision is: 00019374 (MIPS 24Kc)
[    0.000000] SoC: Atheros AR7240 rev 2
[    0.000000] Clocks: CPU:360.000MHz, DDR:360.000MHz, AHB:180.000MHz, Ref:5.000MHz
[    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 64kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 8128
[    0.000000] Kernel command line:  board=WPN824N console=ttyS0,115200 mtdparts=spi0.0:256k(u-boot)ro,64k(u-boot-env)ro,3712k(firmware),64k(art)ro rootfstype=squashfs,jffs2 noinitrd
[    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=00000000
[    0.000000] Readback ErrCtl register=00000000
[    0.000000] Memory: 28784k/32768k available (2239k kernel code, 3984k reserved, 603k data, 228k init, 0k highmem)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS:51
[    0.000000] Calibrating delay loop... 239.61 BogoMIPS (lpj=1198080)
[    0.070000] pid_max: default: 32768 minimum: 301
[    0.070000] Mount-cache hash table entries: 512
[    0.080000] NET: Registered protocol family 16
[    0.090000] MIPS: machine is NETGEAR WPN824N
[    0.500000] registering PCI controller with io_map_base unset
[    0.510000] bio: create slab <bio-0> at 0
[    0.520000] PCI host bridge to bus 0000:00
[    0.520000] pci_bus 0000:00: root bus resource [mem 0x10000000-0x13ffffff]
[    0.530000] pci_bus 0000:00: root bus resource [io  0x0000]
[    0.530000] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[    0.540000] pci 0000:00:00.0: fixup device configuration
[    0.540000] pci 0000:00:00.0: BAR 0: assigned [mem 0x10000000-0x1000ffff 64bit]
[    0.550000] pci 0000:00:00.0: using irq 40 for pin 1
[    0.550000] Switching to clocksource MIPS
[    0.560000] NET: Registered protocol family 2
[    0.560000] TCP established hash table entries: 512 (order: 0, 4096 bytes)
[    0.570000] TCP bind hash table entries: 512 (order: -1, 2048 bytes)
[    0.580000] TCP: Hash tables configured (established 512 bind 512)
[    0.580000] TCP: reno registered
[    0.590000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.590000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.600000] NET: Registered protocol family 1
[    0.620000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.630000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.640000] msgmni has been set to 56
[    0.650000] io scheduler noop registered
[    0.650000] io scheduler deadline registered (default)
[    0.660000] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[    0.680000] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11) is a 16550A
[    0.690000] console [ttyS0] enabled, bootconsole disabled
[    0.690000] console [ttyS0] enabled, bootconsole disabled
[    0.700000] ath79-spi ath79-spi: master is unqueued, this is deprecated
[    0.710000] m25p80 spi0.0: found s25sl032p, expected m25p80
[    0.720000] m25p80 spi0.0: s25sl032p (4096 Kbytes)
[    0.720000] 4 cmdlinepart partitions found on MTD device spi0.0
[    0.730000] Creating 4 MTD partitions on "spi0.0":
[    0.730000] 0x000000000000-0x000000040000 : "u-boot"
[    0.740000] 0x000000040000-0x000000050000 : "u-boot-env"
[    0.750000] 0x000000050000-0x0000003f0000 : "firmware"
[    0.760000] 0x0000003f0000-0x000000400000 : "art"
[    0.880000] libphy: ag71xx_mdio: probed
[    1.430000] ag71xx-mdio.0: Found an AR7240/AR9330 built-in switch
[    2.470000] eth0: Atheros AG71xx at 0xba000000, irq 5, mode:GMII
[    3.040000] ag71xx ag71xx.0: connected to PHY at ag71xx-mdio.0:04 [uid=004dd041, driver=Generic PHY]
[    3.050000] eth1: Atheros AG71xx at 0xb9000000, irq 4, mode:MII
[    3.060000] TCP: cubic registered
[    3.060000] NET: Registered protocol family 17
[    3.060000] 8021q: 802.1Q VLAN Support v1.8
[    3.070000] VFS: Cannot open root device "(null)" or unknown-block(0,0): error -6
[    3.080000] Please append a correct "root=" boot option; here are the available partitions:
[    3.090000] 1f00             256 mtdblock0  (driver?)
[    3.090000] 1f01              64 mtdblock1  (driver?)
[    3.100000] 1f02            3712 mtdblock2  (driver?)
[    3.100000] 1f03              64 mtdblock3  (driver?)
[    3.110000] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)

I also tried increasing the kernel flash size to 1280k

wpn824n_mtdlayout=mtdparts=spi0.0:256k(u-boot)ro,64k(u-boot-env)ro,1280k(kernel),2688k(rootfs),64k(art)ro,3712k@0x50000(firmware)

with the same result

U-Boot 1.1.4 (Oct 16 2009 - 19:04:09)

WPN824N (ar7240) U-boot dni7 V0.6
DRAM:
sri
#### TAP VALUE 1 = 8, 2 = 9
32 MB
Top of RAM usable for U-Boot at: 82000000
Reserving 269k for U-Boot at: 81fbc000
Reserving 192k for malloc() at: 81f8c000
Reserving 44 Bytes for Board Info at: 81f8bfd4
Reserving 36 Bytes for Global Data at: 81f8bfb0
Reserving 128k for boot params() at: 81f6bfb0
Stack Pointer at: 81f6bf98
Now running in RAM - U-Boot at: 81fbc000
id read 0x100000ff
flash size 4194304, sector count = 64
Flash:  4 MB
*** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial
Net:   ag7240_enet_initialize...
No valid address in Flash. Using fixed address
No valid address in Flash. Using fixed address
: cfg1 0xf cfg2 0x7014
eth0: 00:03:7f:09:0b:ad
eth0 up
: cfg1 0xf cfg2 0x7214
eth1: 00:03:7f:09:0b:ad
ATHRS26: resetting s26
ATHRS26: s26 reset done
eth1 up
eth0, eth1
Trying eth1
dup 1 speed 1000

 Client starts...[Listening] for ADVERTISE...TTT
Retry count exceeded; boot the image as usual

 nmrp server is stopped or failed !
Hit any key to stop autoboot:  0
   Verifying Checksum ... OK
### SQUASHFS loading 'image/uImage' to 0x80800000
### SQUASHFS load complete: 1066461 bytes loaded to 0x80800000
## Booting image at 80800000 ...
   Image Name:   MIPS OpenWrt Linux-3.10.49
   Created:      2015-11-30   0:33:58 UTC
   Image Type:   MIPS Linux Kernel Image (lzma compressed)
   Data Size:    1066397 Bytes =  1 MB
   Load Address: 80060000
   Entry Point:  80060000
   Verifying Checksum ... OK
   Uncompressing Kernel Image ... OK
No initrd
## Transferring control to Linux (at address 80060000) ...
## Giving linux memsize in bytes, 33554432

Starting kernel ...

[    0.000000] Linux version 3.10.49 (user@openwrt-build) (gcc version 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 r46516) ) #3 Mon Nov 30 00:33:48 UTC 2015
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU revision is: 00019374 (MIPS 24Kc)
[    0.000000] SoC: Atheros AR7240 rev 2
[    0.000000] Clocks: CPU:360.000MHz, DDR:360.000MHz, AHB:180.000MHz, Ref:5.000MHz
[    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 64kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 8128
[    0.000000] Kernel command line:  board=WPN824N console=ttyS0,115200 mtdparts=spi0.0:256k(u-boot)ro,64k(u-boot-env)ro,1280k(kernel),2688k(rootfs),64k(art)ro,3712k@0x50000(firmware) rootfstype=squashfs,jffs2 noinitrd
[    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=00000000
[    0.000000] Readback ErrCtl register=00000000
[    0.000000] Memory: 28784k/32768k available (2239k kernel code, 3984k reserved, 603k data, 228k init, 0k highmem)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS:51
[    0.000000] Calibrating delay loop... 239.61 BogoMIPS (lpj=1198080)
[    0.070000] pid_max: default: 32768 minimum: 301
[    0.070000] Mount-cache hash table entries: 512
[    0.080000] NET: Registered protocol family 16
[    0.090000] MIPS: machine is NETGEAR WPN824N
[    0.500000] registering PCI controller with io_map_base unset
[    0.510000] bio: create slab <bio-0> at 0
[    0.520000] PCI host bridge to bus 0000:00
[    0.520000] pci_bus 0000:00: root bus resource [mem 0x10000000-0x13ffffff]
[    0.530000] pci_bus 0000:00: root bus resource [io  0x0000]
[    0.530000] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[    0.540000] pci 0000:00:00.0: fixup device configuration
[    0.540000] pci 0000:00:00.0: BAR 0: assigned [mem 0x10000000-0x1000ffff 64bit]
[    0.550000] pci 0000:00:00.0: using irq 40 for pin 1
[    0.550000] Switching to clocksource MIPS
[    0.560000] NET: Registered protocol family 2
[    0.560000] TCP established hash table entries: 512 (order: 0, 4096 bytes)
[    0.570000] TCP bind hash table entries: 512 (order: -1, 2048 bytes)
[    0.580000] TCP: Hash tables configured (established 512 bind 512)
[    0.580000] TCP: reno registered
[    0.590000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.590000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.600000] NET: Registered protocol family 1
[    0.620000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.630000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.640000] msgmni has been set to 56
[    0.650000] io scheduler noop registered
[    0.650000] io scheduler deadline registered (default)
[    0.660000] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[    0.680000] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11) is a 16550A
[    0.690000] console [ttyS0] enabled, bootconsole disabled
[    0.690000] console [ttyS0] enabled, bootconsole disabled
[    0.700000] ath79-spi ath79-spi: master is unqueued, this is deprecated
[    0.710000] m25p80 spi0.0: found s25sl032p, expected m25p80
[    0.720000] m25p80 spi0.0: s25sl032p (4096 Kbytes)
[    0.720000] mtd: spi0.0: partitioning exceeds flash size, truncating
[    0.730000] mtd: spi0.0: partitioning exceeds flash size, truncating
[    0.740000] mtd: spi0.0: skipping zero sized partition
[    0.740000] 5 cmdlinepart partitions found on MTD device spi0.0
[    0.750000] Creating 5 MTD partitions on "spi0.0":
[    0.750000] 0x000000000000-0x000000040000 : "u-boot"
[    0.760000] 0x000000040000-0x000000050000 : "u-boot-env"
[    0.770000] 0x000000050000-0x000000190000 : "kernel"
[    0.770000] 0x000000190000-0x000000400000 : "rootfs"
[    0.780000] mtd: device 3 (rootfs) set to be root filesystem
[    0.790000] mtdsplit: no squashfs found in "rootfs"
[    0.790000] mtdsplit: no squashfs found in "spi0.0"
[    0.800000] 0x000000050000-0x0000003f0000 : "firmware"
[    0.910000] libphy: ag71xx_mdio: probed
[    1.460000] ag71xx-mdio.0: Found an AR7240/AR9330 built-in switch
[    2.500000] eth0: Atheros AG71xx at 0xba000000, irq 5, mode:GMII
[    3.070000] ag71xx ag71xx.0: connected to PHY at ag71xx-mdio.0:04 [uid=004dd041, driver=Generic PHY]
[    3.080000] eth1: Atheros AG71xx at 0xb9000000, irq 4, mode:MII
[    3.090000] TCP: cubic registered
[    3.090000] NET: Registered protocol family 17
[    3.090000] 8021q: 802.1Q VLAN Support v1.8
[    3.100000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000000: 0x582e instead
[    3.110000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000004: 0xf78d instead
[    3.120000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000008: 0xcaf0 instead
[    3.130000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0000000c: 0x0fa3 instead
[    3.140000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000010: 0xa3a7 instead
[    3.150000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000014: 0x2c22 instead
[    3.160000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000018: 0x2591 instead
[    3.170000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0000001c: 0xfc17 instead
[    3.180000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000020: 0xe8cc instead
[    3.190000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000024: 0x1999 instead
[    3.200000] jffs2: Further such events for this erase block will not be printed
[    3.240000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00010000: 0xd80a instead
[    3.250000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00010004: 0xb182 instead
[    3.260000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00010008: 0x153f instead
[    3.270000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0001000c: 0xe5ea instead
[    3.280000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00010010: 0x9ebe instead
[    3.290000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00010014: 0x6fb2 instead
[    3.300000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00010018: 0xa20a instead
[    3.310000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0001001c: 0xb677 instead
[    3.320000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00010020: 0x1f40 instead
[    3.330000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00010024: 0x0a9e instead
[    3.340000] jffs2: Further such events for this erase block will not be printed
[    3.380000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00020000: 0x71f4 instead
[    3.390000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00020004: 0x0760 instead
[    3.400000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00020008: 0xe668 instead
[    3.410000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0002000c: 0xce16 instead
[    3.420000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00020010: 0x7f54 instead
[    3.430000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00020014: 0xd3fe instead
[    3.440000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00020018: 0x0f5b instead
[    3.450000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0002001c: 0x028b instead
[    3.460000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00020020: 0x8225 instead
[    3.470000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00020024: 0xcdee instead
[    3.480000] jffs2: Further such events for this erase block will not be printed
[    3.510000] jffs2: Old JFFS2 bitmask found at 0x0002ba74
[    3.520000] jffs2: You cannot use older JFFS2 filesystems with newer kernels
[    3.530000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00030000: 0x38b4 instead
[    3.540000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00030004: 0xd2f6 instead
[    3.550000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00030008: 0xd5af instead
[    3.560000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0003000c: 0x09a0 instead
[    3.570000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00030010: 0x5d0a instead
[    3.580000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00030014: 0x74d4 instead
[    3.590000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00030018: 0x5284 instead
[    3.600000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0003001c: 0x6e83 instead
[    3.610000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00030020: 0xa890 instead
[    3.620000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00030024: 0xfa57 instead
[    3.630000] jffs2: Further such events for this erase block will not be printed
[    3.670000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00040000: 0x1800 instead
[    3.680000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00040004: 0x2ca2 instead
[    3.690000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00040008: 0xa054 instead
[    3.700000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0004000c: 0x38d6 instead
[    3.710000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00040010: 0x70f3 instead
[    3.720000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00040014: 0xa190 instead
[    3.730000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00040018: 0x8ee7 instead
[    3.740000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0004001c: 0x24c2 instead
[    3.750000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00040020: 0x47a8 instead
[    3.760000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00040024: 0xff17 instead
[    3.770000] jffs2: Further such events for this erase block will not be printed
[    3.810000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00050000: 0xc574 instead
[    3.820000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00050004: 0x8081 instead
[    3.830000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00050008: 0x75be instead
[    3.840000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0005000c: 0x982c instead
[    3.850000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00050010: 0x6f20 instead
[    3.860000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00050014: 0xffae instead
[    3.870000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00050018: 0x580f instead
[    3.880000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0005001c: 0x9359 instead
[    3.890000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00050020: 0xf1ed instead
[    3.900000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00050024: 0xf272 instead
[    3.910000] jffs2: Further such events for this erase block will not be printed
[    3.950000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00060000: 0xb298 instead
[    3.960000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00060004: 0xd0f9 instead
[    3.970000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00060008: 0x10d4 instead
[    3.980000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0006000c: 0x80c2 instead
[    3.990000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00060010: 0x82c3 instead
[    4.000000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00060014: 0x01e2 instead
[    4.010000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00060018: 0x9418 instead
[    4.020000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0006001c: 0xff95 instead
[    4.030000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00060020: 0xe996 instead
[    4.040000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00060024: 0xd115 instead
[    4.050000] jffs2: Further such events for this erase block will not be printed
[    4.100000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00070000: 0x72c2 instead
[    4.100000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00070004: 0x5452 instead
[    4.110000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00070008: 0xe122 instead
[    4.120000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0007000c: 0xa034 instead
[    4.130000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00070010: 0xda49 instead
[    4.140000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00070014: 0x37a2 instead
[    4.150000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00070018: 0x2f15 instead
[    4.160000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0007001c: 0x422e instead
[    4.170000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00070020: 0x313b instead
[    4.180000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00070024: 0x5966 instead
[    4.190000] jffs2: Further such events for this erase block will not be printed
[    4.240000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00080000: 0xc767 instead
[    4.240000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00080004: 0x519c instead
[    4.250000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00080008: 0x6627 instead
[    4.260000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0008000c: 0x0cdc instead
[    4.270000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00080010: 0xe4eb instead
[    4.280000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00080014: 0x1208 instead
[    4.290000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00080018: 0x67ee instead
[    4.300000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0008001c: 0x17d8 instead
[    4.310000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00080020: 0xdde1 instead
[    4.320000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00080024: 0x24d8 instead
[    4.330000] jffs2: Further such events for this erase block will not be printed
[    4.380000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00090000: 0x6c0d instead
[    4.380000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00090004: 0x9fc9 instead
[    4.390000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00090008: 0xb508 instead
[    4.400000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0009000c: 0xb2a1 instead
[    4.410000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00090010: 0xe302 instead
[    4.420000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00090014: 0xbeb2 instead
[    4.430000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00090018: 0x02c6 instead
[    4.440000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0009001c: 0x5ad1 instead
[    4.450000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00090020: 0x03b6 instead
[    4.460000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00090024: 0xddbe instead
[    4.470000] jffs2: Further such events for this erase block will not be printed
[    4.490000] jffs2: Old JFFS2 bitmask found at 0x0009668c
[    4.500000] jffs2: You cannot use older JFFS2 filesystems with newer kernels
[    4.530000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000a0000: 0xac35 instead
[    4.540000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000a0004: 0xd1d2 instead
[    4.550000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000a0008: 0xe1d3 instead
[    4.560000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000a000c: 0x1ea8 instead
[    4.570000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000a0010: 0x2393 instead
[    4.580000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000a0014: 0x272b instead
[    4.590000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000a0018: 0xb2bd instead
[    4.590000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000a001c: 0x71d1 instead
[    4.600000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000a0020: 0x0e2b instead
[    4.610000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000a0024: 0x9890 instead
[    4.620000] jffs2: Further such events for this erase block will not be printed
[    4.670000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000b0000: 0x04ef instead
[    4.680000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000b0004: 0x222d instead
[    4.690000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000b0008: 0xe969 instead
[    4.700000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000b000c: 0x8106 instead
[    4.710000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000b0010: 0x99d2 instead
[    4.720000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000b0014: 0xe531 instead
[    4.730000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000b0018: 0x5378 instead
[    4.730000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000b001c: 0x1496 instead
[    4.740000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000b0020: 0x7c2b instead
[    4.750000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000b0024: 0x35a0 instead
[    4.760000] jffs2: Further such events for this erase block will not be printed
[    4.810000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000c0000: 0x0dc7 instead
[    4.820000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000c0004: 0x7e1f instead
[    4.830000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000c0008: 0x446b instead
[    4.840000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000c000c: 0x6052 instead
[    4.850000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000c0010: 0x4f60 instead
[    4.860000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000c0014: 0x8a94 instead
[    4.870000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000c0018: 0x231e instead
[    4.870000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000c001c: 0xb47d instead
[    4.880000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000c0020: 0xb7de instead
[    4.890000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000c0024: 0x45c9 instead
[    4.900000] jffs2: Further such events for this erase block will not be printed
[    4.950000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000d0000: 0xc4c7 instead
[    4.960000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000d0004: 0xecab instead
[    4.970000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000d0008: 0x1b71 instead
[    4.980000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000d000c: 0x3291 instead
[    4.990000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000d0010: 0x7508 instead
[    5.000000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000d0014: 0x6002 instead
[    5.010000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000d0018: 0x4a2e instead
[    5.010000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000d001c: 0x1e73 instead
[    5.020000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000d0020: 0x6951 instead
[    5.030000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000d0024: 0x737a instead
[    5.040000] jffs2: Further such events for this erase block will not be printed
[    5.060000] jffs2: Old JFFS2 bitmask found at 0x000d4a18
[    5.070000] jffs2: You cannot use older JFFS2 filesystems with newer kernels
[    5.100000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000e0000: 0x817f instead
[    5.110000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000e0004: 0x0d28 instead
[    5.120000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000e0008: 0x39ba instead
[    5.130000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000e000c: 0xec51 instead
[    5.140000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000e0010: 0xfccb instead
[    5.150000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000e0014: 0x0a68 instead
[    5.160000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000e0018: 0xee0c instead
[    5.170000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000e001c: 0x0a79 instead
[    5.180000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000e0020: 0x45b9 instead
[    5.190000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000e0024: 0xf5ff instead
[    5.200000] jffs2: Further such events for this erase block will not be printed
[    5.240000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000f0000: 0x5be4 instead
[    5.250000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000f0004: 0x1ad4 instead
[    5.260000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000f0008: 0xfb22 instead
[    5.270000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000f000c: 0x323f instead
[    5.280000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000f0010: 0x80be instead
[    5.290000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000f0014: 0xba6a instead
[    5.300000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000f0018: 0xb13f instead
[    5.310000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000f001c: 0x0533 instead
[    5.320000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000f0020: 0xf850 instead
[    5.330000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000f0024: 0xcca4 instead
[    5.340000] jffs2: Further such events for this erase block will not be printed
[    5.380000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00100000: 0xc6a7 instead
[    5.390000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00100004: 0x012d instead
[    5.400000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00100008: 0xc788 instead
[    5.410000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0010000c: 0x9e22 instead
[    5.420000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00100010: 0xa42e instead
[    5.430000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00100014: 0x4a98 instead
[    5.440000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00100018: 0xe8fb instead
[    5.450000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0010001c: 0x4d7a instead
[    5.460000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00100020: 0xb61a instead
[    5.470000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00100024: 0x1c21 instead
[    5.480000] jffs2: Further such events for this erase block will not be printed
[    5.520000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00110000: 0x552f instead
[    5.530000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00110004: 0x8432 instead
[    5.540000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00110008: 0xc5bf instead
[    5.550000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0011000c: 0x721a instead
[    5.560000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00110010: 0x477e instead
[    5.570000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00110014: 0x07b5 instead
[    5.580000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00110018: 0xff00 instead
[    5.590000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0011001c: 0x6c82 instead
[    5.600000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00110020: 0x5614 instead
[    5.610000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00110024: 0xee07 instead
[    5.620000] jffs2: Further such events for this erase block will not be printed
[    5.660000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00120000: 0x85a0 instead
[    5.670000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00120004: 0x5bc8 instead
[    5.680000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00120008: 0x8f4a instead
[    5.690000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0012000c: 0x1a44 instead
[    5.700000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00120010: 0x3f12 instead
[    5.710000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00120014: 0x8e7a instead
[    5.720000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00120018: 0xb08a instead
[    5.730000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0012001c: 0x55b2 instead
[    5.740000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00120020: 0x5dc4 instead
[    5.750000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00120024: 0x3bb9 instead
[    5.760000] jffs2: Further such events for this erase block will not be printed
[    5.800000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00130000: 0x171d instead
[    5.810000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00130004: 0x87f0 instead
[    5.820000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00130008: 0x59e3 instead
[    5.830000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0013000c: 0x894f instead
[    5.840000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00130010: 0x9dab instead
[    5.850000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00130014: 0xaa96 instead
[    5.860000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00130018: 0xd352 instead
[    5.870000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0013001c: 0xa089 instead
[    5.880000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00130020: 0x51eb instead
[    5.890000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00130024: 0x30cf instead
[    5.900000] jffs2: Further such events for this erase block will not be printed
[    5.940000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00140000: 0x341e instead
[    5.950000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00140004: 0xd3cd instead
[    5.960000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00140008: 0x5ab9 instead
[    5.970000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0014000c: 0xba39 instead
[    5.980000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00140010: 0xf624 instead
[    5.990000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00140014: 0x9012 instead
[    6.000000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00140018: 0x97cd instead
[    6.010000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0014001c: 0x2d5d instead
[    6.020000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00140020: 0xa719 instead
[    6.030000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00140024: 0xb816 instead
[    6.040000] jffs2: Further such events for this erase block will not be printed
[    6.080000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00150000: 0x879f instead
[    6.090000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00150004: 0x1f47 instead
[    6.100000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00150008: 0x261f instead
[    6.110000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0015000c: 0xea17 instead
[    6.120000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00150010: 0xc551 instead
[    6.130000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00150014: 0xa8f9 instead
[    6.140000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00150018: 0xf41f instead
[    6.150000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0015001c: 0xaf11 instead
[    6.160000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00150020: 0xa4fa instead
[    6.170000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00150024: 0x0896 instead
[    6.180000] jffs2: Further such events for this erase block will not be printed
[    6.220000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00160000: 0xcd3a instead
[    6.230000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00160004: 0x9edb instead
[    6.240000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00160008: 0x2c80 instead
[    6.250000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0016000c: 0xccee instead
[    6.260000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00160010: 0xa5ef instead
[    6.270000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00160014: 0xb734 instead
[    6.280000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00160018: 0xca73 instead
[    6.290000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0016001c: 0x4936 instead
[    6.300000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00160020: 0x8514 instead
[    6.310000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00160024: 0x616a instead
[    6.320000] jffs2: Further such events for this erase block will not be printed
[    6.360000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00170000: 0x32d9 instead
[    6.370000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00170004: 0xb56e instead
[    6.380000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00170008: 0x82c7 instead
[    6.390000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0017000c: 0x6e9b instead
[    6.400000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00170010: 0xc095 instead
[    6.410000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00170014: 0x2952 instead
[    6.420000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00170018: 0xa07c instead
[    6.430000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0017001c: 0xad5e instead
[    6.440000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00170020: 0xe00c instead
[    6.450000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00170024: 0x9fde instead
[    6.460000] jffs2: Further such events for this erase block will not be printed
[    6.500000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00180000: 0x13e0 instead
[    6.510000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00180004: 0xbf97 instead
[    6.520000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00180008: 0xb512 instead
[    6.530000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0018000c: 0x81ed instead
[    6.540000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00180010: 0xb9f8 instead
[    6.550000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00180014: 0x6542 instead
[    6.560000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00180018: 0xaee6 instead
[    6.570000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0018001c: 0xf80d instead
[    6.580000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00180020: 0xae20 instead
[    6.590000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00180024: 0xfe1e instead
[    6.600000] jffs2: Further such events for this erase block will not be printed
[    6.640000] jffs2_scan_eraseblock(): End of filesystem marker found at 0x190000
[    6.650000] jffs2: Cowardly refusing to erase blocks on filesystem with no valid JFFS2 nodes
[    6.660000] jffs2: empty_blocks 14, bad_blocks 0, c->nr_blocks 39
[    6.660000] VFS: Cannot open root device "(null)" or unknown-block(31,3): error -5
[    6.670000] Please append a correct "root=" boot option; here are the available partitions:
[    6.680000] 1f00             256 mtdblock0  (driver?)
[    6.680000] 1f01              64 mtdblock1  (driver?)
[    6.690000] 1f02            1280 mtdblock2  (driver?)
[    6.690000] 1f03            2496 mtdblock3  (driver?)
[    6.700000] 1f04            3712 mtdblock4  (driver?)
[    6.710000] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(31,3)

It's alive! Thank you so much for your help! Could you please share the firmware layout you used?

So the good news is that the kernel boots and I can get to console prompt and even SSH into it. However, the functionality is severely limited. Only 2 ethernet ports come up

root@OpenWrt:/# ifconfig -a
eth0      Link encap:Ethernet  HWaddr 30:46:9A:FA:E0:4F  
          inet addr:192.168.1.1  Bcast:192.168.1.255  Mask:255.255.255.0
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:45209 errors:0 dropped:0 overruns:0 frame:0
          TX packets:46 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:8705312 (8.3 MiB)  TX bytes:2456 (2.3 KiB)
          Interrupt:4 

eth1      Link encap:Ethernet  HWaddr 30:46:9A:FA:E0:4E  
          inet addr:192.168.1.1  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::3246:9aff:fefa:e04e%4566072/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:404 errors:0 dropped:0 overruns:0 frame:0
          TX packets:152 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:67372 (65.7 KiB)  TX bytes:15616 (15.2 KiB)
          Interrupt:5 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1%2006855384/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:1337 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1337 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:94896 (92.6 KiB)  TX bytes:94896 (92.6 KiB)

wlan0     Link encap:Ethernet  HWaddr 00:46:9A:FA:E0:4E  
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

one of which appears to be the WAN port. There does not appear to be a DHCP server running, so I had to manually configure the interfaces to even get it to talk to the outside world. I was expecting to find an HTTP accessible configuration utility but that was not up either.

Here is the boot log for completeness

U-Boot 1.1.4 (Oct 16 2009 - 19:04:09)

WPN824N (ar7240) U-boot dni7 V0.6
DRAM:
sri
#### TAP VALUE 1 = 8, 2 = 9
32 MB
Top of RAM usable for U-Boot at: 82000000
Reserving 269k for U-Boot at: 81fbc000
Reserving 192k for malloc() at: 81f8c000
Reserving 44 Bytes for Board Info at: 81f8bfd4
Reserving 36 Bytes for Global Data at: 81f8bfb0
Reserving 128k for boot params() at: 81f6bfb0
Stack Pointer at: 81f6bf98
Now running in RAM - U-Boot at: 81fbc000
id read 0x100000ff
flash size 4194304, sector count = 64
Flash:  4 MB
*** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial
Net:   ag7240_enet_initialize...
No valid address in Flash. Using fixed address
No valid address in Flash. Using fixed address
: cfg1 0xf cfg2 0x7014
eth0: 00:03:7f:09:0b:ad
eth0 up
: cfg1 0xf cfg2 0x7214
eth1: 00:03:7f:09:0b:ad
ATHRS26: resetting s26
ATHRS26: s26 reset done
eth1 up
eth0, eth1
Trying eth1
dup 1 speed 1000

 Client starts...[Listening] for ADVERTISE...TTT
Retry count exceeded; boot the image as usual

 nmrp server is stopped or failed !
Hit any key to stop autoboot:  0
   Verifying Checksum ... OK
### SQUASHFS loading 'image/uImage' to 0x80800000
### SQUASHFS load complete: 1265622 bytes loaded to 0x80800000
## Booting image at 80800000 ...
   Image Name:   MIPS OpenWrt Linux-4.1.11
   Created:      2015-12-03  20:26:39 UTC
   Image Type:   MIPS Linux Kernel Image (lzma compressed)
   Data Size:    1265558 Bytes =  1.2 MB
   Load Address: 80060000
   Entry Point:  80060000
   Verifying Checksum ... OK
   Uncompressing Kernel Image ... OK
No initrd
## Transferring control to Linux (at address 80060000) ...
## Giving linux memsize in bytes, 33554432

Starting kernel ...

[    0.000000] Linux version 4.1.11 (mbs@base) (gcc version 5.2.0 (OpenWrt GCC 5.2.0 r47680) ) #2 Thu Dec 3 21:26:28 CET 2015
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 00019374 (MIPS 24Kc)
[    0.000000] SoC: Atheros AR7240 rev 2
[    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 0x0000000000000000-0x0000000001ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x0000000001ffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000001ffffff]
[    0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 8128
[    0.000000] Kernel command line:  board=WPN824N console=ttyS0,115200 mtdparts=spi0.0:256k(u-boot)ro,64k(u-boot-env)ro,3712k(firmware),64k(art)ro rootfstype=squashfs,jffs2 noinitrd
[    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=00000000
[    0.000000] Readback ErrCtl register=00000000
[    0.000000] Memory: 28068K/32768K available (2798K kernel code, 133K rwdata, 572K rodata, 264K init, 195K bss, 4700K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS:83
[    0.000000] Clocks: CPU:360.000MHz, DDR:360.000MHz, AHB:180.000MHz, Ref:40.000MHz
[    0.000000] clocksource MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 10618113593 ns
[    0.000014] sched_clock: 32 bits at 180MHz, resolution 5ns, wraps every 11930464253ns
[    0.007791] Calibrating delay loop... 239.61 BogoMIPS (lpj=1198080)
[    0.080396] pid_max: default: 32768 minimum: 301
[    0.085159] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.091674] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.102941] clocksource jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.113716] NET: Registered protocol family 16
[    0.120138] MIPS: machine is NETGEAR WPN824N
[    0.566970] registering PCI controller with io_map_base unset
[    0.586398] PCI host bridge to bus 0000:00
[    0.590426] pci_bus 0000:00: root bus resource [mem 0x10000000-0x13ffffff]
[    0.597283] pci_bus 0000:00: root bus resource [io  0x0000]
[    0.602751] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[    0.609487] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[    0.617405] pci 0000:00:00.0: fixup device configuration
[    0.624441] pci 0000:00:00.0: BAR 0: assigned [mem 0x10000000-0x1000ffff 64bit]
[    0.631658] pci 0000:00:00.0: using irq 40 for pin 1
[    0.637802] Switched to clocksource MIPS
[    0.643631] NET: Registered protocol family 2
[    0.649479] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.656358] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.662716] TCP: Hash tables configured (established 1024 bind 1024)
[    0.669143] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.674906] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.681561] NET: Registered protocol family 1
[    0.687493] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.719731] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.725475] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.739348] io scheduler noop registered
[    0.743195] io scheduler deadline registered (default)
[    0.748669] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[    0.755575] console [ttyS0] disabled
[    0.779184] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11, base_baud = 11250000) is a 16550A
[    0.787778] console [ttyS0] enabled
[    0.787778] console [ttyS0] enabled
[    0.794724] bootconsole [early0] disabled
[    0.794724] bootconsole [early0] disabled
[    0.806708] m25p80 spi0.0: found s25sl032p, expected m25p80
[    0.812420] m25p80 spi0.0: s25sl032p (4096 Kbytes)
[    0.817270] 4 cmdlinepart partitions found on MTD device spi0.0
[    0.823235] Creating 4 MTD partitions on "spi0.0":
[    0.828070] 0x000000000000-0x000000040000 : "u-boot"
[    0.834515] 0x000000040000-0x000000050000 : "u-boot-env"
[    0.841248] 0x000000050000-0x0000003f0000 : "firmware"
[    0.853792] 2 netgear-fw partitions found on MTD device firmware
[    0.859915] 0x000000050000-0x000000186440 : "kernel"
[    0.866185] 0x000000186440-0x0000003f0000 : "rootfs"
[    0.872484] mtd: device 4 (rootfs) set to be root filesystem
[    0.878303] 1 squashfs-split partitions found on MTD device rootfs
[    0.884522] 0x000000360000-0x0000003f0000 : "rootfs_data"
[    0.891294] 0x0000003f0000-0x000000400000 : "art"
[    0.924832] libphy: ag71xx_mdio: probed
[    1.521595] ag71xx ag71xx.0: connected to PHY at ag71xx-mdio.0:04 [uid=004dd041, driver=Generic PHY]
[    1.531869] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode:MII
[    2.131341] ag71xx-mdio.0: Found an AR7240/AR9330 built-in switch
[    2.171465] eth1: Atheros AG71xx at 0xba000000, irq 5, mode:GMII
[    2.180830] NET: Registered protocol family 10
[    2.190565] NET: Registered protocol family 17
[    2.195157] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
[    2.208096] 8021q: 802.1Q VLAN Support v1.8
[    2.222430] VFS: Mounted root (squashfs filesystem) readonly on device 31:4.
[    2.231989] Freeing unused kernel memory: 264K (803ce000 - 80410000)
[    3.831007] init: Console is alive
[    3.834734] init: - watchdog -
[    5.286611] usbcore: registered new interface driver usbfs
[    5.292357] usbcore: registered new interface driver hub
[    5.297878] usbcore: registered new device driver usb
[    5.310435] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    5.319128] ehci-platform: EHCI generic platform driver
[    5.328447] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    5.336403] ohci-platform: OHCI generic platform driver
[    5.892185] init: - preinit -
[    6.631527] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
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
[    8.229002] eth1: link up (1000Mbps/Full duplex)
[    8.233689] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[    9.869921] jffs2: notice: (342) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[    9.887601] mount_root: switching to jffs2 overlay
[    9.938187] eth1: link down
[    9.956714] procd: - early -
[    9.959867] procd: - watchdog -
[   10.674353] procd: - ubus -
[   11.679372] random: ubusd urandom read with 18 bits of entropy available
[   11.699633] procd: - init -
Please press Enter to activate this console.
[   12.654117] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   12.679731] Loading modules backported from Linux version master-2015-10-26-0-g28c26cb
[   12.687699] Backport generated by backports.git backports-20150903-4-g12cf266
[   12.699332] ip_tables: (C) 2000-2006 Netfilter Core Team
[   12.719584] nf_conntrack version 0.5.0 (442 buckets, 1768 max)
[   12.775206] xt_time: kernel timezone is -0000
[   12.810224] cfg80211: World regulatory domain updated:
[   12.815405] cfg80211:  DFS Master region: unset
[   12.819842] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[   12.829656] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[   12.837703] cfg80211:   (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[   12.845768] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
[   12.853828] cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (N/A)
[   12.863375] cfg80211:   (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
[   12.872919] cfg80211:   (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
[   12.881062] cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
[   12.889117] cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
[   12.981253] PPP generic driver version 2.4.2
[   12.989316] NET: Registered protocol family 24
[   13.050503] PCI: Enabling device 0000:00:00.0 (0000 -> 0002)
[   13.061386] ath: phy0: Enable LNA combining
[   13.087763] ieee80211 phy0: Atheros AR9285 Rev:2 mem=0xb0000000, irq=40
[   13.094976] cfg80211: Regulatory domain changed to country: US
[   13.100902] cfg80211:  DFS Master region: FCC
[   13.105103] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[   13.114919] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 3000 mBm), (N/A)
[   13.122983] cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2300 mBm), (N/A)
[   13.132531] cfg80211:   (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2300 mBm), (0 s)
[   13.142075] cfg80211:   (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2300 mBm), (0 s)
[   13.150215] cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 3000 mBm), (N/A)
[   13.158278] cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 4000 mBm), (N/A)



BusyBox v1.24.1 (2015-12-03 20:12:51 CET) built-in shell (ash)

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 -----------------------------------------------------
 DESIGNATED DRIVER (Bleeding Edge, r47680)
 -----------------------------------------------------
  * 2 oz. Orange Juice         Combine all juices in a
  * 2 oz. Pineapple Juice      tall glass filled with
  * 2 oz. Grapefruit Juice     ice, stir well.
  * 2 oz. Cranberry Juice
 -----------------------------------------------------
root@OpenWrt:/# ifconfig eth0
eth0      Link encap:Ethernet  HWaddr 30:46:9A:FA:E0:4F
          BROADCAST MULTICAST  MTU:1500  Metric:1

I will publish my patchset, but preferably after tests of basic functionality have been successful. The lack of Luci and a http-daemon is quite normal, as it is not selected by default in trunk builds. DHCP server however should be provided with dnsmasq.
You mention, that only 2 ethernet ports are coming up. It is supposed to be, that one ethernet interface is directly connected to the WAN port, while the other one is connected to the internal switch. So, please check with swconfig if that part is working properly. So far, I only had a LED definition for LAN4, so please confirm this one turns on if a device is connected and flashing to indicate data transfer.
Does the detected MAC adress match with the one printed on the bottom sticker?
Please test if LED definitions match. In /sys/class/leds/ you should find 8 directory entries corresponding to some of the devices LEDs. Inside those directories, please issue

echo 1 > brightness

and check that the LED lights up (or echo 0 to turn it off).
I am still missing the GPIO numbers corresponding to some LEDs (at least for LAN1, LAN2 and LAN3). Please test all GPIOs as described here in the wiki.
And finally, please test wifi.

Yes, indeed dnsmasq is running. swconfig shows that there are 5 ports on switch 0.  Is the fifth port WLAN?

root@OpenWrt:/# swconfig dev switch0 show
Global attributes:
        enable_vlan: 0
Port 0:
        pvid: 0
        link: port:0 link:up speed:1000baseT full-duplex txflow rxflow 
Port 1:
        pvid: 0
        link: port:1 link:down
Port 2:
        pvid: 0
        link: port:2 link:up speed:10baseT full-duplex auto
Port 3:
        pvid: 0
        link: port:3 link:down
Port 4:
        pvid: 0
        link: port:4 link:down
VLAN 0:
        vid: 0
        ports: 0 1 2 3 4 

LEDs corresponding to router ports light up green when connection on the corresponding port is active. I could not detect any blinking or other changes in LAN4 LED, however, when pinging the router or transferring data.

The MAC of eth1 matches the bottom sticker. This is the interface connected to the switch.

All LEDs listed in /sys/class/leds work correctly. I will try to have the rest of the GPIOs worked out by the end of the week.

I couldn't bring wireless up or at least I couldn't see an OpenWrt network on my laptop. When I brought up the wlan0 interface with

ifconfig wlan0 up

the blue WLAN LED lit up and I could set an IP address for the interface but there didn't appear to be any signal. I also tried

root@OpenWrt:~# wifi
'radio0' is disabled
'radio0' is disabled
root@OpenWrt:~# wifi status
{
        "radio0": {
                "up": false,
                "pending": false,
                "autostart": true,
                "disabled": true,
                "config": {
                        "channel": "11",
                        "hwmode": "11g",
                        "path": "pci0000:00\/0000:00:00.0",
                        "htmode": "HT20",
                        "disabled": true
                },
                "interfaces": [
                        {
                                "section": "@wifi-iface[0]",
                                "config": {
                                        "mode": "ap",
                                        "ssid": "OpenWrt",
                                        "encryption": "none",
                                        "network": [
                                                "lan"
                                        ],
                                        "mode": "ap"
                                }
                        }
                ]
        }
}

(Last edited by dgenin on 6 Dec 2015, 23:09)

About the first question: no, VLAN is not related to WLAN. Please check wikipedia for an explaination of VLAN, it would be too off-topic in here.
WLAN however is disabled by default in openwrt, but this page will get you started: http://wiki.openwrt.org/doc/uci/wireless

OK, WLAN works as well, i.e., I can see the OpenWrt network. I could't connect to it though, presumably, because DHCP is not working.

switch command shows 5 ports 0-4 in addition to VLAN, unless I am missing something.

Tried the gpio sweeper script from the wiki but none of the LED outputs blinked. I used multimeter to double check. The script created output gpios 2-9, 11, and 13-17.

OK, to have a quick conclusion of this first version, what do you consider working properly (or more important: what needs improvement)?
* WAN port (brought up by default, should receive config by DHCP)
* LAN ports (connected to switch, set to 192.168.1.1 by default, switch set up to exchange data between all LAN ports and the LAN ethernet interface)
* WLAN (disabled by default, bridged to LAN ports)
* MAC adresses - OK?
* LEDs (all of the devices LEDs set up properly) - OK?
* Buttons (all of the devices Buttons configured)

The issues that I think need fixing

1. WAN interface not configured with DHCP
2. DHCP config does not work on LAN ports
3. DHCP config does not work on WLAN

There is a WPS button on this router that I have never used and I don't know if it is configured.

Please post the content of /etc/config/network after it got generated on first boot for reference. Either reflash the firmware image for that purpose, or erase the jffs-partition (rootfs_data) in failsafe mode.

Edit: I just realized that some new functions got implemented in network default configuration while I checked out trunk. So, I will use a newer version of trunk and post updated images. This may just fix the network issues.

(Last edited by MBS on 16 Dec 2015, 00:51)

The netgear stock firmware defaults the router on LAN side to
IP    10.0.0.1
DHCP    On
Subnet Mask    255.255.255.0

If we reuse these, it could simplify the post-flashing re-configuration.

Installed the new image but DHCP still seems to be not working. Here is the /etc/config/network you asked about earlier.

root@OpenWrt:/# cat /etc/config/network 

config interface 'loopback'
        option ifname 'lo'
        option proto 'static'
        option ipaddr '127.0.0.1'
        option netmask '255.0.0.0'

config globals 'globals'
        option ula_prefix 'fdb4:180a:820e::/48'

config interface 'lan'
        option type 'bridge'
        option ifname 'eth0'
        option proto 'static'
        option ipaddr '192.168.1.1'
        option netmask '255.255.255.0'
        option ip6assign '60'

config interface 'wan'
        option ifname 'eth1'
        option proto 'dhcp'

config interface 'wan6'
        option ifname 'eth1'
        option proto 'dhcpv6'

I looked at the traffic on the interface with Wireshark and it looks as though the router is sending out DHCP discover packets as if it is trying to request an address. I am not very familiar with DHCP protocol so I could be wrong about that.

I flashed the posted NA firmware and got this when my laptop's ethernet was set to DHCP and was connected to the WAN port of the Netgear:
$ ssh root@192.168.1.1

BusyBox v1.24.1 (2015-12-16 11:46:15 CET) built-in shell (ash)

  _______                     ________        __
|       |.-----.-----.-----.|  |  |  |.----.|  |_
|   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
|_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
-----------------------------------------------------
DESIGNATED DRIVER (Bleeding Edge, r47894)
-----------------------------------------------------
  * 2 oz. Orange Juice         Combine all juices in a
  * 2 oz. Pineapple Juice      tall glass filled with
  * 2 oz. Grapefruit Juice     ice, stir well.
  * 2 oz. Cranberry Juice
-----------------------------------------------------
root@OpenWrt:~# ifconfig
br-lan    Link encap:Ethernet  HWaddr C0:3F:0E:76:83:8C 
          inet addr:192.168.1.1  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
...
eth0      Link encap:Ethernet  HWaddr C0:3F:0E:76:83:8C 
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
...
eth1      Link encap:Ethernet  HWaddr C0:3F:0E:76:83:8B 
...
root@OpenWrt:~# swconfig list
Found: switch0 - eth1

It would appear to me, there's some mix-up between eth0/eth1 and LAN/WAN.
My /etc/config/network agrees with the last posted one.

(Last edited by marked on 17 Dec 2015, 04:50)

Confirmed.

Router's DHCP (client) requests are coming from any of the 4 switch ports, and it accepts an IP address from another router running DHCP server.

Router's DHCP (server) replies are coming from the WAN port.

(Last edited by marked on 17 Dec 2015, 06:23)

Can these be used with sysupgrade command or do I have to wait for a sysupgrade.bin?

Please put the downloaded firmware file to folder /tmp/ of the router and rename it to something like wpn824n.img. Then issue

mtd -r write /tmp/wpn824n.img firmware

I do have sysupgrade images, but for the current tests (making sure the default configuration generation scripts are working correctly), it is necessary to start from a clean image (without custom configuration being reused).

I have OpenWRT installed on my WPN824N with the patches described earlier in this thread and booting is buggy but it can eventually boot and work normally if you hold down the reset button while it's booting. I wanted to try this latest image you have.. So in order to test your image I would SSH onto the router and run "mtd -r write /tmp/wpn824n.img firmware" after copying the image to the /tmp/ folder?

Thanks for all of the help you are providing in this thread. I was also wondering, does this latest image have Luci installed? That would make the configuration very easy for me since that is what I am used to.

swillis11 wrote:

So in order to test your image I would SSH onto the router and run "mtd -r write /tmp/wpn824n.img firmware" after copying the image to the /tmp/ folder?

Most likely, yes. Just if no password was set in older versions, Telnet would be the way to connect to the router.

swillis11 wrote:

I was also wondering, does this latest image have Luci installed?

No, it just contains the basic trunk snapshot configuration. My priority is to quickly fix any remaining issues specific to the WPN824N and then send the support-patch upstream.

I did this. 

ssh root@192.168.1.1


BusyBox v1.24.1 (2015-12-16 11:46:15 CET) built-in shell (ash)
...
  * 2 oz. Cranberry Juice
 -----------------------------------------------------
root@OpenWrt:~# mtd -r write /tmp/openwrt-ar71xx-generic-wpn824n-squashfs-factory-NA.img  firmware 
Unlocking firmware ...

Writing from /tmp/openwrt-ar71xx-generic-wpn824n-squashfs-factory-NA.img to firmware ...     
Rebooting ...

All I get is a flashing power and checkmark LEDs (two furthest left).
The ethernet ports do light up when cables are plugged in.

Sorry, posts 51 to 50 are missing from our archive.