Bypassing CIR initialization Storlink SL351x Boot Loader [Linux], version 1.0.9 Built by linux, 14:48:57, Feb 13 2008 Processor: SL3512c3 CPU Rate: 300000000 AHB Bus Clock:150MHz Ratio:2/1 MAC 1 Address: 00:1E:42:00:1F:CC MAC 2 Address: 00:1E:42:00:1F:CC inet addr: 192.168.1.2/255.255.255.0 ==> enter ^C to abort booting within 3 seconds ...... PHY 0 Addr 1 Vendor ID: 0x00221513 mii_write: phy_addr=0x1 reg_addr=0x4 value=0x5e1 mii_write: phy_addr=0x1 reg_addr=0x9 value=0x300 mii_write: phy_addr=0x1 reg_addr=0x0 value=0x1200 mii_write: phy_addr=0x1 reg_addr=0x0 value=0x9200 mii_write: phy_addr=0x1 reg_addr=0x0 value=0x1200 Boot Menu ============================================================================== 0: Reboot 1: Start the Kernel Code 2: List Image 3: Delete Image 4: Create New Image 5: Enter Command Line Interface 6: Set IP Address 7: Set MAC Address 8: Show Configuration F: Create Default FIS X: Upgrade Boot Y: Upgrade Kernel Z: Upgrade Firmware A: Upgrade Application R: Upgrade RAM Disk M: Memory Test L: Load And Run T: TFTP Rescue mode => Select: 2 Name FLASH addr Mem addr Datalen Entry point BOOT 0x30000000-307F0701 0x00000000 0x007F0702 0x00000000 FIS directory 0x307F0000-307FFFFF 0x307F0000 0x00001400 0x00000000 Kern 0x30020000-30114BF3 0x01600000 0x000F4BF4 0x01600000 Ramdisk 0x30120000-3055B03E 0x00800000 0x0043B03F 0x00800000 Application 0x30620000-307BFFFF 0x00000000 0x001A0000 0x00000000 CurConf 0x307D0000-307EFFFF 0x00000000 0x00020000 0x00000000 VCTL 0x307C0000-307CFFFF 0x00000000 0x00010000 0x00000000 Bypassing CIR initialization Storlink SL351x Boot Loader [Linux], version 1.0.9 Built by linux, 14:48:57, Feb 13 2008 Processor: SL3512c3 CPU Rate: 300000000 AHB Bus Clock:150MHz Ratio:2/1 MAC 1 Address: 00:1E:42:00:1F:CC MAC 2 Address: 00:1E:42:00:1F:CC inet addr: 169.254.1.2/255.255.255.0 ==> enter ^C to abort booting within 3 seconds ...... Load Kern image from 0x30020000 to 0x1600000 size 1002484 Load Ramdisk image from 0x30120000 to 0x800000 size 4436031 Uncompressing Linux................................................................ done, booting the kernel. Populating '/etc/' directory structure ... done. Linking '/usr/etc/*' files under '/etc' ... done Starting /sbin/init ... init started: BusyBox v1.5.0 (2012-02-24 14:07:33 EET) multi-call binary starting pid 350, tty '': '/etc/rc.d/rc.sysinit' modprobe: module ath_rate_minstrel not found modprobe: failed to load module ath_rate_minstrel Waiting for reset to factory defaults packet..... starting pid 414, tty '': '/usr/etc/rc.d/rc-bg' starting pid 416, tty '/dev/ttySL0': '/sbin/getty' WILIBOX login: Fri Jan 1 12:00:00 UTC 2010 ath0 Cannot get current device settings: Operation not supported not setting autoneg Will output 1024 bit rsa secret key to '/etc/persistent/dropbear/dropbear_rsa_host_key' Generating key, this may take a while... Public key portion is: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAAAgwC02YLv/iDRlJ1C8lTtw3sIPphzQmI9uyH2/t4p0XdfpOIWz27kugXmFQcNkIYBVA36qce0ZLsrODfNCYHOqWNCw+9i1USlTcy3GWSAy7j/OqFbA6Z6vW6ihkeiw8zB7VQaDW8hfxJhTZCT9IIVRd5pp+zzW97g6jm2jKPAASdtY/fX Fingerprint: md5 cc:43:ae:a1:1a:9c:8f:ae:97:00:5d:35:bc:3c:3e:0b grep: /tmp/www/active/version.txt: No such file or directory 12:00:03 [I] Launched 'sshd' successfully in respawning mode. ls: /etc/persistent/skins/*.tgz: No such file or directory 12:00:04 [I] Launched 'httpd' successfully in respawning mode. 12:00:04 [I] Launched 'discoveryd' successfully in respawning mode. 12:00:04 [I] Launched 'udhcpdbr0' successfully in respawning mode. 12:00:08 [I] Launched 'dnsmasq' successfully in respawning mode. Reconfiguring syslogged... 12:00:08 [I] Launched 'gsmd' successfully in respawning mode. 12:00:08 [I] Launched 'gsmcon' successfully in respawning mode. 12:00:09 [I] Launched 'syslog' successfully in respawning mode. admin: Boot finished. Ready to serve ... WILIBOX login: admin Password: CLI version 1.0 Available commands: authcheck - Test authentication config passwd - Change any administrator password reboot - Reboot device reset - Reset device to defaults shell - Start system shell show - Show device configuration status - Show device status quit - Exit CLI cli> shell Launching system shell. Enter 'exit' or Ctrl-D to return from shell. BusyBox v1.5.0 (2012-02-24 14:07:33 EET) Built-in shell (ash) Enter 'help' for a list of built-in commands. # dmesg [17179569.184000] Linux version 2.6.18.8 (buildd2@builder) (gcc version 4.2.1 (http://www.wilibox.com)) #1 Fri Feb 24 14:10:41 EET 2012 [17179569.184000] CPU: FA526id(wb) [66015261] revision 1 (ARMv4), cr=0000397f [17179569.184000] Machine: GeminiA [17179569.184000] Warning: bad configuration page, trying to continue [17179569.184000] Ignoring unrecognised tag 0x00000000 [17179569.184000] Memory policy: ECC disabled, Data cache writeback [17179569.184000] On node 0 totalpages: 8192 [17179569.184000] DMA zone: 8192 pages, LIFO batch:1 [17179569.184000] CPU0: D VIVT write-back cache [17179569.184000] CPU0: I cache: 16384 bytes, associativity 2, 16 byte lines, 512 sets [17179569.184000] CPU0: D cache: 8192 bytes, associativity 2, 16 byte lines, 256 sets [17179569.184000] Built 1 zonelists. Total pages: 8192 [17179569.184000] Kernel command line: root=/dev/mtdblock2 console=ttySL0,19200 init=/linuxrc mem=32M loglevel=1 [17179569.184000] PID hash table entries: 256 (order: 8, 1024 bytes) [17179569.184000] Bus: 150MHz(2/1) [17179569.184000] sl2312 console setup : [17179569.184000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes) [17179569.184000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes) [17179569.188000] Memory: 32MB = 32MB total [17179569.188000] Memory: 30080KB available (1636K code, 574K data, 68K init) [17179569.188000] Calibrating delay loop... 229.88 BogoMIPS (lpj=459776) [17179569.276000] Mount-cache hash table entries: 512 [17179569.276000] CPU: Testing write buffer coherency: ok [17179569.280000] NET: Registered protocol family 16 [17179569.284000] PCI: bus0: Fast back to back transfers disabled [17179569.284000] usbcore: registered new driver usbfs [17179569.288000] usbcore: registered new driver hub [17179569.292000] NET: Registered protocol family 2 [17179569.328000] IP route cache hash table entries: 256 (order: -2, 1024 bytes) [17179569.328000] TCP established hash table entries: 1024 (order: 0, 4096 bytes) [17179569.328000] TCP bind hash table entries: 512 (order: -1, 2048 bytes) [17179569.328000] TCP: Hash tables configured (established 1024 bind 512) [17179569.328000] TCP reno registered [17179569.328000] NetWinder Floating Point Emulator V0.97 (double precision) [17179569.332000] squashfs: version 3.2-r2 (2007/01/15) Phillip Lougher [17179569.332000] squashfs: LZMA suppport for slax.org by jro [17179569.332000] JFFS2 version 2.2. (NAND) (C) 2001-2006 Red Hat, Inc. [17179569.336000] Initializing Cryptographic API [17179569.336000] io scheduler noop registered (default) [17179569.336000] SL351x Watchdog Timer, (c) 2007 WILIBOX [17179569.336000] sl351x-wdt: Found watchdog in enabled state, reseting ... [17179569.340000] drivers/char/gemini_gpio_dev.c: GPIO driver loaded [17179569.340000] ttySL0 at MMIO 0x42000000 (irq = 18) is a SL2312 [17179569.340000] SWFQ: 00FF0000 [17179569.344000] toe->gmac[0].default_desc_base_dma: 01C4C000 [17179569.344000] SL351x Giga Ethernet driver 0.1.4 built at Feb 24 2012 14:10:36 [17179569.344000] SL2312 MTD Driver Init....... [17179569.360000] SL2312 CFI Flash: Found 1 x16 devices at 0x0 in 16-bit bank [17179569.360000] SL2312 CFI Flash: Found an alias at 0x800000 for the chip at 0x0 [17179569.360000] Amd/Fujitsu Extended Query Table at 0x0040 [17179569.360000] SL2312 CFI Flash: Swapping erase regions for broken CFI table. [17179569.360000] number of CFI chips: 1 [17179569.360000] cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness. [17179569.360000] Creating 7 MTD partitions on "SL2312 CFI Flash": [17179569.360000] 0x00000000-0x00020000 : "RedBoot" [17179569.360000] 0x00020000-0x00120000 : "Kernel" [17179569.360000] 0x00120000-0x00620000 : "Ramdisk" [17179569.364000] 0x00620000-0x007c0000 : "etc" [17179569.364000] 0x007c0000-0x007d0000 : "VCTL" [17179569.368000] 0x007d0000-0x007f0000 : "cfg" [17179569.368000] 0x007f0000-0x00800000 : "FIS directory" [17179569.372000] SL2312 MTD Driver Init Success ...... [17179569.372000] Found Faraday OTG 2XX controller (base = 0x68000000) [17179569.372000] ehci-hcd-FOTG2XX ehci-hcd-FOTG2XX.1: FOTG2XX EHCI Host Controller [17179569.372000] ehci-hcd-FOTG2XX ehci-hcd-FOTG2XX.1: new USB bus registered, assigned bus number 1 [17179569.372000] ehci-hcd-FOTG2XX ehci-hcd-FOTG2XX.1: irq 10, io mem 0x68000000 [17179569.372000] ehci-hcd-FOTG2XX ehci-hcd-FOTG2XX.1: USB 0.0 started, EHCI 1.00, driver 10 Dec 2004 [17179569.372000] USB OTG2xx role detected: Host, A-Device [17179569.372000] USB OTG2xx role detected: Host, A-Device [17179569.372000] VBUS enabled. [17179569.372000] VBUS already enabled [17179569.376000] usb usb1: configuration #1 chosen from 1 choice [17179569.376000] hub 1-0:1.0: USB hub found [17179569.376000] hub 1-0:1.0: 1 port detected [17179569.480000] TCP bic registered [17179569.480000] NET: Registered protocol family 1 [17179569.480000] Storlink eth0 address = 001e42001fcc [17179569.488000] VFS: Mounted root (squashfs filesystem) readonly. [17179569.488000] Freeing init memory: 68K [17179569.988000] Full speed [17179570.044000] usb 1-1: new full speed USB device using ehci-hcd-FOTG2XX and address 2 [17179570.112000] Full speed [17179570.192000] usb 1-1: configuration #1 chosen from 1 choice [17179573.832000] wlan: 0.8.4.2 (svn r28953) [17179573.916000] wlan: mac acl policy registered [17179574.116000] ath_hal: module license 'Proprietary' taints kernel. [17179574.140000] ath_hal: 0.9.18.0 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413, REGOPS_FUNC) [17179574.208000] ath_rate_sample: 1.2 (svn r28953) [17179574.512000] ath_pci: 0.9.4.5 (svn r28953) [17179574.512000] PCI: enabling device 0000:00:0c.0 (0140 -> 0142) [17179575.124000] ath_find_eeprom: macaddr location in hal found at c02ca6a8 offset from last chan 7908 [17179575.124000] ath_print_eeprom: mac: 00:80:48:76:d4:1e, version 0x5003, regdomain 0x0 A/B/G=0/1/1 [17179575.124000] ath_print_eeprom: antennaGain= 0x0/0x1 [17179575.124000] ath_print_eeprom: cntls:0x11:0x12:0x14:0x41:0x42:0x31:0x32:0x34:0x0:0x0:0x0:0x0:0x0:0x0:0x0:0x0:0x0:0x0:0x0:0x0:0x0:0x0:0x0:0x0:0x0:0x0:0x0:0x0:0x0:0x0:0x0:0x0 [17179575.128000] wifi0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps [17179575.128000] wifi0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps [17179575.128000] wifi0: H/W encryption support: WEP AES AES_CCM TKIP [17179575.128000] wifi0: mac 7.8 phy 4.5 radio 5.6 [17179575.128000] wifi0: Use hw queue 1 for WME_AC_BE traffic [17179575.128000] wifi0: Use hw queue 0 for WME_AC_BK traffic [17179575.128000] wifi0: Use hw queue 2 for WME_AC_VI traffic [17179575.128000] wifi0: Use hw queue 3 for WME_AC_VO traffic [17179575.128000] wifi0: Use hw queue 8 for CAB traffic [17179575.128000] wifi0: Use hw queue 9 for beacons [17179575.128000] wifi0: TX99 support enabled [17179575.128000] wifi0: Atheros 5212: mem=0x58000000, irq=67 [17179575.496000] hso: /home/buildd2/svn/wili-box-5.26/drivers/hso/hso.c: 1.12-Option Option Wireless [17179575.516000] usbcore: registered new driver hso [17179576.228000] sl351x-wdt: watchog timer enabled, margin: 60s. [17179577.664000] GMAC-0 Addr 1 Vendor ID: 0x00221513 [17179578.132000] link down [17179578.132000] GMAC-0 Flow Control Disabled. [17179578.132000] Disable MAC Flow Control... [17179578.132000] GMAC-0 Addr 1 Vendor ID: 0x00221513 [17179578.132000] GMAC-0 Flow Control Disabled. [17179578.132000] Disable MAC Flow Control... [17179578.132000] GMAC-0 Addr 1 Vendor ID: 0x00221513 [17179578.360000] NET: Registered protocol family 17 [17179581.136000] link up, 100Mbps, full-duplex [17179581.136000] GMAC-0 Flow Control Enabled. [17179593.972000] ip_conntrack version 2.4 (256 buckets, 2048 max) - 216 bytes per conntrack [17179595.176000] ip_conntrack_pptp version 3.1 loaded [17179595.328000] ip_nat_pptp version 3.0 loaded [17179596.344000] Bridge firewalling registered [17179596.460000] GMAC-0 Addr 1 Vendor ID: 0x00221513 [17179596.928000] link down [17179596.928000] GMAC-0 Flow Control Disabled. [17179596.928000] Disable MAC Flow Control... [17179596.928000] GMAC-0 Addr 1 Vendor ID: 0x00221513 [17179596.928000] GMAC-0 Flow Control Disabled. [17179596.928000] Disable MAC Flow Control... [17179596.928000] GMAC-0 Addr 1 Vendor ID: 0x00221513 [17179597.032000] device eth0 entered promiscuous mode [17179597.144000] device ath0 entered promiscuous mode [17179597.212000] br0: port 2(ath0) entering learning state [17179597.376000] br0: port 2(ath0) entering disabled state [17179599.936000] link up, 100Mbps, full-duplex [17179599.936000] GMAC-0 Flow Control Enabled. [17179600.036000] br0: port 1(eth0) entering learning state [17179601.020000] ip_tables: (C) 2000-2006 Netfilter Core Team [17179601.036000] br0: topology change detected, propagating [17179601.036000] br0: port 1(eth0) entering forwarding state [17179602.724000] Ebtables v2.0 registered # lspci 0000:00:00.0 Host bridge: Faraday Technology Corp: Unknown device 4321 (rev 01) 0000:00:0c.0 Ethernet controller: Atheros Communications, Inc.: Unknown device 001a (rev 01) # cat /proc/interrupts CPU0 1: 7 - eth0 3: 0 - sl351x-wdt 8: 0 - sl2312 pci int 10: 126 - ehci_hcd:usb1, ehci_hcd:usb1 15: 35479 - SL2312 Timer Tick 18: 325 - sl2312 67: 86 - wifi0 Err: 0 # cat /proc/iomem 00000000-01ffffff : System RAM 00019000-001b2167 : Kernel text 001b4000-0024395b : Kernel data 41000000-4100001c : sl351x-wdt 41000000-4100001c : sl351x-wdt 42000000-4200004f : serial_sl2312 58000000-5800ffff : ath 63000000-63000040 : lepus-sata0 63400000-63400040 : lepus-sata 68000000-68000fff : ehci-hcd-FOTG2XX.1 68000000-68000fff : ehci_hcd f4800000-f4800038 : irq_handler