OpenWrt Forum Archive

Topic: Kingston Mobilelite MLW221

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

I am willing to help get the G2 running OpenWrt.
Can you post the serial output?
You can also send me forum email by clicking on my username.

Hello,
this is the dmesg from G2

Linux version 2.6.36+ (root@CVS2) (gcc version 3.4.2) #2 Thu Sep 18 10:05:08 CST 2014

 The CPU feqenuce set to 580 MHz
 PCIE: bypass PCIe DLL.
 PCIE: Elastic buffer control: Addr:0x68 -> 0xB4
 disable all power about PCIe
 PCIE: PLL power down for MT7620N
CPU revision is: 00019650 (MIPS 24Kc)
Determined physical RAM map:
 memory: 04000000 @ 00000000 (usable)
Initrd not found or empty - disabling initrd
Zone PFN ranges:
  Normal   0x00000000 -> 0x00004000
Movable zone start PFN for each node
early_node_map[1] active PFN ranges
    0: 0x00000000 -> 0x00004000
On node 0 totalpages: 16384
free_area_init_node: node 0, pgdat 805ae0c0, node_mem_map 81000000
  Normal zone: 128 pages used for memmap
  Normal zone: 0 pages reserved
  Normal zone: 16256 pages, LIFO batch:3
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
Kernel command line: console=ttyS1,57600n8 root=/dev/ram0 console=ttyS0
PID hash table entries: 256 (order: -2, 1024 bytes)
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
Writing ErrCtl register=0006c0eb
Readback ErrCtl register=0006c0eb
Memory: 54272k/65536k available (4927k kernel code, 11264k reserved, 890k data, 4620k init, 0k highmem)
NR_IRQS:128
console [ttyS1] enabled
Calibrating delay loop... 386.04 BogoMIPS (lpj=772096)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 512
NET: Registered protocol family 16
bio: create slab <bio-0> at 0
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
Switching to clocksource MIPS
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 2048 (order: 2, 16384 bytes)
TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
TCP: Hash tables configured (established 2048 bind 2048)
TCP reno registered
UDP hash table entries: 256 (order: 0, 4096 bytes)
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
NET: Registered protocol family 1
RT3xxx EHCI/OHCI init.
JFFS2 version 2.2 (NAND) (SUMMARY) (ZLIB) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
fuse init (API version 7.15)
msgmni has been set to 106
Block layer SCSI generic (bsg) driver version 0.4 loaded (major 254)
io scheduler noop registered (default)
Ralink gpio driver initialized
led=43, on=5, off=5, blinks,=4000, reset=1, time=4000
led=40, on=4000, off=1, blinks,=1, reset=1, time=4000
Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
serial8250: ttyS0 at MMIO 0x10000500 (irq = 37) is a 16550A
serial8250: ttyS1 at MMIO 0x10000c00 (irq = 12) is a 16550A
brd: module loaded
flash0: started
deice id : c2 20 18 c2 20 (2018c220)
MX25L12805D(c2 2018c220) (16384 Kbytes)
mtd .name = raspi, .size = 0x01000000 (0M) .erasesize = 0x00000010 (0K) .numeraseregions = 65536
Creating 6 MTD partitions on "raspi":
0x000000000000-0x000000030000 : "Bootloader"
0x000000030000-0x000000040000 : "Config"
0x000000040000-0x000000050000 : "Factory"
0x000000050000-0x000000800000 : "KernelA"
0x000000800000-0x000000fb0000 : "KernelB"
0x000000fb0000-0x000001000000 : "User_CFG"
rdm_major = 253
SMACCR1 -- : 0x0000000c
SMACCR0 -- : 0x43762077
Ralink APSoC Ethernet Driver Initilization. v3.0  256 rx/tx descriptors allocated, mtu = 1500!
SMACCR1 -- : 0x0000000c
SMACCR0 -- : 0x43762077
PROC INIT OK!
PPP generic driver version 2.4.2
PPP MPPE Compression module registered
NET: Registered protocol family 24
PPTP driver version 0.8.5
usbcore: registered new interface driver cdc_ether
usbcore: registered new interface driver cdc_subset


=== pAd = c01a5000, size = 807960 ===

 RTMPAllocTxRxRingMemory, Status=0
 RTMPAllocAdapterBlock, Status=0
AP Driver version-2.7.1.2
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
rt3xxx-ehci rt3xxx-ehci: Ralink EHCI Host Controller
rt3xxx-ehci rt3xxx-ehci: new USB bus registered, assigned bus number 1
rt3xxx-ehci rt3xxx-ehci: irq 18, io mem 0x101c0000
rt3xxx-ehci rt3xxx-ehci: USB 0.0 started, EHCI 1.00
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
rt3xxx-ohci rt3xxx-ohci: RT3xxx OHCI Controller
rt3xxx-ohci rt3xxx-ohci: new USB bus registered, assigned bus number 2
rt3xxx-ohci rt3xxx-ohci: irq 18, io mem 0x101c1000
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 1 port detected
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
usbcore: registered new interface driver usbserial
usbserial: USB Serial Driver core
USB Serial support registered for GSM modem (1-port)
usbcore: registered new interface driver option
option: v0.7.2:USB Driver for GSM modems
MTK MSDC device init.
mtk-sd: MediaTek MT6575 MSDC Driver
nf_conntrack version 0.5.0 (848 buckets, 3392 max)
IPVS: Registered protocols ()
IPVS: Connection hash table configured (size=4096, memory=32Kbytes)
IPVS: ipvs loaded.
GRE over IPv4 demultiplexor driver
gre: can't add protocol
ip_tables: (C) 2000-2006 Netfilter Core Team, Type=Restricted Cone
TCP cubic registered
NET: Registered protocol family 10
NET: Registered protocol family 17
L2TP core driver, V2.0
PPPoL2TP kernel driver, V2.0
802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
All bugs added by David S. Miller <davem@redhat.com>
msdc0 -> ops_get_cd return<0> <- msdc_ops_get_cd() : L<2273> PID<kworker/u:1><0x17>
Freeing unused kernel memory: 4620k freed
Algorithmics/MIPS FPU Emulator v1.5
ufsd: module license 'Commercial product' taints kernel.
Disabling lock debugging due to kernel taint
ufsd:: trace mask set to 0000000f
ufsd: driver (lke_8.9.0 lke_8.9.0_r225793_b93, LBD=ON, delalloc, ioctl, ugm, sd(1), wb, tr) loaded at c0355000
NTFS support included
exFAT/TexFAT support included
optimized: speed
Build_for__Kingston_wifi_card_reader_k2.6.36_2013-03-22_lke_8.9.0_r225793_b93

ufsd: exfat can't store dates before Jan 1, 1980. Please update current date
usb 1-1: new high speed USB device using rt3xxx-ehci and address 2
devpts: called with bogus options
hub 1-1:1.0: USB hub found
hub 1-1:1.0: 4 ports detected
usb 1-1.1: new high speed USB device using rt3xxx-ehci and address 3
scsi0 : usb-storage 1-1.1:1.0
scsi 0:0:0:0: Direct-Access     Generic  STORAGE DEVICE   0208 PQ: 0 ANSI: 0
sd 0:0:0:0: Attached scsi generic sg0 type 0
sd 0:0:0:0: [sda] 1003008 512-byte logical blocks: (513 MB/489 MiB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 0b 00 00 08
sd 0:0:0:0: [sda] Assuming drive cache: write through
sd 0:0:0:0: [sda] Assuming drive cache: write through
 sda: sda1
sd 0:0:0:0: [sda] Assuming drive cache: write through
sd 0:0:0:0: [sda] Attached SCSI removable disk
FAT: utf8 is not a recommended IO charset for FAT filesystems, filesystem will be case sensitive!
led=11, on=1, off=4000, blinks,=1, reset=1, time=4000
led=7, on=1, off=4000, blinks,=1, reset=1, time=4000
Raeth v3.0 (Tasklet,SkbRecycle)

phy_tx_ring = 0x0204a000, tx_ring = 0xa204a000

phy_rx_ring0 = 0x0204b000, rx_ring0 = 0xa204b000
SMACCR1 -- : 0x00000026
SMACCR0 -- : 0xb7083d04
CDMA_CSG_CFG = 81000000
GDMA1_FWD_CFG = 20710000
device vlan0001 entered promiscuous mode
device eth2 entered promiscuous mode
br0: port 1(vlan0001) entering learning state
br0: port 1(vlan0001) entering learning state
br0: port 1(vlan0001) entering forwarding state
RX DESC a260c000  size = 2048
RTMP_TimerListAdd: add timer obj c023abb8!
RTMP_TimerListAdd: add timer obj c0206018!
RTMP_TimerListAdd: add timer obj c0205fec!
RTMP_TimerListAdd: add timer obj c0205fc0!
RTMP_TimerListAdd: add timer obj c01ad088!
RTMP_TimerListAdd: add timer obj c01acc7c!
RTMP_TimerListAdd: add timer obj c01ad058!
RTMP_TimerListAdd: add timer obj c01ad400!
RTMP_TimerListAdd: add timer obj c01ad150!
RTMP_TimerListAdd: add timer obj c01ad180!
RTMP_TimerListAdd: add timer obj c01ad340!
RTMP_TimerListAdd: add timer obj c01ad370!
RTMP_TimerListAdd: add timer obj c020841c!
RTMP_TimerListAdd: add timer obj c0208010!
RTMP_TimerListAdd: add timer obj c02083ec!
RTMP_TimerListAdd: add timer obj c0208794!
RTMP_TimerListAdd: add timer obj c02084e4!
RTMP_TimerListAdd: add timer obj c0208514!
RTMP_TimerListAdd: add timer obj c020844c!
RTMP_TimerListAdd: add timer obj c020847c!
RTMP_TimerListAdd: add timer obj c02084ac!
RTMP_TimerListAdd: add timer obj c0211524!
RTMP_TimerListAdd: add timer obj c0211640!
RTMP_TimerListAdd: add timer obj c0211550!
RTMP_TimerListAdd: add timer obj c0208b3c!
RTMP_TimerListAdd: add timer obj c01aa548!
RTMP_TimerListAdd: add timer obj c0208850!
APSDCapable[0]=0
APSDCapable[1]=0
APSDCapable[2]=0
APSDCapable[3]=0
APSDCapable[4]=0
APSDCapable[5]=0
APSDCapable[6]=0
APSDCapable[7]=0
APSDCapable[8]=0
APSDCapable[9]=0
APSDCapable[10]=0
APSDCapable[11]=0
APSDCapable[12]=0
APSDCapable[13]=0
APSDCapable[14]=0
APSDCapable[15]=0
default ApCliAPSDCapable[0]=0
Key1Str is Invalid key length(4) or Type(1)
Key2Str is Invalid key length(4) or Type(1)
Key3Str is Invalid key length(4) or Type(1)
Key4Str is Invalid key length(4) or Type(1)
a4:45:62:41:b5:d2:1c:6d:4f:34:0f:5c:b1:2c:90:59:
9a:d7:d1:48:e8:ae:89:15:91:c8:50:d3:0b:a6:3b:79:

I/F(apcli0) Key1Str is Invalid key length!
1. Phy Mode = 9
2. Phy Mode = 9
E2PROM: D0 target power=0xff20 
E2PROM: 40 MW Power Delta= 0 
3. Phy Mode = 9
RTMP_TimerListAdd: add timer obj c01aa140!
AntCfgInit: primary/secondary ant 0/1
Initialize RF Central Registers for E2 !!!
Initialize RF Central Registers for E3 !!!
Initialize RF Channel Registers for E2 !!!
Initialize RF Channel Registers for E3 !!!
Reduce Power Consumption Support !!!
Initialize RF DCCal Registers for E2 !!!
Initialize RF DCCal Registers for E3 !!!
D1 = 0, D2 = 4, CalCode = 9 !!!
RT6352_Temperature_Init : BBPR49 = 0x0
RT6352_Temperature_Init : TemperatureRef25C = 0xfffffff1
Current Temperature from BBP_R49=0xffffffee
 TX BW Filter Calibration !!!
 RX BW Filter Calibration !!!
LOFT Calibration Done!
IQCalibration Start!
IQCalibration Done! CH = 0, (gain= f, phase=3e)
IQCalibration Start!
IQCalibration Done! CH = 1, (gain= 4, phase=1c)
TX IQ Calibration Done!
RXIQ Sigma_i=0, Sigma_q=0, R_iq=0
RXIQ calibration FAIL
internal ALC is not enabled in NVM !
MCS Set = ff 00 00 00 01
ADC clcok selection for E3 !!!
Apr clock selection !!!
RTMP_TimerListAdd: add timer obj c0208e18!
ADC clcok selection for E3 !!!
Shielding clock selection !!!
Main bssid = 00:26:b7:08:3d:04
== rt28xx_init, Status=0
0x1300 = 00064300
device ra0 entered promiscuous mode
br0: port 2(ra0) entering learning state
br0: port 2(ra0) entering learning state
br0: port 2(ra0) entering forwarding state
vlan0001: no IPv6 routers present
eth2: no IPv6 routers present
br0: no IPv6 routers present
ADC clcok selection for E3 !!!
Shielding clock selection !!!
led=11, on=1, off=4000, blinks,=1, reset=1, time=4000
led=7, on=4000, off=1, blinks,=1, reset=1, time=4000
ADC clcok selection for E3 !!!
Shielding clock selection !!!
ADC clcok selection for E3 !!!
Shielding clock selection !!!
led=43, on=1, off=4000, blinks,=1, reset=1, time=4000
ra0: no IPv6 routers present
ADC clcok selection for E3 !!!
Shielding clock selection !!!
RTMP_TimerListAdd: add timer obj c0250960!
RTMP_TimerListAdd: add timer obj c0250b18!
RTMP_TimerListAdd: add timer obj c02645a4!
ADC clcok selection for E3 !!!
Shielding clock selection !!!
led=43, on=4000, off=1, blinks,=1, reset=1, time=4000
RTMP_TimerListAdd: add timer obj c0251390!
RTMP_TimerListAdd: add timer obj c0251548!
RTMP_TimerListAdd: add timer obj c02645e0!
Rcv Wcid(2) AddBAReq
Start Seq = 00000000
RTMP_TimerListAdd: add timer obj c02663b4!
AP SETKEYS DONE - WPA2, AuthMode(7)=WPA2PSK, WepStatus(6)=AES, GroupWepStatus(4)=TKIP

Rcv Wcid(1) AddBAReq
Start Seq = 00000001
RTMP_TimerListAdd: add timer obj c0266404!
Rcv Wcid(2) AddBAReq
Start Seq = 00000000
RTMP_TimerListAdd: add timer obj c0266454!
RTMP_TimerListAdd: add timer obj c026461c!
RTMP_TimerListAdd: add timer obj c0264658!
Rcv Wcid(1) AddBAReq
Start Seq = 000001da
Rcv Wcid(2) AddBAReq
Start Seq = 00000128
AP SETKEYS DONE - WPA2, AuthMode(7)=WPA2PSK, WepStatus(6)=AES, GroupWepStatus(4)=TKIP

Rcv Wcid(2) AddBAReq
Start Seq = 000001a4
Rcv Wcid(1) AddBAReq
Start Seq = 000001de
# 

(Last edited by klm77 on 20 Dec 2014, 11:10)

I don't have serial access. Anyone found a way to get shell access on the G2 other than serial?  I tried secondplan's fw update loophole over wifi (slightly modified by using a file named 'mlwG2_v;telnetd; .x.x.bin') but that did not work...

** update ** I take that back, secondplan's fwupdate loophole does work. I just did not have the right ip address (192.168.201.254). However I don't know under what login I can connect... I found out about the web app that runs on the device. I guess that solves my problem using it from android 5.

** update 2 ** I should read more carefully, login and ip was provided in secondplan's post... 8-)

(Last edited by simon.stonge on 20 Dec 2014, 19:35)

I do not have a G2 however ...
I will patch for the G2 if someone is willing to be the guinea pig.

ldpinney AT gmail

Before there is a port of OpenWRT, did anyone find a way to make persistent changes to the init script of the G2 to start some additional services on the sdcard?

I ordered a G2 it should be here next week, but my new serial adapter is coming from china so might be longer. Still if you want to post a firmware I can try it once everything comes in.

Cheers!

d.wonderful wrote:

I ordered a G2 it should be here next week, but my new serial adapter is coming from china so might be longer. Still if you want to post a firmware I can try it once everything comes in.

Cheers!

d.wonderful ... No Problem mail me ldpinney AT gmail

Hi,

here is the serial output of the G2:

U-Boot 1.1.3 (Dec 30 2013 - 10:32:24)                       
                                                            
Board: Ralink APSoC DRAM:  64 MB
relocate_code Pointer at: 83fb4000
enable ephy clock...done. rf reg 29 = 5
SSC disabled.
spi_wait_nsec: 29 
spi device id: c2 20 18 c2 20 (2018c220)
find flash: MX25L12805D
raspi_read: from:30000 len:1000 
raspi_read: from:30000 len:1000 
============================================ 
Ralink UBoot Version: 4.1.1.0
-------------------------------------------- 
ASIC 7620_MP (Port5<->None)
DRAM component: 512 Mbits DDR, width 16
DRAM bus: 16 bit
Total memory: 64 MBytes
Flash component: SPI Flash
Date:Dec 30 2013  Time:10:32:24
============================================ 
icache: sets:512, ways:4, linesz:32 ,total:65536
dcache: sets:256, ways:4, linesz:32 ,total:32768 

 ##### The CPU freq = 580 MHZ #### 
 estimate memory size =64 Mbytes

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.
3: System Boot on bootstate=2.
## Booting image at bc800000 ...
raspi_read: from:800000 len:40 
   Image Name:   Linux Kernel Image
   Image Type:   MIPS Linux Kernel Image (lzma compressed)
   Data Size:    6504057 Bytes =  6.2 MB
   Load Address: 80000000
   Entry Point:  8000c310
raspi_read: from:800040 len:633e79 
   Verifying Checksum ... OK
   Uncompressing Kernel Image ... OK
No initrd
## Transferring control to Linux (at address 8000c310) ...
## Giving linux memsize in MB, 64

Starting kernel ...


LINUX started...

 THIS IS ASIC
Linux version 2.6.36+ (root@CVS2) (gcc version 3.4.2) #2 Thu Sep 18 10:05:08 CST 2014

 The CPU feqenuce set to 580 MHz
 PCIE: bypass PCIe DLL.
 PCIE: Elastic buffer control: Addr:0x68 -> 0xB4
 disable all power about PCIe
 PCIE: PLL power down for MT7620N
CPU revision is: 00019650 (MIPS 24Kc)
Determined physical RAM map:
 memory: 04000000 @ 00000000 (usable)
Initrd not found or empty - disabling initrd
Zone PFN ranges:
  Normal   0x00000000 -> 0x00004000
Movable zone start PFN for each node
early_node_map[1] active PFN ranges
    0: 0x00000000 -> 0x00004000
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
Kernel command line: console=ttyS1,57600n8 root=/dev/ram0 console=ttyS0
PID hash table entries: 256 (order: -2, 1024 bytes)
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
Writing ErrCtl register=0001e827
Readback ErrCtl register=0001e827
Memory: 54272k/65536k available (4927k kernel code, 11264k reserved, 890k data, 4620k init, 0k highmem)
NR_IRQS:128
console [ttyS1] enabled
Calibrating delay loop... 386.04 BogoMIPS (lpj=772096)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 512
NET: Registered protocol family 16
bio: create slab <bio-0> at 0
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
Switching to clocksource MIPS
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 2048 (order: 2, 16384 bytes)
TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
TCP: Hash tables configured (established 2048 bind 2048)
TCP reno registered
UDP hash table entries: 256 (order: 0, 4096 bytes)
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
NET: Registered protocol family 1
RT3xxx EHCI/OHCI init.
JFFS2 version 2.2 (NAND) (SUMMARY) (ZLIB) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
fuse init (API version 7.15)
msgmni has been set to 106
Block layer SCSI generic (bsg) driver version 0.4 loaded (major 254)
io scheduler noop registered (default)
Ralink gpio driver initialized
led=43, on=5, off=5, blinks,=4000, reset=1, time=4000
led=40, on=4000, off=1, blinks,=1, reset=1, time=4000
Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
serial8250: ttyS0 at MMIO 0x10000500 (irq = 37) is a 16550A
serial8250: ttyS1 at MMIO 0x10000c00 (irq = 12) is a 16550A
brd: module loaded
flash0: started
deice id : c2 20 18 c2 20 (2018c220)
MX25L12805D(c2 2018c220) (16384 Kbytes)
mtd .name = raspi, .size = 0x01000000 (0M) .erasesize = 0x00000010 (0K) .numeraseregions = 65536
Creating 6 MTD partitions on "raspi":
0x000000000000-0x000000030000 : "Bootloader"
0x000000030000-0x000000040000 : "Config"
0x000000040000-0x000000050000 : "Factory"
0x000000050000-0x000000800000 : "KernelA"
0x000000800000-0x000000fb0000 : "KernelB"
0x000000fb0000-0x000001000000 : "User_CFG"
rdm_major = 253
SMACCR1 -- : 0x0000000c
SMACCR0 -- : 0x43762077
Ralink APSoC Ethernet Driver Initilization. v3.0  256 rx/tx descriptors allocated, mtu = 1500!
SMACCR1 -- : 0x0000000c
SMACCR0 -- : 0x43762077
PROC INIT OK!
PPP generic driver version 2.4.2
PPP MPPE Compression module registered
NET: Registered protocol family 24
PPTP driver version 0.8.5
usbcore: registered new interface driver cdc_ether
usbcore: registered new interface driver cdc_subset


=== pAd = c01a5000, size = 807960 ===

<-- RTMPAllocTxRxRingMemory, Status=0
<-- RTMPAllocAdapterBlock, Status=0
AP Driver version-2.7.1.2
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
rt3xxx-ehci rt3xxx-ehci: Ralink EHCI Host Controller
rt3xxx-ehci rt3xxx-ehci: new USB bus registered, assigned bus number 1
rt3xxx-ehci rt3xxx-ehci: irq 18, io mem 0x101c0000
rt3xxx-ehci rt3xxx-ehci: USB 0.0 started, EHCI 1.00
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
rt3xxx-ohci rt3xxx-ohci: RT3xxx OHCI Controller
rt3xxx-ohci rt3xxx-ohci: new USB bus registered, assigned bus number 2
rt3xxx-ohci rt3xxx-ohci: irq 18, io mem 0x101c1000
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 1 port detected
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
usbcore: registered new interface driver usbserial
usbserial: USB Serial Driver core
USB Serial support registered for GSM modem (1-port)
usbcore: registered new interface driver option
option: v0.7.2:USB Driver for GSM modems
MTK MSDC device init.
mtk-sd: MediaTek MT6575 MSDC Driver
nf_conntrack version 0.5.0 (848 buckets, 3392 max)
IPVS: Registered protocols ()
IPVS: Connection hash table configured (size=4096, memory=32Kbytes)
IPVS: ipvs loaded.
GRE over IPv4 demultiplexor driver
gre: can't add protocol
ip_tables: (C) 2000-2006 Netfilter Core Team, Type=Restricted Cone
TCP cubic registered
NET: Registered protocol family 10
NET: Registered protocol family 17
L2TP core driver, V2.0
PPPoL2TP kernel driver, V2.0
802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
All bugs added by David S. Miller <davem@redhat.com>
msdc0 -> ops_get_cd return<0> <- msdc_ops_get_cd() : L<2273> PID<kworker/u:1><0x17>
Freeing unused kernel memory: 4620k freed
init started: BusyBox v1.12.1 (2014Algorithmics/MIPS FPU Emulator v1.5
-09-18 09:46:08 CST)
starting pid 32, tty '': '/etc_ro/rcS'
ufsd: module license 'Commercial product' taints kernel.
Disabling lock debugging due to kernel taint
ufsd:: trace mask set to 0000000f
ufsd: driver (lke_8.9.0 lke_8.9.0_r225793_b93, LBD=ON, delalloc, ioctl, ugm, sd(1), wb, tr) loaded at c0355000
NTFS support included
exFAT/TexFAT support included
optimized: speed
Build_for__Kingston_wifi_card_reader_k2.6.36_2013-03-22_lke_8.9.0_r225793_b93

ufsd: exfat can't store dates before Jan 1, 1980. Please update current date
usb 1-1: new high speed USB device using rt3xxx-ehci and address 2
devpts: called with bogus options
hub 1-1:1.0: USB hub found
hub 1-1:1.0: 4 ports detected
Welcome to
    _______  _______  ___     __  ____   _  _   ___
    |  ___  \|   __  ||   |   |__||    \ | || | /  /
    | |___| ||  |__| ||   |__  __ |     \| || |/  /
    |   _   /|   _   ||      ||  || |\     ||     \
    |__| \__\|__| |__||______||__||_| \____||_|\___\

                     =System Architecture Department=

[check_jffs]80 : JFFS_OK
led=11, on=1, off=4000, blinks,=1, reset=1, time=4000
semget err:: No such led=7, on=1, off=4000, blinks,=1, reset=1, time=4000
file or directory
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
nvram_init: INFO=>nvram MAC initialized successfully!
==>shm_init()!!
check_shm_hash: Check shm hash value
nvram_init: INFO=>nvram conf initialized successfully!
nvram_init: INFO=> RAM CONF successful created!
nvram_init: INFO=> RC.CONF successful created!
/etc_ro/rcS: /tmp/rc.conf: line 1132: 3g_enabled=1: not found
/etc_ro/rcS: /tmp/rc.conf: line 1133: 3g_user=: not found
/etc_ro/rcS: /tmp/rc.conf: line 1134: 3g_pass=: not found
/etc_ro/rcS: /tmp/rc.conf: line 1135: 3g_apn=: not found
/etc_ro/rcS: /tmp/rc.conf: line 1136: 3g_pin=: not found
/etc_ro/rcS: /tmp/rc.conf: line 1137: 3g_dial=: not found
/etc_ro/rcS: /tmp/rc.conf: line 1164: 3g_wan=0: not found
/etc_ro/rcS: /tmp/rc.conf: line 1169: 3g_wan_eth0=0: not found
/etc_ro/rcS: /tmp/rc.conf: line 1170: 3g_wan_usb0=0: not found
---------------- Get WLAN MAC xx:xx:xx:xx:xx:xx---------------
switch reg write offset=94, value=1000
switch reg write offset=2004, value=ff0003
switch reg write offset=2104, value=ff0003
switch reg write offset=2204, value=ff0003
switch reg write offset=2304, value=ff0003
switch reg write offset=2404, value=ff0003
switch reg write offset=2504, value=ff0003
switch reg write offset=2010, value=810000c0
switch reg write offset=2110, value=810000c0
switch reg write offset=2210, value=810000c0
switch reg write offset=2310, value=810000c0
switch reg write offset=2410, value=810000c0
switch reg write offset=2510, value=810000c0
switch reg write offset=2610, value=81000000
switch reg write offset=2710, value=81000000
switch reg write offset=2604, value=20ff0003
switch reg write offset=2704, value=20ff0003
Special Tag Disabled
switch reg write offset=2610, value=81000000
switch reg write offset=2014, value=10001
switch reg write offset=2114, value=10001
switch reg write offset=2214, value=10001
switch reg write offset=2314, value=10001
switch reg write offset=2414, value=10002
switch reg write offset=2514, value=10001
REG_ERaeth v3.0 (SWTasklet_W,SkbRecycleT_)
MAC_A
phy_tx_ring = 0x02009000, tx_ring = 0xa2009000

phy_rx_ring0 = 0x0200a000, rx_ring0 = 0xa200a000
SMACCR1 -- : 0x00000026
SMACCR0 -- : 0xb7084a56
TC CDMA_CSG_CFG = 81000000
isGDMA1_FWD_CFG = 20710000
 0x7ff0002
done.
switch reg write offset=2114, value=10002
switch reg write offset=2414, value=10001
device vlan0001 entered promiscuous mode
device eth2 entered promiscuous mode
input_access=[3]
echo 3 > /proc/lan_wlan_access_controller
sh: can't create /proc/lan_wlan_access_contrbr0: port 1(vlan0001) entering learning state
olbr0: port 1(vlan0001) entering learning state
ler: nonexistent directory
Fri Jan  1 00:00:00 GMT 2010
/etc_ro/rcS: line 138: wd_keepalive: not found
iptables: No chain/target/match by that name.
iptables: No chain/target/match by that name.
iptables: No chain/target/match by that name.
iptables: No chain/target/match by that name.
Using intrapositioned negation (`--option ! this`) is deprecated in favor of extrapositioned (`! --option this`).
Using intrapositioned negation (`--option ! this`) is deprecated in favor of extrapositioned (`! --option this`).
iptables v1.4.10: 
The "nat" table is not intended for filtering, the use of DROP is therefore inhibited.


Try `iptables -h' or 'iptables --help' for more information.
ifconfig: ioctl 0x8913 failed: No such device
interface ra2 does not exist!
ifconfig: ioctl 0x8913 failed: No such device
interface ra2 does not exist!
[Enter Test] in wlan_led_ctrl.c main()
.killall: ap_client_run: no process killed
insmod: ipv6passthru.ko: module not found
/usr/shell/dnsmasq.sh stop ok
dnsmasq: read /etc/hosts - 2 addresses
dnsmasq: read /etc/hosts - 2 addresses
dnsmasq: [truncated] m
/usr/shell/dnsmasq.sh start ok
sh: /usr/sbin/miniupnpd: not found
/usr/shell/udhcpd.sh config ok
/usr/shell/udhcpd.sh start ok

***** g_wl_interface = ra0 ******

MAX_NUM_SESSIONS : 5; NUM_SEES: 64 
ls: /dev/sd*: No such file or directory
aa
new GPIO mode
killall: wifidetect: no process killed


===wifidetect start===

killall: udhcpc.sh: no process killed
/etc_ro/rcS: line 248: /usr/local/apache2/bin/htpasswd: not found
Get_bootstate_to_nvram : 
Reading 4096 bytes......success
Uboot CRC is FBF9AD59, Uboot env CRC is FBF9AD59
Start Shutdown time control.
killall: udhcpc: no process killed
Reading 65536 bytes......success
Get_bootstate_to_nvram : bootstate is [2]
killall: DMS: no process killed
ls: /media/*/mlw5200fw_v*.*.*.bin: No such file or directory
killall: smbd: no process killed
killall: nmbd: no process killed
kill samba server firsthello, samba!
startsmbfilepwent_internal: file /tmp/samba/private/smbpasswd did not exist. File successfully created.
User guest password set to none.
main(205) :: 
DMS_Create()
DLNA DMS: UUID=[aaab4c54-ea1b-1885-b390-0026b7084a56]
ls: /media/*/mlwG2_v*.*.*.bin: No such file or directory
IP Address List: 192.168.201.254
Wlan restart service...
ls: /media/*/gemtek_easytest.txt: No such file or directory
starting pid 8279, tty '/dev/ttyS1': '/bin/sh'


BusyBox v1.12.1 (2014-09-18 09:46:08 CST) built-in shell (ash)
Enter 'help' for a list of built-in commands.

# killall: ap_client_run: no process killed
Interface doesn't accept private ioctl...
set (8BE2): Network is down
Interface doesn't accept private ioctl...
set (8BE2): Network is down
ifconfig: ioctl 0x8913 failed: No such device
interface ra2 does not exist!
killall: wscd: no process killed
killall: ap_client_run: no process killed
ra1       no private ioctls.

ra2       no private ioctls.

Ive had a chance to try using this 'in the field' and unfortunately it failed straight away!

It turns out that theres an issue with using wpa_supplicant in a repeater situation - if it cant associate it ties up the wireless interface so that hostapd cant use it. Not so much of a drama if you've got a wired interface to use but on the mobilelite it effectively bricks the thing. Ive ended up getting another usb>ttl cable locally and fixing the config by hand but it there should be a better way of doing it.

I came across this thread: https://forum.openwrt.org/viewtopic.php … 25#p188725 which has a work around if the device has a spare button, but I dont think we can catch the reset button can we?

Another idea might be to have a script watch to see if the client wifi interface is up, and turn off the radio if it hasnt come up in 1 minute or something..

Any other ideas?

jumphog

Did you try a "FACTORY RESET" ?

With the router running hold the reset button for about ten seconds....then release.
It should reboot with the OpenWrt default settings.

I may have done, but the defaults have the wireless turned off so not sure if it was stuck on wpasupplicant or no wireless. Its going again now, but I think a watchdog script is in order for sure. It would be ideal to get some more useful defaults for the factory settings, does that mean rebuiling the whole image?

jumphog wrote:

I may have done, but the defaults have the wireless turned off so not sure if it was stuck on wpasupplicant or no wireless. Its going again now, but I think a watchdog script is in order for sure. It would be ideal to get some more useful defaults for the factory settings, does that mean rebuiling the whole image?

Unfortunately it does. The "all or nothing" nature of the wifi associations on a single radio drove me to buy a separate USB wifi device to act as the WAN. Works like a charm.

If you build your own firmware.

You can place a 'wireless' file in
'target/linux/ramips/base-files/etc/config'

Example :

config wifi-device  radio0
        option type     mac80211
        option channel  11
        option hwmode   11g
        option path     '10180000.wmac'
        option htmode   HT20

config wifi-iface
        option device   radio0
        option network  lan
        option mode     ap
        option ssid     OpenWrt
        option encryption none

Well that was a learning experience, but Ive built myself an image from source! So far its only got a default config with the wireless on (as ldpinney posted above), but that means its at least possible to factory reset and not have a brick. Next thing will be a little watchdog script, which will definitely be useful as wpasupplicant does like to hog the radio.

Having just done a load of firmware flashes, it would be really good to get reset/power control working as it just hangs at the moment, dont really know where to start on this though.

New Forum Topic for the Kingston Mobilelite G2

https://forum.openwrt.org/viewtopic.php?id=55077

Please use the new Thread for anything related to the G2

Thanks !

(Last edited by ldpinney on 15 Jan 2015, 22:59)

You're doing a great work here, really impressed.

I was updating my Mobilelite 1st gen to the latest official firmware before starting to work with openwrt, but the updating process stopped with a problem. Now the device is stuck with green and blue bridge light on, no wireless signal and no way to access it.

Any idea on how to restore it? Can't find any info around..

Thanks a lot!

If you can't find anyway to access the device via WIFI.
Open it and access the serial port.
From there you should be able to get your device working again smile

So no other way than serial port?
Any reset button trick?

Is there a way to open it without voiding the warranty ? It's brand new...

I'm assuming you used the Factory Upgrade process ?
http://www.kingston.com/us/support/tech … e=mlwfw_v1
You could try that again with an older version.
I have versions 1.1.3.4 and 1.1.4.2 that I can send you if needed.

Other than I'd open it...but I normally void my warranties within minutes of delivery smile
Sorry but I don't know any "tricks" that might help in this case.

Install OpenWrt on your MLW221 (G1) using a USB stick or SDcard.

This has been tested on my device.....
As Always.... Use at your own Peril! .... No Warranty!

These Images use the Factory Upgrade Process described here :
http://www.kingston.com/us/support/tech … e=mlwfw_v1

USB/SDcard Factory to OpenWrt and OpenWrt to Factory Images.
https://drive.google.com/file/d/0B0CKgl … 25rczhZc00

The OpenWrt Image has NO Password set!  It has luci installed and the WiFi is set to "OpenWrt" and is ENABLED by default.

(Last edited by ldpinney on 8 Mar 2015, 16:56)

any instructions to revert the MLWG2 to stock? having a hard time with it.

laird.bedore wrote:
jumphog wrote:

I may have done, but the defaults have the wireless turned off so not sure if it was stuck on wpasupplicant or no wireless. Its going again now, but I think a watchdog script is in order for sure. It would be ideal to get some more useful defaults for the factory settings, does that mean rebuiling the whole image?

Unfortunately it does. The "all or nothing" nature of the wifi associations on a single radio drove me to buy a separate USB wifi device to act as the WAN. Works like a charm.

above laird.bedore mention separate USB WLAN device -- which device is it actually ( which usb wlan chips are supported ) ?

many thanks of comments in advance

Many USB WiFi Devices are supported.
Can be "built-in" or loaded as a package.

Search for "openwrt usb wifi"