BCM BR-N150/Serial info

Info derived from
{{SCollapse|boot log

U-Boot 1.1.3 (Nov 10 2009 - 14:30:22)

Board: Ralink APSoC DRAM: 32 MB relocate_code Pointer at: 81fac000 config usb-otg flash_protect ON: from 0xBF000000 to 0xBF0201A7 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

=
=============================== Bcmcom UBoot Version : 3.2.1-2

ASIC 3052_MP2 (Port5<->Phy) DRAM COMPONENT: 256Mbits DRAM BUS: 16BIT Total memory: 32 MBytes Date:Nov 10 2009 Time:14:30:22

=
=============================== icache: sets:128, ways:4, linesz:32 ,total:16384 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. 0

3: System Boot system code via Flash. Image Name:  Linux Kernel Image Created:     2009-11-12   6:03:34 UTC
 * 1) Booting image at bf050000 ...

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

Starting kernel ...

LINUX started...

THIS IS ASIC Linux version 2.6.21 (root@BL3100) (gcc version 3.4.2) #1 Thu Nov 12 14:03:08 CST 2009

The CPU feqenuce set to 320 MHz CPU revision is: 0001964c Determined physical RAM map: memory: 02000000 @ 00000000 (usable) Initrd not found or empty - disabling initrd Built 1 zonelists. Total pages: 8128 Kernel command line: console=ttyS1,57600n8 root=/dev/ram0 Primary instruction cache 16kB, 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 = 90800030, 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: 26948k/32768k available (2529k kernel code, 5820k reserved, 583k data, 2300k init, 0k highmem) Mount-cache hash table entries: 512 NET: Registered protocol family 16 SCSI subsystem initialized 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 detected lzma initramfs detected lzma initramfs initramfs: LZMA lc=3,lp=0,pb=2,dictSize=1048576,origSize=9856512 LZMA initramfs by Ming-Ching Tiew .......................................................................................................................................................Load RT2880 Timer Module(Wdg/Soft) squashfs: version 3.2-r2 (2007/01/15) Phillip Lougher squashfs: LZMA suppport for slax.org by jro fuse init (API version 7.8) io scheduler noop registered (default) FLASH_API: MAN_ID=C2 DEV_ID=22A8 SIZE=4MB Ralink gpio driver initialized HDLC line discipline: version $Revision: 1.1.1.1 $, maxframe=4096 N_HDLC line discipline registered. Serial: 8250/16550 driver $Revision: 1.1.1.1 $ 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 RAMDISK driver initialized: 16 RAM disks of 16384K size 1024 blocksize loop: loaded (max 8 devices) rdm_major = 254 PPP generic driver version 2.4.2 PPP Deflate Compression module registered PPP BSD Compression module registered PPP MPPE Compression module registered NET: Registered protocol family 24 ralink flash device: 0x1000000 at 0x1f000000 Ralink SoC physically mapped flash: Found 1 x16 devices at 0x0 in 16-bit bank Amd/Fujitsu Extended Query Table at 0x0040 number of CFI chips: 1 cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness. Creating 4 MTD partitions on "Ralink SoC physically mapped flash": 0x00000000-0x00030000 : "Bootloader" 0x00030000-0x00040000 : "Config" 0x00040000-0x00050000 : "Factory" 0x00050000-0x01000000 : "Kernel" mtd: partition "Kernel" extends beyond the end of device "Ralink SoC physically mapped flash" -- size truncated to 0x3b0000 block2mtd: version $Revision: 1.1.1.1 $ drivers/usb/spumdm/spumdm.c: spumdm driver control init usbcore: registered new interface driver usbhid drivers/usb/input/hid-core.c: v2.6:USB HID core driver nf_conntrack version 0.5.0 (256 buckets, 2048 max) ip_tables: (C) 2000-2006 Netfilter Core Team, Type=Restricted Cone arp_tables: (C) 2002 David S. Miller TCP cubic registered brn150_wwan driver control init NET: Registered protocol family 1 NET: Registered protocol family 10 NET: Registered protocol family 17 802.1Q VLAN Support v1.8 Ben Greear  All bugs added by David S. Miller  GDMA1_MAC_ADRH -- : 0x00000000 GDMA1_MAC_ADRL -- : 0x00000000 Ralink APSoC Ethernet Driver Initilization. v2.00 256 rx/tx descriptors allocated, mtu = 1500! GDMA1_MAC_ADRH -- : 0x00000002 GDMA1_MAC_ADRL -- : 0x6b0a763c PROC INIT OK! Freeing unused kernel memory: 2300k freed init started: BusyBox v1.12.1 (2009-11-12 13:46:41 CST) startAlgorithmics/MIPS FPU Emulator v1.5 ing pid 679, tty '': '/etc_ro/rcS' devpts: called with bogus options Check TestCode Mode ... Welcome to        B C M - [ B R N - 1 5 0 ] L I N U X

=For further information check: http://www.bcmcom.com.tw/=

BCM/BRN150-STD Version CN.00.00-T10 -- Thu, 12 Nov 2009 13:56:19 +0800 XG-Route state machine init ... Start gpio-buttom probe ... internet.sh starting pid 745, tty '/dev/ttyS1': '/bin/sh'

BusyBox v1.12.1 (2009-11-12 13:46:41 CST) built-in shell (ash) Enter 'help' for a list of built-in commands.

@@@@@@@@ [ USB XG Modem .... No ] @@@@@@@@ @@@@@@@@ [ Check USB XG Modem ] @@@@@@@@ @@@@@@@@ [ USB XG Modem .... No ] @@@@@@@@ Password for 'admin' changed lm: no version for "struct_module" found: kernel tainted. dwc_otg: version 2.72a 24-JUN-2008 DWC_otg: Core Release: 2.66a DWC_otg: Periodic Transfer Interrupt Enhancement - disabled DWC_otg: Multiprocessor Interrupt Enhancement - disabled DWC_otg: Using DMA mode DWC_otg: Device using Buffer DMA mode dwc_otg lm0: DWC OTG Controller dwc_otg lm0: new USB bus registered, assigned bus number 1 dwc_otg lm0: irq 18, io mem 0x00000000 DWC_otg: Init: Port Power? op_state=1 DWC_otg: Init: Power Port (0) usb usb1: Product: DWC OTG Controller usb usb1: Manufacturer: Linux 2.6.21 dwc_otg_hcd usb usb1: SerialNumber: lm0 usb usb1: configuration #1 chosen from 1 choice hub 1-0:1.0: USB hub found hub 1-0:1.0: 1 port detected insmod: bridge.ko: module not found insmod: mii.ko: module not found insmod: raeth.ko: module not found
 * 1) @@@@@@@@ [ Check USB XG Modem ] @@@@@@@@

phy_tx_ring = 0x01441000, tx_ring = 0xa1441000

phy_rx_ring = 0x00000000, rx_ring = 0x00000000 RT305x_ESW: Link Status Changed CDMA_CSG_CFG = 81000007 GDMA1_FWD_CFG = 710000 ifconfig: ioctl 0x8913 failed: No such device ifconfig: ioctl 0x8913 failed: No such device ifconfig: ioctl 0x8913 failed: No such device ifconfig: ioctl 0x8913 failed: No such device ifconfig: ioctl 0x8913 failed: No such device ifconfig: ioctl 0x8913 failed: No such device ifconfig: ioctl 0x8913 failed: No such device ifconfig: ioctl 0x8913 failed: No such device ifconfig: ioctl 0x8913 failed: No such device ifconfig: ioctl 0x8913 failed: No such device ifconfig: ioctl 0x8913 failed: No such device ifconfig: ioctl 0x8913 failed: No such device ifconfig: ioctl 0x8913 failed: No such device ifconfig: ioctl 0x8913 failed: No such device rmmod: rt2860v2_ap: No such file or directory rmmod: rt2860v2_sta: No such file or directory Commit crc = 86fcbbe1 rt2860v2_ap: module license 'unspecified' taints kernel.

pAd = c003a000, size = 494240
<-- RTMPAllocAdapterBlock, Status=0 @@@@@@@@ [ Check USB XG Modem ] @@@@@@@@ @@@@@@@@ [ USB XG Modem .... No ] @@@@@@@@ rmmod: nf_nat_pptp: No such file or directory rmmod: nf_conntrack_pptp: No such file or directory rmmod: nf_nat_proto_gre: No such file or directory rmmod: nf_conntrack_proto_gre: No such file or directory RX DESC a144c000 size = 2048 <-- RTMPAllocTxRxRingMemory, Status=0 Key1Str is Invalid key length(0) or Type(0) Key1Str is Invalid key length(0) or Type(0) Key2Str is Invalid key length(0) or Type(0) Key2Str is Invalid key length(0) or Type(0) Key3Str is Invalid key length(0) or Type(0) Key3Str is Invalid key length(0) or Type(0) Key4Str is Invalid key length(0) or Type(0) Key4Str is Invalid key length(0) or Type(0) 1. Phy Mode = 9 2. Phy Mode = 9 3. Phy Mode = 9 MCS Set = ff 00 00 00 01 Main bssid = 00:02:6b:0a:76:3c <==== rt28xx_init, Status=0 0x1300 = 00064380 insmod: 8021q.ko: module not found eth2.2: Setting MAC address to 00 02 6b 0a 76 3c. VLAN (eth2.2): Underlying device (eth2) has same MAC, not checking promiscious mode. ifconfig: ioctl 0x8913 failed: No such device brctl: bridge br0: No such device or address switch reg write offset=14, value=405555 switch reg write offset=50, value=2001 switch reg write offset=98, value=7f3f switch reg write offset=e4, value=3f switch reg write offset=40, value=1002 switch reg write offset=44, value=1001 switch reg write offset=48, value=1001 switch reg write offset=70, value=ffff417e device ra0 entered promiscuous mode eth2.1: dev_set_promiscuity(master, 1) device eth2 entered promiscuous mode device eth2.1 entered promiscuous mode device ra1 entered promiscuous mode @@@@@@@@ [ Check USB XG Modem ] @@@@@@@@ @@@@@@@@ [ USB XG Modem .... No ] @@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@   Port to LAN    @@@@@ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@ Nofound usb-modem device ... @@@@@@@@ [ Check USB XG Modem ] @@@@@@@@ XGSTMC LEFT:[] STATUS:[profile] EVENTS:[umdm_init_driver] ARG:[] @@@@@@@@ [ USB XG Modem .... No ] @@@@@@@@ insmod: cannot insert '/lib/modules/2.6.21/kernel/drivers/usb/dwc_otg/dwc_otg.ko': invalid parameters Initializing USB Mass Storage driver... usbcore: registered new interface driver usb-storage USB Mass Storage support registered.  Init [umdm_wait_device] Waitting [5] ... usbcore: registered new interface driver hso usbcore: registered new interface driver usbserial drivers/usb/serial/usb-serial.c: USB Serial support registered for generic usbcore: registered new interface driver usbserial_generic 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 drivers/usb/serial/usb-serial.c: USB Serial support registered for pl2303 usbcore: registered new interface driver pl2303 drivers/usb/serial/pl2303.c: Prolific PL2303 USB to serial adaptor driver Buffer Param: [init 5 umdm_wait_device xgevents umdm_nofound;] Sub Param: [init 5 umdm_wait_device xgevents umdm_nofound] Add new client 4464896 Wdt StartID:4464896 timeout:5 group:umdm_wait_device command:xgevents umdm_nofound p_counter:1 usbcore: registered new interface driver cdc_acm drivers/usb/class/cdc-acm.c: v0.25:USB Abstract Control Model driver for USB modems and ISDN adapters Sub Param Events ... br0: port 3(ra1) entering learning state br0: port 2(eth2.1) entering learning state br0: port 1(ra0) entering learning state ifconfig: ioctl 0x8914 failed: Cannot assign requested address ifconfig: ioctl 0x8914 failed: Cannot assign requested address @@@@@@@@ [ Check USB XG Modem ] @@@@@@@@ @@@@@@@@ [ USB XG Modem .... No ] @@@@@@@@ @@@@@@@@ [ Check USB XG Modem ] @@@@@@@@ @@@@@@@@ [ USB XG Modem .... No ] @@@@@@@@ @@@@@@@@ [ Check USB XG Modem ] @@@@@@@@ @@@@@@@@ [ USB XG Modem .... No ] @@@@@@@@ @@@@@@@@ [ Check USB XG Modem ] @@@@@@@@ @@@@@@@@ [ USB XG Modem .... No ] @@@@@@@@ @@@@@@@@ [ Check USB XG Modem ] @@@@@@@@ @@@@@@@@ [ USB XG Modem .... No ] @@@@@@@@ @@@@@@@@ [ Check USB XG Modem ] @@@@@@@@ @@@@@@@@ [ USB XG Modem .... No ] @@@@@@@@ @@@@@@@@ [ Check USB XG Modem ] @@@@@@@@ @@@@@@@@ [ USB XG Modem .... No ] @@@@@@@@ @@@@@@@@ [ Check USB XG Modem ] @@@@@@@@ @@@@@@@@ [ USB XG Modem .... No ] @@@@@@@@ @@@@@@@@ [ Check USB XG Modem ] @@@@@@@@ @@@@@@@@ [ USB XG Modem .... No ] @@@@@@@@ killall: udhcpd: no process killed Set: phy[1].reg[0] = 3900 Set: phy[2].reg[0] = 3900 <<<<<<<<<< Wdt StartID:4464896 timeout, Running: [xgevents umdm_nofound] ... ! >>>>>>>>>> Delete client 4464896 Set: phy[3].reg[0] = 3900 XGSTMC LEFT:[] STATUS:[pf_umdm_init] EVENTS:[umdm_nofound] ARG:[] ((Error)) USB-Modem not exist ... Set: phy[4].reg[0] = 3900 Run [group|wwan] [mode|blank] ... Set: phy[1].reg[0] = 3100 Set: phy[2].reg[0] = 3100 Set: phy[3].reg[0] = 3100 Set: phy[4].reg[0] = 3100 ifconfig: ioctl 0x8913 failed: No such device libupnp: using UDP SSDP_PORT = 1900 upnpd[1632]: UPnP SDK Successfully Initialized. upnpd[1632]: Succesfully set the Web Server Root Directory. @@@@@@@@@@ [ Dnrd Start ] @@@@@@@@@@ upnpd[1632]: IGD root device successfully registered. @@@@@@ [ DNS Relay ] @@@@@@ @@@@@@@@ [ Check USB XG Modem ] @@@@@@@@ @@@@@@@@ [ USB XG Modem .... No ] @@@@@@@@ Notice: caching turned off DNS Relay Daemon End !!!!!!!![ Nat ] !!!!!!!! ip_table: set wan_name=ppp1 project:BCM/BRN150-STD ralink_gpio: gpio led support not built killall rt2860apd 1>/dev/null 2>&1 Paraneter:dhcpEnabled Value:1(1) iptables -F -t filter 1>/dev/null 2>&1 iptables -D FORWARD -j macipport_filter 1>/dev/null 2>&1 iptables -F macipport_filter 1>/dev/null 2>&1 iptables -D FORWARD -j web_filter 1>/dev/null 2>&1 iptables -F web_filter 1>/dev/null 2>&1 Paraneter:lan_ipaddr Value:192.168.1.1(11) Paraneter:lan_netmask Value:255.255.255.0(13) firmware:CN.00.00-T10 dhcp enable:1 lan ipaddr:192.168.1.1 lan netmask:255.255.255.0 iptables -P INPUT ACCEPT iptables -P OUTPUT ACCEPT iptables -P FORWARD ACCEPT iptables -t filter -N web_filter 1>/dev/null 2>&1 iptables -t filter -N macipport_filter 1>/dev/null 2>&1 iptables -t filter -A FORWARD -j web_filter 1>/dev/null 2>&1 iptables -t filter -A FORWARD -j macipport_filter 1>/dev/null 2>&1 iptables -A FORWARD -p tcp --tcp-flags SYN,RST SYN -j TCPMSS --clamp-mss-to-pmtu 1>/dev/null 2>&1 iptables -A INPUT -i ppp1 -p tcp --dport 80 -j DROP iptables -t nat -D PREROUTING -j port_forward 1>/dev/null 2>&1 iptables -t nat -F port_forward 1>/dev/null 2>&1 iptables -t nat -X port_forward 1>/dev/null 2>&1 iptables -t nat -D PREROUTING -j DMZ 1>/dev/null 2>&1 iptables -t nat -F DMZ 1>/dev/null 2>&1 iptables -t nat -X DMZ 1>/dev/null 2>&1 iptables -t nat -N port_forward 1>/dev/null 2>&1 ip_table: set wan_name=ppp1 iptables -t nat -I PREROUTING 1 -j port_forward 1>/dev/null 2>&1 ip_table: set wan_name=ppp1 iptables -t nat -N DMZ 1>/dev/null 2>&1 ip_table: set wan_name=ppp1 iptables -t nat -I PREROUTING 2 -j DMZ 1>/dev/null 2>&1 ip_table: set wan_name=ppp1 ntp.sh ddns.sh route delete 239.255.255.250 1>/dev/null 2>&1 killall wscd 1>/dev/null 2>&1 upnpd[1632]: Advertisements Sent. Listening for requests ... killall -9 wscd 1>/dev/null 2>&1 iwpriv ra0 set WscConfMode=0 1>/dev/null 2>&1 killall -q klogd killall -q syslogd syslogd -C8 1>/dev/null 2>&1 klogd 1>/dev/null 2>&1 killall -q zebra killall -q ripd /bin/qos_run tc qdisc del dev ppp0  root 1>/dev/null 2>&1 tc qdisc del dev eth2.2 root 1>/dev/null 2>&1 tc qdisc del dev eth2  root 1>/dev/null 2>&1 tc qdisc del dev ra0   root 1>/dev/null 2>&1 tc qdisc del dev apcli0 root 1>/dev/null 2>&1 iptables -t mangle -D PREROUTING -j qos_mangle_chain 1>/dev/null 2>&1 iptables -t mangle -F qos_mangle_chain 1>/dev/null 2>&1 iptables -t mangle -X qos_mangle_chain 1>/dev/null 2>&1
 * 1) config RT3052 vlan partition (WLLLL) #####

storage.sh admin br0: topology change detected, propagating br0: port 3(ra1) entering forwarding state br0: topology change detected, propagating br0: port 2(eth2.1) entering forwarding state br0: topology change detected, propagating br0: port 1(ra0) entering forwarding state Password for 'admin' changed storage.sh ftp webs: Listening for HTTP requests at address 192.168.1.1 }}
 * 1) USB init #####

ps aux
PID USER      VSZ STAT COMMAND 1 admin    1816 S    init 2 admin       0 SWN  [ksoftirqd/0] 3 admin       0 SW<  [events/0] 4 admin       0 SW<  [khelper] 5 admin       0 SW<  [kthread] 30 admin       0 SW<  [kblockd/0] 33 admin       0 SW<  [khubd] 45 admin       0 SW<  [kswapd0] 46 admin       0 SW   [pdflush] 47 admin       0 SW   [pdflush] 48 admin       0 SW<  [aio/0] 663 admin       0 SW   [mtdblockd] 714 admin    1420 S    wdt-daemon 719 admin    1856 S    /bin/sh /bin/xgstmc 725 admin    1364 S    nvram_daemon 740 admin    1816 S    goahead 745 admin    1820 S    /bin/sh 748 admin    1068 S    gpio_btn wait 21 -D -c 1-30 -x /bin/xgevents press_do 750 admin    1068 S    gpio_btn wait 17 -D -c >30 -x /bin/xgevents press_dow 855 admin       0 SW<  [dwc_otg] 932 admin       0 SW   [RtmpWscTask] 1122 admin    1420 S    wdt-daemon 1439 admin    1816 S    udhcpd /etc/udhcpd.conf 1503 admin    1812 S    cat /var/run/events 1632 admin    1908 S    upnpd -f ppp1 br0 1634 admin    1908 S    upnpd -f ppp1 br0 1635 admin    1908 S    upnpd -f ppp1 br0 1638 admin    1908 S    upnpd -f ppp1 br0 1639 admin    1908 S    upnpd -f ppp1 br0 1641 admin    1908 S    upnpd -f ppp1 br0 1643 admin    1908 S    upnpd -f ppp1 br0 1644 admin    1908 S    upnpd -f ppp1 br0 1645 admin    1908 S    upnpd -f ppp1 br0 1646 admin    1908 S    upnpd -f ppp1 br0 1689 admin    1596 S    dnrd --cache=off --uid=1 1714 admin    1076 S    ssdpd 1800 admin    1820 S    syslogd -C8 1803 admin    1812 S    klogd 2364 admin    1816 R    ps aux
 * 1) ps aux

cat /proc/cmdline
console=ttyS1,57600n8 root=/dev/ram0
 * 1) cat cmdline

cat /proc/mtd
dev:   size   erasesize  name mtd0: 00030000 00010000 "Bootloader" mtd1: 00010000 00010000 "Config" mtd2: 00010000 00010000 "Factory" mtd3: 003b0000 00010000 "Kernel"
 * 1) cat /proc/mtd