Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision Next revisionBoth sides next revision | ||
| toh:belkin:f7c030 [2015/09/14 11:00] – created datachild | toh:belkin:f7c030 [2015/09/14 11:11] – [Serial port] datachild | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== Belkin F7C030 ====== | ||
| + | Belkin' | ||
| + | ===== Hardware Highlights ===== | ||
| + | ^ CPU ^ Ram ^ Flash ^ Network ^ USB ^ Serial ^ JTag ^ | ||
| + | | Ralink RT5350F | 32MiB | 16MiB | RT2860 Wifi | No | Yes | ? | | ||
| + | |||
| + | === Serial port ==== | ||
| + | Serials console baudrate is : 57600,8n1 | ||
| + | |||
| + | Serial console is available on 4 pin header: | ||
| + | |||
| + | ^ Pin ^ Desc ^ | ||
| + | | 1 | VCC | | ||
| + | | 2 | TX | | ||
| + | | 3 | RX | | ||
| + | | 4 | GND | | ||
| + | |||
| + | **'' | ||
| + | ==== U-Boot environment ==== | ||
| + | **'' | ||
| + | |||
| + | < | ||
| + | U-Boot 1.1.3 (Mar 8 2013 - 19:02:33) | ||
| + | |||
| + | Board: Ralink APSoC DRAM: 32 MB | ||
| + | relocate_code Pointer at: 81fb4000 | ||
| + | ****************************** | ||
| + | Software System Reset Occurred | ||
| + | ****************************** | ||
| + | spi_wait_nsec: | ||
| + | spi device id: c2 20 18 c2 20 (2018c220) | ||
| + | find flash: MX25L12805D | ||
| + | raspi_read: from:30000 len:1000 | ||
| + | .raspi_read: | ||
| + | .============================================ | ||
| + | Ralink UBoot Version: 3.5.0.0 | ||
| + | -------------------------------------------- | ||
| + | ASIC 5350_MP (Port5< | ||
| + | DRAM_CONF_FROM: | ||
| + | DRAM_TYPE: SDRAM | ||
| + | DRAM_SIZE: 256 Mbits | ||
| + | DRAM_WIDTH: 16 bits | ||
| + | DRAM_TOTAL_WIDTH: | ||
| + | TOTAL_MEMORY_SIZE: | ||
| + | Flash component: SPI Flash | ||
| + | Date: | ||
| + | ============================================ | ||
| + | icache: sets:256, ways:4, linesz:32 , | ||
| + | dcache: sets:128, ways:4, linesz:32 , | ||
| + | |||
| + | ##### The CPU freq = 360 MHZ #### | ||
| + | | ||
| + | #### u-boot for Light Switch 2013.3.8 #### | ||
| + | set GPIO 7, 9, 11, 13, 14 to 1 Output | ||
| + | set GPIO 10, 12 to 0 Iutput | ||
| + | |||
| + | 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. | ||
| + | |||
| + | 3: System Boot system code via Flash. | ||
| + | Trying to boot from A...bootstate=[0] | ||
| + | Boot A addr_str=[0xBC050000] | ||
| + | ## Booting image at bc050000 ... | ||
| + | raspi_read: from:50000 len:40 | ||
| + | . Image Name: Linux Kernel Image | ||
| + | | ||
| + | Image Type: MIPS Linux Kernel Image (lzma compressed) | ||
| + | Data Size: 817902 Bytes = 798.7 kB | ||
| + | Load Address: 80000000 | ||
| + | Entry Point: | ||
| + | raspi_read: from:50040 len:c7aee | ||
| + | ............. | ||
| + | | ||
| + | No initrd | ||
| + | ## Transferring control to Linux (at address 8025c000) ... | ||
| + | ## Giving linux memsize in MB, 32 | ||
| + | |||
| + | Starting kernel ... | ||
| + | </ | ||
| + | |||
| + | < | ||
| + | RT5350 # help | ||
| + | ? - alias for ' | ||
| + | bootm - boot application image from memory | ||
| + | cp - memory copy | ||
| + | erase - erase SPI FLASH memory | ||
| + | flash_test - test flash status, argv => test_pattern_start test_pattern_end test_repeat | ||
| + | go - start application at address ' | ||
| + | help - print online help | ||
| + | loadb - load binary file over serial line (kermit mode) | ||
| + | md - memory display | ||
| + | mdio - Ralink PHY register R/W command !! | ||
| + | mm - memory modify (auto-incrementing) | ||
| + | mw - memory write (fill) | ||
| + | nm - memory modify (constant address) | ||
| + | printenv- print environment variables | ||
| + | reset - Perform RESET of the CPU | ||
| + | rf - read/write rf register | ||
| + | saveenv - save environment variables to persistent storage | ||
| + | setenv | ||
| + | tftpboot- boot image via network using TFTP protocol | ||
| + | version - print monitor version | ||
| + | RT5350 # printenv | ||
| + | bootcmd=tftp | ||
| + | bootdelay=1 | ||
| + | baudrate=57600 | ||
| + | ethaddr=" | ||
| + | ramargs=setenv bootargs root=/ | ||
| + | addip=setenv bootargs $(bootargs) ip=$(ipaddr): | ||
| + | addmisc=setenv bootargs $(bootargs) console=ttyS0, | ||
| + | flash_self=run ramargs addip addmisc; | ||
| + | kernel_addr=BFC40000 | ||
| + | u-boot=u-boot.bin | ||
| + | load=tftp 8A100000 $(u-boot) | ||
| + | u_b=protect off 1:0-1;era 1:0-1;cp.b 8A100000 BC400000 $(filesize) | ||
| + | loadfs=tftp 8A100000 root.cramfs | ||
| + | u_fs=era bc540000 bc83ffff; | ||
| + | test_tftp=tftp 8A100000 root.cramfs; | ||
| + | ethact=Eth0 (10/100-M) | ||
| + | filesize=4a2000 | ||
| + | fileaddr=80800000 | ||
| + | autostart=no | ||
| + | bootfile=firmware.bin | ||
| + | ipaddr=192.168.0.144 | ||
| + | serverip=192.168.0.5 | ||
| + | bootargs=console=ttyS1, | ||
| + | check_boot=0 | ||
| + | bootstate=0 | ||
| + | stdin=serial | ||
| + | stdout=serial | ||
| + | stderr=serial | ||
| + | |||
| + | Environment size: 912/4092 bytes | ||
| + | </ | ||
| + | |||
| + | =====OEM Bootlog===== | ||
| + | < | ||
| + | LINUX started... | ||
| + | |||
| + | THIS IS ASIC | ||
| + | Linux version 2.6.21 (root@bad-debian01.cics.belkin) (gcc version 4.3.3 (GCC) ) #29 Fri Mar 15 23:05:22 PDT 2013 | ||
| + | |||
| + | The CPU frequency set to 360 MHz | ||
| + | CPU revision is: 0001964c | ||
| + | Determined physical RAM map: | ||
| + | | ||
| + | Built 1 zonelists. | ||
| + | Kernel command line: console=ttyS1, | ||
| + | root_dev_setup: | ||
| + | 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 = 40808008, status = 11000000 | ||
| + | PID hash table entries: 128 (order: 7, 512 bytes) | ||
| + | calculating r4koff... 0015f900(1440000) | ||
| + | CPU frequency 360.00 MHz | ||
| + | Using 180.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: 29860k/ | ||
| + | Mount-cache hash table entries: 512 | ||
| + | NET: Registered protocol family 16 | ||
| + | NET: Registered protocol family 2 | ||
| + | Time: MIPS clocksource has been installed. | ||
| + | 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 | ||
| + | deice id : c2 20 18 c2 20 (2018c220) | ||
| + | MX25L12805D(c2 2018c220) (16384 Kbytes) | ||
| + | mtd .name = raspi, .size = 0x01000000 (16M) .erasesize = 0x00010000 (64K) .numeraseregions = 0 | ||
| + | Creating 10 MTD partitions on " | ||
| + | 0x00000000-0x00050000 : " | ||
| + | 0x00050000-0x007c0000 : "A - Kernel and Rootfs" | ||
| + | 0x00150000-0x007c0000 : "A - Rootfs" | ||
| + | 0x007c0000-0x00f30000 : "B - Kernel and Rootfs" | ||
| + | 0x008c0000-0x00f30000 : "B - Rootfs" | ||
| + | 0x00fe0000-0x00ff0000 : " | ||
| + | 0x00ff0000-0x01000000 : " | ||
| + | 0x00040000-0x00050000 : " | ||
| + | 0x00f30000-0x00fd0000 : " | ||
| + | 0x00030000-0x00040000 : " | ||
| + | squashfs: version 3.2-r2 (2007/ | ||
| + | squashfs: LZMA suppport for slax.org by jro | ||
| + | JFFS2 version 2.2. (NAND) (C) 2001-2006 Red Hat, Inc. | ||
| + | io scheduler noop registered (default) | ||
| + | reg1_gpio_dir ori = [0x003FEBFF] | ||
| + | ################################################ | ||
| + | # | ||
| + | # | ||
| + | # | ||
| + | # | ||
| + | ################################################ | ||
| + | reg1_gpio_dir after 1 = [0x003FEBFF] | ||
| + | reg1_gpio_dir after 2 = [0x003FEBFF] | ||
| + | Ralink gpio driver initialized | ||
| + | Gemtek LED init... | ||
| + | ################## | ||
| + | Serial: 8250/16550 driver $Revision: 1.8 $ 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 | ||
| + | loop: loaded (max 8 devices) | ||
| + | rdm_major = 253 | ||
| + | Ralink APSoC Ethernet Driver Initilization. v2.1 256 rx/tx descriptors allocated, mtu = 1500! | ||
| + | MAC_ADRH -- : 0x0000000c | ||
| + | MAC_ADRL -- : 0x43535077 | ||
| + | PROC INIT OK! | ||
| + | block2mtd: version $Revision: 1.1.1.1 $ | ||
| + | nf_conntrack version 0.5.0 (256 buckets, 2048 max) | ||
| + | IPv4 over IPv4 tunneling driver | ||
| + | ip_tables: (C) 2000-2006 Netfilter Core Team, Type=Restricted Cone | ||
| + | TCP cubic registered | ||
| + | NET: Registered protocol family 1 | ||
| + | NET: Registered protocol family 10 | ||
| + | lo: Disabled Privacy Extensions | ||
| + | tunl0: Disabled Privacy Extensions | ||
| + | Mobile IPv6 | ||
| + | IPv6 over IPv4 tunneling driver | ||
| + | sit0: Disabled Privacy Extensions | ||
| + | NET: Registered protocol family 17 | ||
| + | Bridge firewalling registered | ||
| + | 802.1Q VLAN Support v1.8 Ben Greear < | ||
| + | All bugs added by David S. Miller < | ||
| + | saved_root_name is [/ | ||
| + | root_device_name is [/ | ||
| + | name is [/dev/root] | ||
| + | fs_names is [squashfs] | ||
| + | fs_names p is [squashfs], flags is 0x8001 | ||
| + | VFS: [/dev/root] Mounted root (squashfs filesystem) readonly. | ||
| + | mount_fail 0 is 0 | ||
| + | Freeing unused kernel memory: 108k freed | ||
| + | |||
| + | phy_tx_ring = 0x01379000, tx_ring = 0xa1379000 | ||
| + | |||
| + | phy_rx_ring0 = 0x0137a000, rx_ring0 = 0xa137a000 | ||
| + | MAC_ADRH -- : 0x0000000c | ||
| + | MAC_ADRL -- : 0x43535077 | ||
| + | RT305x_ESW: Link Status Changed | ||
| + | |||
| + | |||
| + | BusyBox v1.1.0 (2013.03.16-05: | ||
| + | Enter ' | ||
| + | |||
| + | # #sysinit: [sysinit] | ||
| + | #### sysinit for Light Switch 2013.3.8 #### | ||
| + | / | ||
| + | ioctl: Bad file descriptor | ||
| + | insmod: reset_btn.ko: | ||
| + | Done | ||
| + | # update nvram with default list! | ||
| + | / | ||
| + | ioctl: Bad file descriptor | ||
| + | # interfaces_init...... | ||
| + | can't get info | ||
| + | can't get info | ||
| + | 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=40, value=1001 | ||
| + | switch reg write offset=44, value=1001 | ||
| + | switch reg write offset=48, value=1002 | ||
| + | switch reg write offset=70, value=ffff506f | ||
| + | can't get info | ||
| + | can't get info | ||
| + | can't get info | ||
| + | ########### WeMo ra0 configuration ########## | ||
| + | Setting ra0 configuration.... | ||
| + | Bring up ra0 interface.... | ||
| + | rt2860v2_ap: | ||
| + | |||
| + | |||
| + | === pAd = c009b000, size = 813328 === | ||
| + | |||
| + | <-- RTMPAllocAdapterBlock, | ||
| + | RX DESC a1d9d000 | ||
| + | <-- RTMPAllocTxRxRingMemory, | ||
| + | Key1Str 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) | ||
| + | Key4Str is Invalid key length(0) or Type(0) | ||
| + | 1. Phy Mode = 9 | ||
| + | 2. Phy Mode = 9 | ||
| + | 3. Phy Mode = 9 | ||
| + | RTMPSetPhyMode: | ||
| + | MCS Set = ff 00 00 00 01 | ||
| + | SYNC - BBP R4 to 20MHz.l | ||
| + | SYNC - BBP R4 to 20MHz.l | ||
| + | SYNC - BBP R4 to 20MHz.l | ||
| + | SYNC - BBP R4 to 20MHz.l | ||
| + | SYNC - BBP R4 to 20MHz.l | ||
| + | SYNC - BBP R4 to 20MHz.l | ||
| + | SYNC - BBP R4 to 20MHz.l | ||
| + | SYNC - BBP R4 to 20MHz.l | ||
| + | SYNC - BBP R4 to 20MHz.l | ||
| + | Main bssid = 94: | ||
| + | <==== rt28xx_init, | ||
| + | 0x1300 = 00064380 | ||
| + | bridge br0 doesn' | ||
| + | No need to change ra0 to Nintendo NDS capable | ||
| + | No need to chMacAddr=1300, | ||
| + | ange ra0 to Nintendo NDS capable...Complete | ||
| + | ra0 mac: | ||
| + | [0x00001300]: | ||
| + | 30 | ||
| + | ra0 mac: | ||
| + | [0x00001304]: | ||
| + | killall: rt2860apd: no process killed | ||
| + | /bin/sh: rt2860apd: not found | ||
| + | can't get info | ||
| + | killall : No such file or directory | ||
| + | WPS BUTTON press!! | ||
| + | killall: wscd: no process killed | ||
| + | MacAddr=102c, | ||
| + | ra0 mac: | ||
| + | [0x0000102c]: | ||
| + | can't get macaddr of ra1 | ||
| + | vlan1: Setting MAC address to 94 10 3e 4c 6a a4. | ||
| + | device eth2 entered promiscuous mode | ||
| + | VLAN (vlan1): | ||
| + | vlan1: dev_set_promiscuity(master, | ||
| + | device vlan1 entered promiscuous mode | ||
| + | device ra0 entered promiscuous mode | ||
| + | never heard of command [sethello] | ||
| + | commands: | ||
| + | addbr < | ||
| + | addbr0: port 2(ra0) entering listening state | ||
| + | if < | ||
| + | vice> | ||
| + | delbr < | ||
| + | delif < | ||
| + | show show a list of bridges | ||
| + | showbr | ||
| + | showmacs | ||
| + | |||
| + | setfd < | ||
| + | stp < | ||
| + | never heard of command [setageing] | ||
| + | commands: | ||
| + | addbr < | ||
| + | addif < | ||
| + | delbr < | ||
| + | delif < | ||
| + | show show a list of bridges | ||
| + | showbr | ||
| + | showmacs | ||
| + | |||
| + | setfd < | ||
| + | stp < | ||
| + | ############################################## | ||
| + | # Check EEPROM | ||
| + | ############################################## | ||
| + | Reading 4096 bytes......success | ||
| + | Reading 4096 bytes......success | ||
| + | 94, 10, 3E, 4C, 6A, A4, | ||
| + | 50-50, 53-53, 00-00, 01-01, 94-94, 10-10, 3E-3E, 4C-4C, 6A-6A, A4-A4, | ||
| + | # lan services init...... | ||
| + | can't get info | ||
| + | can't get info | ||
| + | /bin/sh: httpd: not found | ||
| + | Start UPnP | ||
| + | can't get info | ||
| + | / | ||
| + | route: resolving gw | ||
| + | route: resolving gw | ||
| + | route: resolving gw | ||
| + | route: resolving gw | ||
| + | route: resolving gw | ||
| + | can't get info | ||
| + | killall : No such file or directory | ||
| + | killall: wscd: no process killed | ||
| + | (2427)Service enable wireless | ||
| + | /bin/sh: self-healing: | ||
| + | /bin/sh: easyconf: not found | ||
| + | # wan_init...... | ||
| + | can't get info | ||
| + | (easytest.c-> | ||
| + | (easytest.c-> | ||
| + | (easytest.c-> | ||
| + | (easytest.c-> | ||
| + | (easytest.c-> | ||
| + | |||
| + | Set country code to au!!! | ||
| + | SIOCSIFHWADDR: | ||
| + | /bin/sh: if_traffic: not found | ||
| + | /bin/sh: lld2d: not found | ||
| + | / | ||
| + | ioctl: Bad file descriptor | ||
| + | Get_bootstate_to_nvram... | ||
| + | Reading 4096 bytes......success | ||
| + | Uboot CRC is BF3CA820, Uboot env CRC is BF3CA820 | ||
| + | Get_bootstate_to_nvram : bootstate is [0] | ||
| + | Executing script "/ | ||
| + | killall: psmon: no process killed | ||
| + | killall: wan_connect: | ||
| + | killall: ledctrl: no process killed | ||
| + | killall: udhcpc: no process killed | ||
| + | /bin/sh: dropbearkey: | ||
| + | /bin/sh: dropbearkey: | ||
| + | /bin/sh: dropbear: not found | ||
| + | ================ Executing / | ||
| + | /bin/sh: / | ||
| + | GetBelkinParameter - ParameterName = PVT_LOG_ENABLE | ||
| + | PVT_LOG_ENABLE: | ||
| + | SetBelkinParameter - ParameterName = Belkin_daemon_success , ParameterValue = 1 | ||
| + | gemtek_api: *Status=[1], | ||
| + | EnableSoftWatchDog, | ||
| + | killall: watchdog: no process killed | ||
| + | remove softdog... | ||
| + | close_softdog: | ||
| + | rmmod: softdog: No such file or directory | ||
| + | SetBelkinParameter - ParameterName = settime_sec , ParameterValue = | ||
| + | GetBelkinParameter - ParameterName = home_id | ||
| + | GetBelkinParameter - ParameterName = SmartDeviceId | ||
| + | GetBelkinParameter - ParameterName = SmartPrivatekey | ||
| + | gemtek_api: *Status=[1], | ||
| + | SyncWatchDogTimer Success | ||
| + | GetBelkinParameter - ParameterName = plugin_key | ||
| + | GetBelkinParameter - ParameterName = PluginCloudId | ||
| + | GetBelkinParameter - ParameterName = RouterMac | ||
| + | GetBelkinParameter - ParameterName = RouterSsid | ||
| + | GetBelkinParameter - ParameterName = restore_state | ||
| + | GetBelkinParameter - ParameterName = LastTimeZone | ||
| + | GetBelkinParameter - ParameterName = LastDstEnable | ||
| + | GetBelkinParameter - ParameterName = DstSupportFlag | ||
| + | GetBelkinParameter - ParameterName = NotificationFlag | ||
| + | GetBelkinParameter - ParameterName = ServerEnvironment | ||
| + | GetBelkinParameter - ParameterName = TurnServerEnvironment | ||
| + | GetBelkinParameter - ParameterName = ServerEnvironmentType | ||
| + | GetBelkinParameter - ParameterName = timezone_index | ||
| + | timezone_index: | ||
| + | Updated pj_timezone_index: | ||
| + | SetBelkinParameter - ParameterName = NotificationFlag , ParameterValue = 1 | ||
| + | SaveSetting | ||
| + | GetBelkinParameter - ParameterName = lan_ipaddr | ||
| + | Threads inter-communicaiton initialization finished | ||
| + | SetBelkinParameter - ParameterName = WeMo_version , ParameterValue = 2.00.2263 | ||
| + | GetBelkinParameter - ParameterName = my_fw_version | ||
| + | SetBelkinParameter - ParameterName = my_fw_version , ParameterValue = " | ||
| + | GetSerialNumber | ||
| + | GetSerialNumber | ||
| + | GetMACAddress | ||
| + | GetBelkinParameter - ParameterName = SkuNo | ||
| + | GetBelkinParameter - ParameterName = FirmwareVersion | ||
| + | GetBelkinParameter - ParameterName = FriendlyName | ||
| + | cp: / | ||
| + | GetBelkinParameter - ParameterName = ClientSSID | ||
| + | PLUGIN_LED_GPIO_proc ledcount=5 | ||
| + | GetLanIPAddress | ||
| + | </ | ||