OpenWrt Forum Archive

Topic: OpenWRT running successfully on LAVA W150 Mifi

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

Hello folks,
Greetings!
I am here to share with you this information that openwrt now runs on Lava W150 Mifi pocket router.
Which is yet another Ramips RT305X based chipset. As of now almost everything is working.
i am posting the Serial output. I will soon post in detail how to install openwrt on this device with pictures.
I suck in taking photos so my sorry in advance. Thank You Open Source!





U-Boot 1.1.6 (Aug 29 2011 - 03:23:36)

Board: Ralink APSoC DRAM:  16 MB
relocate_code Pointer at: 80fb4000
config usb..
spi_wait_nsec: 4b
spi device id: c8 40 16 c8 40 (4016c840)
find flash: G 1407
raspi_read: from:30000 len:1000
.raspi_read: from:30000 len:1000
.============================================
Ralink UBoot Version: 3.6.0.0
--------------------------------------------
ASIC 3052_MP2 (Port5<->None)
DRAM component: 128 Mbits SDR
DRAM bus: 16 bit
Total memory: 16 MBytes
Flash component: SPI Flash
Date:Aug 29 2011  Time:03:23:36
============================================
icache: sets:256, ways:4, linesz:32 ,total:32768
dcache: sets:128, ways:4, linesz:32 ,total:16384

##### The CPU freq = 320 MHZ ####
estimate memory size =16 Mbytes
raspi_read: from:40028 len:6
.
raspi_read: from:0 len:20004
...*************Is_update = 0**************

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 ...
raspi_read: from:50000 len:40
.   Image Name:   MIPS OpenWrt Linux-3.7.10
   Created:      2013-03-25  18:33:43 UTC
   Image Type:   MIPS Linux Kernel Image (lzma compressed)
   Data Size:    916136 Bytes = 894.7 kB
   Load Address: 80000000
   Entry Point:  80000000
raspi_read: from:50040 len:dfaa8
..............   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.7.10 (testuser@mohona) (gcc version 4.6.4 20121210 (prerelease) (Linaro GCC 4.6-2012.12) ) #1 Tue Mar 26 00:03:21 IST 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 ranges:
[    0.000000]   Normal   [mem 0x00000000-0x00ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x00000000-0x00ffffff]
[    0.000000] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 16kB, 4-way, VIPT, no aliases, linesize 32 bytes
[    0.000000] Built 1 zonelists in Zone order, mobility grouping off.  Total pages: 4064
[    0.000000] Kernel command line:  board=MPR-A1 console=ttyS1,57600 mtdparts=spi0.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] __ex_table already sorted, skipping sort
[    0.000000] Writing ErrCtl register=0007e6e0
[    0.000000] Readback ErrCtl register=0007e6e0
[    0.000000] Memory: 13324k/16384k available (1970k kernel code, 3060k reserved, 480k data, 236k 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 HAME MPR-A1
[    0.140000] bio: create slab <bio-0> at 0
[    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.190000] TCP bind hash table entries: 512 (order: -1, 2048 bytes)
[    0.200000] TCP: Hash tables configured (established 512 bind 512)
[    0.210000] TCP: reno registered
[    0.220000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.230000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.250000] NET: Registered protocol family 1
[    0.300000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.310000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.330000] msgmni has been set to 26
[    0.340000] io scheduler noop registered
[    0.350000] io scheduler deadline registered (default)
[    0.360000] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    0.370000] serial8250: ttyS0 at MMIO 0x10000500 (irq = 13) is a 16550A
[    0.390000] serial8250: ttyS1 at MMIO 0x10000c00 (irq = 20) is a 16550A
[    0.410000] ramips-spi ramips-spi.0: master is unqueued, this is deprecated
[    0.420000] m25p80 spi0.0: found gd25q32, expected pm25lq032
[    0.440000] m25p80 spi0.0: gd25q32 (4096 Kbytes)
[    0.450000] 6 cmdlinepart partitions found on MTD device spi0.0
[    0.460000] Creating 6 MTD partitions on "spi0.0":
[    0.470000] 0x000000000000-0x000000030000 : "u-boot"
[    0.480000] 0x000000030000-0x000000040000 : "u-boot-env"
[    0.500000] 0x000000040000-0x000000050000 : "factory"
[    0.510000] 0x000000050000-0x000000130000 : "kernel"
[    0.530000] 0x000000130000-0x000000400000 : "rootfs"
[    0.540000] mtd: partition "rootfs" set to be root filesystem
[    0.550000] mtd: partition "rootfs_data" created automatically, ofs=350000, len=B0000
[    0.570000] 0x000000350000-0x000000400000 : "rootfs_data"
[    0.580000] 0x000000050000-0x000000400000 : "firmware"
[    0.610000] ramips-wdt ramips-wdt: timeout value must be 0 < timeout <= 40, using 40
[    0.630000] TCP: cubic registered
[    0.630000] NET: Registered protocol family 17
[    0.640000] 8021q: 802.1Q VLAN Support v1.8
[    0.670000] VFS: Mounted root (squashfs filesystem) readonly on device 31:4.
[    0.690000] Freeing unused kernel memory: 236k freed
[    5.590000] input: gpio-keys-polled as /devices/platform/gpio-keys-polled/input/input0
[    5.800000] Button Hotplug driver version 0.4.1
- preinit -
Press the [f] key and hit [enter] to enter failsafe mode
- regular preinit -
[    9.620000] jffs2: notice: (370) jffs2_build_xattr_subsystem: complete building xattr subsystem, 1 of xdatum (1 unchecked, 0 orphan) and 30 of xref (0 dead, 21 orphan) found.
switching to jffs2
- init -

Please press Enter to activate this console.


BusyBox v1.19.4 (2013-03-25 23:53:01 IST) built-in shell (ash)
Enter 'help' for a list of built-in commands.

  _______                     ________        __
|       |.-----.-----.-----.|  |  |  |.----.|  |_
|   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
|_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
-----------------------------------------------------
BARRIER BREAKER (Bleeding Edge, r36128)
-----------------------------------------------------
  * 1/2 oz Galliano         Pour all ingredients into
  * 4 oz cold Coffee        an irish coffee mug filled
  * 1 1/2 oz Dark Rum       with crushed ice. Stir.
  * 2 tsp. Creme de Cacao
-----------------------------------------------------
root@(none):/# [   13.540000] Compat-drivers backport release: compat-drivers-2013-01-21-1
[   13.550000] Backport based on wireless-testing.git master-2013-02-22
[   13.560000] compat.git: wireless-testing.git
[   13.620000] cfg80211: Calling CRDA to update world regulatory domain
[   13.630000] cfg80211: World regulatory domain updated:
[   13.640000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[   13.660000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   13.680000] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   13.690000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   13.710000] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   13.720000] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   14.440000] usbcore: registered new interface driver usbfs
[   14.450000] usbcore: registered new interface driver hub
[   14.470000] usbcore: registered new device driver usb
[   14.500000] zsmalloc: module is from the staging directory, the quality is unknown, you have been warned.
[   14.540000] zram: module is from the staging directory, the quality is unknown, you have been warned.
[   14.560000] zram: num_devices not specified. Using default: 1
[   14.570000] zram: Creating 1 devices ...
[   15.380000] phy0 -> rt2x00lib_request_eeprom_file: Info - Loading EEPROM data from 'soc_wmac.eeprom'.
[   15.450000] phy0 -> rt2x00_set_chip: Info - Chipset detected - rt: 2872, rf: 0005, rev: 0200.
[   15.570000] ip_tables: (C) 2000-2006 Netfilter Core Team
[   15.790000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[   15.840000] nf_conntrack version 0.5.0 (211 buckets, 844 max)
[   18.960000] Adding 6140k swap on /dev/zram0.  Priority:-1 extents:1 across:6140k SS
[   23.240000] device eth0.1 entered promiscuous mode
[   23.250000] device eth0 entered promiscuous mode
[   23.260000] br-lan: port 1(eth0.1) entered forwarding state
[   23.270000] br-lan: port 1(eth0.1) entered forwarding state
[   23.680000] ramips-wdt: timeout value 60 must be 0 < timeout <= 40, using 40
[   25.270000] br-lan: port 1(eth0.1) entered forwarding state
[   32.620000] device wlan0 entered promiscuous mode

root@Lava-W150-OpenWRT:/# [   35.570000] br-lan: port 2(wlan0) entered forwarding state
[   35.580000] br-lan: port 2(wlan0) entered forwarding state

root@Lava-W150-OpenWRT:/# [   37.580000] br-lan: port 2(wlan0) entered forwarding state
uname -a
Linux Lava-W150-OpenWRT 3.7.10 #1 Tue Mar 26 00:03:21 IST 2013 mips GNU/Linux
root@Lava-W150-OpenWRT:/# dmesg
[    0.000000] Linux version 3.7.10 (testuser@mohona) (gcc version 4.6.4 20121210 (prerelease) (Linaro GCC 4.6-2012.12) ) #1 Tue Mar 26 00:03:21 IST 2013
[    0.000000] prom: fw_arg0=00000001, fw_arg1=80f52fb0, fw_arg2=80f533b0, fw_arg3=00000000
[    0.000000] env[0]: memsize=16
[    0.000000] env[1]: initrd_start=0x00000000
[    0.000000] env[2]: initrd_size=0x0
[    0.000000] env[3]: flash_start=0x00000000
[    0.000000] env[4]: flash_size=0x400000
[    0.000000] env[0]: memsize=16
[    0.000000] env[1]: initrd_start=0x00000000
[    0.000000] env[2]: initrd_size=0x0
[    0.000000] env[3]: flash_start=0x00000000
[    0.000000] env[4]: flash_size=0x400000
[    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 ranges:
[    0.000000]   Normal   [mem 0x00000000-0x00ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x00000000-0x00ffffff]
[    0.000000] On node 0 totalpages: 4096
[    0.000000] free_area_init_node: node 0, pgdat 80257c70, node_mem_map 802cb000
[    0.000000]   Normal zone: 32 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 4064 pages, LIFO batch:0
[    0.000000] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 16kB, 4-way, VIPT, no aliases, linesize 32 bytes
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0
[    0.000000] Built 1 zonelists in Zone order, mobility grouping off.  Total pages: 4064
[    0.000000] Kernel command line:  board=MPR-A1 console=ttyS1,57600 mtdparts=spi0.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] __ex_table already sorted, skipping sort
[    0.000000] Writing ErrCtl register=0007e6e0
[    0.000000] Readback ErrCtl register=0007e6e0
[    0.000000] Memory: 13324k/16384k available (1970k kernel code, 3060k reserved, 480k data, 236k 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.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 HAME MPR-A1
[    0.140000] bio: create slab <bio-0> at 0
[    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.190000] TCP bind hash table entries: 512 (order: -1, 2048 bytes)
[    0.200000] TCP: Hash tables configured (established 512 bind 512)
[    0.210000] TCP: reno registered
[    0.220000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.230000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.250000] NET: Registered protocol family 1
[    0.300000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.310000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.330000] msgmni has been set to 26
[    0.340000] io scheduler noop registered
[    0.350000] io scheduler deadline registered (default)
[    0.360000] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    0.370000] serial8250: ttyS0 at MMIO 0x10000500 (irq = 13) is a 16550A
[    0.390000] serial8250: ttyS1 at MMIO 0x10000c00 (irq = 20) is a 16550A
[    0.410000] ramips-spi ramips-spi.0: master is unqueued, this is deprecated
[    0.420000] m25p80 spi0.0: found gd25q32, expected pm25lq032
[    0.440000] m25p80 spi0.0: gd25q32 (4096 Kbytes)
[    0.450000] 6 cmdlinepart partitions found on MTD device spi0.0
[    0.460000] Creating 6 MTD partitions on "spi0.0":
[    0.470000] 0x000000000000-0x000000030000 : "u-boot"
[    0.480000] 0x000000030000-0x000000040000 : "u-boot-env"
[    0.500000] 0x000000040000-0x000000050000 : "factory"
[    0.510000] 0x000000050000-0x000000130000 : "kernel"
[    0.530000] 0x000000130000-0x000000400000 : "rootfs"
[    0.540000] mtd: partition "rootfs" set to be root filesystem
[    0.550000] mtd: partition "rootfs_data" created automatically, ofs=350000, len=B0000
[    0.570000] 0x000000350000-0x000000400000 : "rootfs_data"
[    0.580000] 0x000000050000-0x000000400000 : "firmware"
[    0.610000] ramips-wdt ramips-wdt: timeout value must be 0 < timeout <= 40, using 40
[    0.630000] TCP: cubic registered
[    0.630000] NET: Registered protocol family 17
[    0.640000] 8021q: 802.1Q VLAN Support v1.8
[    0.670000] VFS: Mounted root (squashfs filesystem) readonly on device 31:4.
[    0.690000] Freeing unused kernel memory: 236k freed
[    5.590000] input: gpio-keys-polled as /devices/platform/gpio-keys-polled/input/input0
[    5.800000] Button Hotplug driver version 0.4.1
[    6.020000] Registered led device: mpr-a1:blue:system
[    6.020000] Registered led device: mpr-a1:red:power
[    9.620000] jffs2: notice: (370) jffs2_build_xattr_subsystem: complete building xattr subsystem, 1 of xdatum (1 unchecked, 0 orphan) and 30 of xref (0 dead, 21 orphan) found.
[   13.540000] Compat-drivers backport release: compat-drivers-2013-01-21-1
[   13.550000] Backport based on wireless-testing.git master-2013-02-22
[   13.560000] compat.git: wireless-testing.git
[   13.620000] cfg80211: Calling CRDA to update world regulatory domain
[   13.630000] cfg80211: World regulatory domain updated:
[   13.640000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[   13.660000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   13.680000] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   13.690000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   13.710000] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   13.720000] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   14.440000] usbcore: registered new interface driver usbfs
[   14.450000] usbcore: registered new interface driver hub
[   14.470000] usbcore: registered new device driver usb
[   14.500000] zsmalloc: module is from the staging directory, the quality is unknown, you have been warned.
[   14.540000] zram: module is from the staging directory, the quality is unknown, you have been warned.
[   14.560000] zram: num_devices not specified. Using default: 1
[   14.570000] zram: Creating 1 devices ...
[   15.380000] phy0 -> rt2x00lib_request_eeprom_file: Info - Loading EEPROM data from 'soc_wmac.eeprom'.
[   15.450000] phy0 -> rt2x00_set_chip: Info - Chipset detected - rt: 2872, rf: 0005, rev: 0200.
[   15.470000] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   15.470000] Registered led device: rt2800pci-phy0::radio
[   15.470000] Registered led device: rt2800pci-phy0::assoc
[   15.470000] Registered led device: rt2800pci-phy0::quality
[   15.570000] ip_tables: (C) 2000-2006 Netfilter Core Team
[   15.790000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[   15.840000] nf_conntrack version 0.5.0 (211 buckets, 844 max)
[   18.960000] Adding 6140k swap on /dev/zram0.  Priority:-1 extents:1 across:6140k SS
[   23.240000] device eth0.1 entered promiscuous mode
[   23.250000] device eth0 entered promiscuous mode
[   23.260000] br-lan: port 1(eth0.1) entered forwarding state
[   23.270000] br-lan: port 1(eth0.1) entered forwarding state
[   23.680000] ramips-wdt: timeout value 60 must be 0 < timeout <= 40, using 40
[   25.270000] br-lan: port 1(eth0.1) entered forwarding state
[   32.620000] device wlan0 entered promiscuous mode
[   35.570000] br-lan: port 2(wlan0) entered forwarding state
[   35.580000] br-lan: port 2(wlan0) entered forwarding state
[   37.580000] br-lan: port 2(wlan0) entered forwarding state
root@Lava-W150-OpenWRT:/# cat /proc/cpuinfo
system type             : Ralink RT3350 id:1 rev:2
machine                 : HAME MPR-A1
processor               : 0
cpu model               : MIPS 24KEc V4.12
BogoMIPS                : 212.58
wait instruction        : yes
microsecond timers      : yes
tlb_entries             : 32
extra interrupt vector  : yes
hardware watchpoint     : yes, count: 4, address/irw mask: [0x0ffc, 0x0ffc, 0x0ffb, 0x0ffb]
ASEs implemented        : mips16 dsp
shadow register sets    : 1
kscratch registers      : 0
core                    : 0
VCED exceptions         : not available
VCEI exceptions         : not available

root@Lava-W150-OpenWRT:/# ls
ls     lsmod
root@Lava-W150-OpenWRT:/# lsmod
Module                  Size  Used by    Tainted: G 
nf_nat_irc               865  0
nf_nat_ftp              1137  0
nf_conntrack_irc        2721  1 nf_nat_irc
nf_conntrack_ftp        4945  1 nf_nat_ftp
ipt_MASQUERADE          1089  1
iptable_nat             1569  1
xt_nat                  1089  0
nf_nat_ipv4             2559  1 iptable_nat
nf_nat                 10016  6 nf_nat_irc,nf_nat_ftp,ipt_MASQUERADE,iptable_nat,xt_nat,nf_nat_ipv4
xt_conntrack            2161  6
xt_CT                   2321  0
iptable_raw              641  1
xt_state                 689  0
nf_conntrack_ipv4       4597  7
nf_defrag_ipv4           743  1 nf_conntrack_ipv4
nf_conntrack           42374 12 nf_nat_irc,nf_nat_ftp,nf_conntrack_irc,nf_conntrack_ftp,ipt_MASQUERADE,iptable_nat,nf_nat_ipv4,nf_nat,xt_conntrack,xt_CT,xt_state,nf_conntrack_ipv4
ehci_hcd               30449  0
ipt_REJECT              1777  2
xt_TCPMSS               1937  1
xt_LOG                  6369  0
xt_comment               481 19
xt_multiport            1201  0
xt_mac                   609  0
xt_limit                1009  1
iptable_mangle           897  1
iptable_filter           673  1
ip_tables               9086  4 iptable_nat,iptable_raw,iptable_mangle,iptable_filter
xt_tcpudp               1713  4
x_tables               11014 17 ipt_MASQUERADE,xt_nat,xt_conntrack,xt_CT,iptable_raw,xt_state,ipt_REJECT,xt_TCPMSS,xt_LOG,xt_comment,xt_multiport,xt_mac,xt_limit,iptable_mangle,iptable_filter,ip_tables,xt_tcpudp
rt2800pci               5793  0
rt2800lib              51640  1 rt2800pci
rt2x00soc               1267  1 rt2800pci
rt2x00pci               2076  1 rt2800pci
rt2x00lib              34753  4 rt2800pci,rt2800lib,rt2x00soc,rt2x00pci
mac80211              302192  3 rt2800lib,rt2x00soc,rt2x00lib
zram                    7309  1
zsmalloc                4660  1 zram
usbcore               104190  1 ehci_hcd
usb_common               563  1 usbcore
nls_base                5023  1 usbcore
lzo_decompress          1896  1 zram
lzo_compress            1731  1 zram
crc_itu_t               1020  0
crc_ccitt               1020  1 rt2800lib
eeprom_93cx6            1824  0
cfg80211              171191  2 rt2x00lib,mac80211
compat                  4994  3 rt2800pci,mac80211,cfg80211
arc4                    1313  2
crypto_blkcipher       10328  1 arc4
aead                    4273  0
leds_gpio               1617  0
button_hotplug          2801  0
gpio_keys_polled        2289  0
input_polldev           1940  1 gpio_keys_polled
input_core             23599  4 button_hotplug,gpio_keys_polled,input_polldev
root@Lava-W150-OpenWRT:/# ifconfig -a
br-lan    Link encap:Ethernet  HWaddr XX:XX:XX:XX:XX:XX 
          inet addr:192.168.1.1  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:31 errors:0 dropped:0 overruns:0 frame:0
          TX packets:33 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:2720 (2.6 KiB)  TX bytes:3198 (3.1 KiB)

eth0      Link encap:Ethernet  HWaddr XX:XX:XX:XX:XX:XX 
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:31 errors:0 dropped:0 overruns:0 frame:0
          TX packets:53 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:3278 (3.2 KiB)  TX bytes:11306 (11.0 KiB)
          Interrupt:5

eth0.1    Link encap:Ethernet  HWaddr XX:XX:XX:XX:XX:XX 
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:31 errors:0 dropped:0 overruns:0 frame:0
          TX packets:33 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:2720 (2.6 KiB)  TX bytes:3198 (3.1 KiB)

eth0.2    Link encap:Ethernet  HWaddr XX:XX:XX:XX:XX:XX
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:20 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:7860 (7.6 KiB)

lo        Link encap:Local Loopback 
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:16 errors:0 dropped:0 overruns:0 frame:0
          TX packets:16 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:1520 (1.4 KiB)  TX bytes:1520 (1.4 KiB)

wlan0     Link encap:Ethernet  HWaddr XX:XX:XX:XX:XX:XX 
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:32
          RX bytes:0 (0.0 B)  TX bytes:480 (480.0 B)

root@Lava-W150-OpenWRT:/# ping yahoo.com
PING yahoo.com (98.139.183.24): 56 data bytes
64 bytes from 98.139.183.24: seq=0 ttl=50 time=344.701 ms
64 bytes from 98.139.183.24: seq=1 ttl=50 time=399.344 ms
64 bytes from 98.139.183.24: seq=2 ttl=50 time=396.250 ms
^C
--- yahoo.com ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 344.701/380.098/399.344 ms
root@Lava-W150-OpenWRT:/# echo "hello world! viola lava w150 works with openwrt!
"
hello world! viola lava w150 works with openwrt!
root@Lava-W150-OpenWRT:/# echo "thank you open source software."
thank you open source software.
root@Lava-W150-OpenWRT:/# halt
root@Lava-W150-OpenWRT:/# [  146.840000] br-lan: port 2(wlan0) entered disabled state
[  146.850000] br-lan: port 1(eth0.1) entered disabled state
[  146.880000] device eth0.1 left promiscuous mode
[  146.890000] br-lan: port 1(eth0.1) entered disabled state
[  146.920000] device wlan0 left promiscuous mode
[  146.930000] br-lan: port 2(wlan0) entered disabled state
[  152.880000] device eth0 left promiscuous mode
[  160.080000] System halted.




i will post more details and in depth howto of how you can port openwrt to this device, along with device information details and serial ports mod and yes almost forgot to mention i compiled the image with zram and also yet to make usb storage module work, and also yet to make usb-modeswitch and test 3g and or 2g connectivity and many more tests pending.

this is the first time i ported openwrt to this device. so kindly understand that i am a noob in porting and technically not skilled to write a good write up like how you see it in wiki.

positive and negative feedback and or criticism is always a welcome. :-D
thanks
-paul

this is the serial output against
****************************************
factory firmware tftp load and bootup
Vs
openwrt tftp load and bootup
****************************************


U-Boot 1.1.6 (Aug 29 2011 - 03:23:36)


Board: Ralink APSoC DRAM:  16 MB

relocate_code Pointer at: 80fb4000

config usb..

spi_wait_nsec: 4b

spi device id: c8 40 16 c8 40 (4016c840)

find flash: G 1407

raspi_read: from:30000 len:1000

.raspi_read: from:30000 len:1000

.============================================

Ralink UBoot Version: 3.6.0.0

--------------------------------------------

ASIC 3052_MP2 (Port5<->None)

DRAM component: 128 Mbits SDR

DRAM bus: 16 bit

Total memory: 16 MBytes

Flash component: SPI Flash

Date:Aug 29 2011  Time:03:23:36

============================================

icache: sets:256, ways:4, linesz:32 ,total:32768

dcache: sets:128, ways:4, linesz:32 ,total:16384


##### The CPU freq = 320 MHZ ####

estimate memory size =16 Mbytes

raspi_read: from:40028 len:6

.

raspi_read: from:0 len:20004

...*************Is_update = 0**************


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.

9  8  7  6  5  4  3  2  1  0

   

3: System Boot system code via Flash.

## Booting image at bf050000 ...

raspi_read: from:50000 len:40

.Bad Magic Number,FFFFFFFF



U-Boot 1.1.6 (Aug 29 2011 - 03:23:36)


Board: Ralink APSoC DRAM:  16 MB

relocate_code Pointer at: 80fb4000

config usb..

spi_wait_nsec: 4b

spi device id: c8 40 16 c8 40 (4016c840)

find flash: G 1407

raspi_read: from:30000 len:1000

.raspi_read: from:30000 len:1000

.============================================

Ralink UBoot Version: 3.6.0.0

--------------------------------------------

ASIC 3052_MP2 (Port5<->None)

DRAM component: 128 Mbits SDR

DRAM bus: 16 bit

Total memory: 16 MBytes

Flash component: SPI Flash

Date:Aug 29 2011  Time:03:23:36

============================================

icache: sets:256, ways:4, linesz:32 ,total:32768

dcache: sets:128, ways:4, linesz:32 ,total:16384


##### The CPU freq = 320 MHZ ####

estimate memory size =16 Mbytes

raspi_read: from:40028 len:6

.

raspi_read: from:0 len:20004

...*************Is_update = 0**************


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.



You choosed 2


0

   

2: System Load Linux Kernel then write to Flash via TFTP.

Warning!! Erase Linux in Flash then burn new one. Are you sure?(Y/N)

Please Input new ones /or Ctrl-C to discard

    Input device IP (192.168.1.1) ==:192.168.1.1

    Input server IP (192.168.1.43) ==:192.168.1.43

    Input Linux Kernel filename (openwrt.uImage) ==:openwrt.uImage              9c417c14e928


netboot_common, argc= 3


NetTxPacket = 0x80FE6F40


KSEG1ADDR(NetTxPacket) = 0xA0FE6F40


NetLoop,call eth_halt !


NetLoop,call eth_init !

Trying Eth0 (10/100-M)


Waitting for RX_DMA_BUSY status Start... done



Header Payload scatter function is Disable !!


ETH_STATE_ACTIVE!!

Using Eth0 (10/100-M) device

TFTP from server 192.168.1.43; our IP address is 192.168.1.1

Filename '9c417c14e928'.


TIMEOUT_COUNT=10,Load address: 0x80100000

Loading: *Got ARP REPLY, set server/gtwy eth addr (00:16:d3:3b:f1:1f)

Got it

#################################################################

     #################################################################

     #################################################################

     #################################################################

     #################################################################

     #################################################################

     #################################################################

     ##############################################Got ARP REQUEST, return our IP

###################

     #################################################################

     #################################################################

     #################################################################

     ##############

done

Bytes transferred = 3727482 (38e07a hex)

NetBootFileXferSize= 0038e07a

raspi_erase_write: offs:50000, count:38e07a

raspi_erase: offs:50000 len:380000

........................................................

raspi_write: to:50000 len:380000

........................................................

raspi_read: from:50000 len:10000

.raspi_read: from:60000 len:10000

.raspi_read: from:70000 len:10000

.raspi_read: from:80000 len:10000

.raspi_read: from:90000 len:10000

.raspi_read: from:a0000 len:10000

.raspi_read: from:b0000 len:10000

.raspi_read: from:c0000 len:10000

.raspi_read: from:d0000 len:10000

.raspi_read: from:e0000 len:10000

.raspi_read: from:f0000 len:10000

.raspi_read: from:100000 len:10000

.raspi_read: from:110000 len:10000

.raspi_read: from:120000 len:10000

.raspi_read: from:130000 len:10000

.raspi_read: from:140000 len:10000

.raspi_read: from:150000 len:10000

.raspi_read: from:160000 len:10000

.raspi_read: from:170000 len:10000

.raspi_read: from:180000 len:10000

.raspi_read: from:190000 len:10000

.raspi_read: from:1a0000 len:10000

.raspi_read: from:1b0000 len:10000

.raspi_read: from:1c0000 len:10000

.raspi_read: from:1d0000 len:10000

.raspi_read: from:1e0000 len:10000

.raspi_read: from:1f0000 len:10000

.raspi_read: from:200000 len:10000

.raspi_read: from:210000 len:10000

.raspi_read: from:220000 len:10000

.raspi_read: from:230000 len:10000

.raspi_read: from:240000 len:10000

.raspi_read: from:250000 len:10000

.raspi_read: from:260000 len:10000

.raspi_read: from:270000 len:10000

.raspi_read: from:280000 len:10000

.raspi_read: from:290000 len:10000

.raspi_read: from:2a0000 len:10000

.raspi_read: from:2b0000 len:10000

.raspi_read: from:2c0000 len:10000

.raspi_read: from:2d0000 len:10000

.raspi_read: from:2e0000 len:10000

.raspi_read: from:2f0000 len:10000

.raspi_read: from:300000 len:10000

.raspi_read: from:310000 len:10000

.raspi_read: from:320000 len:10000

.raspi_read: from:330000 len:10000

.raspi_read: from:340000 len:10000

.raspi_read: from:350000 len:10000

.raspi_read: from:360000 len:10000

.raspi_read: from:370000 len:10000

.raspi_read: from:380000 len:10000

.raspi_read: from:390000 len:10000

.raspi_read: from:3a0000 len:10000

.raspi_read: from:3b0000 len:10000

.raspi_read: from:3c0000 len:10000

.raspi_read: from:3d0000 len:10000

.raspi_erase: offs:3d0000 len:10000

.

raspi_write: to:3d0000 len:10000

.

raspi_read: from:3d0000 len:10000

.Done!

## Booting image at bf050000 ...

raspi_read: from:50000 len:40

.   Image Name:   Linux Kernel Image

   Created:      2011-11-18   7:24:07 UTC

   Image Type:   MIPS Linux Kernel Image (lzma compressed)

   Data Size:    3727418 Bytes =  3.6 MB

   Load Address: 80000000

   Entry Point:  80278000

raspi_read: from:50040 len:38e03a

.........................................................   Verifying Checksum ... OK

   Uncompressing Kernel Image ... OK

No initrd

## Transferring control to Linux (at address 80278000) ...

## Giving linux memsize in MB, 16


Starting kernel ...



LINUX started...

THIS IS ASIC
Linux version 2.6.21 (root@localhost.localdomain) (gcc version 3.4.2) #68 Thu Nov 10 17:31:05 HKT 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=1f05
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 = 800070, 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: 13508k/16384k available (2241k kernel code, 2876k reserved, 282k data, 112k init, 0k highmem)
Mount-cache hash table entries: 512
NET: Registered protocol family 16
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
Time: MIPS clocksource has been installed.
NET: Registered protocol family 2
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
deice id : c8 40 16 c8 40 (4016c840)
Warning: un-recognized chip ID, please update SPI driver!
AT25DF321(1f 47000000) (4096 Kbytes)
mtd .name = raspi, .size = 0x00400000 (4M) .erasesize = 0x00010000 (64K) .numeraseregions = 0
Creating 7 MTD partitions on "raspi":
0x00000000-0x00400000 : "ALL"
0x00000000-0x00030000 : "Bootloader"
0x00030000-0x00040000 : "Config"
0x00040000-0x00050000 : "Factory"
0x00050000-0x0011a07a : "Kernel"
mtd: partition "Kernel" doesn't end on an erase block -- force read-only
0x0011a07a-0x01000000 : "RootFS"
mtd: partition "RootFS" extends beyond the end of device "raspi" -- size truncated to 0x2e5f86
mtd: partition "RootFS" doesn't start on an erase block boundary -- force read-only
0x00050000-0x01000000 : "Kernel_RootFS"
mtd: partition "Kernel_RootFS" extends beyond the end of device "raspi" -- size truncated to 0x3b0000
squashfs: version 3.2-r2 (2007/01/15) Phillip Lougher
squashfs: LZMA suppport for slax.org by jro
io scheduler noop registered (default)
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
NET: Registered protocol family 24
block2mtd: version $Revision: 1.1.1.1 $
usbcore: registered new interface driver cdc_acm
drivers/usb/class/cdc-acm.c: v0.25:USB Abstract Control Model driver for USB modems and ISDN adapters
usbcore: registered new interface driver usbhid
drivers/usb/input/hid-core.c: v2.6:USB HID core driver
nf_conntrack version 0.5.0 (128 buckets, 1024 max)
ip_tables: (C) 2000-2006 Netfilter Core Team, Type=Restricted Cone
arp_tables: (C) 2002 David S. Miller
TCP cubic registered
NET: Registered protocol family 1
NET: Registered protocol family 10
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 -- : 0x00009c41
GDMA1_MAC_ADRL -- : 0x7c14e925
PROC INIT OK!
VFS: Mounted root (squashfs filesystem) readonly.
Freeing unused kernel memory: 112k freed

init started: BusyBox v1.12.1 (2011-01-07 13:57:10 CST)

starting pid 12, tty '': '/etc_ro/rcS'
Algorithmics/MIPS FPU Emulator v1.5
mount: mounting devpts: called with bogus options
none on /sys failed: No such device
-------------------------------------------
Welcome to
    __  __     __     __    __  ______
    | | | |   /  \   |  \  /  | | ____|
    | |_| |  / /\ \  | |\\//| | | |___
    |  _  | |_/__\ \ | | \/ | | | |___|
        | | | | | |  | | | |    | | | |___
        |_| |_| |_|  |_| |_|    |_| |_____|
    HameData Technology Co., Ltd
-------------------------------------------
internet.sh
usbcore: registered new interface driver ipheth

starting pid 33, tty '/dev/ttyS1': '/bin/sh'


BusyBox v1.12.1 (2011-01-07 13:57:10 CST) built-in shell (ash)
Enter 'help' for a list of built-in commands.

# Password for 'admin' changed
insmod: bridge.ko: module not found
insmod: mii.ko: module not found
insmod: raeth.ko: module not found

phy_tx_ring = 0x00ff1000, tx_ring = 0xa0ff1000

phy_rx_ring = 0x00000000, rx_ring = 0x00000000
RT305x_ESW: Link Status Changed
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
Commit crc = f6fb8315
rt2860v2_ap: module license 'unspecified' taints kernel.


=== pAd = c0023000, size = 512912 ===

<-- 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 a0f7d000  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
RT305x_ESW: Link Status Changed
Main bssid = 9c:41:7c:14:e9:28
<==== rt28xx_init, Status=0
0x1300 = 00064380
insmod: 8021q.ko: module not found
eth2.2: Setting MAC address to  9c 41 7c 14 e9 27.
device eth2 entered promiscuous mode
VLAN (eth2.2):  Setting underlying device (eth2) to promiscious mode.
ifconfig: ioctl 0x8913 failed: No such device
brctl: bridge br0: No such device or address
iptables v1.4.0rc1: can't initialize iptables table `mangle': Table does not exist (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.
##### config RT3052 vlan partition (WLLLL) #####
switch reg write offset=14, value=405555
switch reg write offset=50, value=2001
switch reg write offset=98, value=7f3f
switch reg write offset=e4, value=3f
switch reg write offset=40, value=1002
switch reg write offset=44, value=1001
switch reg write offset=48, value=1001
switch reg write offset=70, value=ffff417e
device ra0 entered promiscuous mode
eth2.1: dev_set_promiscuity(master, 1)
device eth2.1 entered promiscuous mode
RT305x_ESW: Link Status Changed
killall: 3g: no process killed
br0: port 2(eth2.1) entering learning state
br0: port 1(ra0) entering learning state
ifconfig: ioctl 0x8914 failed: Cannot assign requested address
ifconfig: ioctl 0x8914 failed: Cannot assign requested address
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
Set: phy[1].reg[0] = 3100
Set: phy[2].reg[0] = 3100
Set: phy[3].reg[0] = 3100
Set: phy[4].reg[0] = 3100
ifconfig: ioctl 0x8913 failed: No such device
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 -A INPUT -i ppp0 -p tcp --dport 80 -j DROP
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 -F POSTROUTING 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
iptables -t nat -A POSTROUTING -o ppp0 -s 192.168.169.1/255.255.255.0 -j MASQUERADE 1>/dev/null 2>&1
ntp.sh
Sat Jan  1 01:01:00 UTC 2011
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 zebra
killall -q ripd

##### USB init #####
storage.sh admin
sh: storage.sh: not found
webs: Listening for HTTP requests at address 192.168.169.1
dwc_otg: config..done
dwc_otg: version 2.72a 24-JUN-2008
DWC_otg: Core Release: 2.66a
DWC_otg: Periodic Transfer Interrupt Enhancement - disabled
DWC_otg: Multiprocessor Interrupt Enhancement - disabled
DWC_otg: Using DMA mode
DWC_otg: Device using Buffer DMA mode
dwc_otg lm0: DWC OTG Controller
dwc_otg lm0: new USB bus registered, assigned bus number 1
dwc_otg lm0: irq 18, io mem 0x00000000
DWC_otg: Init: Port Power? op_state=1
DWC_otg: Init: Power Port (0)
usb usb1: Product: DWC OTG Controller
usb usb1: Manufacturer: Linux 2.6.21 dwc_otg_hcd
usb usb1: SerialNumber: lm0
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
br0: topology change detected, propagating
br0: port 2(eth2.1) entering forwarding state
br0: topology change detected, propagating
br0: port 1(ra0) entering forwarding state
/sbin/up3g.sh: line 11: syntax error: "fi" unexpected
tmk 6 set connstatus = 0
tmk 7 set askdial=1

# udhcpc (v1.12.1) started



U-Boot 1.1.6 (Aug 29 2011 - 03:23:36)


Board: Ralink APSoC DRAM:  16 MB

relocate_code Pointer at: 80fb4000

config usb..

spi_wait_nsec: 4b

spi device id: c8 40 16 c8 40 (4016c840)

find flash: G 1407

raspi_read: from:30000 len:1000

.raspi_read: from:30000 len:1000

.============================================

Ralink UBoot Version: 3.6.0.0

--------------------------------------------

ASIC 3052_MP2 (Port5<->None)

DRAM component: 128 Mbits SDR

DRAM bus: 16 bit

Total memory: 16 MBytes

Flash component: SPI Flash

Date:Aug 29 2011  Time:03:23:36

============================================

icache: sets:256, ways:4, linesz:32 ,total:32768

dcache: sets:128, ways:4, linesz:32 ,total:16384


##### The CPU freq = 320 MHZ ####

estimate memory size =16 Mbytes

raspi_read: from:40028 len:6

.

raspi_read: from:0 len:20004

...*************Is_update = 0**************


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.



You choosed 2


0

   

2: System Load Linux Kernel then write to Flash via TFTP.

Warning!! Erase Linux in Flash then burn new one. Are you sure?(Y/N)

Please Input new ones /or Ctrl-C to discard

    Input device IP (192.168.1.1) ==:192.168.1.1

    Input server IP (192.168.1.43) ==:192.168.1.43

    Input Linux Kernel filename (openwrt.uImage) ==:openwrt.uImage              firmware.bin


netboot_common, argc= 3


NetTxPacket = 0x80FE6F40


KSEG1ADDR(NetTxPacket) = 0xA0FE6F40


NetLoop,call eth_halt !


NetLoop,call eth_init !

Trying Eth0 (10/100-M)


Waitting for RX_DMA_BUSY status Start... done



Header Payload scatter function is Disable !!


ETH_STATE_ACTIVE!!

Using Eth0 (10/100-M) device

TFTP from server 192.168.1.43; our IP address is 192.168.1.1

Filename 'firmware.bin'.


TIMEOUT_COUNT=10,Load address: 0x80100000

Loading: *Got ARP REPLY, set server/gtwy eth addr (00:16:d3:3b:f1:1f)

Got it

#################################################################

     #################################################################

     #################################################################

     #################################################################

     #################################################################

     #################################################################

     #################################################################

     ##############################################Got ARP REQUEST, return our IP

###################

     #################################################################

     ########################################################

done

Bytes transferred = 3276804 (320004 hex)

NetBootFileXferSize= 00320004

raspi_erase_write: offs:50000, count:320004

raspi_erase: offs:50000 len:320000

..................................................

raspi_write: to:50000 len:320000

..................................................

raspi_read: from:50000 len:10000

.raspi_read: from:60000 len:10000

.raspi_read: from:70000 len:10000

.raspi_read: from:80000 len:10000

.raspi_read: from:90000 len:10000

.raspi_read: from:a0000 len:10000

.raspi_read: from:b0000 len:10000

.raspi_read: from:c0000 len:10000

.raspi_read: from:d0000 len:10000

.raspi_read: from:e0000 len:10000

.raspi_read: from:f0000 len:10000

.raspi_read: from:100000 len:10000

.raspi_read: from:110000 len:10000

.raspi_read: from:120000 len:10000

.raspi_read: from:130000 len:10000

.raspi_read: from:140000 len:10000

.raspi_read: from:150000 len:10000

.raspi_read: from:160000 len:10000

.raspi_read: from:170000 len:10000

.raspi_read: from:180000 len:10000

.raspi_read: from:190000 len:10000

.raspi_read: from:1a0000 len:10000

.raspi_read: from:1b0000 len:10000

.raspi_read: from:1c0000 len:10000

.raspi_read: from:1d0000 len:10000

.raspi_read: from:1e0000 len:10000

.raspi_read: from:1f0000 len:10000

.raspi_read: from:200000 len:10000

.raspi_read: from:210000 len:10000

.raspi_read: from:220000 len:10000

.raspi_read: from:230000 len:10000

.raspi_read: from:240000 len:10000

.raspi_read: from:250000 len:10000

.raspi_read: from:260000 len:10000

.raspi_read: from:270000 len:10000

.raspi_read: from:280000 len:10000

.raspi_read: from:290000 len:10000

.raspi_read: from:2a0000 len:10000

.raspi_read: from:2b0000 len:10000

.raspi_read: from:2c0000 len:10000

.raspi_read: from:2d0000 len:10000

.raspi_read: from:2e0000 len:10000

.raspi_read: from:2f0000 len:10000

.raspi_read: from:300000 len:10000

.raspi_read: from:310000 len:10000

.raspi_read: from:320000 len:10000

.raspi_read: from:330000 len:10000

.raspi_read: from:340000 len:10000

.raspi_read: from:350000 len:10000

.raspi_read: from:360000 len:10000

.raspi_read: from:370000 len:10000

.raspi_erase: offs:370000 len:10000

.

raspi_write: to:370000 len:10000

.

raspi_read: from:370000 len:10000

.Done!

## Booting image at bf050000 ...

raspi_read: from:50000 len:40

.   Image Name:   MIPS OpenWrt Linux-3.7.10

   Created:      2013-03-27  19:00:12 UTC

   Image Type:   MIPS Linux Kernel Image (lzma compressed)

   Data Size:    916167 Bytes = 894.7 kB

   Load Address: 80000000

   Entry Point:  80000000

raspi_read: from:50040 len:dfac7

..............   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.7.10 (testuser@mohona) (gcc version 4.6.4 20121210 (prerelease) (Linaro GCC 4.6-2012.12) ) #1 Thu Mar 28 00:28:48 IST 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 ranges:
[    0.000000]   Normal   [mem 0x00000000-0x00ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x00000000-0x00ffffff]
[    0.000000] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 16kB, 4-way, VIPT, no aliases, linesize 32 bytes
[    0.000000] Built 1 zonelists in Zone order, mobility grouping off.  Total pages: 4064
[    0.000000] Kernel command line:  board=MPR-A1 console=ttyS1,57600 mtdparts=spi0.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] __ex_table already sorted, skipping sort
[    0.000000] Writing ErrCtl register=0007e4b0
[    0.000000] Readback ErrCtl register=0007e4b0
[    0.000000] Memory: 13324k/16384k available (1970k kernel code, 3060k reserved, 480k data, 236k 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 HAME MPR-A1
[    0.140000] bio: create slab <bio-0> at 0
[    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.190000] TCP bind hash table entries: 512 (order: -1, 2048 bytes)
[    0.200000] TCP: Hash tables configured (established 512 bind 512)
[    0.210000] TCP: reno registered
[    0.220000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.230000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.250000] NET: Registered protocol family 1
[    0.300000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.310000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.330000] msgmni has been set to 26
[    0.340000] io scheduler noop registered
[    0.350000] io scheduler deadline registered (default)
[    0.360000] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    0.370000] serial8250: ttyS0 at MMIO 0x10000500 (irq = 13) is a 16550A
[    0.390000] serial8250: ttyS1 at MMIO 0x10000c00 (irq = 20) is a 16550A
[    0.410000] ramips-spi ramips-spi.0: master is unqueued, this is deprecated
[    0.420000] m25p80 spi0.0: found gd25q32, expected pm25lq032
[    0.440000] m25p80 spi0.0: gd25q32 (4096 Kbytes)
[    0.450000] 6 cmdlinepart partitions found on MTD device spi0.0
[    0.460000] Creating 6 MTD partitions on "spi0.0":
[    0.470000] 0x000000000000-0x000000030000 : "u-boot"
[    0.480000] 0x000000030000-0x000000040000 : "u-boot-env"
[    0.500000] 0x000000040000-0x000000050000 : "factory"
[    0.510000] 0x000000050000-0x000000130000 : "kernel"
[    0.530000] 0x000000130000-0x000000400000 : "rootfs"
[    0.540000] mtd: partition "rootfs" set to be root filesystem
[    0.550000] mtd: partition "rootfs_data" created automatically, ofs=350000, len=B0000
[    0.570000] 0x000000350000-0x000000400000 : "rootfs_data"
[    0.580000] 0x000000050000-0x000000400000 : "firmware"
[    0.610000] ramips-wdt ramips-wdt: timeout value must be 0 < timeout <= 40, using 40
[    0.630000] TCP: cubic registered
[    0.630000] NET: Registered protocol family 17
[    0.640000] 8021q: 802.1Q VLAN Support v1.8
[    0.670000] VFS: Mounted root (squashfs filesystem) readonly on device 31:4.
[    0.690000] Freeing unused kernel memory: 236k freed
[    5.610000] input: gpio-keys-polled as /devices/platform/gpio-keys-polled/input/input0
[    5.810000] Button Hotplug driver version 0.4.1
- preinit -
Press the [f] key and hit [enter] to enter failsafe mode
- regular preinit -
jffs2 not ready yet; using ramdisk
- init -

Please press Enter to activate this console. [   12.600000] Compat-drivers backport release: compat-drivers-2013-01-21-1
[   12.610000] Backport based on wireless-testing.git master-2013-02-22
[   12.620000] compat.git: wireless-testing.git
[   12.680000] cfg80211: Calling CRDA to update world regulatory domain
[   12.690000] cfg80211: World regulatory domain updated:
[   12.700000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[   12.720000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   12.730000] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   12.750000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   12.760000] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   12.780000] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   13.490000] usbcore: registered new interface driver usbfs
[   13.500000] usbcore: registered new interface driver hub
[   13.510000] usbcore: registered new device driver usb
[   13.550000] zsmalloc: module is from the staging directory, the quality is unknown, you have been warned.
[   13.580000] zram: module is from the staging directory, the quality is unknown, you have been warned.
[   13.610000] zram: num_devices not specified. Using default: 1
[   13.620000] zram: Creating 1 devices ...
[   14.410000] phy0 -> rt2x00lib_request_eeprom_file: Info - Loading EEPROM data from 'soc_wmac.eeprom'.
[   14.750000] phy0 -> rt2x00_set_chip: Info - Chipset detected - rt: 2872, rf: 0005, rev: 0200.
[   14.990000] ip_tables: (C) 2000-2006 Netfilter Core Team
[   15.200000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[   15.240000] nf_conntrack version 0.5.0 (211 buckets, 844 max)
[   20.320000] Adding 6140k swap on /dev/zram0.  Priority:-1 extents:1 across:6140k SS
[   23.830000] ramips-wdt: timeout value 60 must be 0 < timeout <= 40, using 40
[   24.360000] device eth0.1 entered promiscuous mode
[   24.370000] device eth0 entered promiscuous mode
[   24.390000] br-lan: port 1(eth0.1) entered forwarding state
[   24.400000] br-lan: port 1(eth0.1) entered forwarding state
[   26.400000] br-lan: port 1(eth0.1) entered forwarding state
[   38.550000] jffs2_scan_eraseblock(): End of filesystem marker found at 0x0
[   38.560000] jffs2_build_filesystem(): unlocking the mtd device... done.
[   38.570000] jffs2_build_filesystem(): erasing all blocks after the end marker... done.
[   42.360000] jffs2: notice: (881) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.



BusyBox v1.19.4 (2013-03-28 00:18:39 IST) built-in shell (ash)
Enter 'help' for a list of built-in commands.

  _______                     ________        __
|       |.-----.-----.-----.|  |  |  |.----.|  |_
|   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
|_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
-----------------------------------------------------
BARRIER BREAKER (Bleeding Edge, r36128)
-----------------------------------------------------
  * 1/2 oz Galliano         Pour all ingredients into
  * 4 oz cold Coffee        an irish coffee mug filled
  * 1 1/2 oz Dark Rum       with crushed ice. Stir.
  * 2 tsp. Creme de Cacao
-----------------------------------------------------
root@OpenWrt:/#


product details can be found here. this device doesnt have any FCC or anything to identify information. rest goes as a story.
http://www.lavamobiles.com/details/w150
in the tftpboot mode in rescque mode it asks for the firmware image as 9c417c14e928 which is
http://www.lavamobiles.com/accessories/84/3
here there are 2 files, one for MTS and second is tata, which means it has some sort of sim lock facility. but i used the same firmware images (factory default firmwares) and then tried to update the firmware via serial port since http mode or gui mode will show failure with an error.
conclusion: those got MTS or TATA version against the market version, the only difference is the TATA and MTS version got sim card slot where as market or retail has no sim card slot but a usb slot instead.
next post i will try to take images of the device. sorry i got shaky hands when it comes to taking photos. so kindly please be a bit more calm.
this means via serial port we can unlock the modem and upload openwrt and have a blast.
BUT i may be COMPLETELY WRONG. i dont have the sim card version, so i cannot make any comment about the unlocking feature, i am just betting against the odds.

this board has unpopulated serial ports atleast the non sim aka retail version. they are of the order
VCC - Tx - Rx - GND @57600 baud with 2300mAh aluminium body battery. so a word of caution when you populate the serial ports make sure they dont touch the battery anyway. it will short the system and the system can get veryyyyyyyyyyyyyyyyyy hot and may even catch fire eventually.

i will post the photos tomorrow.
stay tuned.
added: more info

(Last edited by quackquack on 30 Mar 2013, 11:13)

for those impatient ones here is the firmware i am using.
i give absolutely no guarrantee/warranty of any sort or kind verbal/actual that it will work. installing 3 rd party firmwares like openwrt may void your warranty, opening the device may void your warranty, populating the headers will DEFINITELY VOID YOUR WARRANTY :-D
so i gave my word of caution. good luck and happy hacking.
http://filebin.ca/by3ArGmG2Pi/openwrt-r … pgrade.bin
have fun! ;-)

Here i am presenting the hardware details and also the method to roll out openwrt for your router.

Architecture:   MIPS
Vendor:         Ralink
Bootloader:     u-boot
System-On-Chip: RT3050F [ASIC 3052_MP2]
CPU/Speed       MIPS 24KEc 320 MHZ
Flash-Chip:     25032s1p [4016c840]
Flash size:     4 MiB
RAM chip:       Erontech EM639165TS-6G
RAM:            16 MiB
Wireless:       RT3050F
Ethernet:       Trxcom TRC41604NL
Internet:       No Modem
VoIP:           No
USB:            1x 2.0
Serial:         Yes
JTAG:           unknown

* there is an unpopulated parallel flash 48 tsop, which means there may be a jtag port somewhere.

this is a sort of walk through on how to get it done. i am not an ace neither an expert this is what so little information i am sharinf to get it up and working, your lava w150.

first get the svn trunk

mkdir openwrt

cd openwrt

svn co --revision r35629 svn://svn.openwrt.org/openwrt/trunk

git clone https://github.com/Squonk42/OpenWrt-RT5350.git

cd trunk

patch -p0 < ../OpenWrt-RT5350/openwrt_add_pm25lq032_flash_support.patch

patch -p0 < ../OpenWrt-RT5350/openwrt_add_rt5350_wlan_support.patch

patch -p0 < ../OpenWrt-RT5350/openwrt_hame_mpr-a1.patch

svn update

./scripts/feeds update -a

you may wish to include rsync and debootstrap (if you plan to run debian)

./scripts/feeds install debootstrap

./scripts/feeds install rsync

you may wish to run luci but it will eat up your ram nasty, my suggestion to remove luci and uhttpd

./scripts/feeds uninstall -a luci

make menuconfig

then select

Target Ssytem: Ralink RT288x/RT3xxx

Subtarget: RT305x based boards

Target Profile: HAME MPR-A1

make -j 5 V=99
while it happens go watch tv for 30 mins or so and or read books. etc etc.

upload the firmware via tftp in the uboot

thats it.

you may then customize the kernel or go with the default settings!

reffer openwrt wiki for custom kernel.

go and make yourself a cup of coffee or enjoy your redbull or bottle of beer which ever you like, and then
using uboot tftp up the firmware image and viola it works.

Right now i am yet to include the USB storage kernel mod and hopefully then it will act as a USB host. i will post with the update soon as how it went with the dwc
CONFIG_PACKAGE_kmod-usb-rt305x-dwc_otg=y

I have taken a few pictures, let me first apologise for the bad quality, i am not a good photographer, if you find it hard to see let me know i will try to take better pictures later. anyway the links are ...

http://imageshack.us/photo/my-images/59 … 331014.jpg

http://imageshack.us/photo/my-images/94/20130331012.jpg

http://imageshack.us/photo/my-images/82 … 331011.jpg

http://imageshack.us/photo/my-images/84 … 331009.jpg

http://imageshack.us/photo/my-images/83 … 331008.jpg

http://imageshack.us/photo/my-images/11/20130331007.jpg

http://imageshack.us/photo/my-images/81 … 331006.jpg

http://imageshack.us/photo/my-images/54 … 331005.jpg

http://imageshack.us/photo/my-images/21 … 331004.jpg

http://imageshack.us/photo/my-images/80 … 331003.jpg

http://imageshack.us/photo/my-images/59/20130331001.jpg

How to open the case:

take a guitar pick, or the picks needed to open iphone or blackberry phones, place the picks along the cracks or holes on the edges and apply light pressure.
now the base lifts open, remove the base. you will find screw holes on the 4 round corners, use the jk 2.0 star screw driver and unscrew. keep the 4 screws safe you need to fasten them later.

now flip it upside down. then again take the pick and this time apply pressure on the cracks on the edges, the lid pops.

then pull the battery out and apply some slight pressure on the system board make sure you dont break the exoskeleton and remove the board from the exoseleton. then unhook the battery and viola its fully dissembled. you will see the serial port right under the serial port labelled as 3.3 tx rx gnd.

thats about it. i will post soon how my ram upgrade surgery went.

and also since there is an unpopulated parallel flash on the circuit board there may be a jtag pinout somewhere. i wish someone good in electronics shows me where is that jtag port will be really nice. too muchaaaa thanks ;-)

anyway thanks for reading the post.
have a great day and happy hacking.
-paul

Hi,

I have a LAVA W150. Unfortunately during a firmware upgrade I messed up and the router is not working now.
Can anyone help me how to get it up and running again? I am not a technical guy. Appreciate if any one can guide me with a step by step approach for the same.

Thanks in advance for your help.

Thanks & Regards,
Ram.

Hello ram,
greetings!

can you tell me what exactly you did? because as far as i know, you cannot upgrade the firmware via web interface you need a serial console for openwrt. if you are trying to install the oem firmware and something went wrong and the device is under warranty then the lava customer care will do the work for you. well i hope they will do it on time and not prolong it.

but if you have a serial console rs232 then you can do it yourself. can you plug in to the serial console? if so then follow this procedure

1. conect the serial console, and then power on the device. you will get 5 seconds to go to u-boot prompt. Press any key to go to prompt.

2. a. now you may either select 3 and supply the details like the address of your tftp server which in mycase is "192.168.1.43" and the openwrt firmware "openwrt.bin" and press enter it will fetch the firmware via tftp and then install it for you and you are good to go. openwrt-ramips-rt305x-mpr-a1-squashfs-sysupgrade.bin file name is too big u-boot fails to fetch so rename it to openwrt.bin

2. b. else you can press 2 and supply the tftp server details in my case "192.168.1.43" and the openwrt firmware "openwrt.uimage" and press enter. u-boot will fetch the firmware via tftp and then it will load via ramdisk. now when it has given you the prompt scp or rsync the openwrt-ramips-rt305x-mpr-a1-squashfs-sysupgrade.bin in /tmp directory and then type
"mtd -r write /tmp/openwrt-ramips-rt305x-mpr-a1-squashfs-sysupgrade.bin firmware"
without the quotes " ".

and you will run openwrt on this device.
the 3.x kernel is too large for a 16 meg ram which is present so you will have frequent core dumps, i would suggest you a ram upgrade. 32 MB ram chips are ideal for this. else you need to seriously trim your kernel to such an extent that the functionality may be reduced to a substantial extent.

if you are in chennai, let me know i will fix it for you. if you are not in chennai, you need to send me the device and you need to pay for the shipping charges too and fro. the device fixing charges are nil. click on my email id and send me an email. thanks!

i hope you fix your device soon.

thanks!
-paul

Hi quackquack, I don't have this device, but another ramips rt3052 one. I have a question about the RAM upgrade, once soldered is it detected automatically by Uboot?, or is it needed to replace the bootloader or change some parameter at the Uboot serial console?

Regards.

Thanks Paul for your response.
I had used an option available on the web interface to update the firmware.
While doing that I think something went wrong. I tried reset option without any luck.

Currently the device is not under warranty.  I would love to fix this myself so as to learn something new. But very new to these activities like using serial port rs232, uboot console etc... Can you help me with some links where I can learn quickly about this? Also, you mentioned about ram upgrade, how much will it cost? If I ship it to you and pay for the ram will you be able to do that as well for me?

Regards,
Ram.

danitool wrote:

Hi quackquack, I don't have this device, but another ramips rt3052 one. I have a question about the RAM upgrade, once soldered is it detected automatically by Uboot?, or is it needed to replace the bootloader or change some parameter at the Uboot serial console?

Regards.

Hi danitool,
greetings!
after i upgraded the ram, u-boot didnt autodetect.
So i had to pull the source and i recompiled u-boot
and i had made all the changes there.

i did the ram upgrade in march, 2013. So i dont
remember what exactly i did.

yes i did replace the bootloader. because even after
the upgrade it still showed 16 megs of ram.

the build of this device is extremely identical to asus
wl-330n3g. i can upload the u-boot somewhere with
32 meg settings, if you need it.

thanks!
-paul

p.s. after ram upgrade i was even able to go for
debwrt! i dont have the device with me right now. my
cousin is using it.

(Last edited by quackquack on 31 Mar 2014, 06:50)

rambilasyadav wrote:

Thanks Paul for your response.
I had used an option available on the web interface to update the firmware.
While doing that I think something went wrong. I tried reset option without any luck.

Currently the device is not under warranty.  I would love to fix this myself so as to learn something new. But very new to these activities like using serial port rs232, uboot console etc... Can you help me with some links where I can learn quickly about this? Also, you mentioned about ram upgrade, how much will it cost? If I ship it to you and pay for the ram will you be able to do that as well for me?

Regards,
Ram.

Hello Ram,

Greetings!

you tried to upgrade the OEM firmware or openwrt firmware?
did you use the firmware i uploaded or you rolled your own?

this is what i did:
i used my buspirate to dump the entire firmware, incase i did
something chewy and screwy, then i can use the buspirate
to restore it.

then i soldered 4 male headers on the board and i have
already mentioned in the post the rs232 pinouts. if you
follow the pins you will be having your serial console.

please read the post carefully i did explain in the photo and
also i did explain in detail how you need to proceed, from
preying opening the case till soldering the male headers.

no point sending me the money for RAM. i have used up
all the 8 RAM chips. Now that ram chip is extremely hard to
locate.

you need to pay for the shipping and send me the RAM
chips, because its not just hard to find, its impossible to
find that ram sticks from where you can rip the IC's out.

the perfect match RAM chips for this device are

"Hynix - HY5MS5B6BLFP - 56 TSOP
Micron - MT48LC16M16A2 - 56 TSOP"

MT48LC16M16A2  -> perfect match!

you need to find this IC's ram, its hard to locate such IC's.

this is the only thing you need to do apart from shipping it.

thanks!
-paul

The discussion might have continued from here.