Hi. I saw that OpenWrt had support for the Sparklan WCR-150GN board and was hoping that WAPR-150GN would also work. Unfortunately I'm having boot issues with rootfs not being found. Looks like a jffs2 files system was supposed to get installed somewhere?
I have a 15+ yrs of linux and programming background so should be a little more helpful than your average nubie. I started modding the source tree/Makefiles to include WARP-150GN as a build option. Let me know where to look/what to change.
Thanks in advance.
Given:
Ralink RT3050 with 16meg flash / 128meg SDRAM.
Board type: not sure, assuming it's the same as the WCR-150GN
http://wiki.openwrt.org/toh/sparklan/wcr-150gn
http://www.sparklan.com/product.php?fun … rod_id=175
Openwrt (attitude adjustement) bootup:
U-Boot 1.1.3 (Jul 2 2009 - 13:42:47)
Board: Ralink APSoC DRAM: 16 MB
relocate_code Pointer at: 80fb0000
config usb otg
flash_protect ON: from 0xBF000000 to 0xBF01E4CB
flash_protect ON: from 0xBF030000 to 0xBF030FFF
*** Warning - bad CRC, using default environment
============================================
Ralink UBoot Version: 3.3
--------------------------------------------
ASIC 3052_MP2 (Port5<->None)
DRAM component: 128 Mbits SDR
DRAM bus: 16 bit
Total memory: 16 MBytes
Flash component: NOR Flash
Date:Jul 2 2009 Time:13:42:47
============================================
icache: sets:256, ways:4, linesz:32 ,total:32768
dcache: sets:128, ways:4, linesz:32 ,total:16384
##### The CPU freq = 320 MHZ ####
SDRAM bus set to 16 bit
SDRAM size =16 Mbytes
Please choose the operation:
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.
7: Load Boot Loader code then write to Flash via Serial.
9: Load Boot Loader code then write to Flash via TFTP.
0
3: System Boot system code via Flash.
## Booting image at bf050000 ...
Image Name: MIPS OpenWrt Linux-3.3.8
Created: 2013-02-10 9:11:31 UTC
Image Type: MIPS Linux Kernel Image (lzma compressed)
Data Size: 839351 Bytes = 819.7 kB
Load Address: 80000000
Entry Point: 80000000
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
No initrd
## Transferring control to Linux (at address 80000000) ...
## Giving linux memsize in MB, 16
Starting kernel ...
[ 0.000000] Linux version 3.3.8 (root@mediabox) (gcc version 4.6.3 20120201 (prerelease) (Linaro GCC 4.6-2012.02) ) #2 Sun Feb 10 03:10:29 CST 2013
[ 0.000000] bootconsole [early0] enabled
[ 0.000000] CPU revision is: 0001964c (MIPS 24KEc)
[ 0.000000] Ralink RT3350 id:1 rev:2 running at 320.00 MHz
[ 0.000000] Determined physical RAM map:
[ 0.000000] memory: 01000000 @ 00000000 (usable)
[ 0.000000] Initrd not found or empty - disabling initrd
[ 0.000000] Zone PFN ranges:
[ 0.000000] Normal 0x00000000 -> 0x00001000
[ 0.000000] Movable zone start PFN for each node
[ 0.000000] Early memory PFN ranges
[ 0.000000] 0: 0x00000000 -> 0x00001000
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping off. Total pages: 4064
[ 0.000000] Kernel command line: board=WCR150GN console=ttyS1,57600 mtdparts=physmap-flash.0:192k(u-boot)ro,64k(u-boot-env)ro,64k(factory)ro,896k(kernel),2880k(rootfs),3776k@0x50000(firmware) rootfstype=squashfs,jffs2
[ 0.000000] PID hash table entries: 64 (order: -4, 256 bytes)
[ 0.000000] Dentry cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.000000] Inode-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.000000] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[ 0.000000] Primary data cache 16kB, 4-way, VIPT, no aliases, linesize 32 bytes
[ 0.000000] Writing ErrCtl register=0003200c
[ 0.000000] Readback ErrCtl register=0003200c
[ 0.000000] Memory: 13576k/16384k available (1919k kernel code, 2808k reserved, 328k data, 172k init, 0k highmem)
[ 0.000000] SLUB: Genslabs=9, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] NR_IRQS:48
[ 0.000000] console [ttyS1] enabled, bootconsole disabled
[ 0.000000] console [ttyS1] enabled, bootconsole disabled
[ 0.010000] Calibrating delay loop... 212.58 BogoMIPS (lpj=1062912)
[ 0.090000] pid_max: default: 32768 minimum: 301
[ 0.090000] Mount-cache hash table entries: 512
[ 0.100000] NET: Registered protocol family 16
[ 0.110000] MIPS: machine is Sparklan WCR-150GN
[ 0.120000] gpiochip_add: registered GPIOs 0 to 23 on device: RT305X-GPIO0
[ 0.130000] gpiochip_add: registered GPIOs 24 to 39 on device: RT305X-GPIO1
[ 0.140000] gpiochip_add: registered GPIOs 40 to 51 on device: RT305X-GPIO2
[ 0.170000] bio: create slab <bio-0> at 0
[ 0.180000] Switching to clocksource MIPS
[ 0.190000] NET: Registered protocol family 2
[ 0.200000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.220000] TCP established hash table entries: 512 (order: 0, 4096 bytes)
[ 0.230000] TCP bind hash table entries: 512 (order: -1, 2048 bytes)
[ 0.240000] TCP: Hash tables configured (established 512 bind 512)
[ 0.260000] TCP reno registered
[ 0.260000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.280000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.290000] NET: Registered protocol family 1
[ 0.340000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.360000] JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 0.380000] msgmni has been set to 26
[ 0.390000] io scheduler noop registered
[ 0.390000] io scheduler deadline registered (default)
[ 0.410000] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[ 0.420000] serial8250: ttyS0 at MMIO 0x10000500 (irq = 13) is a 16550A
[ 0.430000] serial8250: ttyS1 at MMIO 0x10000c00 (irq = 20) is a 16550A
[ 0.450000] physmap platform flash device: 00800000 at bf000000
[ 0.460000] physmap-flash.0: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer ID 0x0000c2 Chip ID 0x0022a8
[ 0.490000] Amd/Fujitsu Extended Query Table at 0x0040
[ 0.500000] Amd/Fujitsu Extended Query version 1.1.
[ 0.510000] number of CFI chips: 1
[ 0.510000] 6 cmdlinepart partitions found on MTD device physmap-flash.0
[ 0.530000] Creating 6 MTD partitions on "physmap-flash.0":
[ 0.540000] 0x000000000000-0x000000030000 : "u-boot"
[ 0.550000] 0x000000030000-0x000000040000 : "u-boot-env"
[ 0.570000] 0x000000040000-0x000000050000 : "factory"
[ 0.580000] 0x000000050000-0x000000130000 : "kernel"
[ 0.600000] 0x000000130000-0x000000400000 : "rootfs"
[ 0.610000] mtd: partition "rootfs" set to be root filesystem
[ 0.620000] split_squashfs: no squashfs found in "physmap-flash.0"
[ 0.640000] 0x000000050000-0x000000400000 : "firmware"
[ 0.660000] ramips-wdt ramips-wdt: timeout value must be 0 < timeout <= 40, using 40
[ 0.680000] TCP cubic registered
[ 0.690000] NET: Registered protocol family 17
[ 0.700000] 8021q: 802.1Q VLAN Support v1.8
[ 0.710000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000000: 0xfca4 instead
[ 0.730000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000004: 0xc65e instead
[ 0.740000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000008: 0xe62e instead
[ 0.760000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0000000c: 0xc61d instead
[ 0.780000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000010: 0x1ea4 instead
[ 0.800000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000014: 0x93df instead
[ 0.810000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000018: 0xa526 instead
[ 0.830000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0000001c: 0x128f instead
[ 0.850000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000020: 0x52e8 instead
[ 0.870000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000024: 0x3a24 instead
[ 0.890000] Further such events for this erase block will not be printed
[ 0.900000] Old JFFS2 bitmask found at 0x0000252c
[ 0.910000] You cannot use older JFFS2 filesystems with newer kernels
[ 0.940000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00010000: 0x6cca instead
[ 0.960000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00010004: 0xcfbe instead
[ 0.970000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00010008: 0x8d20 instead
[ 0.990000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0001000c: 0x2809 instead
[ 1.010000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00010010: 0x8f52 instead
[ 1.030000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00010014: 0xd6a6 instead
[ 1.050000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00010018: 0xf78b instead
[ 1.060000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0001001c: 0xc502 instead
[ 1.080000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00010020: 0xb4da instead
[ 1.100000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00010024: 0x8346 instead
[ 1.120000] Further such events for this erase block will not be printed
[ 1.150000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00020000: 0x1e40 instead
[ 1.170000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00020004: 0x2d4d instead
[ 1.180000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00020008: 0x255a instead
[ 1.200000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0002000c: 0x1d0f instead
[ 1.220000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00020010: 0x2bce instead
[ 1.240000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00020014: 0x50c5 instead
[ 1.260000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00020018: 0x679e instead
[ 1.270000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0002001c: 0x1124 instead
[ 1.290000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00020020: 0xa2de instead
[ 1.310000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00020024: 0x9a4d instead
<snip>
[ 9.640000] Further such events for this erase block will not be printed
[ 9.670000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x002a0000: 0x35cd instead
[ 9.690000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x002a0004: 0x312e instead
[ 9.700000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x002a0008: 0x1fad instead
[ 9.720000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x002a000c: 0xa628 instead
[ 9.740000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x002a0010: 0x0aed instead
[ 9.760000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x002a0014: 0x49f9 instead
[ 9.780000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x002a0018: 0x9baf instead
[ 9.790000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x002a001c: 0xeccd instead
[ 9.810000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x002a0020: 0x4be9 instead
[ 9.830000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x002a0024: 0x9a3c instead
[ 9.850000] Further such events for this erase block will not be printed
[ 9.870000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x002b0000: 0x564e instead
[ 9.890000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x002b0004: 0x31c5 instead
[ 9.910000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x002b0008: 0x0524 instead
[ 9.930000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x002b000c: 0x4af4 instead
[ 9.950000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x002b0010: 0x736f instead
[ 9.960000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x002b0014: 0x6d61 instead
[ 9.980000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x002b0018: 0x6f00 instead
[ 10.000000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x002b001c: 0x6576 instead
[ 10.020000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x002b0020: 0x6f69 instead
[ 10.040000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x002b0024: 0x4453 instead
[ 10.050000] Further such events for this erase block will not be printed
[ 10.080000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x002c0000: 0x4146 instead
[ 10.100000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x002c0004: 0x3a6e instead
[ 10.120000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x002c0008: 0x0003 instead
[ 10.140000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x002c000c: 0x0052 instead
[ 10.150000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x002c0010: 0x7465 instead
[ 10.170000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x002c0014: 0x6361 instead
[ 10.190000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x002c0018: 0x7264 instead
[ 10.210000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x002c001c: 0x3a30 instead
[ 10.230000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x002c0020: 0x343a instead
[ 10.240000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x002c0024: 0x3661 instead
[ 10.260000] Further such events for this erase block will not be printed
[ 10.290000] Cowardly refusing to erase blocks on filesystem with no valid JFFS2 nodes
[ 10.310000] empty_blocks 0, bad_blocks 0, c->nr_blocks 45
[ 10.320000] VFS: Cannot open root device "(null)" or unknown-block(31,4)
[ 10.330000] Please append a correct "root=" boot option; here are the available partitions:
[ 10.350000] 1f00 192 mtdblock0 (driver?)
[ 10.360000] 1f01 64 mtdblock1 (driver?)
[ 10.370000] 1f02 64 mtdblock2 (driver?)
[ 10.380000] 1f03 896 mtdblock3 (driver?)
[ 10.390000] 1f04 2880 mtdblock4 (driver?)
[ 10.400000] 1f05 3776 mtdblock5 (driver?)
[ 10.410000] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(31,4)
For reference this is the Sparklan stock bootup:
U-Boot 1.1.3 (Jul 2 2009 - 13:42:47)
Board: Ralink APSoC DRAM: 16 MB
relocate_code Pointer at: 80fb0000
config usb otg
flash_protect ON: from 0xBF000000 to 0xBF01E4CB
flash_protect ON: from 0xBF030000 to 0xBF030FFF
*** Warning - bad CRC, using default environment
============================================
Ralink UBoot Version: 3.3
--------------------------------------------
ASIC 3052_MP2 (Port5<->None)
DRAM component: 128 Mbits SDR
DRAM bus: 16 bit
Total memory: 16 MBytes
Flash component: NOR Flash
Date:Jul 2 2009 Time:13:42:47
============================================
icache: sets:256, ways:4, linesz:32 ,total:32768
dcache: sets:128, ways:4, linesz:32 ,total:16384
##### The CPU freq = 320 MHZ ####
SDRAM bus set to 16 bit
SDRAM size =16 Mbytes
Please choose the operation:
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.
7: Load Boot Loader code then write to Flash via Serial.
9: Load Boot Loader code then write to Flash via TFTP.
3
You choosed 3
0
3: System Boot system code via Flash.
## Booting image at bf050000 ...
Image Name: Linux Kernel Image
Created: 2011-06-02 8:13:51 UTC
Image Type: MIPS Linux Kernel Image (lzma compressed)
Data Size: 3153856 Bytes = 3 MB
Load Address: 80000000
Entry Point: 80210000
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
No initrd
## Transferring control to Linux (at address 80210000) ...
## Giving linux memsize in MB, 16
Starting kernel ...
LINUX started...
THIS IS ASIC
Linux version 2.6.21 (eric@h70-210-66-97.seed.net.tw) (gcc version 3.4.2) #502 Thu Jun 2 16:13:45 CST 2011
The CPU feqenuce set to 320 MHz
CPU revision is: 0001964c
Determined physical RAM map:
memory: 01000000 @ 00000000 (usable)
Built 1 zonelists. Total pages: 4064
Kernel command line: console=ttyS1,57600n8 root=1f04
Primary instruction cache 32kB, physically tagged, 4-way, linesize 32 bytes.
Primary data cache 16kB, 4-way, linesize 32 bytes.
Synthesized TLB refill handler (20 instructions).
Synthesized TLB load handler fastpath (32 instructions).
Synthesized TLB store handler fastpath (32 instructions).
Synthesized TLB modify handler fastpath (31 instructions).
Cache parity protection disabled
cause = 800000, status = 1100ff00
PID hash table entries: 64 (order: 6, 256 bytes)
calculating r4koff... 00138800(1280000)
CPU frequency 320.00 MHz
Using 160.000 MHz high precision timer.
Dentry cache hash table entries: 2048 (order: 1, 8192 bytes)
Inode-cache hash table entries: 1024 (order: 0, 4096 bytes)
Memory: 13936k/16384k available (1861k kernel code, 2448k reserved, 247k data, 108k init, 0k highmem)
Mount-cache hash table entries: 512
NET: Registered protocol family 16
NET: Registered protocol family 2
Time: MIPS clocksource has been installed.
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 512 (order: 0, 4096 bytes)
TCP bind hash table entries: 512 (order: -1, 2048 bytes)
TCP: Hash tables configured (established 512 bind 512)
TCP reno registered
Load RT2880 Timer Module(Wdg/Soft)
squashfs: version 3.2-r2 (2007/01/15) Phillip Lougher
squashfs: LZMA suppport for slax.org by jro
io scheduler noop registered (default)
FLASH_API: MAN_ID=C2 DEV_ID=22A8 SIZE=4MB
Ralink gpio driver initialized
HDLC line discipline: version $Revision: 1.1.1.1 $, maxframe=4096
N_HDLC line discipline registered.
Serial: 8250/16550 driver $Revision: 1.3 $ 2 ports, IRQ sharing disabled
serial8250: ttyS0 at I/O 0xb0000500 (irq = 37) is a 16550A
serial8250: ttyS1 at I/O 0xb0000c00 (irq = 12) is a 16550A
loop: loaded (max 8 devices)
rdm_major = 254
PPP generic driver version 2.4.2
PPP BSD Compression module registered
PPP MPPE Compression module registered
NET: Registered protocol family 24
ralink flash device: 0x1000000 at 0x1f000000
Ralink SoC physically mapped flash: Found 1 x16 devices at 0x0 in 16-bit bank
Amd/Fujitsu Extended Query Table at 0x0040
number of CFI chips: 1
cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness.
Creating 5 MTD partitions on "Ralink SoC physically mapped flash":
0x00000000-0x00030000 : "Bootloader"
0x00030000-0x00040000 : "Config"
0x00040000-0x00050000 : "Factory"
0x00050000-0x00110000 : "Kernel"
0x00110000-0x01000000 : "RootFS"
mtd: partition "RootFS" extends beyond the end of device "Ralink SoC physically mapped flash" -- size truncated to 0x2f0000
block2mtd: version $Revision: 1.1.1.1 $
Netfilter messages via NETLINK v0.30.
nf_conntrack version 0.5.0 (128 buckets, 1024 max)
ip_tables: (C) 2000-2006 Netfilter Core Team, Type=Linux
TCP cubic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
All bugs added by David S. Miller <davem@redhat.com>
GDMA1_MAC_ADRH -- : 0x00000000
GDMA1_MAC_ADRL -- : 0x00000000
Ralink APSoC Ethernet Driver Initilization. v2.00 256 rx/tx descriptors allocated, mtu = 1500!
GDMA1_MAC_ADRH -- : 0x0000000e
GDMA1_MAC_ADRL -- : 0x8e3ec5ac
PROC INIT OK!
VFS: Mounted root (squashfs filesystem) readonly.
Freeing unused kernel memory: 108k freed
init started: BusyBox v1.12.1 (2011-06-02 15:24:47 CST)
starting pid 13, tty '': '/etc_ro/rcS'
Algorithmics/MIPS FPU Emulator v1.5
mount: mounting devpts: called with bogus options
none on /sys failed: No such device
mount: mounting none on /proc/bus/usb failed: No such file or directory
Welcome to
_______ __ ___ ______ __ __
/ | | | | | | _ || \| |
| --- _____ _____ __ ___| | __| |__ | |_| || \ |
\___ \| _ \/ _ \| / _/| |/ /| || _ || . |
|_______/| ___/\___\_||___| |__\__\|______||__| |_||__|\__|
|__|
== IEEE 802.11N Product ==
goahead: waiting for nvram_daemon initGpio 0 for 20
starting pid 28, tty '/dev/ttyS1': '/bin/sh'
BusyBox v1.12.1 (2011-06-02 15:24:47 CST) built-in shell (ash)
Enter 'help' for a list of built-in commands.
# internet.sh
Password for 'admin' changed
phy_tx_ring = 0x00f15000, tx_ring = 0xa0f15000
phy_rx_ring = 0x00000000, rx_ring = 0x00000000
CDMA_CSG_CFG = 81000007
GDMA1_FWD_CFG = 710000
ifconfig: ioctl 0x8913 failed: No such device
ifconfig: ioctl 0x8913 failed: No such device
ifconfig: ioctl 0x8913 failed: No such device
ifconfig: ioctl 0x8913 failed: No such device
ifconfig: ioctl 0x8913 failed: No such device
ifconfig: ioctl 0x8913 failed: No such device
ifconfig: ioctl 0x8913 failed: No such device
ifconfig: ioctl 0x8913 failed: No such device
ifconfig: ioctl 0x8913 failed: No such device
ifconfig: ioctl 0x8913 failed: No such device
ifconfig: ioctl 0x8913 failed: No such device
ifconfig: ioctl 0x8913 failed: No such device
ifconfig: ioctl 0x8913 failed: No such device
ifconfig: ioctl 0x8913 failed: No such device
rmmod: rt2860v2_ap: No such file or directory
rmmod: rt2860v2_sta: No such file or directory
rt2860v2_ap: module license 'unspecified' taints kernel.
=== pAd = c0002000, size = 494216 ===
<-- RTMPAllocAdapterBlock, Status=0
rmmod: nf_nat_pptp: No such file or directory
rmmod: nf_conntrack_pptp: No such file or directory
rmmod: nf_nat_proto_gre: No such file or directory
rmmod: nf_conntrack_proto_gre: No such file or directory
RX DESC a0a3f000 size = 2048
<-- RTMPAllocTxRxRingMemory, Status=0
Key1Str is Invalid key length(0) or Type(0)
Key2Str is Invalid key length(0) or Type(0)
Key3Str is Invalid key length(0) or Type(0)
Key4Str is Invalid key length(0) or Type(0)
1. Phy Mode = 9
2. Phy Mode = 9
3. Phy Mode = 9
MCS Set = ff 00 00 00 01
Main bssid = 00:0e:8e:3e:b7:fc
<==== rt28xx_init, Status=0
0x1300 = 00064380
ifconfig: ioctl 0x8913 failed: No such device
brctl: bridge br0: No such device or address
device ra0 entered promiscuous mode
##### restore RT3052 to dump switch #####
Set: phy[0].reg[0] = 3900
Set: phy[1].reg[0] = 3900
Set: phy[2].reg[0] = 3900
Set: phy[3].reg[0] = 3900
Set: phy[4].reg[0] = 3900
switch reg write offset=14, value=5555
switch reg write offset=40, value=1001
switch reg write offset=44, value=1001
switch reg write offset=48, value=1001
switch reg write offset=4c, value=1
switch reg write offset=50, value=2001
switch reg write offset=70, value=ffffffff
switch reg write offset=98, value=7f7f
switch reg write offset=e4, value=7f
Set: phy[0].reg[0] = 3100
Set: phy[1].reg[0] = 3100
Set: phy[2].reg[0] = 3100
Set: phy[3].reg[0] = 3100
Set: phy[4].reg[0] = 3100
##### connected to single port #####
Rcv Wcid(1) AddBAReq
Start Seq = 00000000
udhcpc (v1.12.1) started
ifconfig: ioctl 0x8914 failed: Cannot assign requested address
br0: port 1(ra0) entering learning state
ifconfig: ioctl 0x8914 failed: Cannot assign requested address
br0: topology change detected, propagating
br0: port 1(ra0) entering forwarding state
killall: udhcpd: no process killed
Set: phy[1].reg[0] = 3900
Set: phy[2].reg[0] = 3900
Set: phy[3].reg[0] = 3900
Set: phy[4].reg[0] = 3900
Sending select for 192.168.1.208...
Lease of 192.168.1.208 obtained, lease time 86400
deleting routers
route: ioctl 0x890c failed: No such process
adding dns 75.75.75.75
adding dns 75.75.76.76
adding dns 8.8.8.8
killall -q ripd
Set: phy[1].reg[0] = 3100
Set: phy[2].reg[0] = 3100
Set: phy[3].reg[0] = 3100
Set: phy[4].reg[0] = 3100
killall -q prio_conn
killall rt2860apd 1>/dev/null 2>&1
iptables -F -t filter 1>/dev/null 2>&1
iptables -D FORWARD -j macipport_filter 1>/dev/null 2>&1
iptables -F macipport_filter 1>/dev/null 2>&1
iptables -D FORWARD -j web_filter 1>/dev/null 2>&1
iptables -F web_filter 1>/dev/null 2>&1
iptables -P INPUT ACCEPT
iptables -P OUTPUT ACCEPT
iptables -P FORWARD ACCEPT
iptables -t filter -N web_filter 1>/dev/null 2>&1
iptables -t filter -N macipport_filter 1>/dev/null 2>&1
iptables -t filter -A FORWARD -j web_filter 1>/dev/null 2>&1
iptables -t filter -A FORWARD -j macipport_filter 1>/dev/null 2>&1
iptables -A FORWARD -p tcp --tcp-flags SYN,RST SYN -j TCPMSS --clamp-mss-to-pmtu 1>/dev/null 2>&1
iptables -t nat -D PREROUTING -j port_forward 1>/dev/null 2>&1
iptables -t nat -F port_forward 1>/dev/null 2>&1; iptables -t nat -X port_forward 1>/dev/null 2>&1
iptables -t nat -D PREROUTING -j DMZ 1>/dev/null 2>&1
iptables -t nat -F DMZ 1>/dev/null 2>&1; iptables -t nat -X DMZ 1>/dev/null 2>&1
iptables -t nat -N port_forward 1>/dev/null 2>&1; iptables -t nat -I PREROUTING 1 -j port_forward 1>/dev/null 2>&1
iptables -t nat -N DMZ 1>/dev/null 2>&1; iptables -t nat -I PREROUTING 2 -j DMZ 1>/dev/null 2>&1
ntp.sh
ddns.sh
route delete 239.255.255.250 1>/dev/null 2>&1
killall wscd 1>/dev/null 2>&1
killall -9 wscd 1>/dev/null 2>&1
iwpriv ra0 set WscConfMode=0 1>/dev/null 2>&1
killall -q klogd
killall -q syslogd
syslogd -C8 1>/dev/null 2>&1
klogd 1>/dev/null 2>&1
killall -q zebra
killall -q ripd
echo 4.2.1.4A > /etc/fw_version
webs: Listening for HTTP requests at address 192.168.1.250
#
(Last edited by mediabox on 11 Feb 2013, 18:34)