Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision Next revisionBoth sides next revision | ||
| toh:nexx:wt1520 [2015/10/07 06:07] – align with naming in official code repo laibsch | toh:nexx:wt1520 [2020/06/17 14:43] – tmomas | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== Nexx WT1520F / WT1520H ====== | ||
| + | |||
| + | {{section> | ||
| + | |||
| + | |||
| + | A portable router with amazingly small size. It provides 150MBit/s 802.11bgn wireless connectivity, | ||
| + | |||
| + | **'' | ||
| + | |||
| + | {{media: | ||
| + | |||
| + | |||
| + | ===== Supported Versions ===== | ||
| + | ---- datatable ---- | ||
| + | cols : Brand, Model, Versions, Supported Current Rel, OEM device homepage URL_url, OWrt Forum Topic URL_url, Device Techdata_pageid | ||
| + | headers : Brand, Model, Version, Current Release, OEM Info, Forum Topic, Technical Data | ||
| + | align : c, | ||
| + | filter | ||
| + | ---- | ||
| + | |||
| + | |||
| + | ===== Hardware Highlights ===== | ||
| + | ---- datatable ---- | ||
| + | cols : Model, Versions, CPU, CPU MHz, Flash MB_mbflashs, | ||
| + | header | ||
| + | align : c, | ||
| + | filter | ||
| + | ---- | ||
| + | |||
| + | There are two versions (according to [[http:// | ||
| + | |||
| + | |||
| + | ===== Installation ===== | ||
| + | ---- datatable ---- | ||
| + | cols : Model, Versions, Supported Current Rel, Firmware OpenWrt Install URL_url, Firmware OpenWrt Upgrade URL_url, Firmware OEM Stock URL_url | ||
| + | headers : Model, Version, Current Release, Firmware OpenWrt Install, Firmware OpenWrt Upgrade, Firmware OEM Stock | ||
| + | align : c,c,c | ||
| + | filter | ||
| + | ---- | ||
| + | |||
| + | -> [[docs: | ||
| + | |||
| + | ==== OEM web GUI ==== | ||
| + | Use the 4MB or the 8MB image according to your device' | ||
| + | |||
| + | |||
| + | ==== OEM installation using the TFTP method ==== | ||
| + | -> | ||
| + | |||
| + | After power-on Ralink' | ||
| + | |||
| + | < | ||
| + | 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. | ||
| + | </ | ||
| + | |||
| + | **2** asks for TFTP client and server IPs and an image name to download. Following | ||
| + | a successful TFTP transfer, it will automatically erase and rewrite mtd3 (" | ||
| + | |||
| + | **4** drops into a regular u-boot command line. Some notable features: | ||
| + | * cp has a '' | ||
| + | * Similarly, there are '' | ||
| + | |||
| + | The //linux// keyword refers to mtd3 (" | ||
| + | Internally, u-boot maps the flash device to address '' | ||
| + | |||
| + | Here are a command line invocations which manually perform the TFTP upgrade similarly to operation #2: | ||
| + | |||
| + | < | ||
| + | RT5350 # setenv ipaddr 192.168.1.1 | ||
| + | RT5350 # setenv serverip 192.168.1.100 | ||
| + | RT5350 # tftp 80100000 openwrt-ramips-rt305x-wt1520-4M-squashfs-sysupgrade.bin | ||
| + | RT5350 # erase linux | ||
| + | RT5350 # cp.linux | ||
| + | </ | ||
| + | |||
| + | The loader wants to find a valid sysupgrade image checksum in mtd3 to boot. | ||
| + | |||
| + | |||
| + | ===== Original firmware telnet login ===== | ||
| + | |||
| + | Out of the box, you can connect the device to your Ethernet network using the WAN ethernet port (the one next to the edge of the board). It will grab an IP address from the network using DHCP. You then can log in to the device using telnet like this: | ||
| + | |||
| + | < | ||
| + | $ telnet <IP address assigned by DHCP> | ||
| + | |||
| + | Escape character is ' | ||
| + | |||
| + | (none) login: nexxadmin | ||
| + | Password: y1n2inc.com0755 | ||
| + | </ | ||
| + | |||
| + | ===== Basic configuration ===== | ||
| + | -> [[docs: | ||
| + | Set up your Internet connection, configure wireless, configure USB port, etc. | ||
| + | |||
| + | ===== Specific Configuration ===== | ||
| + | ==== Interfaces ==== | ||
| + | The default network configuration is: | ||
| + | ^ Interface Name ^ Description | ||
| + | | br-lan | ||
| + | | eth0 | LAN port | None | | ||
| + | |||
| + | ==== Failsafe mode ==== | ||
| + | -> [[docs: | ||
| + | |||
| + | |||
| + | ===== Hardware ===== | ||
| + | ==== Info ==== | ||
| + | ^ [[wp> | ||
| + | ^ Vendor | ||
| + | ^ [[docs: | ||
| + | ^ [[docs: | ||
| + | ^ [[docs: | ||
| + | ^ Flash-Chip | ||
| + | ^ Flash size | 4096 KiB | | ||
| + | ^ RAM-Chip | ||
| + | ^ RAM | 32 MiB | | ||
| + | ^ Wireless | ||
| + | ^ Ethernet | ||
| + | ^ USB | Yes | | ||
| + | ^ [[docs: | ||
| + | ^ [[docs: | ||
| + | |||
| + | ==== Opening the case ==== | ||
| + | |||
| + | * Cover is held by 4 plastic notches | ||
| + | |||
| + | ==== Photos ==== | ||
| + | |||
| + | {{media: | ||
| + | {{media: | ||
| + | |||
| + | ==== Serial ==== | ||
| + | -> [[docs: | ||
| + | |||
| + | How to connect to the Serial Port of this specific device: | ||
| + | |||
| + | {{media: | ||
| + | {{media: | ||
| + | |||
| + | Two test points of the center of a board are TX and RX. The USB connector side is TX. Serial speed is 57600 baud. There' | ||
| + | |||
| + | ==== JTAG ==== | ||
| + | -> [[docs: | ||
| + | |||
| + | ==== GPIO ==== | ||
| + | There are 3 GPIO pins available (for example for I2C bus) as shown in the picture bellow. | ||
| + | |||
| + | {{: | ||
| + | |||
| + | ===== Debricking ===== | ||
| + | -> [[docs: | ||
| + | |||
| + | If the bootloader is still working, you can use it to restore your backup of mtd3. | ||
| + | The procedure is the same as for installing the OpenWrt image | ||
| + | |||
| + | Tip for backing up the original flash: The factory mtd3 system does not have an sshd or ssh/scp, but runs proftpd. | ||
| + | You can use '' | ||
| + | |||
| + | ===== Bootlogs ===== | ||
| + | ==== OEM bootlog ==== | ||
| + | <WRAP bootlog> | ||
| + | < | ||
| + | |||
| + | |||
| + | Board: Ralink APSoC DRAM: 32 MB | ||
| + | |||
| + | relocate_code Pointer at: 81fb4000 | ||
| + | |||
| + | spi_wait_nsec: | ||
| + | |||
| + | spi device id: ef 40 16 0 0 (40160000) | ||
| + | |||
| + | find flash: W25Q32BV | ||
| + | |||
| + | raspi_read: from:30000 len: | ||
| + | |||
| + | .*** Warning - bad CRC, using default environment | ||
| + | |||
| + | |||
| + | ============================================ | ||
| + | |||
| + | Ralink UBoot Version: 4.0.1.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:Sep 13 2012 Time: | ||
| + | |||
| + | ============================================ | ||
| + | |||
| + | icache: sets:256, ways:4, linesz:32 , | ||
| + | |||
| + | dcache: sets:128, ways:4, linesz:32 , | ||
| + | |||
| + | |||
| + | ##### The CPU freq = 360 MHZ #### | ||
| + | |||
| + | | ||
| + | |||
| + | |||
| + | 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. | ||
| + | |||
| + | |||
| + | |||
| + | You choosed 3 | ||
| + | |||
| + | |||
| + | 0 | ||
| + | |||
| + | |||
| + | |||
| + | 3: System Boot system code via Flash. | ||
| + | |||
| + | ## Booting image at bc050000 ... | ||
| + | |||
| + | raspi_read: from:50000 len: | ||
| + | |||
| + | . Image Name: Linux Kernel Image | ||
| + | |||
| + | | ||
| + | |||
| + | Image Type: MIPS Linux Kernel Image (lzma compressed) | ||
| + | |||
| + | Data Size: 3791147 Bytes = 3.6 MB | ||
| + | |||
| + | Load Address: 80000000 | ||
| + | |||
| + | Entry Point: | ||
| + | |||
| + | raspi_read: from:50040 len: | ||
| + | |||
| + | .......................................................... | ||
| + | |||
| + | | ||
| + | |||
| + | No initrd | ||
| + | |||
| + | ## Transferring control to Linux (at address 80414000) ... | ||
| + | |||
| + | ## Giving linux memsize in MB, 32 | ||
| + | |||
| + | |||
| + | Starting kernel ... | ||
| + | |||
| + | |||
| + | |||
| + | LINUX started... | ||
| + | |||
| + | THIS IS ASIC | ||
| + | Linux version 2.6.21 (root@localhost.localdomain) (gcc version 3.4.2) #1209 Thu Jan 16 18:16:17 CST 2014 | ||
| + | |||
| + | The CPU feqenuce set to 360 MHz | ||
| + | CPU revision is: 0001964c | ||
| + | Determined physical RAM map: | ||
| + | | ||
| + | Initrd not found or empty - disabling initrd | ||
| + | Built 1 zonelists. | ||
| + | Kernel command line: console=ttyS1, | ||
| + | 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 = c0808010, status = 11000000 | ||
| + | PID hash table entries: 128 (order: 7, 512 bytes) | ||
| + | calculating r4koff... 0015f900(1440000) | ||
| + | CPU frequency 360.00 MHz | ||
| + | Using 0.050 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: 25584k/ | ||
| + | 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 | ||
| + | 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 | ||
| + | detected lzma initramfs | ||
| + | detected lzma initramfs | ||
| + | initramfs: LZMA lc=3, | ||
| + | LZMA initramfs by Ming-Ching Tiew < | ||
| + | Warning: un-recognized chip ID, please update SPI driver! | ||
| + | EN25MAX(ef 40170000) (8192 Kbytes) | ||
| + | mtd .name = raspi, .size = 0x00800000 (8M) .erasesize = 0x00010000 (64K) .numeraseregions = 0 | ||
| + | Creating 4 MTD partitions on " | ||
| + | 0x00000000-0x00030000 : " | ||
| + | 0x00030000-0x00040000 : " | ||
| + | 0x00040000-0x00050000 : " | ||
| + | 0x00050000-0x00400000 : " | ||
| + | Load Ralink DFS Timer Module | ||
| + | RT3xxx EHCI/OHCI init. | ||
| + | squashfs: version 3.2-r2 (2007/ | ||
| + | squashfs: LZMA suppport for slax.org by jro | ||
| + | NTFS driver 2.1.28 [Flags: R/W]. | ||
| + | fuse init (API version 7.8) | ||
| + | io scheduler noop registered (default) | ||
| + | HDLC line discipline: version $Revision: 1.1.1.1 $, maxframe=4096 | ||
| + | N_HDLC line discipline registered. | ||
| + | Serial: 8250/16550 driver $Revision: 1.7 $ 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: | ||
| + | loop: loaded (max 8 devices) | ||
| + | rdm_major = 254 | ||
| + | MAC_ADRH -- : 0x00000000 | ||
| + | MAC_ADRL -- : 0x00000000 | ||
| + | Ralink APSoC Ethernet Driver Initilization. v2.0 256 rx/tx descriptors allocated, mtu = 1500! | ||
| + | MAC_ADRH -- : 0x00008c88 | ||
| + | MAC_ADRL -- : 0x2b002982 | ||
| + | PROC INIT OK! | ||
| + | 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 | ||
| + | PPPoL2TP kernel driver, V0.17 | ||
| + | PPTP driver version 0.8.1 | ||
| + | |||
| + | |||
| + | === pAd = c0019000, size = 632400 === | ||
| + | |||
| + | <-- RTMPAllocAdapterBlock, | ||
| + | block2mtd: version $Revision: 1.1.1.1 $ | ||
| + | rt3xxx-ehci rt3xxx-ehci: | ||
| + | rt3xxx-ehci rt3xxx-ehci: | ||
| + | rt3xxx-ehci rt3xxx-ehci: | ||
| + | rt3xxx-ehci rt3xxx-ehci: | ||
| + | usb usb1: Product: Ralink EHCI Host Controller | ||
| + | usb usb1: Manufacturer: | ||
| + | usb usb1: SerialNumber: | ||
| + | usb usb1: configuration #1 chosen from 1 choice | ||
| + | hub 1-0:1.0: USB hub found | ||
| + | hub 1-0:1.0: 1 port detected | ||
| + | rt3xxx-ohci rt3xxx-ohci: | ||
| + | rt3xxx-ohci rt3xxx-ohci: | ||
| + | rt3xxx-ohci rt3xxx-ohci: | ||
| + | usb usb2: Product: RT3xxx OHCI Controller | ||
| + | usb usb2: Manufacturer: | ||
| + | usb usb2: SerialNumber: | ||
| + | usb usb2: configuration #1 chosen from 1 choice | ||
| + | hub 2-0:1.0: USB hub found | ||
| + | hub 2-0:1.0: 1 port detected | ||
| + | usbcore: registered new interface driver cdc_acm | ||
| + | drivers/ | ||
| + | Netfilter messages via NETLINK v0.30. | ||
| + | nf_conntrack version 0.5.0 (256 buckets, 2048 max) | ||
| + | ip_tables: (C) 2000-2006 Netfilter Core Team, Type=Linux | ||
| + | ipt_time loading | ||
| + | TCP cubic registered | ||
| + | NET: Registered protocol family 1 | ||
| + | NET: Registered protocol family 17 | ||
| + | Ebtables v2.0 registered | ||
| + | 802.1Q VLAN Support v1.8 Ben Greear < | ||
| + | All bugs added by David S. Miller < | ||
| + | _nvram_read checksum = 593e save checksum = 593e | ||
| + | Freeing unused kernel memory: 2452k freed | ||
| + | Hit enter to continue...RETH 5350 | ||
| + | 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=1001 | ||
| + | switch reg write offset=44, value=1001 | ||
| + | switch reg write offset=48, value=1002 | ||
| + | switch reg write | ||
| + | phy_tx_ring = 0x00627000, tx_ring = 0xa0627000 | ||
| + | |||
| + | phy_rx_ring0 = 0x00628000, rx_ring0 = 0xa0628000 | ||
| + | | ||
| + | stat_curr = 81808100 | ||
| + | e=ffff506f | ||
| + | Algorithmics/ | ||
| + | SCSI subsystem initialized | ||
| + | Initializing USB Mass Storage driver... | ||
| + | usbcore: registered new interface driver usb-storage | ||
| + | USB Mass Storage support registered. | ||
| + | insmod: cannot insert '/ | ||
| + | insmod: cannot insert '/ | ||
| + | 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 | ||
| + | RX DESC a04c0000 | ||
| + | <-- RTMPAllocTxRxRingMemory, | ||
| + | RTMP_TimerListAdd: | ||
| + | RTMP_TimerListAdd: | ||
| + | RTMP_TimerListAdd: | ||
| + | RTMP_TimerListAdd: | ||
| + | RTMP_TimerListAdd: | ||
| + | RTMP_TimerListAdd: | ||
| + | RTMP_TimerListAdd: | ||
| + | RTMP_TimerListAdd: | ||
| + | RTMP_TimerListAdd: | ||
| + | RTMP_TimerListAdd: | ||
| + | RTMP_TimerListAdd: | ||
| + | RTMP_TimerListAdd: | ||
| + | RTMP_TimerListAdd: | ||
| + | RTMP_TimerListAdd: | ||
| + | RTMP_TimerListAdd: | ||
| + | RTMP_TimerListAdd: | ||
| + | RTMP_TimerListAdd: | ||
| + | RTMP_TimerListAdd: | ||
| + | RTMP_TimerListAdd: | ||
| + | RTMP_TimerListAdd: | ||
| + | RTMP_TimerListAdd: | ||
| + | RTMP_TimerListAdd: | ||
| + | RTMP_TimerListAdd: | ||
| + | RTMP_TimerListAdd: | ||
| + | RTMP_TimerListAdd: | ||
| + | RTMP_TimerListAdd: | ||
| + | RTMP_TimerListAdd: | ||
| + | RTMP_TimerListAdd: | ||
| + | RTMP_TimerListAdd: | ||
| + | RTMP_TimerListAdd: | ||
| + | RTMP_TimerListAdd: | ||
| + | RTMP_TimerListAdd: | ||
| + | RTMP_TimerListAdd: | ||
| + | RTMP_TimerListAdd: | ||
| + | RTMP_TimerListAdd: | ||
| + | RTMP_TimerListAdd: | ||
| + | RTMP_TimerListAdd: | ||
| + | RTMP_TimerListAdd: | ||
| + | RTMP_TimerListAdd: | ||
| + | RTMP_TimerListAdd: | ||
| + | RTMP_TimerListAdd: | ||
| + | RTMP_TimerListAdd: | ||
| + | RTMP_TimerListAdd: | ||
| + | RTMP_TimerListAdd: | ||
| + | RTMP_TimerListAdd: | ||
| + | RTMP_TimerListAdd: | ||
| + | RTMP_TimerListAdd: | ||
| + | RTMP_TimerListAdd: | ||
| + | RTMP_TimerListAdd: | ||
| + | RTMP_TimerListAdd: | ||
| + | RTMP_TimerListAdd: | ||
| + | RTMP_TimerListAdd: | ||
| + | RTMP_TimerListAdd: | ||
| + | RTMP_TimerListAdd: | ||
| + | RTMP_TimerListAdd: | ||
| + | RTMP_TimerListAdd: | ||
| + | RTMP_TimerListAdd: | ||
| + | RTMP_TimerListAdd: | ||
| + | RTMP_TimerListAdd: | ||
| + | RTMP_TimerListAdd: | ||
| + | RTMP_TimerListAdd: | ||
| + | RTMP_TimerListAdd: | ||
| + | RTMP_TimerListAdd: | ||
| + | RTMP_TimerListAdd: | ||
| + | RTMP_TimerListAdd: | ||
| + | RTMP_TimerListAdd: | ||
| + | RTMP_TimerListAdd: | ||
| + | RTMP_TimerListAdd: | ||
| + | RTMP_TimerListAdd: | ||
| + | RTMP_TimerListAdd: | ||
| + | RTMP_TimerListAdd: | ||
| + | RTMP_TimerListAdd: | ||
| + | RTMP_TimerListAdd: | ||
| + | RTMP_TimerListAdd: | ||
| + | RTMP_TimerListAdd: | ||
| + | RTMP_TimerListAdd: | ||
| + | RTMP_TimerListAdd: | ||
| + | RTMP_TimerListAdd: | ||
| + | RTMP_TimerListAdd: | ||
| + | RTMP_TimerListAdd: | ||
| + | RTMP_TimerListAdd: | ||
| + | RTMP_TimerListAdd: | ||
| + | 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 | ||
| + | TXALC> bInternalTxALC = 0 | ||
| + | 3. Phy Mode = 9 | ||
| + | RTMP_TimerListAdd: | ||
| + | NICInitAsicFromEEPROM: | ||
| + | MCS Set = ff 00 00 00 01 | ||
| + | RTMP_TimerListAdd: | ||
| + | RTMP_TimerListAdd: | ||
| + | RTMP_TimerListAdd: | ||
| + | RTMP_TimerListAdd: | ||
| + | RTMP_TimerListAdd: | ||
| + | Main bssid = 00: | ||
| + | <==== rt28xx_init, | ||
| + | 0x1300 = 00064380 | ||
| + | killall: rt2860apd: no process killed | ||
| + | rt2860apd: No such file or directory | ||
| + | eth2.1: Setting MAC address to 00 0c 43 70 86 bf. | ||
| + | device eth2 entered promiscuous mode | ||
| + | VLAN (eth2.1): | ||
| + | device ra0 entered promiscuous mode | ||
| + | eth2.1: dev_set_promiscuity(master, | ||
| + | device eth2.1 entered promiscuous mode | ||
| + | br0: port 2(eth2.1) entering learning state | ||
| + | br0: port 1(ra0) entering learning 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 | ||
| + | Changing password for admin | ||
| + | Password for admin changed by admin | ||
| + | - setting default address to 192.168.8.1 | ||
| + | samba.sh NEXX WORKGROUP | ||
| + | smbpasswd -a admin admin | ||
| + | startsmbfilepwent_internal: | ||
| + | Added user admin. | ||
| + | Sys led Error | ||
| + | info, udhcp server (v0.9.8) started | ||
| + | time.windows.com: | ||
| + | eth2.2: Setting MAC address to 00 0c 43 70 86 c0. | ||
| + | info, udhcp client (v0.9.8) started | ||
| + | IDLE | ||
| + | Hit enter to continue...info, | ||
| + | info, Sending discover... (12) | ||
| + | info, Sending discover... (14) | ||
| + | info, Sending discover... (23) | ||
| + | info, Sending discover... (25)</ | ||
| + | </ | ||
| + | |||
| + | ==== OpenWrt bootlog ==== | ||
| + | <WRAP bootlog> | ||
| + | < | ||
| + | |||
| + | Board: Ralink APSoC DRAM: 32 MB | ||
| + | relocate_code Pointer at: 81fb4000 | ||
| + | ****************************** | ||
| + | Software System Reset Occurred | ||
| + | ****************************** | ||
| + | spi_wait_nsec: | ||
| + | spi device id: ef 40 16 0 0 (40160000) | ||
| + | find flash: W25Q32BV | ||
| + | raspi_read: from:30000 len:1000 | ||
| + | .raspi_read: | ||
| + | .============================================ | ||
| + | Ralink UBoot Version: 4.0.1.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:Sep 13 2012 Time: | ||
| + | ============================================ | ||
| + | icache: sets:256, ways:4, linesz:32 , | ||
| + | dcache: sets:128, ways:4, linesz:32 , | ||
| + | |||
| + | ##### The CPU freq = 360 MHZ #### | ||
| + | | ||
| + | |||
| + | 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 bc050000 ... | ||
| + | raspi_read: from:50000 len:40 | ||
| + | . Image Name: | ||
| + | | ||
| + | Image Type: MIPS Linux Kernel Image (lzma compressed) | ||
| + | Data Size: 1042653 Bytes = 1018.2 kB | ||
| + | Load Address: 80000000 | ||
| + | Entry Point: | ||
| + | raspi_read: from:50040 len:fe8dd | ||
| + | ................ | ||
| + | | ||
| + | No initrd | ||
| + | ## Transferring control to Linux (at address 80000000) ... | ||
| + | ## Giving linux memsize in MB, 32 | ||
| + | |||
| + | Starting kernel ... | ||
| + | |||
| + | [ 0.000000] Linux version 3.10.36 (openwrt@gb-11) (gcc version 4.8.3 (OpenWrt/ | ||
| + | [ 0.000000] SoC Type: Ralink RT5350 id:1 rev:3 | ||
| + | [ 0.000000] bootconsole [early0] enabled | ||
| + | [ 0.000000] CPU revision is: 0001964c (MIPS 24KEc) | ||
| + | [ 0.000000] MIPS: machine is NEXX WT1520 | ||
| + | [ 0.000000] Determined physical RAM map: | ||
| + | [ 0.000000] | ||
| + | [ 0.000000] Initrd not found or empty - disabling initrd | ||
| + | [ 0.000000] Zone ranges: | ||
| + | [ 0.000000] | ||
| + | [ 0.000000] Movable zone start for each node | ||
| + | [ 0.000000] Early memory node ranges | ||
| + | [ 0.000000] | ||
| + | [ 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=ttyS1, | ||
| + | [ 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=00030a00 | ||
| + | [ 0.000000] Readback ErrCtl register=00030a00 | ||
| + | [ 0.000000] Memory: 29156k/ | ||
| + | [ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, | ||
| + | [ 0.000000] NR_IRQS:256 | ||
| + | [ 0.000000] CPU Clock: 360MHz | ||
| + | [ 0.000000] Calibrating delay loop... 239.61 BogoMIPS (lpj=1198080) | ||
| + | [ 0.070000] pid_max: default: 32768 minimum: 301 | ||
| + | [ 0.070000] Mount-cache hash table entries: 512 | ||
| + | [ 0.080000] pinctrl core: initialized pinctrl subsystem | ||
| + | [ 0.090000] NET: Registered protocol family 16 | ||
| + | [ 0.140000] bio: create slab < | ||
| + | [ 0.150000] rt2880_gpio 10000600.gpio: | ||
| + | [ 0.160000] rt2880_gpio 10000600.gpio: | ||
| + | [ 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: | ||
| + | [ 0.330000] squashfs: version 4.0 (2009/ | ||
| + | [ 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.380000] io scheduler deadline registered (default) | ||
| + | [ 0.390000] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled | ||
| + | [ 0.420000] 10000500.uart: | ||
| + | [ 0.430000] 10000c00.uartlite: | ||
| + | [ 0.450000] console [ttyS1] enabled, bootconsole disabled | ||
| + | [ 0.450000] console [ttyS1] enabled, bootconsole disabled | ||
| + | [ 0.480000] m25p80 spi32766.0: found w25q32, expected gd25q64 | ||
| + | [ 0.490000] m25p80 spi32766.0: w25q32 (4096 Kbytes) | ||
| + | [ 0.500000] 4 ofpart partitions found on MTD device spi32766.0 | ||
| + | [ 0.510000] Creating 4 MTD partitions on " | ||
| + | [ 0.530000] 0x000000000000-0x000000030000 : " | ||
| + | [ 0.540000] 0x000000030000-0x000000040000 : " | ||
| + | [ 0.550000] 0x000000040000-0x000000050000 : " | ||
| + | [ 0.570000] 0x000000050000-0x000000400000 : " | ||
| + | [ 0.580000] 0x00000014e91d-0x000000400000 : " | ||
| + | [ 0.590000] mtd: partition " | ||
| + | [ 0.620000] mtd: device 4 (rootfs) set to be root filesystem | ||
| + | [ 0.630000] mtd: partition " | ||
| + | [ 0.650000] 0x000000310000-0x000000400000 : " | ||
| + | [ 0.670000] eth0: done loading | ||
| + | [ 0.680000] rt3xxx-usbphy ubsphy.3: loaded | ||
| + | [ 0.690000] rt2880_wdt 10000120.watchdog: | ||
| + | [ 0.700000] TCP: cubic registered | ||
| + | [ 0.710000] NET: Registered protocol family 17 | ||
| + | [ 0.720000] Bridge firewalling registered | ||
| + | [ 0.730000] 8021q: 802.1Q VLAN Support v1.8 | ||
| + | [ 0.760000] VFS: Mounted root (squashfs filesystem) readonly on device 31:4. | ||
| + | [ 0.780000] Freeing unused kernel memory: 212K (802cb000 - 80300000) | ||
| + | procd: Console is alive | ||
| + | procd: - watchdog - | ||
| + | [ 6.660000] usbcore: registered new interface driver usbfs | ||
| + | [ 6.670000] usbcore: registered new interface driver hub | ||
| + | [ 6.690000] usbcore: registered new device driver usb | ||
| + | [ 6.700000] rt2880-pinmux pinctrl.1: pin 14 is not set to gpio mux | ||
| + | [ 6.710000] rt2880-pinmux pinctrl.1: request() failed for pin 14 | ||
| + | [ 6.720000] rt2880-pinmux pinctrl.1: pin-14 (pio:14) status -22 | ||
| + | [ 6.740000] gpio-keys-polled gpio-keys-polled.4: | ||
| + | [ 6.750000] gpio-keys-polled: | ||
| + | [ 6.770000] dwc_otg: version 2.72a 24-JUN-2008 | ||
| + | [ 6.790000] leds-gpio gpio-leds.5: | ||
| + | procd: - preinit - | ||
| + | [ 7.510000] rt305x-esw 10110000.esw: | ||
| + | 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 | ||
| + | [ 9.130000] rt305x-esw 10110000.esw: | ||
| + | jffs2 is ready | ||
| + | jffs2 is ready | ||
| + | [ | ||
| + | switching to overlay | ||
| + | procd: - early - | ||
| + | procd: - watchdog - | ||
| + | procd: - ubus - | ||
| + | procd: - init - | ||
| + | Please press Enter to activate this console. | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | procd: - init complete - | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | </ | ||
| + | |||
| + | ===== Linux kernel 3.8 DTS configuration notes ===== | ||
| + | |||
| + | < | ||
| + | |||
| + | // | ||
| + | // Device tree definition for Poray X5 and X6 routers. | ||
| + | // | ||
| + | // This is free software, licensed under the GNU General Public License v2. | ||
| + | // See /LICENSE for more information. | ||
| + | // | ||
| + | // -- Luis Soltero < | ||
| + | // -- Michel Stempin < | ||
| + | // -- Felix Kaechele < | ||
| + | // | ||
| + | // | ||
| + | // this files add support for the programmable switch on the side of the router labled 3G-DHCP | ||
| + | // | ||
| + | // | ||
| + | // Notes on interfacing with the X5/X6 3G-DHCP switch | ||
| + | // | ||
| + | // there are two methods for interfacing with the 3G-DHCP/ | ||
| + | // A. Button | ||
| + | // B. Polled | ||
| + | // | ||
| + | // To enable/ | ||
| + | // appropriate definitions. | ||
| + | // can be defined as either a button or a exported GPIO but not both. | ||
| + | // | ||
| + | // A. Button Method | ||
| + | // | ||
| + | // the switch is defined as a button so events can be bound to it using hotplug. | ||
| + | // | ||
| + | // GPIO / | ||
| + | // writen to the gpio the router maps the internal TF/SD drive to the USB interface on the SoC. When ascii value ' | ||
| + | // writen to the gpio the router maps the external USB port labled 3G-USB to the USB interfave on the SoC. | ||
| + | // | ||
| + | // To use the switch | ||
| + | // do that. | ||
| + | // | ||
| + | // config button | ||
| + | // option button ' | ||
| + | // option action ' | ||
| + | // option handler 'echo 0 > / | ||
| + | // | ||
| + | // config button | ||
| + | // option button ' | ||
| + | // option action ' | ||
| + | // option handler 'echo 1 > / | ||
| + | // | ||
| + | // this entry depends on hotplug and the 00-button script as defined here | ||
| + | // http:// | ||
| + | // | ||
| + | // FixMe: | ||
| + | // On boot up the system needs to probe the state of the switch to initialize the USB mode correctly. This can be done by | ||
| + | // parsing / | ||
| + | // GPIOs 0-23, 10000600.gpio: | ||
| + | // gpio-7 | ||
| + | // gpio-9 | ||
| + | // gpio-10 | ||
| + | // gpio-11 | ||
| + | // gpio-12 | ||
| + | // gpio-13 | ||
| + | // gpio-14 | ||
| + | // gpio-18 | ||
| + | // | ||
| + | // gpio-14 has a value of lo (0) when the switch is set to DHCP and hi(1) when set to USB. | ||
| + | // | ||
| + | // B. Polled Method | ||
| + | // | ||
| + | // the switch state is exported as GPIO 14 with name " | ||
| + | // / | ||
| + | // that DHCP is selected. | ||
| + | // writes to GPIO 18 when the state changes. | ||
| + | // | ||
| + | // #!/bin/sh | ||
| + | // newstate=`cat / | ||
| + | // curstate="" | ||
| + | // while [ 1 ] ; do | ||
| + | // if [ " | ||
| + | // $curstate=$newstate; | ||
| + | // echo " | ||
| + | // fi; | ||
| + | // sleep 2 | ||
| + | // newstate=`cat / | ||
| + | // done | ||
| + | // | ||
| + | // the script can be executed from / | ||
| + | |||
| + | /dts-v1/; | ||
| + | |||
| + | /include/ " | ||
| + | |||
| + | / { | ||
| + | compatible = " | ||
| + | model = "Poray X5"; | ||
| + | |||
| + | palmbus@10000000 { | ||
| + | sysc@0 { | ||
| + | ralink, | ||
| + | ralink, | ||
| + | ralink, | ||
| + | ralink, | ||
| + | }; | ||
| + | |||
| + | gpio0: gpio@600 { | ||
| + | status = " | ||
| + | }; | ||
| + | |||
| + | spi@b00 { | ||
| + | status = " | ||
| + | m25p80@0 { | ||
| + | # | ||
| + | # | ||
| + | compatible = " | ||
| + | reg = <0 0>; | ||
| + | linux, | ||
| + | spi-max-frequency = < | ||
| + | |||
| + | partition@0 { | ||
| + | label = " | ||
| + | reg = <0x0 0x30000>; | ||
| + | read-only; | ||
| + | }; | ||
| + | |||
| + | partition@30000 { | ||
| + | label = " | ||
| + | reg = <0x30000 0x10000>; | ||
| + | read-only; | ||
| + | }; | ||
| + | |||
| + | factory: partition@40000 { | ||
| + | label = " | ||
| + | reg = <0x40000 0x10000>; | ||
| + | read-only; | ||
| + | }; | ||
| + | |||
| + | partition@50000 { | ||
| + | label = " | ||
| + | reg = <0x50000 0x7b0000>; | ||
| + | }; | ||
| + | }; | ||
| + | }; | ||
| + | }; | ||
| + | |||
| + | ethernet@10100000 { | ||
| + | status = " | ||
| + | }; | ||
| + | |||
| + | esw@10110000 { | ||
| + | status = " | ||
| + | ralink, | ||
| + | ralink, | ||
| + | }; | ||
| + | |||
| + | gpio-leds { | ||
| + | compatible = " | ||
| + | power { | ||
| + | label = " | ||
| + | gpios = <& | ||
| + | }; | ||
| + | |||
| + | 20 { | ||
| + | label = " | ||
| + | gpios = <& | ||
| + | }; | ||
| + | |||
| + | 50 { | ||
| + | label = " | ||
| + | gpios = <& | ||
| + | }; | ||
| + | |||
| + | 80 { | ||
| + | label = " | ||
| + | gpios = <& | ||
| + | }; | ||
| + | }; | ||
| + | |||
| + | gpio-keys-polled { | ||
| + | compatible = " | ||
| + | # | ||
| + | # | ||
| + | poll-interval = <20>; | ||
| + | |||
| + | bat { | ||
| + | label = " | ||
| + | gpios = <& | ||
| + | linux, | ||
| + | }; | ||
| + | |||
| + | reset { | ||
| + | label = " | ||
| + | gpios = <& | ||
| + | linux, | ||
| + | }; | ||
| + | |||
| + | // | ||
| + | // 3G-DHCP Switch BUTTON method | ||
| + | // | ||
| + | // Comment this out (thrugh END COMMENT) when using BUTTON Method | ||
| + | // mode { | ||
| + | // label = " | ||
| + | // gpios = <& | ||
| + | // | ||
| + | // }; | ||
| + | // END COMMENT | ||
| + | // | ||
| + | }; | ||
| + | |||
| + | gpio_export { | ||
| + | compatible = " | ||
| + | #size-cells = <0>; | ||
| + | |||
| + | // | ||
| + | // 3G-DHCP Switch POLL Method | ||
| + | // | ||
| + | // Uncomment this out (through END COMMENT) when using the POLLED Method | ||
| + | usb-switch { | ||
| + | gpio-export, | ||
| + | gpio-export, | ||
| + | gpios = <& | ||
| + | }; | ||
| + | // END COMMENT | ||
| + | // | ||
| + | |||
| + | usb-mode { | ||
| + | gpio-export, | ||
| + | gpio-export, | ||
| + | gpios = <& | ||
| + | }; | ||
| + | }; | ||
| + | |||
| + | wmac@10180000 { | ||
| + | status = " | ||
| + | ralink, | ||
| + | ralink, | ||
| + | }; | ||
| + | |||
| + | ehci@101c0000 { | ||
| + | status = " | ||
| + | }; | ||
| + | |||
| + | ohci@101c1000 { | ||
| + | status = " | ||
| + | }; | ||
| + | }; | ||
| + | lsoltero@ubuntu810vm: | ||
| + | </ | ||
| + | |||
| + | ===== Tags ===== | ||
| + | [[meta: | ||
| + | {{tag> | ||