ASUS RT-N14U
This board is supported since Barier Braker 14.07. It should be fully working with minor issues. See flashing section for instructions on how to install OpenWrt.
Supported Versions
Hardware Highlights
Installation
Firmware downloads
Flashing
Method 1 - TFTP
- Download the image
sysupgrade.bin
as shown in the table above - Plug UTP cable to your board
- Power it up while pushing down the reset button
- Wait until all leds goes off then release the button
- Setup your ip address to 192.168.1.75
- Upload the image using tftp
# ifconfig eth0 192.168.1.75 # ifconfig eth0 up $ tftp 192.168.1.1 tftp> bin tftp> trace tftp> put openwrt-18.06.4-ramips-mt7620-rt-n14u-squashfs-sysupgrade.bin
After flashing the board should restart itself and boot into OpenWrt.
Method 2 - ASUS Firmware Recovery Tool
- Download the image
sysupgrade.bin
as shown in the table above - Download the firmware recovery utility http://dlcdnet.asus.com/pub/ASUS/wireless/RT-AC3200/Rescue_2000.zip
- Plug network cable from the RT-N14U bottom port (WAN port) to your LAN port
- Switch RT-N14U power on while holding a pin in the reset button socket for 5 seconds
- Wait until all leds except the bottom power LED go off, the bottom power LED will pulse every second
- From your PC run the firmware recovery utility (downloaded in Step 2)
- In the firmware recovery utility GUI browse in the firmware recovery utility to the .bin you downloaded in step 1
- Still in the firmware recovery utlity click “Upload”
- Firmware recovery utility should find the RT-N14U in recovery mode and upload the firmware file
- Once upload complete (utility will tell you), all lights should be off on RT-N14U, wait a few minutes and power cycle the RT-N14U
You should now have OpenWrt installed.
Hardware
Overview
Architecture | MIPS |
---|---|
Vendor | Ralink |
bootloader | uboot |
System-On-Chip | Ralink MT7620N ver:2 eco:3 |
CPU | MIPS 24KEc V5.0 |
CPU Speed | 600 MHz |
Flash-Chip | Winbond W25Q128FVSG |
Flash size | 16 MB |
RAM | 64 MB (Nanya NT5DS32M16DS-5T) |
Wireless | SoC |
Ethernet | SoC |
USB | Yes 1x (EHCI,OHCI) |
Switch
The board has intergated vlan switch which handles all ethernet ports. Port 0 is used for wan connector, ports 1-4 are wired to lan connectors and port 6 is connected to the CPU. Port 5 is not connected.
swconfig dev switch0 help:
switch0: mt7530(mt7530), ports: 7 (cpu @ 6), vlans: 16 --switch Attribute 1 (int): enable_vlan (VLAN mode (1:enabled)) Attribute 2 (none): apply (Activate changes in the hardware) Attribute 3 (none): reset (Reset the switch) --vlan Attribute 1 (ports): ports (VLAN port mapping) --port Attribute 1 (int): pvid (Primary VLAN ID) Attribute 2 (string): link (Get port link information)
LEDs
Device has 5 blue leds on the back of the board. All leds are wired to the gpio pins with inverted polarity so led is on when gpio is driven low.
GPIO pin | LED | /sys/devices/gpio-leds.4/leds/ |
---|---|---|
40 | wan | asus:blue:wan |
41 | lan | asus:blue:lan |
42 | usb | asus:blue:usb |
43 | power | asus:blue:power |
72 | air | asus:blue:air |
Serial (UART)
The SoC has integrated UART controller wich is connected to the pin header holes near the chip. With little soldering work it's possible to solder header or wires to the holes. Used baudrate is 57600.
UART Pinout
pin | function |
---|---|
1 | TX |
2 | GND |
3 | RX |
4 | Vcc (~3.3V) |
Pin 4 is the pin most close to the CPU.
Boot log
Uboot
U-Boot 1.1.3 (Dec 6 2012 - 19:51:50) Board: Ralink APSoC DRAM: 64 MB relocate_code Pointer at: 83fb0000 enable ephy clock...done. rf reg 29 = 5 SSC enabled. swing=5000, upperbound=0 spi_wait_nsec: 29 spi device id: ef 40 18 0 0 (40180000) find flash: W25Q128FV raspi_read: from:30000 len:1000 *** Warning - bad CRC, using default environment ============================================ Ralink UBoot Version: 4.1.1.0 -------------------------------------------- ASIC 7620_MP (Port5<->None) DRAM component: 512 Mbits DDR, width 16 DRAM bus: 16 bit Total memory: 64 MBytes Flash component: SPI Flash Date:Dec 6 2012 Time:19:51:50 ============================================ icache: sets:512, ways:4, linesz:32 ,total:65536 dcache: sets:256, ways:4, linesz:32 ,total:32768 ##### The CPU freq = 580 MHZ #### estimate memory size =64 Mbytes ASUS RT-N14U gpio init : wps / reset pin ppe reset Please choose the operation: 0: Load system code then write to Flash via Serial. 1: Load system code to SDRAM via TFTP. 2: Load system code then write to Flash via TFTP. 3: Boot system code via Flash (default). 4: Entr boot command line interface. 5: Load Boot Loader code to SDRAM via Serial. 7: Load Boot Loader code then write to Flash via Serial. 8: Load Boot Loader code to SDRAM via TFTP. 9: Load Boot Loader code then write to Flash via TFTP. 0 3: System Boot system code via Flash. raspi_read: from:4018a len:4 Bootloader version: 1.0.0.1 raspi_read: from:40004 len:6 MAC Address: 74:D0:2B:3E:75:20 raspi_read: from:40028 len:6 before LEDON: data:fc7f86 Do bootm ## Booting image at bc050000 ... raspi_read: from:50000 len:40 Image Name: MIPS OpenWrt Linux-3.14.28 Image Type: MIPS Linux Kernel Image (lzma compressed) Data Size: 1104408 Bytes = 1.1 MB Load Address: 80000000 Entry Point: 80000000 raspi_read: from:50040 len:10da18 Verifying Checksum ... OK Uncompressing Kernel Image ... OK No initrd ## Transferring control to Linux (at address 80000000) ... ## Giving linux memsize in MB, 64 Starting kernel ...
Kernel
[ 0.000000] Linux version 3.10.21 (pavel@lenka) (gcc version 4.6.4 (OpenWrt/Linaro GCC 4.6-2013.05 r39034) ) #2 Wed Dec 11 19:29:58 CET 2013 [ 0.000000] Board has DDR1 [ 0.000000] Analog PMU set to hw control [ 0.000000] Digital PMU set to hw control [ 0.000000] SoC Type: Ralink MT7620N ver:2 eco:3 [ 0.000000] bootconsole [early0] enabled [ 0.000000] CPU revision is: 00019650 (MIPS 24KEc) [ 0.000000] MIPS: machine is Asus RT-N14U [ 0.000000] Determined physical RAM map: [ 0.000000] memory: 04000000 @ 00000000 (usable) [ 0.000000] Initrd not found or empty - disabling initrd [ 0.000000] Zone ranges: [ 0.000000] Normal [mem 0x00000000-0x03ffffff] [ 0.000000] Movable zone start for each node [ 0.000000] Early memory node ranges [ 0.000000] node 0: [mem 0x00000000-0x03ffffff] [ 0.000000] On node 0 totalpages: 16384 [ 0.000000] free_area_init_node: node 0, pgdat 802a6990, node_mem_map 81003ba0 [ 0.000000] Normal zone: 128 pages used for memmap [ 0.000000] Normal zone: 0 pages reserved [ 0.000000] Normal zone: 16384 pages, LIFO batch:3 [ 0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes. [ 0.000000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes [ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768 [ 0.000000] pcpu-alloc: [0] 0 [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 16256 [ 0.000000] Kernel command line: console=ttyS0,57600 rootfstype=squashfs,jffs2 [ 0.000000] PID hash table entries: 256 (order: -2, 1024 bytes) [ 0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes) [ 0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes) [ 0.000000] Writing ErrCtl register=0007f410 [ 0.000000] Readback ErrCtl register=0007f410 [ 0.000000] Memory: 61716k/65536k available (2253k kernel code, 3820k reserved, 530k data, 224k init, 0k highmem) [ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 [ 0.000000] NR_IRQS:128 [ 0.000000] CPU Clock: 580MHz [ 0.050000] Calibrating delay loop... 385.84 BogoMIPS (lpj=1929216) [ 0.060000] pid_max: default: 32768 minimum: 301 [ 0.060000] Mount-cache hash table entries: 512 [ 0.070000] pinctrl core: initialized pinctrl subsystem [ 0.080000] NET: Registered protocol family 16 [ 0.090000] rt2880-pinmux pinctrl.1: try to register 73 pins ... [ 0.090000] pinctrl core: registered pin 0 (io0) on rt2880-pinmux [ 0.090000] pinctrl core: registered pin 1 (io1) on rt2880-pinmux [ 0.090000] pinctrl core: registered pin 2 (io2) on rt2880-pinmux [ 0.090000] pinctrl core: registered pin 3 (io3) on rt2880-pinmux [ 0.090000] pinctrl core: registered pin 4 (io4) on rt2880-pinmux [ 0.090000] pinctrl core: registered pin 5 (io5) on rt2880-pinmux [ 0.090000] pinctrl core: registered pin 6 (io6) on rt2880-pinmux [ 0.090000] pinctrl core: registered pin 7 (io7) on rt2880-pinmux [ 0.090000] pinctrl core: registered pin 8 (io8) on rt2880-pinmux [ 0.090000] pinctrl core: registered pin 9 (io9) on rt2880-pinmux [ 0.090000] pinctrl core: registered pin 10 (io10) on rt2880-pinmux [ 0.090000] pinctrl core: registered pin 11 (io11) on rt2880-pinmux [ 0.090000] pinctrl core: registered pin 12 (io12) on rt2880-pinmux [ 0.090000] pinctrl core: registered pin 13 (io13) on rt2880-pinmux [ 0.090000] pinctrl core: registered pin 14 (io14) on rt2880-pinmux [ 0.090000] pinctrl core: registered pin 15 (io15) on rt2880-pinmux [ 0.090000] pinctrl core: registered pin 16 (io16) on rt2880-pinmux [ 0.090000] pinctrl core: registered pin 17 (io17) on rt2880-pinmux [ 0.090000] pinctrl core: registered pin 18 (io18) on rt2880-pinmux [ 0.090000] pinctrl core: registered pin 19 (io19) on rt2880-pinmux [ 0.090000] pinctrl core: registered pin 20 (io20) on rt2880-pinmux [ 0.090000] pinctrl core: registered pin 21 (io21) on rt2880-pinmux [ 0.090000] pinctrl core: registered pin 22 (io22) on rt2880-pinmux [ 0.090000] pinctrl core: registered pin 23 (io23) on rt2880-pinmux [ 0.090000] pinctrl core: registered pin 24 (io24) on rt2880-pinmux [ 0.090000] pinctrl core: registered pin 25 (io25) on rt2880-pinmux [ 0.090000] pinctrl core: registered pin 26 (io26) on rt2880-pinmux [ 0.090000] pinctrl core: registered pin 27 (io27) on rt2880-pinmux [ 0.090000] pinctrl core: registered pin 28 (io28) on rt2880-pinmux [ 0.090000] pinctrl core: registered pin 29 (io29) on rt2880-pinmux [ 0.090000] pinctrl core: registered pin 30 (io30) on rt2880-pinmux [ 0.090000] pinctrl core: registered pin 31 (io31) on rt2880-pinmux [ 0.090000] pinctrl core: registered pin 32 (io32) on rt2880-pinmux [ 0.090000] pinctrl core: registered pin 33 (io33) on rt2880-pinmux [ 0.090000] pinctrl core: registered pin 34 (io34) on rt2880-pinmux [ 0.090000] pinctrl core: registered pin 35 (io35) on rt2880-pinmux [ 0.090000] pinctrl core: registered pin 36 (io36) on rt2880-pinmux [ 0.090000] pinctrl core: registered pin 37 (io37) on rt2880-pinmux [ 0.090000] pinctrl core: registered pin 38 (io38) on rt2880-pinmux [ 0.090000] pinctrl core: registered pin 39 (io39) on rt2880-pinmux [ 0.090000] pinctrl core: registered pin 40 (io40) on rt2880-pinmux [ 0.090000] pinctrl core: registered pin 41 (io41) on rt2880-pinmux [ 0.090000] pinctrl core: registered pin 42 (io42) on rt2880-pinmux [ 0.090000] pinctrl core: registered pin 43 (io43) on rt2880-pinmux [ 0.090000] pinctrl core: registered pin 44 (io44) on rt2880-pinmux [ 0.090000] pinctrl core: registered pin 45 (io45) on rt2880-pinmux [ 0.090000] pinctrl core: registered pin 46 (io46) on rt2880-pinmux [ 0.090000] pinctrl core: registered pin 47 (io47) on rt2880-pinmux [ 0.090000] pinctrl core: registered pin 48 (io48) on rt2880-pinmux [ 0.090000] pinctrl core: registered pin 49 (io49) on rt2880-pinmux [ 0.090000] pinctrl core: registered pin 50 (io50) on rt2880-pinmux [ 0.090000] pinctrl core: registered pin 51 (io51) on rt2880-pinmux [ 0.090000] pinctrl core: registered pin 52 (io52) on rt2880-pinmux [ 0.090000] pinctrl core: registered pin 53 (io53) on rt2880-pinmux [ 0.090000] pinctrl core: registered pin 54 (io54) on rt2880-pinmux [ 0.090000] pinctrl core: registered pin 55 (io55) on rt2880-pinmux [ 0.090000] pinctrl core: registered pin 56 (io56) on rt2880-pinmux [ 0.090000] pinctrl core: registered pin 57 (io57) on rt2880-pinmux [ 0.090000] pinctrl core: registered pin 58 (io58) on rt2880-pinmux [ 0.090000] pinctrl core: registered pin 59 (io59) on rt2880-pinmux [ 0.090000] pinctrl core: registered pin 60 (io60) on rt2880-pinmux [ 0.090000] pinctrl core: registered pin 61 (io61) on rt2880-pinmux [ 0.090000] pinctrl core: registered pin 62 (io62) on rt2880-pinmux [ 0.090000] pinctrl core: registered pin 63 (io63) on rt2880-pinmux [ 0.090000] pinctrl core: registered pin 64 (io64) on rt2880-pinmux [ 0.090000] pinctrl core: registered pin 65 (io65) on rt2880-pinmux [ 0.090000] pinctrl core: registered pin 66 (io66) on rt2880-pinmux [ 0.090000] pinctrl core: registered pin 67 (io67) on rt2880-pinmux [ 0.090000] pinctrl core: registered pin 68 (io68) on rt2880-pinmux [ 0.090000] pinctrl core: registered pin 69 (io69) on rt2880-pinmux [ 0.090000] pinctrl core: registered pin 70 (io70) on rt2880-pinmux [ 0.090000] pinctrl core: registered pin 71 (io71) on rt2880-pinmux [ 0.090000] pinctrl core: registered pin 72 (io72) on rt2880-pinmux [ 0.090000] pinctrl core: add 2 pinmux maps [ 0.090000] rt2880-pinmux pinctrl.1: found group selector 0 for i2c [ 0.090000] rt2880-pinmux pinctrl.1: found group selector 12 for ephy [ 0.090000] rt2880-pinmux pinctrl.1: request pin 1 (io1) for pinctrl.1 [ 0.090000] rt2880-pinmux pinctrl.1: request pin 2 (io2) for pinctrl.1 [ 0.090000] rt2880-pinmux pinctrl.1: request pin 40 (io40) for pinctrl.1 [ 0.090000] rt2880-pinmux pinctrl.1: request pin 41 (io41) for pinctrl.1 [ 0.090000] rt2880-pinmux pinctrl.1: request pin 42 (io42) for pinctrl.1 [ 0.090000] rt2880-pinmux pinctrl.1: request pin 43 (io43) for pinctrl.1 [ 0.090000] rt2880-pinmux pinctrl.1: request pin 44 (io44) for pinctrl.1 [ 0.090000] rt2880-pinmux pinctrl.1: failed to lookup the sleep state [ 0.100000] bio: create slab <bio-0> at 0 [ 0.110000] rt2880_gpio 10000600.gpio: registering 24 gpios [ 0.120000] rt2880_gpio 10000600.gpio: registering 24 irq handlers [ 0.130000] rt2880_gpio 10000660.gpio: registering 32 gpios [ 0.140000] rt2880_gpio 10000660.gpio: registering 32 irq handlers [ 0.150000] Switching to clocksource MIPS [ 0.160000] NET: Registered protocol family 2 [ 0.170000] TCP established hash table entries: 512 (order: 0, 4096 bytes) [ 0.180000] TCP bind hash table entries: 512 (order: -1, 2048 bytes) [ 0.190000] TCP: Hash tables configured (established 512 bind 512) [ 0.210000] TCP: reno registered [ 0.210000] UDP hash table entries: 256 (order: 0, 4096 bytes) [ 0.220000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) [ 0.240000] NET: Registered protocol family 1 [ 0.250000] rt-timer 10000100.timer: maximum frequncy is 2441Hz [ 0.260000] alarmtimer alarmtimer: no of_node; not parsing pinctrl DT [ 0.270000] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.280000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc. [ 0.310000] msgmni has been set to 120 [ 0.310000] io scheduler noop registered [ 0.320000] io scheduler deadline registered (default) [ 0.330000] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled [ 0.350000] serial8250 serial8250: no of_node; not parsing pinctrl DT [ 0.350000] pinctrl core: add 1 pinmux maps [ 0.350000] rt2880-pinmux pinctrl.1: found group selector 3 for uartlite [ 0.350000] rt2880-pinmux pinctrl.1: request pin 15 (io15) for 10000c00.uartlite [ 0.350000] rt2880-pinmux pinctrl.1: request pin 16 (io16) for 10000c00.uartlite [ 0.350000] 10000c00.uartlite: ttyS0 at MMIO 0x10000c00 (irq = 20) is a 16550A [ 0.360000] console [ttyS0] enabled, bootconsole disabled [ 0.380000] pinctrl core: add 1 pinmux maps [ 0.380000] rt2880-pinmux pinctrl.1: found group selector 2 for spi [ 0.380000] rt2880-pinmux pinctrl.1: request pin 3 (io3) for 10000b00.spi [ 0.380000] rt2880-pinmux pinctrl.1: request pin 4 (io4) for 10000b00.spi [ 0.390000] rt2880-pinmux pinctrl.1: request pin 5 (io5) for 10000b00.spi [ 0.390000] rt2880-pinmux pinctrl.1: request pin 6 (io6) for 10000b00.spi [ 0.390000] m25p80 spi32766.0: w25q128 (16384 Kbytes) [ 0.400000] 4 ofpart partitions found on MTD device spi32766.0 [ 0.410000] Creating 4 MTD partitions on "spi32766.0": [ 0.420000] 0x000000000000-0x000000030000 : "u-boot" [ 0.430000] 0x000000030000-0x000000040000 : "u-boot-env" [ 0.440000] 0x000000040000-0x000000050000 : "factory" [ 0.450000] 0x000000050000-0x000001000000 : "firmware" [ 0.470000] 0x0000001430fd-0x000001000000 : "rootfs" [ 0.480000] mtd: partition "rootfs" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only [ 0.500000] mtd: device 4 (rootfs) set to be root filesystem [ 0.510000] mtd: partition "rootfs_data" created automatically, ofs=0x330000, len=0xcd0000 [ 0.530000] 0x000000330000-0x000001000000 : "rootfs_data" [ 0.540000] (unregistered net_device): port 0 link up (100Mbps/Full duplex) [ 0.560000] ralink_soc_eth 10100000.ethernet: loaded mt7530 driver [ 0.570000] eth0: done loading [ 0.580000] rt3xxx-usbphy ubsphy.3: loaded [ 0.590000] rt2880_wdt 10000120.watchdog: Initialized [ 0.600000] TCP: cubic registered [ 0.610000] NET: Registered protocol family 17 [ 0.610000] 8021q: 802.1Q VLAN Support v1.8 [ 0.630000] VFS: Mounted root (squashfs filesystem) readonly on device 31:4. [ 0.650000] Freeing unused kernel memory: 224K (802b8000 - 802f0000) [ 0.890000] eth0: port 1 link up (100Mbps/Full duplex) [ 4.620000] usbcore: registered new interface driver usbfs [ 4.630000] usbcore: registered new interface driver hub [ 4.640000] usbcore: registered new device driver usb [ 4.690000] rt2880-pinmux pinctrl.1: request pin 1 (io1) for pio:1 [ 4.690000] rt2880-pinmux pinctrl.1: request pin 2 (io2) for pio:2 [ 4.700000] SCSI subsystem initialized [ 4.710000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 4.720000] ehci-platform: EHCI generic platform driver [ 4.940000] rt3xxx-usbphy ubsphy.3: remote usb device wakeup disabled [ 4.950000] rt3xxx-usbphy ubsphy.3: UTMI 16bit 30MHz [ 4.960000] ehci-platform 101c0000.ehci: EHCI Host Controller [ 4.970000] ehci-platform 101c0000.ehci: new USB bus registered, assigned bus number 1 [ 4.990000] ehci-platform 101c0000.ehci: irq 26, io mem 0x101c0000 [ 5.020000] ehci-platform 101c0000.ehci: USB 2.0 started, EHCI 1.00 [ 5.030000] usb usb1: no of_node; not parsing pinctrl DT [ 5.030000] hub 1-0:1.0: no of_node; not parsing pinctrl DT [ 5.030000] hub 1-0:1.0: USB hub found [ 5.040000] hub 1-0:1.0: 1 port detected [ 5.050000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [ 5.060000] ohci-platform 101c1000.ohci: Generic Platform OHCI Controller [ 5.070000] ohci-platform 101c1000.ohci: new USB bus registered, assigned bus number 2 [ 5.090000] ohci-platform 101c1000.ohci: irq 26, io mem 0x101c1000 [ 5.160000] usb usb2: no of_node; not parsing pinctrl DT [ 5.160000] hub 2-0:1.0: no of_node; not parsing pinctrl DT [ 5.160000] hub 2-0:1.0: USB hub found [ 5.170000] hub 2-0:1.0: 1 port detected [ 5.180000] leds-gpio gpio-leds.4: pins are not configured from the driver [ 5.200000] rt2880-pinmux pinctrl.1: request pin 40 (io40) for pio:40 [ 5.200000] rt2880-pinmux pinctrl.1: request pin 41 (io41) for pio:41 [ 5.200000] rt2880-pinmux pinctrl.1: request pin 42 (io42) for pio:42 [ 5.200000] rt2880-pinmux pinctrl.1: request pin 43 (io43) for pio:43 [ 5.200000] usbcore: registered new interface driver usb-storage [ 7.070000] NET: Registered protocol family 10 [ 7.090000] NTFS driver 2.1.30 [Flags: R/O MODULE]. [ 7.110000] nf_conntrack version 0.5.0 (967 buckets, 3868 max) [ 7.130000] ip6_tables: (C) 2000-2006 Netfilter Core Team [ 7.170000] ip_tables: (C) 2000-2006 Netfilter Core Team [ 7.210000] xt_time: kernel timezone is -0000 [ 7.230000] PPP generic driver version 2.4.2 [ 7.240000] NET: Registered protocol family 24 [ 11.570000] device eth0.1 entered promiscuous mode [ 11.580000] device eth0 entered promiscuous mode [ 11.590000] IPv6: ADDRCONF(NETDEV_CHANGE): eth0.1: link becomes ready [ 11.610000] br-lan: port 1(eth0.1) entered forwarding state [ 11.620000] br-lan: port 1(eth0.1) entered forwarding state [ 13.620000] br-lan: port 1(eth0.1) entered forwarding state [ 15.390000] jffs2_scan_eraseblock(): End of filesystem marker found at 0x0 [ 15.420000] jffs2_build_filesystem(): unlocking the mtd device... done. [ 15.430000] jffs2_build_filesystem(): erasing all blocks after the end marker... done. [ 76.410000] jffs2: notice: (775) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
Flash layout
Original firmware
0x0 0x30000 0x40000 0x50000 0xf800000 0x1000000 +--------------------------------------------------------------+ | boot | nvram | factory | linux | | +--------------------------------------------------------------+ | | | | | rootfs | jfffs2 | +--------------------------------------------------------------+
0x000000000000-0x000000030000 : "Bootloader" 0x000000030000-0x000000040000 : "nvram" 0x000000040000-0x000000050000 : "Factory" 0x000000050000-0x000000f80000 : "linux" 0x00000016a340-0x000000f80000 : "rootfs" 0x000000f80000-0x000001000000 : "jffs2" 0x000000000000-0x000001000000 : "ALL"
OpenWrt
0x000000000000-0x000000030000 : "u-boot" 0x000000030000-0x000000040000 : "u-boot-env" 0x000000040000-0x000000050000 : "factory" 0x000000050000-0x000001000000 : "firmware" 0x0000001430fd-0x000001000000 : "rootfs"