BandLuxe R305/Serial info

Info derived from
{{SCollapse|boot log

U-Boot 1.1.3 (Dec 1 2009 - 14:23:58)

Board: Ralink APSoC DRAM: 32 MB relocate_code Pointer at: 81fa8000 flash_protect ON: from 0xBF000000 to 0xBF025123 protect on 0 protect on 1 protect on 2 protect on 3 protect on 4 protect on 5 protect on 6 protect on 7 protect on 8 protect on 9 flash_protect ON: from 0xBF030000 to 0xBF03FFFF protect on 10
 * Warning - bad CRC, using default environment

=
=============================== Ralink UBoot Version : 3.2 UBoot Release Version: 1.0.9_20091201 bootloader_version=" 1.0.9_20091201"

ASIC 3052_MP2 (Port5<->None) DRAM COMPONENT: 256Mbits DRAM BUS: 16BIT Total memory: 32 MBytes Date:Dec 1 2009  Time:14:23:58

=
=============================== icache: sets:256, ways:4, linesz:32 ,total:32768 dcache: sets:128, ways:4, linesz:32 ,total:16384


 * 1) The CPU freq = 320 MHZ ####

SDRAM bus set to 16 bit SDRAM 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. 9: Load Boot Loader code then write to Flash via TFTP.

You choosed 3 0

3: System Boot system code via Flash.

eth_register Eth0 (10/100-M) enetvar=ethaddr,Eth addr:00:AA:BB:CC:DD:10 00:AA:BB:CC:DD:10:

eth_current->name = Eth0 (10/100-M)

Image Name:  Linux Kernel Image Created:     2009-11-23   3:52:56 UTC
 * 1) Booting image at bf050000 ...

System Control Status = 0x03400000 Image Type:  MIPS Linux Kernel Image (lzma compressed) Data Size:   3588032 Bytes =  3.4 MB   Load Address: 80000000 Entry Point: 80350000 Verifying Checksum ... OK  Uncompressing Kernel Image ... OK No initrd
 * 1) Transferring control to Linux (at address 80350000) ...
 * 2) Giving linux memsize in MB, 32

Starting kernel ...

LINUX started...

THIS IS ASIC Linux version 2.6.21 (upleong@upleong) (gcc version 3.4.2) #56 Mon Nov 23 11:48:25 CST 2009

The CPU feqenuce set to 320 MHz CPU revision is: 0001964c Determined physical RAM map: memory: 02000000 @ 00000000 (usable) Built 1 zonelists. Total pages: 8128 Kernel command line: console=ttyS1,57600n8 root=/dev/mtdblock2 Primary instruction cache 32kB, physically tagged, 4-way, linesize 32 bytes. Primary data cache 16kB, 4-way, linesize 32 bytes. Synthesized TLB refill handler (20 instructions). Synthesized TLB load handler fastpath (32 instructions). Synthesized TLB store handler fastpath (32 instructions). Synthesized TLB modify handler fastpath (31 instructions). Cache parity protection disabled cause = 90800074, status = 1100ff00 PID hash table entries: 128 (order: 7, 512 bytes) calculating r4koff... 00138800(1280000) CPU frequency 320.00 MHz Using 160.000 MHz high precision timer. Console: colour dummy device 80x25 Dentry cache hash table entries: 4096 (order: 2, 16384 bytes) Inode-cache hash table entries: 2048 (order: 1, 8192 bytes) Memory: 28744k/32768k available (2803k kernel code, 4024k reserved, 584k data, 116k init, 0k highmem) Mount-cache hash table entries: 512 NET: Registered protocol family 16 usbcore: registered new interface driver usbfs usbcore: registered new interface driver hub usbcore: registered new device driver usb Time: MIPS clocksource has been installed. NET: Registered protocol family 2 IP route cache hash table entries: 1024 (order: 0, 4096 bytes) TCP established hash table entries: 1024 (order: 1, 8192 bytes) TCP bind hash table entries: 1024 (order: 0, 4096 bytes) TCP: Hash tables configured (established 1024 bind 1024) TCP reno registered squashfs: version 3.2-r2 (2007/01/15) Phillip Lougher squashfs: LZMA suppport for slax.org by jro io scheduler noop registered (default) FLASH_API: MAN_ID=C2 DEV_ID=22A8 SIZE=4MB Ralink gpio driver initialized ralink_gpioReset button one click Serial: 8250/16550 driver $Revision: 1.3 $ 2 ports, IRQ sharing disabled serial8250: ttyS0 at I/O 0xb0000500 (irq = 37) is a 16550A serial8250: ttyS1 at I/O 0xb0000c00 (irq = 12) is a 16550A GDMA1_MAC_ADRH -- : 0x00000000 GDMA1_MAC_ADRL -- : 0x00000000 Ralink APSoC Ethernet Driver Initilization. v1.60 128 rx/tx descriptors allocated, mtu = 1500! NAPI enable, weight = 0, Tx Ring = 128, Rx Ring = 128 GDMA1_MAC_ADRH -- : 0x00000021 GDMA1_MAC_ADRL -- : 0x00123456 PROC INIT OK! GTK :: To segment the WAN/LAN as LLLLW, Port 0 ~ 4 ... successfully PPP generic driver version 2.4.2 PPP BSD Compression module registered NET: Registered protocol family 24 2860 version : 2.0.0.0 (Jun 15 2009)

pAd = c0000000, size = 391840
<-- RTMPAllocAdapterBlock, Status=0 ralink flash device: 0x1000000 at 0xbf000000 Ralink SoC physically mapped flash: Found 1 x16 devices at 0x0 in 16-bit bank Amd/Fujitsu Extended Query Table at 0x0040 number of CFI chips: 1 cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness. Creating 6 MTD partitions on "Ralink SoC physically mapped flash": 0x00000000-0x00050000 : "uBoot" 0x00050000-0x00170000 : "Linux Kernel" 0x00170000-0x003d0000 : "RootFS" 0x003d0000-0x003e0000 : "apndata" 0x003e0000-0x003f0000 : "NVRAM" 0x003f0000-0x00400000 : "Factory" block2mtd: version $Revision: 1.1.1.1 $ usbcore: registered new interface driver cdc_ether usbcore: registered new interface driver usbserial drivers/usb/serial/usb-serial.c: USB Serial Driver core drivers/usb/serial/usb-serial.c: USB Serial support registered for GSM modem (1-port) usbcore: registered new interface driver option drivers/usb/serial/option.c: USB Driver for GSM modems: v0.7.1 hso: drivers/usb/serial/hso.c: 1.12-Option Option Wireless usbcore: registered new interface driver hso dwc_otg: version 2.60a 22-NOV-2006 DWC_otg: Using DMA mode dwc_otg lm0: DWC OTG Controller dwc_otg lm0: new USB bus registered, assigned bus number 1 dwc_otg lm0: irq 18, io mem 0x00000000 DWC_otg: Init: Port Power? op_state=1 DWC_otg: Init: Power Port (0) usb usb1: configuration #1 chosen from 1 choice hub 1-0:1.0: USB hub found hub 1-0:1.0: 1 port detected nf_conntrack version 0.5.0 (256 buckets, 2048 max)

PORT TRIGGER LOAD a@@q
ip_tables: (C) 2000-2006 Netfilter Core Team, Type=Restricted Cone ipt_notify_userapps : register proc success ipt_notify_userapps : register proc success TCP cubic registered NET: Registered protocol family 1 NET: Registered protocol family 17 802.1Q VLAN Support v1.8 Ben Greear  All bugs added by David S. Miller  VFS: Mounted root (squashfs filesystem) readonly. Freeing unused kernel memory: 116k freed Warning: unable to open an initial console. usb 1-1: new high speed USB device using dwc_otg and address 2 usb 1-1: configuration #1 chosen from 1 choice eth1: register 'cdc_ether' at usb-lm0-1, CDC Ethernet Device, 00:26:fa:00:00:00 Algorithmics/MIPS FPU Emulator v1.5 GDMA1_MAC_ADRH -- : 0x00000026 GDMA1_MAC_ADRL -- : 0x824e5b49

phy_tx_ring = 0x01928000, tx_ring = 0xa1928000

phy_rx_ring = 0x00000000, rx_ring = 0x00000000 RT305x_ESW: Link Status Changed CDMA_CSG_CFG = 81000007 GDMA1_FWD_CFG = 710000 can't add ra0 to bridge br0: Invalid argument device lan0 entered promiscuous mode Setting ra0 ra1 configuration... ra0      mac: [0x0000102c]:44031e46 (easytest.c->main(536)) Start easytest 20080409 (easytest.c->main(641)) Waiting product test packet...

Dante's tiny TFTP Server is ready on port 69 This is the child process, pid = 3394 This is the parent process, pid = 3392 This is the child process, pid = 3396 This is the parent process, pid = 3395 /tmp/del_route: cannot open 0.0: ERROR r305_led_on_off: ERROR UMTS == 0, 0 0.3: ERROR r305_led_on_off: ERROR UMTS == 0, -1 LED Status 0

BusyBox v1.2.1 (2009.11.23-03:48+0000) Built-in shell (msh) Enter 'help' for a list of built-in commands.

}}
 * 1) LED Status 0

cat /proc/version
Linux version 2.6.21 (upleong@upleong) (gcc version 3.4.2) #56 Mon Nov 23 11:48:25 CST 2009
 * 1) cat version

cat /proc/mtd
dev:   size   erasesize  name mtd0: 00050000 00010000 "uBoot" mtd1: 00120000 00010000 "Linux Kernel" mtd2: 00260000 00010000 "RootFS" mtd3: 00010000 00010000 "apndata" mtd4: 00010000 00010000 "NVRAM" mtd5: 00010000 00010000 "Factory"
 * 1) cat /proc/mtd

netstat -l
Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address          Foreign Address         State tcp       0      0 192.168.1.1:80          *:*                     LISTEN tcp       0      0 *:53                    *:*                     LISTEN tcp       0      0 192.168.1.1:443         *:*                     LISTEN udp       0      0 *:53                    *:* udp       0      0 *:67                    *:* udp       0      0 192.168.1.1:69          *:* udp       0      0 *:14688                 *:* Active UNIX domain sockets (only servers) Proto RefCnt Flags      Type       State         I-Node Path unix 2      [ ACC ]     STREAM     LISTENING     2955   /tmp/blux
 * 1) netstat -l

ps
PID Uid     VmSize Stat Command 1 0          944 S   /sbin/init 2 0              SWN [ksoftirqd/0] 3 0              SW< [events/0] 4 0              SW< [khelper] 5 0              SW< [kthread] 28 0              SW< [kblockd/0] 31 0              SW< [khubd] 43 0              SW< [kswapd0] 44 0              SW  [pdflush] 45 0              SW  [pdflush] 46 0              SW< [aio/0] 636 0              SW  [mtdblockd] 2013 0          320 S   usb_storage_hotplug 2017 0          284 S   /sbin/hotplug2 --persistent 2023 0          388 S   /sbin/syslogd -n 3114 0          308 S   ResetToDefault 3388 0          736 S   easytest 3390 0          344 S   tftpd 3392 0          388 S   httpd -i br0 -p 80 -s 0 3394 0          356 S   httpd -i br0 -p 80 -s 0 3395 0          388 S   httpd-mini -i br0 -p 443 -s 1 3396 0          836 S   httpd-mini -i br0 -p 443 -s 1 3410 0          412 S   dnsmasq 3412 0          252 S   /bin/udhcpd /tmp/udhcpd.conf 3413 0          356 S   /bin/udhcpd /tmp/udhcpd.conf 3430 0          544 S   bandluxed 3431 0          544 S   bandluxed 3432 0          544 S   bandluxed 3433 0          544 S   bandluxed 3438 0          524 S   /bin/wan_connect 3461 0          456 S   /bin/sh 3641 0          384 R   ps
 * ps

cat /proc/bus/usb/devices

 * 1) cat devices

T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=480 MxCh= 1 B: Alloc=  0/800 us ( 0%), #Int=  0, #Iso=  0 D: Ver= 2.00 Cls=09(hub  ) Sub=00 Prot=01 MxPS=64 #Cfgs=  1 P: Vendor=0000 ProdID=0000 Rev= 2.06 S: Manufacturer=Linux 2.6.21 dwc_otg_hcd S: Product=DWC OTG Controller S: SerialNumber=lm0 C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr= 0mA I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub E: Ad=81(I) Atr=03(Int.) MxPS=   4 Ivl=256ms

T: Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  2 Spd=480 MxCh= 0 D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1 P: Vendor=1a8d ProdID=100b Rev= 0.00 S: Manufacturer=BandRich, Inc. S:  Product=BandLuxe  3.5G HSPA Adapter S: SerialNumber=355469030061038 C:* #Ifs= 5 Cfg#= 1 Atr=a0 MxPwr=500mA I:* If#= 0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=01 Prot=ff Driver=hso E: Ad=81(I) Atr=03(Int.) MxPS=  64 Ivl=2ms E: Ad=82(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms E: Ad=01(O) Atr=02(Bulk) MxPS= 512 Ivl=4ms I:* If#= 1 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=02 Prot=ff Driver=hso E: Ad=83(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms E: Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=4ms I:* If#= 2 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=03 Prot=ff Driver=hso E: Ad=84(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms E: Ad=03(O) Atr=02(Bulk) MxPS= 512 Ivl=4ms I:* If#= 3 Alt= 0 #EPs= 1 Cls=02(comm.) Sub=06 Prot=00 Driver=cdc_ether E: Ad=85(I) Atr=03(Int.) MxPS=  64 Ivl=2ms I: If#= 4 Alt= 0 #EPs= 0 Cls=0a(data ) Sub=00 Prot=00 Driver=cdc_ether I:* If#= 4 Alt= 1 #EPs= 2 Cls=0a(data ) Sub=00 Prot=00 Driver=cdc_ether E: Ad=86(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms E: Ad=04(O) Atr=02(Bulk) MxPS= 512 Ivl=4ms