OpenWrt Forum Archive

Topic: Arcadyan WG7012E22 (Vodafone R101)

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

i bought a Vodadone R101 and i would be interessting to use it with openwrt.

http://www.tegger.de/R101/2014-02-06%2010.39.53.jpg
http://www.tegger.de/R101/2014-02-06%2010.40.40.jpg
http://www.tegger.de/R101/2014-02-07%2016.57.04.jpg

with this pinout

http://www.tegger.de/R101/ports%20R101.png

and i got

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

3G Wireless Router WG7012E22-LF-IR Loader v0.07 build Aug  9 2010 14:52:18

                    Arcadyan Technology Corporation

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


MX25L3205D


Copying boot params.....DONE


Press Space Bar 3 times to enter command mode ...

Flash Checking

 Passed.


Unzipping firmware at 0x80002000 ... [ZIP 3] [ZIP 1]  done

In c_entry() function ...

CPU : RT3052  Chip V1.3, CPU Speed 384 MHz, 

Interrups Status 00000000

install_exception 

Co config = 80010483

sys_irq_init ...

##### _ftext      = 0x80002000

##### _fdata      = 0x803231A0

##### __bss_start = 0x803AF590

##### end         = 0x81B90F54

allocate_memory_after_end> len 574448, ptr 0x81b98f60

##### Backup Data from 0x803231A0 to 0x81B98F54~0x81C25344 len 574448

##### Backup Data completed

##### Backup Data verified

enter start_ralink_timer - 2

IrqConnect : IRQ = 7, Handler = 0x801853A4

IrqEnable : IRQ = 7

[INIT] System Log Pool startup ...

[INIT] MTinitialize ..

[INIT] usrclk

CPU Clock 384000000 Hz

mips_counter_frequency:192000000

r4k_offset: 0x0002ee00(192000)

init_US_counter : time1 = 299969 , time2 = 40300009, diff 40000040

US_counter = 81

 cnt1 41404273 cnt2 41406378, diff 2105

mips_int_enable: 5

mips_int_enable 1: s = 8401

mips_int_enable 2: s = 8401

mips_int_enable 3: s = 0

Runtime code version: 1.03.09

System startup...

[INIT] Memory COLOR 0, 2624000 bytes ..

[INIT] Memory COLOR 1, 262144 bytes ..

[INIT] Memory COLOR 2, 1644000 bytes ..

debug retVar= 1

Set flash memory layout to Boot Parameters found !!!

Bootcode version: v0.07

Serial number: R143237698

Hardware version: 01

[BUILD:PIN] PIN:R143237698, MAC:743170679342

[BUILD-PIN]: PIN:59927570, len=8



nLen:98, Magic:0xffffffff

!![E-CFG-READ]2 Configuration data reading error!!

!![E-CFG-READ]2 Adapting factory defaults!!

[CONFIG] load_config ret=0

!!No configuration file present!!

[updateConfig] flash version:[], [0.0.0.100]

[updateConfig] code version:[1.03.09], [1.3.9.100]

!!! Invalid wireless channel range 0 ~ 0

!!! Use default value 1 ~ 13

default route: 0.0.0.0

sizeof(g_langlist)=116, LANG_ID_SIZE=29

sizeof(g_lang_buffer)=976

BufferInit:

BUF_HDR_SZ=128 BUF_ALIGN_SZ=0 BUFFER_OFFSET=352

BUF_BUFSZ0=544 BUF_BUFSZ1=4320

NUM_OF_B0=0 NUM_OF_B1=1400

BUF_POOL0_SZ=0 BUF_POOL1_SZ=6227200

sizeof(BUFFER0)=672,sizeof(BUFFER1)=4448

*BUF0=0x810b8404 *BUF1=0x80ac7ee4

Altgn *BUF0=0x810b8420 *BUF1=0x80ac7f00

End at BUF0:0x810b8420, BUF1:0x810b8400


BUF0[0]=0x810b8420 BUF1[0]=0x80ac7f00


buffer0 pointer init OK!

buffer1 pointer init OK!

gConfig.Interface[0].IP_Addr = 127.0.0.1

gConfig.Interface[0].Subnet_Mask = 255.255.255.255

time = 08/01/2003, 00:00:00

Interface 0 ip = 127.0.0.1


gConfig.Interface[1].IP_Addr = 192.168.0.1

gConfig.Interface[1].Subnet_Mask = 255.255.255.0

need to reset Ethernet switch????

GDMA1_MAC_ADRH -- : 0x00007431

GDMA1_MAC_ADRL -- : 0x70679342

RA2880 Ethernet Driver Initilization. v1.60  256 rx/tx descriptors allocated.

NAPI enable, Tx Ring = 256, Rx Ring = 256

phy_tx_ring = 0x003b0a40, tx_ring = 0xFFFFFFFFA03B0A40, size: 16 bytes


phy_rx_ring = 0x003b1a40, rx_ring = 0xFFFFFFFFA03B1A40, size: 16 bytes

GDMA1_FWD_CFG = 10000

IrqConnect : IRQ = 3, Handler = 0x8000ADC8

IrqEnable : IRQ = 3

mips_int_enable: 3

mips_int_enable 1: s = 8400

mips_int_enable 2: s = a400

mips_int_enable 3: s = 0

MAC Address: 74:31:70:67:93:42

time = 08/01/2003, 00:00:00

Interface 1 ip = 192.168.0.1


gConfig.Interface[2].IP_Addr = 192.168.0.1

gConfig.Interface[2].Subnet_Mask = 255.255.255.0

hwlan_init(384): [HWLAN] ifno=2 irno=7 port=0x00000000

2860 version : 1.9.0.0 (Sep  9 2011)

RTMP_ADAPTER_mem : 804f98e8, sizeof(RTMP_ADAPTER) 391608



=== pAd = 804F98E8, size = 391608 ===


time = 08/01/2003, 00:00:00

Interface 2 ip = 192.168.0.1


gConfig.Interface[8].IP_Addr = 0.0.0.0

gConfig.Interface[8].Subnet_Mask = 0.0.0.0

pppInit> set (PPPShutdownRequest[ifno] = 0)

if_umts_init() WAN interface 8, UMTS-COM1: baudrate=115200 

if_umts_init() MAC:74:31:70:67:93:43

RUNTASK id=1 umtsEventHandleTsk...

umtsReceQueueInit() Host controller disable, bypass queue init...

RUNTASK id=2 umtsReceQueueTsk...

RUNTASK id=3 umtsReceTsk...

RUNTASK id=4 umtsWritTsk...

Interface 8 ip = 0.0.0.0


ruleCheck()> Group: 0,  Error: Useless rule index will be truncated

ruleCheck()> Group: 1,  Error: Useless rule index will be truncated

ruleCheck()> Group: 2,  Error: Useless rule index will be truncated

CBAC rule format check succeed !!

reqCBACBuf()> init match pool, Have: 1000

Memory Address: 0xffffffff81b400d8 ~ 0xffffffff81b46e54

reqCBACBuf()> init timeGap pool, Have: 10000

Memory Address: 0xffffffff81b46e54 ~ 0xffffffff81b77ba8

reqCBACBuf()> init sameHost pool, Have: 2000

Memory Address: 0xffffffff81b77ba8 ~ 0xffffffff81b875c8

CBAC rule pool initialized !!

[init_if] local_if_mask=0x7

[init_if] local_wiredif_mask=0x2

[init_if] local_wirelessif_mask=0x4

[init_if] localorVPN_if_mask=0x7

Init NAT data structure

RUNTASK id=5 if_task if0...

RUNTASK id=6 if_task if1...

RUNTASK id=7 if_task if2...

RUNTASK id=8 if_task if8...

RUNTASK id=9 timer_task...

RUNTASK id=10 conn_mgr...

RUNTASK id=11 main_8021x...

RUNTASK id=12 main_lltd...

Build Day = Sep  9 2011

[VFS_init] Start...

[VFS_init] vfsState:1

vfs_codepage_init() TimeZone:22, vfs_cp_idx:22, vfs_cp_ID:1

fat_codePageInit() TimeZone:22, codePage:Unknown, cPID:1, cpSize:256, toUpSize:0

ntfs_codepage timezone:22, lan= 0

ntfs_codePageInit() TimeZone:22, codePage:1

==[vfs_register_filesystem]============================

list size:7,  Method:0x80326a68

  1) Type:0x01, Name:FAT12

  2) Type:0x04, Name:FAT16

  3) Type:0x06, Name:FAT16

  4) Type:0x0b, Name:FAT32

  5) Type:0x0c, Name:FAT32

  6) Type:0x0e, Name:FAT16

  7) Type:0x81, Name:Minix

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

[VFS_init] FAT init OK

==[vfs_register_filesystem]============================

list size:1,  Method:0x80327624

  1) Type:0x07, Name:NTFS/HPFS

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

[VFS_init] NTFS init OK

[VFS_init]-[vfs_mount_root] Start...

[VFS_init]-[vfs_mount_root] Init <root> OK...

[VFS_init]-[vfs_mount_root] Init <dev> OK...

[VFS_init]-[vfs_mount_root] Init <mnt> OK...

[0-START]=========================================

  Node 000,  DIR, MountFlag:0x00

[0-END]===========================================

  [1-START]=========================================

    Node 001,  DIR, MountFlag:0x00

  [1-END]===========================================

  [1-START]=========================================

    Node 002,  DIR, MountFlag:0x00

  [1-END]===========================================

dump_inode() freeCnt:77, usedCnt:3

[USB] UsbSPoolArray: 81889A58H ~ 819BEC57, UsbSPool:81889A60

[USB] UsbMPoolArray: 81668618H ~ 81889737, UsbMPool:81668620

[USB] UsbLPoolArray: 819C2178H ~ 81B00D97, UsbLPool:819C2180

[USB] Small  Un-Cached Memory(7193): 81889A60 ~ 819BEB8F

[USB] Medium Un-Cached Memory(135): 81668620 ~ 818856FF

[USB] Large  Un-Cached Memory(74): 819C2180 ~ 81AFC97F

setUsbPciInfo() cpu_to_usb_addr_shift[5]:0x00000000, usb_to_cpu_addr_shift[5]:0x00000000

usb_pci_probe() Found Synopsis OTG, baseAddr:0xb01c0000, IRQ:24

usb_hcd_init() probe PCI function:1 !!

usb_host_power_set() isOn:1

usb_host_power_set() Previous power off:0, current time:0

usb_host_power_set(1) min time delay:6000, current delay:0

usb_host_power_set() Need delay:6500 **********

usb_host_power_set(2) min time delay:6000, current delay:0

usb_hcd_init() func(0):0

usb_hcd_init() func(1):0

usb_hcd_init() func(2):0

usb_hcd_init() func(3):0

usb_hcd_init() func(4):0

usb_hcd_init() func(5):1

localhc_init() install otg driver(host_drv = 0x8038E044, otg_driver=0x8038E044).

usb_hcd_init() func(6):0

usb_hcd_init(): succ.

RUNTASK id=14 period_task...

[Dhcpd_Start]

RUNTASK id=15 dhcp_daemon...

RUNTASK id=16 dhcp_clt...on interface 3

[get_web_address] Web-0:  addr:0xbfd40400, len:459943, type:10

[get_web_address] Web-1:  addr:0xbfdb0c00, len:112467, type:11

[get_web_address] Web-2:  addr:0xbfdcc400, len:117586, type:12

[get_web_address] Web-3:  addr:0xbfde9000, len:108776, type:13

getUnZipFileLength: [ZIP 3]

getUnZipFileLength: [ZIP 1]

Unzipping from 81342718 to 81E4CA00 ... [ZIP 3] [ZIP 2] allocate_memory_after_end> len 81516, ptr 0x81c25360

done

Uncompressed size = 1782472

httpd_unzip_image> enter, driver_idx=1, file_tag=11, lang_id=1

httpd_unzip_image> code end:81c25344

httpd_unzip_image> aux_pfs_image_addr[1]=81e2ea00

httpd_unzip_image> aux_pfs_image_addr[2]=81e10a00

httpd_unzip_image> aux_pfs_image_addr[3]=81df2a00

httpd_unzip_image> aux_pfs_image_addr[4]=81dd4a00

httpd_unzip_image> aux_pfs_image_addr[5]=81db6a00

Free memory: 1605 KB

[get_web_address] Web-0:  addr:0xbfd40400, len:459943, type:10

[get_web_address] Web-1:  addr:0xbfdb0c00, len:112467, type:11

[get_web_address] Web-2:  addr:0xbfdcc400, len:117586, type:12

[get_web_address] Web-3:  addr:0xbfde9000, len:108776, type:13

getUnZipFileLength: [ZIP 3]

getUnZipFileLength: [ZIP 1]

httpd_unzip_image> pfs image found at ffffffff812ed9c4, size is 686769 bytes

notify_upgrade_start, 0

Unzipping from 812ED9C4 to 81309118 ... [ZIP 3] [ZIP 2] done

Uncompressed size = 686769

httpd_unzip_image> unzip from ffffffff812ed9c4 to ffffffff81309118(tftp_buffer)

FS_clean> drive=1

FS_clean> drive=6

notify_upgrade_finish

RUNTASK httpd...

RUNTASK id=19 dnsproxy...

startNBIOSTask()...

RUNTASK id=20 nbios_main...

RUNTASK id=21 dhcpd_mgmt_task...

UPnP is enabled

UPNP Device initialize success! slot=22

gConfig.WSC_Mode:1

RUNTASK id=23 wscmain...

RUNTASK id=24 wsc_Send_eap_packet...

RUNTASK id=25 wsc_Send_UPNP_packet...

RUNTASK id=26 WSC_WaitUserAction_Task...

gConfig.WSC_Mode:1

UART RX Input

Starting Multitask...

run_project_task

RUNTASK id=27 apAppInit...

start http redir.

RUNTASK id=28 hr_daemon...

RUNTASK id=29 hr_misc_daemon...

xSpeedtsk priority is 80

[main_8021x] start to delay.

init psock cnt=1

Atheros_NetTask running ...

RUNTASK id=32 Atheros_NetTask ...

IrqConnect : IRQ = 4, Handler = 0x80089420

IrqEnable : IRQ = 4

mips_int_enable: 4

mips_int_enable 1: s = a400

mips_int_enable 2: s = e400

mips_int_enable 3: s = 0

rt2860_open : should call request_irq ????????????????????????

RX DESC A03BBE40  size = 2048

sizeof(RT2860AP_DAT) : 1314

c: SSID=RT2860AP

Channel=0

1. Phy Mode = 9

2. Phy Mode = 9

sould check E2PROM MAC ?????????????????

3. Phy Mode = 9

MCS Set = ff ff 00 00 00

 ch9 bssid=00:11:6b:54:46:04

 ch9 bssid=24:65:11:e3:fa:f3

 ch6 bssid=00:1a:4f:9b:0a:e3

 ch6 bssid=f0:7d:68:85:b1:6c

 ch4 bssid=00:1a:4f:93:df:81

 ch2 bssid=82:c7:a6:2b:ab:38

 ch1 bssid=00:24:fe:08:b2:2a

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

Channel 14 : total RSSI = 0, max RSSI = 0, Dirty = 0, False CCA = 23

Channel 13 : total RSSI = 0, max RSSI = 0, Dirty = 8, False CCA = 13

Channel 12 : total RSSI = 0, max RSSI = 0, Dirty = 16, False CCA = 52

Channel 11 : total RSSI = 0, max RSSI = 0, Dirty = 24, False CCA = 586

Channel 10 : total RSSI = 0, max RSSI = 0, Dirty = 40, False CCA = 205

Channel 9 : total RSSI = 376, max RSSI = 200, Dirty = 116, False CCA = 32

Channel 8 : total RSSI = 0, max RSSI = 0, Dirty = 60, False CCA = 288

Channel 7 : total RSSI = 0, max RSSI = 0, Dirty = 64, False CCA = 137

Channel 6 : total RSSI = 395, max RSSI = 219, Dirty = 132, False CCA = 6

Channel 5 : total RSSI = 0, max RSSI = 0, Dirty = 68, False CCA = 42

Channel 4 : total RSSI = 178, max RSSI = 178, Dirty = 94, False CCA = 7

Channel 3 : total RSSI = 0, max RSSI = 0, Dirty = 60, False CCA = 48

Channel 2 : total RSSI = 172, max RSSI = 172, Dirty = 86, False CCA = 153

Channel 1 : total RSSI = 176, max RSSI = 176, Dirty = 74, False CCA = 17

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

Rule 1 ==> Select Channel 13

ApAutoSelectChannel pick up ch#13

pAd->CommonCfg.Channel = 13

Main bssid = 74:31:70:67:93:42

should Set up the Mac address ?????????

0x1300 = 00064380

[HWLAN] Ready

[dhcp_clt] close DHCP Clinet task, no interface needs dhcp client

********** upnp_main() Unsupportted UPnP root device:0

upnp_main(1-0) Run-up UPnP device IGD...

*********************************************

****Wi-Fi Simple Config Application***** 

Version: Build 2.02.2.DTM1.1, Sep  9 2011 10:15:14

*********************************************

Entered udp_read

wsc_Send_UPNP_packet> enter

wsc_Send_eap_packet:udpFdupnp_wcn:37;;udpFdupnp:39

hr_daemon> port 32769.

[HWLAN] [33] rapi_tmr_task running 

[USB] dwc3884_start() Core id:0, funcIdx:5

[USB] dwc3884_start() DWC3884 core version:0x4F54266A, 2.66a, channel:4

[USB] dwc3884_start() intsts:0xB01C0014, var:0x14000029

[23]pthread_create: RUNTASK ID=16

upnp_Init(0) upnpGlobalInit[1]:0

SSDP Initialization completed...

GenaInit : event_hook is NULL!!


>> Parse Service 'urn:schemas-microsoft-com:service:OSInfo:1' : TRUE

>> Parse Service 'urn:schemas-upnp-org:service:Layer3Forwarding:1' : TRUE

>> Parse Service 'urn:schemas-upnp-org:service:WANCommonInterfaceConfig:1' : TRUE

>> Parse Service 'urn:schemas-upnp-org:service:WANEthernetLinkConfig:1' : TRUE

>> Parse Service 'urn:schemas-upnp-org:service:WANPPPConnection:1' : TRUE

>> Parse Service 'urn:schemas-upnp-org:service:WANIPConnection:1' : TRUE

>> Parse Device 'urn:schemas-upnp-org:device:WANConnectionDevice:1' : TRUE

>> Parse Device 'urn:schemas-upnp-org:device:WANDevice:1' : TRUE

>> Parse Device 'urn:schemas-upnp-org:device:InternetGatewayDevice:1' : TRUE

********** upnp_main1() Record pDevRoot[1]:80aa5bd0


>>>> UPNP init successfully ...

********** upnp_main() Unsupportted UPnP root device:2

upnp_main(3-0) Run-up UPnP device WPS-WCN...

upnp_Init(0) upnpGlobalInit[3]:0


>> Parse Service 'urn:schemas-wifialliance-org:service:WFAWLANConfig:1' : TRUE

>> Parse Device 'urn:schemas-wifialliance-org:device:WFADevice:1' : TRUE

********** upnp_main1() Record pDevRoot[3]:80a7b76c


>>>> UPNP init successfully ...

upnp_main(4-0) Run-up UPnP device AV Media Server...



>>>>>> usbd_new_device: adding unit bus:1, addr=1, rev=0200, class=9, subclass=0, protocol=1, maxpacket=64, len=18, speed=3


usbd_open_pipe_intr: addr:1, ep address=0x81 flags=0x4 len=1

usbd_open_pipe_intr: ipipe=819BFF00 repeat=0 xfer=A17A9020

usbd_probe_and_attach,probe 1!

startExplore() usb explore task run-up, slot:0, tsk_id:35, reason:0

usb_hc_install_interrupt() Install OTG-1 interrupt 24

IrqConnect : IRQ = 24, Handler = 0x80194260

IrqEnable : IRQ = 24

USB Module: Version 2.0.0 build Sep  9 2011 10:14:38

usb_explore_task() Begin ...

[htf_dbg]     - OnlineActiveWirless() 2008

***********RUNTASK id=13 WirlessCFG_task ...**************

[23]pthread_create: RUNTASK ID=36

upnp_Init(0) upnpGlobalInit[4]:0


>> Parse Service 'urn:schemas-upnp-org:service:ConnectionManager:1' : TRUE

>> Parse Service 'urn:schemas-upnp-org:service:ContentDirectory:1' : TRUE

>> Parse Service 'urn:microsoft.com:service:X_MS_MediaReceiverRegistrar:1' : TRUE

>> Parse Device 'urn:schemas-upnp-org:device:MediaServer:1' : TRUE

********** upnp_main1() Record pDevRoot[4]:80a70128

QueryCurrentConnectionIDs....


>>>> UPNP init successfully ...

********** upnp_main() Unsupportted UPnP root device:5

********** upnp_main() Unsupportted UPnP root device:6

runtsk: BeaconStart ID=37

runtsk: SsdpReadTask ID=38

[main_8021x] delay finish.

ifno2dot1x_if[2]=0

dot1x_wireless_if_mask=0x4

Set_PreAuth_Proc called, PreAuth=1

[Set_PreAuth_Proc] apidx=0, call RTMPMakeRSNIE()

mt_busy=0 sys_time=5768

[signal_1x_reset] ...

[23]pthread_create: RUNTASK ID=27

[23]pthread_create: RUNTASK ID=13

[reset_802dot1x] wdrv_ready.

[reset_802dot1x] wireless module ready

[init_wpa] dot1x_ready[0]=3,configp->ifno:2,ssid:VodafoneSharingDock_679338

config->enablePreAuthen=1

[reset_802dot1x] 802.1Xv2 ready

ifno2dot1x_if[2]=0

dot1x_wireless_if_mask=0x4

[reset_802dot1x] wdrv_ready.

[reset_802dot1x] wireless module ready

[init_wpa] dot1x_ready[0]=3,configp->ifno:2,ssid:VodafoneSharingDock_679338

config->enablePreAuthen=1

[reset_802dot1x] 802.1Xv2 ready

[23]pthread_create: RUNTASK ID=22

[23]pthread_create: RUNTASK ID=39

[23]pthread_create: RUNTASK ID=40

[23]pthread_create: RUNTASK ID=41

[16] **** now resource owned by 23

[36] **** now resource owned by 16

*********************************************

***Waiting for Registrar to connect...***

*********************************************



with interruption to command mode


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

3G Wireless Router WG7012E22-LF-IR Loader v0.07 build Aug  9 2010 14:52:18

                    Arcadyan Technology Corporation

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


MX25L3205D


Copying boot params.....DONE


Press Space Bar 3 times to enter command mode ...123

Yes, Enter command mode ...

[WG7012E22-LF-IR Boot]:?


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

 [u] Upload to Flash  

 [E] Erase Flash      

 [G] Run Runtime Code 

 [A] Set MAC Address 

 [#] Set Serial Number 

 [V] Set Board Version 

 [h] Set Options 

 [P] Print Boot Params 

 [1] Set SKU Number 

 [2] Set PIN Number  

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


[WG7012E22-LF-IR Boot]:u



UPLOAD Flash

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

    Area            Address      Length 

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

[0] Boot            0xBFC00000     128K

[1] Configuration   0xBFC20000     256K

[2] Web Image       0xBFC60000    3648K

[3] Code Image      0xBFC60000    3648K

[4] Boot Params     0xBFFF0000      64K

[5] Flash Image     0xBFC00000    4096K

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

Enter area to UPLOAD: 

RROR: Not a valid area.



[WG7012E22-LF-IR Boot]:e



ERASE Flash

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

    Area            Address      Length 

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

[0] Boot            0xBFC00000     128K

[1] Configuration   0xBFC20000     256K

[2] Web Image       0xBFC60000    3648K

[3] Code Image      0xBFC60000    3648K

[4] Boot Params     0xBFFF0000      64K

[5] Flash Image     0xBFC00000    4096K

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

Enter area to ERASE: 

RROR: Not a valid area.

[WG7012E22-LF-IR Boot]:


So, would it be possible to run openwrt on it ?

Should be possible, although only 4 MiB flash will certainly limit things. You could try uploading to flash area 2 one of the *-squashfs-sysupgrade.bin images from http://downloads.openwrt.org/snapshots/trunk/ramips/, and seeing whether the original bootloader is capable of booting linux (if not, you'll need to replace it with U-boot). I don't see a way to make a backup of the original firmware, though, so no going back...

Chipset: Ralink RT3052F
http://img706.imageshack.us/img706/3306/yhf6.jpg

RAM:
http://img823.imageshack.us/img823/9315/qd75.jpg

Serial Pin:
http://img834.imageshack.us/img834/3408/0gav.jpg

Serial Log:

=~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2014.01.23 19:25:24 =~=~=~=~=~=~=~=~=~=~=~=
=======================================================================
3G Wireless Router WG7012E22-LF-IR Loader v0.06 build Mar 24 2010 12:01:43
                    Arcadyan Technology Corporation
=======================================================================
MX25L3205D
Copying boot params.....DONE
Press Space Bar 3 times to enter command mode ...
Flash Checking
 Passed.
Unzipping firmware at 0x80002000 ... [ZIP 3] [ZIP 1]  done
In c_entry() function ...
CPU : RT3052  Chip V1.3, CPU Speed 384 MHz, 
Interrups Status 00000000
install_exception 
Co config = 80010483
sys_irq_init ...
##### _ftext      = 0x80002000
##### _fdata      = 0x803232E0
##### __bss_start = 0x803AF630
##### end         = 0x81B90FF4
allocate_memory_after_end> len 574288, ptr 0x81b99000
##### Backup Data from 0x803232E0 to 0x81B98FF4~0x81C25344 len 574288
##### Backup Data completed
##### Backup Data verified
enter start_ralink_timer - 2
IrqConnect : IRQ = 7, Handler = 0x801853A0
IrqEnable : IRQ = 7
[INIT] System Log Pool startup ...
[INIT] MTinitialize ..
[INIT] usrclk
CPU Clock 384000000 Hz
mips_counter_frequency:192000000
r4k_offset: 0x0002ee00(192000)
init_US_counter : time1 = 299979 , time2 = 40300020, diff 40000041
US_counter = 81
 cnt1 41404388 cnt2 41406493, diff 2105
mips_int_enable: 5
mips_int_enable 1: s = 8401
mips_int_enable 2: s = 8401
mips_int_enable 3: s = 0
Runtime code version: 1.03.08
System startup...
[INIT] Memory COLOR 0, 2624000 bytes ..
[INIT] Memory COLOR 1, 262144 bytes ..
[INIT] Memory COLOR 2, 1644000 bytes ..
debug retVar= 1
Set flash memory layout to Boot Parameters found !!!
Bootcode version: v0.06
Serial number: R032020697
Hardware version: 01
[BUILD:PIN] PIN:R032020697, MAC:88252C4B50D9
[BUILD-PIN]: PIN:01552744, len=8
nLen:98, Magic:0x33343536
my CFGVersionMagic = 33343536, old CFGVersionMagic on flash = 33343536
my CFGsize = 122464, my CFGDescSize = 19041
my Version = 1.03.08, Version on flash= 1.03.08
[CONFIG] old cfg version:[1.03.08], [1.3.8.100.4.0]
source CFGsize = 122464, CFGDescSize = 19041
OldCfgHexSize:6528
Unzipping from 808FE5F8 to 808F9B84 ... [ZIP 2] allocate_memory_after_end> len 81516, ptr 0x81c25360
done
Uncompressed size = 19039
Tail1 : END_III_Config_t
Size of Old CFG_DESC is :19039!!!
useCfgDesc:1
MyCfgHexSize:6528
Unzipping from 808F81EC to 808F3778 ... [ZIP 2] done
Uncompressed size = 19039
My CFGDescSize:19041
useCfgDesc:1
Tail : END_III_Config_t
useCfgDesc:3
Restore Config file from ver:1.03.08!!!
[CONFIG] DS_Tail:[t_WG7012E11]
[CONFIG] load_config ret=1
[updateConfig] flash version:[1.03.08], [1.3.8.100]
[updateConfig] code version:[1.03.08], [1.3.8.100]
!!! Invalid wireless channel range 0 ~ 0
!!! Use default value 1 ~ 11
default route: 0.0.0.0
sizeof(g_langlist)=116, LANG_ID_SIZE=29
sizeof(g_lang_buffer)=976
BufferInit:
BUF_HDR_SZ=128 BUF_ALIGN_SZ=0 BUFFER_OFFSET=352
BUF_BUFSZ0=544 BUF_BUFSZ1=4320
NUM_OF_B0=0 NUM_OF_B1=1400
BUF_POOL0_SZ=0 BUF_POOL1_SZ=6227200
sizeof(BUFFER0)=672,sizeof(BUFFER1)=4448
*BUF0=0x810b84a4 *BUF1=0x80ac7f84
Altgn *BUF0=0x810b84c0 *BUF1=0x80ac7fa0
End at BUF0:0x810b84c0, BUF1:0x810b84a0
BUF0[0]=0x810b84c0 BUF1[0]=0x80ac7fa0
buffer0 pointer init OK!
buffer1 pointer init OK!
gConfig.Interface[0].IP_Addr = 127.0.0.1
gConfig.Interface[0].Subnet_Mask = 255.255.255.255
time = 08/01/2003, 00:00:00
Interface 0 ip = 127.0.0.1
gConfig.Interface[1].IP_Addr = 192.168.0.1
gConfig.Interface[1].Subnet_Mask = 255.255.255.0
need to reset Ethernet switch????
GDMA1_MAC_ADRH -- : 0x00008825
GDMA1_MAC_ADRL -- : 0x2c4b50d9
RA2880 Ethernet Driver Initilization. v1.60  256 rx/tx descriptors allocated.
NAPI enable, Tx Ring = 256, Rx Ring = 256
phy_tx_ring = 0x003b0ae0, tx_ring = 0xFFFFFFFFA03B0AE0, size: 16 bytes
phy_rx_ring = 0x003b1ae0, rx_ring = 0xFFFFFFFFA03B1AE0, size: 16 bytes
GDMA1_FWD_CFG = 10000
IrqConnect : IRQ = 3, Handler = 0x8000ADC8
IrqEnable : IRQ = 3
mips_int_enable: 3
mips_int_enable 1: s = 8400
mips_int_enable 2: s = a400
mips_int_enable 3: s = 0
MAC Address: 88:25:2c:4b:50:d9
time = 08/01/2003, 00:00:00
Interface 1 ip = 192.168.0.1
gConfig.Interface[2].IP_Addr = 192.168.0.1
gConfig.Interface[2].Subnet_Mask = 255.255.255.0
hwlan_init(384): [HWLAN] ifno=2 irno=7 port=0x00000000
2860 version : 1.9.0.0 (Aug  4 2011)
RTMP_ADAPTER_mem : 804f9988, sizeof(RTMP_ADAPTER) 391608
=== pAd = 804F9988, size = 391608 ===
time = 08/01/2003, 00:00:00
Interface 2 ip = 192.168.0.1
gConfig.Interface[8].IP_Addr = 0.0.0.0
gConfig.Interface[8].Subnet_Mask = 0.0.0.0
pppInit> set (PPPShutdownRequest[ifno] = 0)
if_umts_init() WAN interface 8, UMTS-COM1: baudrate=115200 
if_umts_init() MAC:88:25:2C:4B:50:DA
RUNTASK id=1 umtsEventHandleTsk...
umtsReceQueueInit() Host controller disable, bypass queue init...
RUNTASK id=2 umtsReceQueueTsk...
RUNTASK id=3 umtsReceTsk...
RUNTASK id=4 umtsWritTsk...
Interface 8 ip = 0.0.0.0
ruleCheck()> Group: 0,  Error: Useless rule index will be truncated
ruleCheck()> Group: 1,  Error: Useless rule index will be truncated
ruleCheck()> Group: 2,  Error: Useless rule index will be truncated
CBAC rule format check succeed !!
reqCBACBuf()> init match pool, Have: 1000
Memory Address: 0xffffffff81b40178 ~ 0xffffffff81b46ef4
reqCBACBuf()> init timeGap pool, Have: 10000
Memory Address: 0xffffffff81b46ef4 ~ 0xffffffff81b77c48
reqCBACBuf()> init sameHost pool, Have: 2000
Memory Address: 0xffffffff81b77c48 ~ 0xffffffff81b87668
CBAC rule pool initialized !!
[init_if] local_if_mask=0x7
[init_if] local_wiredif_mask=0x2
[init_if] local_wirelessif_mask=0x4
[init_if] localorVPN_if_mask=0x7
Init NAT data structure
RUNTASK id=5 if_task if0...
RUNTASK id=6 if_task if1...
RUNTASK id=7 if_task if2...
RUNTASK id=8 if_task if8...
RUNTASK id=9 timer_task...
RUNTASK id=10 conn_mgr...
RUNTASK id=11 main_8021x...
RUNTASK id=12 main_lltd...
Build Day = Aug  4 2011
[VFS_init] Start...
[VFS_init] vfsState:1
vfs_codepage_init() TimeZone:22, vfs_cp_idx:22, vfs_cp_ID:1
fat_codePageInit() TimeZone:22, codePage:Unknown, cPID:1, cpSize:256, toUpSize:0
ntfs_codepage timezone:22, lan= 0
ntfs_codePageInit() TimeZone:22, codePage:1
==[vfs_register_filesystem]============================
list size:7,  Method:0x80326ba8
  1) Type:0x01, Name:FAT12
  2) Type:0x04, Name:FAT16
  3) Type:0x06, Name:FAT16
  4) Type:0x0b, Name:FAT32
  5) Type:0x0c, Name:FAT32
  6) Type:0x0e, Name:FAT16
  7) Type:0x81, Name:Minix
=================================================================
[VFS_init] FAT init OK
==[vfs_register_filesystem]============================
list size:1,  Method:0x80327764
  1) Type:0x07, Name:NTFS/HPFS
=================================================================
[VFS_init] NTFS init OK
[VFS_init]-[vfs_mount_root] Start...
[VFS_init]-[vfs_mount_root] Init <root> OK...
[VFS_init]-[vfs_mount_root] Init <dev> OK...
[VFS_init]-[vfs_mount_root] Init <mnt> OK...
[0-START]=========================================
  Node 000,  DIR, MountFlag:0x00
[0-END]===========================================
  [1-START]=========================================
    Node 001,  DIR, MountFlag:0x00
  [1-END]===========================================
  [1-START]=========================================
    Node 002,  DIR, MountFlag:0x00
  [1-END]===========================================
dump_inode() freeCnt:77, usedCnt:3
[USB] UsbSPoolArray: 81889AF8H ~ 819BECF7, UsbSPool:81889B00
[USB] UsbMPoolArray: 816686B8H ~ 818897D7, UsbMPool:816686C0
[USB] UsbLPoolArray: 819C2218H ~ 81B00E37, UsbLPool:819C2220
[USB] Small  Un-Cached Memory(7193): 81889B00 ~ 819BEC2F
[USB] Medium Un-Cached Memory(135): 816686C0 ~ 8188579F
[USB] Large  Un-Cached Memory(74): 819C2220 ~ 81AFCA1F
setUsbPciInfo() cpu_to_usb_addr_shift[5]:0x00000000, usb_to_cpu_addr_shift[5]:0x00000000
usb_pci_probe() Found Synopsis OTG, baseAddr:0xb01c0000, IRQ:24
usb_hcd_init() probe PCI function:1 !!
usb_power_set() isOn:1
usb_power_set() Previous power off:0, current time:0
usb_power_set(1) min time delay:6000, current delay:0
usb_power_set() Need delay:6500 **********
usb_power_set(2) min time delay:6000, current delay:0
usb_hcd_init() func(0):0
usb_hcd_init() func(1):0
usb_hcd_init() func(2):0
usb_hcd_init() func(3):0
usb_hcd_init() func(4):0
usb_hcd_init() func(5):1
localhc_init() install otg driver(host_drv = 0x8038E130, otg_driver=0x8038E130).
usb_hcd_init() func(6):0
usb_hcd_init(): succ.
RUNTASK id=14 period_task...
[Dhcpd_Start]
RUNTASK id=15 dhcp_daemon...
RUNTASK id=16 dhcp_clt...on interface 3
[get_web_address] Web-0:  addr:0xbfd40400, len:459943, type:10
[get_web_address] Web-1:  addr:0xbfdb0c00, len:112467, type:11
[get_web_address] Web-2:  addr:0xbfdcc400, len:117586, type:12
[get_web_address] Web-3:  addr:0xbfde9000, len:108776, type:13
getUnZipFileLength: [ZIP 3]
getUnZipFileLength: [ZIP 1]
Unzipping from 813427B8 to 81E4CA00 ... [ZIP 3] [ZIP 2] done
Uncompressed size = 1782472
httpd_unzip_image> enter, driver_idx=1, file_tag=11, lang_id=1
httpd_unzip_image> code end:81c25344
httpd_unzip_image> aux_pfs_image_addr[1]=81e2ea00
httpd_unzip_image> aux_pfs_image_addr[2]=81e10a00
httpd_unzip_image> aux_pfs_image_addr[3]=81df2a00
httpd_unzip_image> aux_pfs_image_addr[4]=81dd4a00
httpd_unzip_image> aux_pfs_image_addr[5]=81db6a00
Free memory: 1605 KB
[get_web_address] Web-0:  addr:0xbfd40400, len:459943, type:10
[get_web_address] Web-1:  addr:0xbfdb0c00, len:112467, type:11
[get_web_address] Web-2:  addr:0xbfdcc400, len:117586, type:12
[get_web_address] Web-3:  addr:0xbfde9000, len:108776, type:13
getUnZipFileLength: [ZIP 3]
getUnZipFileLength: [ZIP 1]
httpd_unzip_image> pfs image found at ffffffff812eda64, size is 686769 bytes
notify_upgrade_start, 0
Unzipping from 812EDA64 to 813091B8 ... [ZIP 3] [ZIP 2] done
Uncompressed size = 686769
httpd_unzip_image> unzip from ffffffff812eda64 to ffffffff813091b8(tftp_buffer)
FS_clean> drive=1
FS_clean> drive=6
notify_upgrade_finish
RUNTASK httpd...
RUNTASK id=19 dnsproxy...
startNBIOSTask()...
RUNTASK id=20 nbios_main...
RUNTASK id=21 dhcpd_mgmt_task...
UPnP is enabled
UPNP Device initialize success! slot=22
gConfig.WSC_Mode:2
RUNTASK id=23 wscmain...
RUNTASK id=24 wsc_Send_eap_packet...
RUNTASK id=25 wsc_Send_UPNP_packet...
RUNTASK id=26 WSC_WaitUserAction_Task...
gConfig.WSC_Mode:2
UART RX Input
Starting Multitask...
run_project_task
RUNTASK id=27 apAppInit...
start http redir.
RUNTASK id=28 hr_daemon...
RUNTASK id=29 hr_misc_daemon...
xSpeedtsk priority is 80
[main_8021x] start to delay.
init psock cnt=1
Atheros_NetTask running ...
RUNTASK id=32 Atheros_NetTask ...
IrqConnect : IRQ = 4, Handler = 0x80089420
IrqEnable : IRQ = 4
mips_int_enable: 4
mips_int_enable 1: s = a400
mips_int_enable 2: s = e400
mips_int_enable 3: s = 0
rt2860_open : should call request_irq ????????????????????????
RX DESC A03BBEE0  size = 2048
sizeof(RT2860AP_DAT) : 1314
c: SSID=RT2860AP
Channel=0
1. Phy Mode = 9
2. Phy Mode = 9
sould check E2PROM MAC ?????????????????
3. Phy Mode = 9
MCS Set = ff ff 00 00 00
 ch3 bssid=74:ea:3a:c2:43:3a
 ch3 bssid=64:70:02:d8:0f:ba
=====================================================
Channel 14 : total RSSI = 0, max RSSI = 0, Dirty = 0, False CCA = 46
Channel 13 : total RSSI = 0, max RSSI = 0, Dirty = 0, False CCA = 58
Channel 12 : total RSSI = 0, max RSSI = 0, Dirty = 0, False CCA = 14
Channel 11 : total RSSI = 0, max RSSI = 0, Dirty = 0, False CCA = 81
Channel 10 : total RSSI = 0, max RSSI = 0, Dirty = 0, False CCA = 3
Channel 9 : total RSSI = 0, max RSSI = 0, Dirty = 0, False CCA = 45
Channel 8 : total RSSI = 0, max RSSI = 0, Dirty = 0, False CCA = 1
Channel 7 : total RSSI = 0, max RSSI = 0, Dirty = 8, False CCA = 104
Channel 6 : total RSSI = 0, max RSSI = 0, Dirty = 16, False CCA = 977
Channel 5 : total RSSI = 0, max RSSI = 0, Dirty = 24, False CCA = 10
Channel 4 : total RSSI = 0, max RSSI = 0, Dirty = 32, False CCA = 1104
Channel 3 : total RSSI = 450, max RSSI = 229, Dirty = 100, False CCA = 1
Channel 2 : total RSSI = 0, max RSSI = 0, Dirty = 32, False CCA = 38
Channel 1 : total RSSI = 0, max RSSI = 0, Dirty = 24, False CCA = 10
=====================================================
Rule 1 ==> Select Channel 8
ApAutoSelectChannel pick up ch#8
pAd->CommonCfg.Channel = 8
Main bssid = 88:25:2c:4b:50:d9
should Set up the Mac address ?????????
0x1300 = 00064380
[HWLAN] Ready
[dhcp_clt] close DHCP Clinet task, no interface needs dhcp client
********** upnp_main() Unsupportted UPnP root device:0
upnp_main(1-0) Run-up UPnP device IGD...
*********************************************
****Wi-Fi Simple Config Application***** 
Version: Build 2.02.2.DTM1.1, Aug  4 2011 17:58:50
*********************************************
Entered udp_read
wsc_Send_UPNP_packet> enter
wsc_Send_eap_packet:udpFdupnp_wcn:37;;udpFdupnp:39
hr_daemon> port 32769.
[HWLAN] [33] rapi_tmr_task running 
[USB] dwc3884_start() Core id:0, funcIdx:5
[USB] dwc3884_start() DWC3884 core version:0x4F54266A, 2.66a, channel:4
[USB] dwc3884_start() intsts:0xB01C0014, var:0x14000029
[23]pthread_create: RUNTASK ID=16
upnp_Init(0) upnpGlobalInit[1]:0
SSDP Initialization completed...
GenaInit : event_hook is NULL!!
>> Parse Service 'urn:schemas-microsoft-com:service:OSInfo:1' : TRUE
>> Parse Service 'urn:schemas-upnp-org:service:Layer3Forwarding:1' : TRUE
>> Parse Service 'urn:schemas-upnp-org:service:WANCommonInterfaceConfig:1' : TRUE
>> Parse Service 'urn:schemas-upnp-org:service:WANEthernetLinkConfig:1' : TRUE
>> Parse Service 'urn:schemas-upnp-org:service:WANPPPConnection:1' : TRUE
>> Parse Service 'urn:schemas-upnp-org:service:WANIPConnection:1' : TRUE
>> Parse Device 'urn:schemas-upnp-org:device:WANConnectionDevice:1' : TRUE
>> Parse Device 'urn:schemas-upnp-org:device:WANDevice:1' : TRUE
>> Parse Device 'urn:schemas-upnp-org:device:InternetGatewayDevice:1' : TRUE
********** upnp_main1() Record pDevRoot[1]:80aa5bf0
>>>> UPNP init successfully ...
********** upnp_main() Unsupportted UPnP root device:2
upnp_main(3-0) Run-up UPnP device WPS-WCN...
upnp_Init(0) upnpGlobalInit[3]:0
>> Parse Service 'urn:schemas-wifialliance-org:service:WFAWLANConfig:1' : TRUE
>> Parse Device 'urn:schemas-wifialliance-org:device:WFADevice:1' : TRUE
********** upnp_main1() Record pDevRoot[3]:80a7b78c
>>>> UPNP init successfully ...
upnp_main(4-0) Run-up UPnP device AV Media Server...

>>>>>> usbd_new_device: adding unit bus:1, addr=1, rev=0200, class=9, subclass=0, protocol=1, maxpacket=64, len=18, speed=3
usbd_open_pipe_intr: addr:1, ep address=0x81 flags=0x4 len=1
usbd_open_pipe_intr: ipipe=819BFFA0 repeat=0 xfer=A17A90C0
usbd_probe_and_attach,probe 1!
startExplore() usb explore task run-up, slot:0, tsk_id:35, reason:0
usb_hc_install_interrupt() Install OTG-1 interrupt 24
IrqConnect : IRQ = 24, Handler = 0x801948EC
IrqEnable : IRQ = 24
USB Module: Version 2.0.0 build Aug  4 2011 17:58:01
usb_explore_task() Begin ...
[htf_dbg]     - OnlineActiveWirless() 2008
***********RUNTASK id=13 WirlessCFG_task ...**************
[23]pthread_create: RUNTASK ID=36
upnp_Init(0) upnpGlobalInit[4]:0
>> Parse Service 'urn:schemas-upnp-org:service:ConnectionManager:1' : TRUE
>> Parse Service 'urn:schemas-upnp-org:service:ContentDirectory:1' : TRUE
>> Parse Service 'urn:microsoft.com:service:X_MS_MediaReceiverRegistrar:1' : TRUE
>> Parse Device 'urn:schemas-upnp-org:device:MediaServer:1' : TRUE
********** upnp_main1() Record pDevRoot[4]:80a70148
QueryCurrentConnectionIDs....
>>>> UPNP init successfully ...
********** upnp_main() Unsupportted UPnP root device:5
********** upnp_main() Unsupportted UPnP root device:6
runtsk: BeaconStart ID=37
runtsk: SsdpReadTask ID=38
[main_8021x] delay finish.
ifno2dot1x_if[2]=0
dot1x_wireless_if_mask=0x4
Set_PreAuth_Proc called, PreAuth=1
[Set_PreAuth_Proc] apidx=0, call RTMPMakeRSNIE()
mt_busy=0 sys_time=5787
[signal_1x_reset] ...
[23]pthread_create: RUNTASK ID=27
[23]pthread_create: RUNTASK ID=13
[reset_802dot1x] wdrv_ready.
[reset_802dot1x] wireless module ready
[init_wpa] dot1x_ready[0]=3,configp->ifno:2,ssid:VodafoneSharingDock_4B5027
config->enablePreAuthen=1
[reset_802dot1x] 802.1Xv2 ready
ifno2dot1x_if[2]=0
dot1x_wireless_if_mask=0x4
[reset_802dot1x] wdrv_ready.
[reset_802dot1x] wireless module ready
[init_wpa] dot1x_ready[0]=3,configp->ifno:2,ssid:VodafoneSharingDock_4B5027
config->enablePreAuthen=1
[reset_802dot1x] 802.1Xv2 ready
[23]pthread_create: RUNTASK ID=22
[23]pthread_create: RUNTASK ID=39
[23]pthread_create: RUNTASK ID=40
[23]pthread_create: RUNTASK ID=41
[16] **** now resource owned by 23
[36] **** now resource owned by 16
====== console mode ======
  shift-0: enable debug
  ENTER  : show this help
==========================
Running Console Debug... !!!
======= Console Debug =======
 (1)   Alert Mail Testing
 (2)   Web Upgrage
 (3)   Write Web
 (4)   Firmware Upgrage
 (5)   Write Firmware
 (6)   Warm Reboot
 (8)   Show B0,B1 Mem pool
 (7)   Ralink - Statistic
 (9)   Ralink - Print All BBP
 (a)   <MENU> gConfig
 (b)   <MENU> gSetting
 (c)   <MENU> DHCP Client
 (d)   <MENU> Dial
 (e)   <MENU> Ethernet
 (f)   <MENU> Firewall
 (g)   <MENU> GPIO
 (i)   <MENU> UPnP
 (n)   <MENU> NetBIOS/Printer
 (s)   <MENU> System
 (U)   <MENU> USB Subsystem 
 (w)   <MENU> Wireless
 (x)   Exit
 (?)   Help
=============================
[Debug]: 
========== GPIO ===========
 (5)   Enable Wireless led
 (6)   Disable Wireless led
 (7)   Enable Internet led
 (8)   Disable Internet led
 (9)   Enable Power led
 (0)   Disable Power led
 (a)   Enable All led
 (b)   Disable All led
 (c)   Enable Power Strength 0 led
 (d)   Disable Power Strength 0 led
 (e)   Enable Power Strength 1 led
 (f)   Disable Power Strength 1 led
 (g)   Enable Power Strength 2 led
 (h)   Disable Power Strength 2 led
 (i)   USB Power on
 (j)   USB Power off
 (x)   Exit
 (?)   Help
=============================
[Debug|GPIO]: ********** updateHostAnnounceState()> change state to 1 (ACT: 0)
********** updateHostAnnounceState()> change state to 2 (ACT: 1)
********** updateHostAnnounceState()> change state to 3 (ACT: 2)
period_task running 120
========== GPIO ===========
 (5)   Enable Wireless led
 (6)   Disable Wireless led
 (7)   Enable Internet led
 (8)   Disable Internet led
 (9)   Enable Power led
 (0)   Disable Power led
 (a)   Enable All led
 (b)   Disable All led
 (c)   Enable Power Strength 0 led
 (d)   Disable Power Strength 0 led
 (e)   Enable Power Strength 1 led
 (f)   Disable Power Strength 1 led
 (g)   Enable Power Strength 2 led
 (h)   Disable Power Strength 2 led
 (i)   USB Power on
 (j)   USB Power off
 (x)   Exit
 (?)   Help
=============================
[Debug|GPIO]: 
========== GPIO ===========
 (5)   Enable Wireless led
 (6)   Disable Wireless led
 (7)   Enable Internet led
 (8)   Disable Internet led
 (9)   Enable Power led
 (0)   Disable Power led
 (a)   Enable All led
 (b)   Disable All led
 (c)   Enable Power Strength 0 led
 (d)   Disable Power Strength 0 led
 (e)   Enable Power Strength 1 led
 (f)   Disable Power Strength 1 led
 (g)   Enable Power Strength 2 led
 (h)   Disable Power Strength 2 led
 (i)   USB Power on
 (j)   USB Power off
 (x)   Exit
 (?)   Help
=============================
[Debug|GPIO]: 
======= Console Debug =======
 (1)   Alert Mail Testing
 (2)   Web Upgrage
 (3)   Write Web
 (4)   Firmware Upgrage
 (5)   Write Firmware
 (6)   Warm Reboot
 (8)   Show B0,B1 Mem pool
 (7)   Ralink - Statistic
 (9)   Ralink - Print All BBP
 (a)   <MENU> gConfig
 (b)   <MENU> gSetting
 (c)   <MENU> DHCP Client
 (d)   <MENU> Dial
 (e)   <MENU> Ethernet
 (f)   <MENU> Firewall
 (g)   <MENU> GPIO
 (i)   <MENU> UPnP
 (n)   <MENU> NetBIOS/Printer
 (s)   <MENU> System
 (U)   <MENU> USB Subsystem 
 (w)   <MENU> Wireless
 (x)   Exit
 (?)   Help
=============================
[Debug]: 
Console Debug Terminated...
====== console mode ======
  shift-0: enable debug
  ENTER  : show this help
==========================

Console Debug

==========================
Running Console Debug... !!!
======= Console Debug =======
 (1)   Alert Mail Testing
 (2)   Web Upgrage
 (3)   Write Web
 (4)   Firmware Upgrage
 (5)   Write Firmware
 (6)   Warm Reboot
 (8)   Show B0,B1 Mem pool
 (7)   Ralink - Statistic
 (9)   Ralink - Print All BBP
 (a)   <MENU> gConfig
 (b)   <MENU> gSetting
 (c)   <MENU> DHCP Client
 (d)   <MENU> Dial
 (e)   <MENU> Ethernet
 (f)   <MENU> Firewall
 (g)   <MENU> GPIO
 (i)   <MENU> UPnP
 (n)   <MENU> NetBIOS/Printer
 (s)   <MENU> System
 (U)   <MENU> USB Subsystem 
 (w)   <MENU> Wireless
 (x)   Exit
 (?)   Help
=============================

GPIO

========== GPIO ===========
 (5)   Enable Wireless led
 (6)   Disable Wireless led
 (7)   Enable Internet led
 (8)   Disable Internet led
 (9)   Enable Power led
 (0)   Disable Power led
 (a)   Enable All led
 (b)   Disable All led
 (c)   Enable Power Strength 0 led
 (d)   Disable Power Strength 0 led
 (e)   Enable Power Strength 1 led
 (f)   Disable Power Strength 1 led
 (g)   Enable Power Strength 2 led
 (h)   Disable Power Strength 2 led
 (i)   USB Power on
 (j)   USB Power off
 (x)   Exit
 (?)   Help
=============================

Hello guys,

Any progress in running OpenWrt on this device? How do we replace the bootloader to UBoot anyway?

Seems not many interested on this router.

http://3.bp.blogspot.com/-TywVr1_4LZk/VH2T_eITKzI/AAAAAAAAESE/e15HyILr_L4/s1600/Upgrade%2BBoot%2BLoader%2BR101.png

I managed to upgrade the bootloader to U-Boot, but unfortunately I flashed one unsuitable U-Boot after the first upgrade. Now, the router in total brick, not even a led is on. How should we find its jtag pin out? Or how to reflash the U-Boot?

Serial flash, only 8 pins to unsolder, so remove the chip and use a chip programmer on it.  An opportunity to replace with a larger flash chip.  When you go to re-install the chip, don't solder it direct to the board, instead solder 8 fine wires about 1 cm tall to the board pads and tack the chip to the top of those wires.  Then it is easy to R&R chip again if necessary without risking board damage.

mk24 wrote:

Serial flash, only 8 pins to unsolder, so remove the chip and use a chip programmer on it.  An opportunity to replace with a larger flash chip.  When you go to re-install the chip, don't solder it direct to the board, instead solder 8 fine wires about 1 cm tall to the board pads and tack the chip to the top of those wires.  Then it is easy to R&R chip again if necessary without risking board damage.

Thank you for the advice, I used 'test hook clips' and it's OK now. I can flash uboot and load openwrt on it. For now I'm still using ramips ramdisk image.

Hi guys,

I try Attitude Adjustment r42647 for Allnet 256n image. The bridge lan works well, but USB does not work at all. USB flashdisk and USB wifi adapter won't even light up. Any idea hot to make USB works?

The bootloader menus suggest that there is a GPIO pin controlling the power from the USB port.  Check that you have 5 volts coming out of the port.  If not you will need to find that GPIO and turn it on, or make a hardware mod.  Most likely it is just disabling the voltage regulator chip.

If it's not that, the next thing is to be sure all the core USB-related kernel modules are present.  At a minimum you need usb-core and usb2, and possibly dwc.  These will recognize when a USB device is plugged in with a message like "new high-speed USB device".  To actually access the device you then need the device drivers, for a flash drive those are usb-storage and fs- that matches the filesystem on the drive.

(Last edited by mk24 on 24 Dec 2014, 16:14)

mk24 wrote:

The bootloader menus suggest that there is a GPIO pin controlling the power from the USB port.  Check that you have 5 volts coming out of the port.  If not you will need to find that GPIO and turn it on, or make a hardware mod.  Most likely it is just disabling the voltage regulator chip.

If it's not that, the next thing is to be sure all the core USB-related kernel modules are present.  At a minimum you need usb-core and usb2, and possibly dwc.  These will recognize when a USB device is plugged in with a message like "new high-speed USB device".  To actually access the device you then need the device drivers, for a flash drive those are usb-storage and fs- that matches the filesystem on the drive.

Seems there's no 5 volts, as the usb modules are loaded fully:

[   15.040000] NET: Registered protocol family 24
[   15.310000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[   15.440000] nf_conntrack version 0.5.0 (468 buckets, 1872 max)
[   16.150000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[   16.210000] i2c /dev entries driver
[   16.250000] dwc_otg: version 2.72a 24-JUN-2008
[   16.420000] usbcore: registered new interface driver usbserial
[   16.430000] USB Serial support registered for generic
[   16.440000] usbcore: registered new interface driver usbserial_generic
[   16.450000] usbserial: USB Serial Driver core
[   16.600000] Initializing USB Mass Storage driver...
[   16.610000] usbcore: registered new interface driver usb-storage
[   16.620000] USB Mass Storage support registered.
[   16.760000] usbcore: registered new interface driver ums-alauda
[   16.790000] usbcore: registered new interface driver ums-cypress
[   16.820000] usbcore: registered new interface driver ums-datafab
[   16.850000] usbcore: registered new interface driver ums-freecom
[   16.880000] usbcore: registered new interface driver ums-isd200
[   16.920000] usbcore: registered new interface driver ums-jumpshot
[   16.950000] usbcore: registered new interface driver ums-karma
[   16.980000] usbcore: registered new interface driver ums-sddr09
[   17.010000] usbcore: registered new interface driver ums-sddr55
[   17.040000] usbcore: registered new interface driver ums-usbat
[   17.250000] USB Serial support registered for GSM modem (1-port)
[   17.260000] usbcore: registered new interface driver option
[   17.270000] option: v0.7.2:USB Driver for GSM modems

I also tried Tenda 300 Barrier Breaker, and have a test on the GPIO. It showed me this log:

https://scontent-a-sin.xx.fbcdn.net/hphotos-xpa1/v/t1.0-9/1535469_10203422403821230_3891850057213966791_n.jpg?oh=672deaa7a38eb5071900272dfded5c8c&amp;oe=553FBA2C

The image shows GPIO17 for the USB Power, but when I tried the gpio test on Allnet 256n Attitude Adjusment that pin just stated busy. By the way, where should I change in the source code regarding this GPIO thing? Really need help on this matter.

(Last edited by tomlase on 24 Dec 2014, 19:02)

I'm looking at yesterday's trunk.  Why way back to AA?

I thnk that GPIO17 is in the jtag group (from rt305x.c).  The trunk dts file (target/linux/ramips/dts/ALL0256N-4M.dts) does reallocate jtag back to general purpose so you should be able to export it and set it in /sys/class/gpio.

Unless something somewhere else is grabbing it.  I have tested that the HooToo TM-02 build allows GPIO on 17 (though it is likely not connected to anything on the board).

See some of these posts about reallocating GPIOs back to general purposes
https://forum.openwrt.org/viewtopic.php … 42&p=8

I have found that USB will work despite those 'pinctrl DT' messages being thrown.

(Last edited by mk24 on 24 Dec 2014, 20:38)

mk24 wrote:

I'm looking at yesterday's trunk.  Why way back to AA?

The problem with BB is the ethernet won't work. Only usb works fine. So, instead of using the trunk I'm just digging around the AA in the hope of finding what's the problem with the usb.

Using Alpha ASL26555 Trunk, I'm able to connect to internet on my USB HSDPA modem, and ethernet is working now (only wireless does not work). But, the problem with the USB is this:

[   77.800000] usb 1-1: USB disconnect, device number 2
[   77.810000] option1 ttyUSB0: usb_wwan_indat_callback: resubmit read urb failed. (-19)
[   77.810000] option1 ttyUSB0: usb_wwan_indat_callback: resubmit read urb failed. (-19)
[   77.810000] option1 ttyUSB0: usb_wwan_indat_callback: resubmit read urb failed. (-19)
[   77.810000] option1 ttyUSB0: usb_wwan_indat_callback: resubmit read urb failed. (-19)
[   77.890000] option1 ttyUSB0: GSM modem (1-port) converter now disconnected from ttyUSB0
[   77.920000] option 1-1:1.0: device disconnected
[   77.990000] option1 ttyUSB1: GSM modem (1-port) converter now disconnected from ttyUSB1
[   78.010000] option 1-1:1.1: device disconnected
[   78.040000] option1 ttyUSB2: GSM modem (1-port) converter now disconnected from ttyUSB2
[   78.070000] option 1-1:1.2: device disconnected
[   79.520000] hub 1-0:1.0: Cannot enable port 1.  Maybe the USB cable is bad?
[   80.790000] hub 1-0:1.0: Cannot enable port 1.  Maybe the USB cable is bad?
[   82.050000] hub 1-0:1.0: Cannot enable port 1.  Maybe the USB cable is bad?
[   83.310000] hub 1-0:1.0: Cannot enable port 1.  Maybe the USB cable is bad?
[   83.320000] hub 1-0:1.0: unable to enumerate USB device on port 1

Any more ideas? How to solve this problem?

I too have this router sitting around and wanted to do things with it. Original firmware had an odd bug that made the router restart when any wireless client disconnected..

So far I have a backup of the original firmware/bootloader/everything, built an U-boot for it and installed a 16MB flash.


This bootloader: http://trapalhadas.no.sapo.pt/ubootR101.img installed on the new flash produces the following output at 115kbaud (it can run on the original 4M flash too, of course):

U-Boot 1.1.3 (Feb 14 2015 - 22:07:28)

Board: Ralink APSoC DRAM:  32 MB
relocate_code Pointer at: 81fb4000
config usb....
spi_wait_nsec: 1f
spi device id: 1 20 18 4d 1 (20184d01)
find flash: S25FL129P
raspi_read: from:30000 len:1000
.*** Warning - bad CRC, using default environment

============================================
Ralink UBoot Version: 3.5.0.0
--------------------------------------------
ASIC 3052_MP2 (Port5<->None)
DRAM component: 256 Mbits SDR
DRAM bus: 16 bit
Total memory: 32 MBytes
Flash component: SPI Flash
Date:Feb 14 2015  Time:22:07:28
============================================
icache: sets:256, ways:4, linesz:32 ,total:32768
dcache: sets:128, ways:4, linesz:32 ,total:16384

##### The CPU freq = 384 MHZ ####
estimate memory size =32 Mbytes

Please choose the operation:
   1: Load system code to SDRAM via TFTP.
   2: Load system code then write to Flash via TFTP.
   3: Boot system code via Flash (default).
   4: Entr boot command line interface.
   7: Load Boot Loader code then write to Flash via Serial.
   9: Load Boot Loader code then write to Flash via TFTP.
0

3: System Boot system code via Flash.
## Booting image at bf050000 ...
raspi_read: from:50000 len:40
.Bad Magic Number,FFFFFFFF

The bad environment CRC error can be fixed by writing the parameters intoflash, next time it boots it will take them without complaining.


As for the no-going-back to stock firmware, well: http://trapalhadas.no.sapo.pt/VodaOrig.zip
The original bootloader cannot boot openwrt, it expects the firmware to be encripted.


As expected, the USB port is having no power neutral
No firmware yet though.. Going to try some

Allright, I tried the 14.07 BB for the ASL-26555, and the USB was turned on, however my ethernet starts up with mac address of FF:FF:FF:FF:FF:FF and before changing it via ifconfig it won't respond. The wireless doesn't turn on either.

I highly suspect the firmware is looking for some board/chip information in a flash partition and reading all empty, and because of that, the ethernet/wifi won't work out of the box. What could be this partition format, where should it be stored, does it have any CRC or similar error checking? How do I make one manually with my original data from the vodafone dump?

The lit leds don't make any sense but I expected that. I'm gonna try figuring out what gpio bit does each belong to.

Jorge Nuno, how do you find the USB? Is it working normal?

Mine is still not functioning properly. It stops after a couple of minutes and I have to reboot to make it work, but then it stops again and again.

I haven't really tested the USB yet, I just left a thumbdrive in there and it got detected.. That's it (for now)

As for the wireless, I got a tiny progress: Before, the wireless overview page showed a Generic 802.11bgn (radio0), but now I get RaLink Rt3052 802.11bgn (radio0).

What I did was writing this block at flash 0x40000 - "factory"

5230 0001 000C 4330 5288 FFFF FFFF FFFF 
FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF 
FFFF FFFF FFFF FFFF 000C 4330 5277 000C 
4330 5266 2208 2400 FFFF 2D01 5577 88AA 
CC88 FFFF 0C00 0000 0000 0000 0000 FFFF 
FFFF 0A0A 0A0A 0A0A 0A0A 0A0A 0A0A 0B0B 
0F0F 0F0F 0F0F 0F0F 0F0F 0F0F 0E0E FFFF 
FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF 
FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF 
FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF 
FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF 
FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF 
FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF 
FFFF FFFF FFFF FFFF FFFF FFFF FFFF 6666 
CCAA 8866 CCAA 8866 CCAA 8866 CCAA 8866 
FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF 

This comes from my original vodafone dump at 0x3F0084, it appears that Ralink chipsets use blobs like this for "something"...
I don't think I can test the USB further without some package instalation, which is not possible at this moment.

ethernet MAC address still comes up as FF:FF:FF:FF:FF:FF neutral

Such a good progress Jorge. So the wifi can be enabled now?

Sadly no... There's still something missing. The console log throws out a warning saying the RF chip is unknown, that could also be an indication of what to look for. What chip could be that, inside the SOC? or something discrete under the RF shields before the antennas?

[   13.760000] ieee80211 phy0: rt2x00_set_rt: Info - RT chipset 2872, rev 0200 detected
[   13.780000] ieee80211 phy0: rt2x00_set_rf: Info - RF chipset 0001 detected
procd: - init complete -
[   24.830000] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
[   27.460000] ieee80211 phy0: rt2800_is_305x_soc: Warning - Unknown RF chipset on rt305x
[   27.510000] ieee80211 phy0: rt2800_is_305x_soc: Warning - Unknown RF chipset on rt305x
[   27.520000] ieee80211 phy0: rt2800_is_305x_soc: Warning - Unknown RF chipset on rt305x
[   27.560000] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready

I GOT IT!! HAHA

Took that block I pasted inside the post that I said it was to be in the factory partition at 0x40000.. That wasn't enough. I copied it to 0xFF4000 (my "devdata" partition + 0x4000).

Check where is the devdata partition starts in your 4MBytes flash and write it there, while keeping a copy of it at the factory partition. The boot log will show you the addresses


U-Boot 1.1.3 (Feb 21 2015 - 23:09:50)

Board: Ralink APSoC DRAM:  32 MB
relocate_code Pointer at: 81fb4000
config usb....
spi_wait_nsec: 3e
spi device id: 1 20 18 4d 1 (20184d01)
find flash: S25FL129P
raspi_read: from:30000 len:1000
.raspi_read: from:30000 len:1000
.============================================
Ralink UBoot Version: 4.0.1.0
--------------------------------------------
ASIC 3052_MP2 (Port5<->None)
DRAM component: 256 Mbits SDR
DRAM bus: 16 bit
Total memory: 32 MBytes
Flash component: SPI Flash
Date:Feb 21 2015  Time:23:09:50
============================================
icache: sets:256, ways:4, linesz:32 ,total:32768
dcache: sets:128, ways:4, linesz:32 ,total:16384

 ##### The CPU freq = 384 MHZ ####
 estimate memory size =32 Mbytes

Please choose the operation:
   1: Load system code to SDRAM via TFTP.
   2: Load system code then write to Flash via TFTP.
   3: Boot system code via Flash (default).
   4: Entr boot command line interface.
   7: Load Boot Loader code then write to Flash via Serial.
   9: Load Boot Loader code then write to Flash via TFTP.
 0

3: System Boot system code via Flash.
## Booting image at bf050000 ...
raspi_read: from:50000 len:40
.   Image Name:   MIPS OpenWrt Linux-3.10.49
   Created:      2014-10-02   7:19:53 UTC
   Image Type:   MIPS Linux Kernel Image (lzma compressed)
   Data Size:    1054619 Bytes =  1 MB
   Load Address: 80000000
   Entry Point:  80000000
raspi_read: from:50040 len:10179b
.................   Verifying Checksum ... OK
   Uncompressing Kernel Image ... OK
No initrd
## Transferring control to Linux (at address 80000000) ...
## Giving linux memsize in MB, 32

Starting kernel ...

[    0.000000] Linux version 3.10.49 (bb@builder1) (gcc version 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 r42625) ) #3 Wed Oct 1 16:33:08 CEST 2014
[    0.000000] SoC Type: Ralink RT3052 id:1 rev:3
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU revision is: 0001964c (MIPS 24KEc)
[    0.000000] MIPS: machine is Alpha ASL26555
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 02000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x00000000-0x01ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x00000000-0x01ffffff]
[    0.000000] Primary instruction cache 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 on.  Total pages: 8128
[    0.000000] Kernel command line: console=ttyS0,57600 rootfstype=squashfs,jffs2
[    0.000000] PID hash table entries: 128 (order: -3, 512 bytes)
[    0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Writing ErrCtl register=0005cc00
[    0.000000] Readback ErrCtl register=0005cc00
[    0.000000] Memory: 29156k/32768k available (2284k kernel code, 3612k reserved, 574k data, 212k init, 0k highmem)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS:256
[    0.000000] CPU Clock: 384MHz
[    0.000000] Calibrating delay loop... 255.59 BogoMIPS (lpj=1277952)
[    0.070000] pid_max: default: 32768 minimum: 301
[    0.080000] Mount-cache hash table entries: 512
[    0.090000] pinctrl core: initialized pinctrl subsystem
[    0.100000] NET: Registered protocol family 16
[    0.150000] bio: create slab <bio-0> at 0
[    0.150000] rt2880_gpio 10000600.gpio: registering 24 gpios
[    0.160000] rt2880_gpio 10000600.gpio: registering 24 irq handlers
[    0.170000] Switching to clocksource MIPS
[    0.180000] NET: Registered protocol family 2
[    0.190000] TCP established hash table entries: 512 (order: 0, 4096 bytes)
[    0.210000] TCP bind hash table entries: 512 (order: -1, 2048 bytes)
[    0.220000] TCP: Hash tables configured (established 512 bind 512)
[    0.230000] TCP: reno registered
[    0.240000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.250000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.260000] NET: Registered protocol family 1
[    0.270000] rt-timer 10000100.timer: maximum frequncy is 7812Hz
[    0.320000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.340000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.360000] msgmni has been set to 56
[    0.370000] io scheduler noop registered
[    0.370000] io scheduler deadline registered (default)
[    0.390000] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    0.410000] 10000c00.uartlite: ttyS0 at MMIO 0x10000c00 (irq = 20) is a 16550A
[    0.430000] console [ttyS0] enabled, bootconsole disabled
[    0.430000] console [ttyS0] enabled, bootconsole disabled
[    0.460000] m25p80 spi32766.0: found s25fl129p1, expected s25sl12801
[    0.480000] m25p80 spi32766.0: s25fl129p1 (16384 Kbytes)
[    0.490000] 7 ofpart partitions found on MTD device spi32766.0
[    0.500000] Creating 7 MTD partitions on "spi32766.0":
[    0.510000] 0x000000000000-0x000000030000 : "uboot"
[    0.520000] 0x000000030000-0x000000040000 : "uboot-env"
[    0.540000] 0x000000040000-0x000000050000 : "factory"
[    0.550000] 0x000000050000-0x000000fd0000 : "firmware"
[    0.560000] 0x0000001517db-0x000000fd0000 : "rootfs"
[    0.570000] mtd: partition "rootfs" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
[    0.600000] mtd: device 4 (rootfs) set to be root filesystem
[    0.610000] mtd: partition "rootfs_data" created automatically, ofs=0x370000, len=0xc60000
[    0.630000] 0x000000370000-0x000000fd0000 : "rootfs_data"
[    0.650000] 0x000000fd0000-0x000000fe0000 : "cert"
[    0.660000] 0x000000fe0000-0x000000ff0000 : "langpack"
[    0.670000] 0x000000ff0000-0x000001000000 : "devdata"
[    0.700000] eth0: done loading
[    0.710000] rt2880_wdt 10000120.watchdog: Initialized
[    0.720000] TCP: cubic registered
[    0.720000] NET: Registered protocol family 17
[    0.730000] Bridge firewalling registered
[    0.740000] 8021q: 802.1Q VLAN Support v1.8
[    0.770000] VFS: Mounted root (squashfs filesystem) readonly on device 31:4.
[    0.790000] Freeing unused kernel memory: 212K (802cb000 - 80300000)
procd: Console is alive
procd: - watchdog -
[    5.660000] usbcore: registered new interface driver usbfs
[    5.670000] usbcore: registered new interface driver hub
[    5.680000] usbcore: registered new device driver usb
[    5.700000] dwc_otg: version 2.72a 24-JUN-2008
[    5.710000] dwc_otg: Core Release: 2.66a
[    5.920000] dwc_otg: Periodic Transfer Interrupt Enhancement - disabled
[    5.930000] dwc_otg: Multiprocessor Interrupt Enhancement - disabled
[    5.950000] dwc_otg: Using DMA mode
[    5.950000] dwc_otg: Device using Buffer DMA mode
[    5.960000] dwc_otg 101c0000.otg: DWC OTG Controller
[    5.970000] dwc_otg 101c0000.otg: new USB bus registered, assigned bus number 1
[    5.990000] dwc_otg 101c0000.otg: irq 26, io mem 0x101c0000
[    6.000000] dwc_otg: Init: Port Power? op_state=1
[    6.010000] dwc_otg: Init: Power Port (0)
[    6.020000] hub 1-0:1.0: USB hub found
[    6.030000] hub 1-0:1.0: 1 port detected
[    6.040000] leds-gpio gpio-leds.4: pins are not configured from the driver
procd: - preinit -
Press the [f] key and hit [enter] to enter failsafe mode
Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level
jffs2 is ready
jffs2 is ready
[   10.830000] jffs2: notice: (308) jffs2_build_xattr_subsystem: complete building xattr subsystem, 1 of xdatum (0 unchecked, 0 orphan) and 29 of xref (0 dead,
20 orphan) found.
switching to overlay
procd: - early -
procd: - watchdog -
procd: - ubus -
procd: - init -
Please press Enter to activate this console.
[   13.180000] NET: Registered protocol family 10
[   13.210000] nf_conntrack version 0.5.0 (458 buckets, 1832 max)
[   13.230000] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   13.260000] Loading modules backported from Linux version master-2014-05-22-0-gf2032ea
[   13.270000] Backport generated by backports.git backports-20140320-37-g5c33da0
[   13.300000] ip_tables: (C) 2000-2006 Netfilter Core Team
[   13.370000] xt_time: kernel timezone is -0000
[   13.420000] cfg80211: Calling CRDA to update world regulatory domain
[   13.430000] cfg80211: World regulatory domain updated:
[   13.440000] cfg80211:  DFS Master region: unset
[   13.450000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[   13.470000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[   13.490000] cfg80211:   (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[   13.500000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
[   13.520000] cfg80211:   (5170000 KHz - 5250000 KHz @ 160000 KHz), (N/A, 2000mBm), (N/A)
[   13.540000] cfg80211:   (5250000 KHz - 5330000 KHz @ 160000 KHz), (N/A, 2000mBm), (0 s)
[   13.550000] cfg80211:   (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000mBm), (0 s)
[   13.570000] cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
[   13.580000] cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0mBm), (N/A)
[   13.690000] PPP generic driver version 2.4.2
[   13.700000] NET: Registered protocol family 24
[   13.760000] ieee80211 phy0: rt2x00_set_rt: Info - RT chipset 2872, rev 0200 detected
[   13.770000] ieee80211 phy0: rt2x00_set_rf: Info - RF chipset 0008 detected
procd: - init complete -
[   24.490000] device eth0 entered promiscuous mode
[   24.510000] br-lan: port 1(eth0) entered forwarding state
[   24.520000] br-lan: port 1(eth0) entered forwarding state
[   24.610000] device eth0.1 entered promiscuous mode
[   24.620000] br-lan: port 2(eth0.1) entered forwarding state
[   24.630000] br-lan: port 2(eth0.1) entered forwarding state
[   26.520000] br-lan: port 1(eth0) entered forwarding state
[   26.630000] br-lan: port 2(eth0.1) entered forwarding state
[   27.180000] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[   27.190000] device wlan0 entered promiscuous mode
[   27.260000] br-lan: port 3(wlan0) entered forwarding state
[   27.270000] br-lan: port 3(wlan0) entered forwarding state
[   27.280000] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[   29.270000] br-lan: port 3(wlan0) entered forwarding state



BusyBox v1.22.1 (2014-09-21 10:15:39 CEST) 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 (14.07, r42625)
 -----------------------------------------------------
  * 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:/#

BOOM

(also updated the uboot, but didn't make any difference)

Hi Jorge, congratulations! Really cool.

So will this device soon appear as "supported" in the OpenWrt table of hardware ( http://wiki.openwrt.org/toh/start) ?

Until then, what are the steps to get it working with your state of running openwrt?
What I get from the posts above is

1. Install a different bootloader
http://trapalhadas.no.sapo.pt/ubootR101.img

With stock firmware use this url for installing bootloader image:
http://192.168.0.1/undoc_upgrade.stm
Right?

2. Download this openwrt-image:
https://downloads.openwrt.org/barrier_b … pgrade.bin

3. Do some "magic" with the bin file (overwrite certain blob areas)
Or do you mind sharing your bin file?

4. Flash the new bin file into the router
How to do that? Any soldering or special hardware needed?
Or will Uboot be able to start the stock firmware and so flashing would be just an "firmware upgrade" through the built in web interface?

Thank you!
Ulle

Thanks!

Well it's not completely ready yet. We still need to figure out what's wrong with USB.
The GPIOs/LEDs config is completely nonsense as well.

That Uboot allows to install the firmware over serial or tftp. However I ended up replacing with a more modern version thinking it would help but no. At any rate I took that opportunity to set the baudrate to 57.6kbaud to match the firmware baud
I don't know if you can use the original tiny-boot web interface to replace it. I don't think so.. Maybe over serial it could.

I could share my bin file, but it's 16MBytes because I upgraded the flash so I doubt it would be of anyuse

Upgrading uboot should be done via serial cable.

Bytheway, well done Jorge. So, last thing to fix now is the USB, right?
Please share your bin file which the wifi fixed, I'm eager to try it on my R101.

Regards.

(Last edited by tomlase on 22 Feb 2015, 15:22)

Allright, have fun
https://onedrive.live.com/redir?resid=5 … =file%2c7z

Requires a 16MByte flash (mine's a spansion S25FL127S)

Ideally you should use your mac address and wireless config bits stored from the original flash.


EDIT:
A few days have passed since I have OpenWRT on this device and been using it as a NAS/wireless extender. No problems to report. The drive is a mechanical harddisk powered by the router, noless

The extra flash really paid off in the free space to install all those packages

The discussion might have continued from here.