User Tools

Site Tools


toh:wistron:rdaa-81

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
toh:wistron:rdaa-81 [2012/11/07 11:56]
dtech
toh:wistron:rdaa-81 [2015/12/15 08:34] (current)
tmomas [TFTP] New bootlog formatting applied
Line 1: Line 1:
 +====== Wistron RDAA-81 (CA8-PRO) ======
  
 +This device doesn'​t have official support yet, only 3rd party patches and firmwares are available.
 +
 +===== Unofficial Release Status =====
 +
 +^ OpenWrt Version ^ Status ^ Firmware ^ Patches ^
 +| Backfire 10.03.1 | Released | [[http://​openwrt.dtech.hu/​firmware/​backfire/​10.03.1/​rdaa-81/​|LAN Router v1.1]] | [[http://​openwrt.dtech.hu/​firmware/​backfire/​10.03.1/​rdaa-81/​patches/​|LAN Router v1.1]] |
 +| Attitude Adjustment 12.09-rc1 | Released | [[http://​openwrt.dtech.hu/​firmware/​attitude_adjustment/​12.09-rc1/​rdaa-81/​|LAN Router v2.0-RC1]] | [[http://​openwrt.dtech.hu/​firmware/​attitude_adjustment/​12.09-rc1/​rdaa-81/​patches/​|LAN Router v2.0-RC1]] |
 +
 +===== Hardware Highlights ====
 +^ CPU                       ^ Ram     ^ Flash   ^ Network ​  ^ USB   ^ Serial ​  ^ JTag   ^
 +| Atheros AR2313A @180MHz ​  | 32MiB   | 4MiB    | 1         | No    | Yes      | Yes    |
 +
 +===== Hardware =====
 +==== Info ====
 +
 +| **Architecture:​** | MIPS 4Kc| 
 +| **Vendor:** | Wistron NeWeb Corporation | 
 +| **Bootloader:​** | zImage loader (LZMA) | 
 +| **Wireless System-On-Chip:​** | Atheros AR2313A | 
 +| **CPU Speed:** | 180 MHz | 
 +| **Flash-Chip:​** | [[http://​www.spansion.com/​Support/​Datasheets/​S29AL032D.pdf|Spansion S29AL032D]] | 
 +| **Flash size:** | 4 MiB | 
 +| **RAM:** | 32 MiB | 
 +| **Wireless:​** | Atheros AR5112A | 
 +| **Ethernet:​** | Marvell 88E6060-RCJ1 |
 +| **USB:** | No | 
 +| **Serial:** | [[:​toh:​wistron/​rdaa-81#​serial|115200,​ 8-N-1]] | 
 +| **JTAG:** | Yes |
 +
 +It is possible to install OpenWRT via web interface:
 +
 +  * "​telnet routerip 23"
 +  * login with your password
 +  * enter "​z_debug signature disable"​
 +  * use web interface to upgrade firmware using "​OpenWrt-RDAA-81-LAN-Router-2.0-RC1-zImage.bin"​
 +  * reboot router via web interface
 +  * wait until router starts responding to ping 192.168.1.1
 +  * telnet 192.168.1.1 23
 +
 +==== General Information ====
 +=== Serial - JP1 ===
 +
 +-> [[doc:​hardware:​port.serial]]
 +
 +Serial console represent hardware interface between router onboard serial port and PC. It is usually used to see bootprocess and interact boot loader. This is possible only if opening the case and attaching a TTL line converter cable. Then you can choose the boot process operation by sending a correct number on bootup.
 +
 +| {{:​meta:​icons:​tango:​48px-dialog-warning.svg.png?​nolink}} | The serial communication signals on the RDAA-81 are ranging from 0 to 3.3V. These **must not** be connected directly to a RS232 cable, which operates at much broader voltage range (-12 to +12V). An appropriate level coupler must be built for this purpose. There are many such circuits on the net, and the simplest ones might use a common MAX232 chip.|
 +
 +JP1 pinout:\\
 +{{:​media:​wistron:​rdaa81_serial_pinout.gif|}}
 +
 +=== JTAG - J1 ===
 +
 +-> [[doc:​hardware:​port.jtag]]
 +
 +This JTAG port follows the 14 pin EJTAG 2.5 specification. (This is verified as working).
 +
 +=== GPIO table ===
 +^ GPIO   ^ Description ​                           ^
 +| 0-3    | Not connected (free pins on the PCB)   |
 +| 4      | WLAN LED - yellow ​                     |
 +| 5      | WLAN LED - blue                        |
 +| 6      | Reset button ​                          |
 +| 7      | //​Unknown// ​                           |
 +
 +Free GPIO pins on the PCB (back side):\\
 +{{:​media:​wistron:​rdaa81_gpio_back.jpg?​600|}}
 +
 +===== Installing =====
 +
 +| {{:​meta:​icons:​tango:​48px-dialog-warning.svg.png?​nolink}} | The 3rd party firmware image is compatible with factory bootloader only. |
 +
 +==== TFTP ====
 +
 +You need a tftp server with [[http://​openwrt.dtech.hu/​firmware/​backfire/​10.03.1/​rdaa-81/​OpenWrt-RDAA-81-LAN-Router-1.1-zImage.bin|OpenWrt-RDAA-81-LAN-Router-1.1-zImage.bin]] boot image in it's root folder, but you should rename it to '​zImage'​.
 +
 +| ** TFTP server IP address: ** 192.168.1.254 |
 +
 +Wait for the boot menu and choose '​2'​.
 +
 +<WRAP bootlog>
 +<​nowiki> ​     ============================================
 +        AR2313 Boot Loader Interface
 +        V1.03e00 2006-1-02 (zImage)
 +      ============================================
 +
 +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.
 +   4: Load calibration data then write to Flash via XModem.
 +  1
 +You choosed 2
 +
 + TFTP mode  ...
 +Ethernet use flash address
 +
 +Ethernet driver loaded
 +serverip = 192.168.1.254
 +filename = zImage
 +
 + ​waiting tftp loading ​ ...    /
 + tftp download success !
 +Erasing ..... sector: 69/69 0xbffe0000
 +Verifying .....  Done
 +src=a0800000,​ dest= bfc50000, end= bfff0000
 +Programming .....  Done
 +Verifying .....  Done
 +Erasing ..... sector: ​ 0/ 0 0xbfc00000
 +src=800ffd40,​ dest= bfc00000, end= bfc02000
 +Programming .....  Done
 +Verifying .....  Done
 +
 +Copying image from flash to SDRAM ...
 +Linux version 2.6.30.10 (dtech@itsuki.dev.dtech.hu) (gcc version 4.3.3 (GCC) ) #6 Wed Oct 17 16:44:27 EDT 2012
 +console [early0] enabled
 +CPU revision is: 0001800a (MIPS 4Kc)
 +Determined physical RAM map:
 + ​memory:​ 02000000 @ 00000000 (usable)
 +Initrd not found or empty - disabling initrd
 +Zone PFN ranges:
 +  Normal ​  ​0x00000000 -> 0x00002000
 +Movable zone start PFN for each node
 +early_node_map[1] active PFN ranges
 +    0: 0x00000000 -> 0x00002000
 +Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 8128
 +Kernel command line: console=ttyS0,​115200 rootfstype=squashfs,​jffs2
 +Primary instruction cache 16kB, VIPT, 4-way, linesize 16 bytes.
 +Primary data cache 16kB, 4-way, VIPT, no aliases, linesize 16 bytes
 +NR_IRQS:128
 +PID hash table entries: 128 (order: 7, 512 bytes)
 +console handover: boot [early0] -> real [ttyS0]
 +Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
 +Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
 +Memory: 29240k/​32768k available (2183k kernel code, 3528k reserved, 417k data, 136k init, 0k highmem)
 +Calibrating delay loop... 179.81 BogoMIPS (lpj=899072)
 +Mount-cache hash table entries: 512
 +net_namespace:​ 1008 bytes
 +NET: Registered protocol family 16
 +bio: create slab <​bio-0>​ at 0
 +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
 +NET: Registered protocol family 1
 +Board Configuration Recovery for CA8-based devices (C) 2012 dtech(.hu)
 +zConfig: Supported device found: Wistron RDAA-81 (CA8-PRO).
 +zConfig: MAC address recovered for WLAN interface: 00:​0B:​6B:​3F:​44:​06.
 +zConfig: MAC address recovered for LAN interface: 00:​0B:​6B:​3F:​44:​07.
 +Radio config found at offset 0x10000(0x100)
 +squashfs: version 4.0 (2009/​01/​31) Phillip Lougher
 +Registering mini_fo version $Id$
 +JFFS2 version 2.2. (NAND) (SUMMARY) ​ Š 2001-2006 Red Hat, Inc.
 +msgmni has been set to 57
 +alg: No test for stdrng (krng)
 +io scheduler noop registered
 +io scheduler deadline registered (default)
 +gpiodev: gpio device registered with major 254
 +gpiodev: gpio platform device registered with access mask FFFFFFFF
 +Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
 +serial8250: ttyS0 at MMIO 0xbc000003 (irq = 37) is a 16550A
 +eth0: Atheros AR231x: 00:​0b:​6b:​3f:​44:​07,​ irq 4
 +ar231x_eth_mii:​ probed
 +eth0: Marvell 88E6060 PHY driver attached.
 +Marvell Switch Port Mapper for CA8-based devices (C) 2012 dtech(.hu)
 +zSwitch: WAN interface patch applied on Ethernet Port #3.
 +eth0: attached PHY driver [Marvell 88E6060] (mii_bus:​phy_addr=0:​10)
 +physmap platform flash device: 00800000 at 1e000000
 +physmap-flash.0:​ Found 1 x16 devices at 0x0 in 8-bit bank
 + CFI mfr 0x00000001
 + CFI id  0x000000f9
 + ​Amd/​Fujitsu Extended Query Table at 0x0040
 +  Amd/Fujitsu Extended Query version 1.1.
 +number of CFI chips: 1
 +cfi_cmdset_0002:​ Disabling erase-suspend-program due to code brokenness.
 +cmdlinepart partition parsing not available
 +Partition Parser for CA8-based devices (C) 2012 dtech(.hu)
 +zLoader: supported device found: Wistron RDAA-81 (CA8-PRO)
 +zLoader: kernel length = 0xd715d, crc = 0x6ae9595.
 +7 zLoader partitions found on MTD device physmap-flash.0
 +Creating 7 MTD partitions on "​physmap-flash.0":​
 +0x000000000000-0x000000002000 : "​boardconfig"​
 +0x000000000000-0x000000050000 : "​loader"​
 +0x000000050000-0x000000130000 : "​kernel"​
 +0x000000130000-0x0000003f0000 : "​rootfs"​
 +mtd: partition "​rootfs"​ set to be root filesystem
 +mtd: partition "​rootfs_data"​ created automatically,​ ofs=2E0000, len=110000
 +0x0000002e0000-0x0000003f0000 : "​rootfs_data"​
 +0x0000003f0000-0x000000400000 : "​boarddata"​
 +0x000000050000-0x0000003f0000 : "​firmware"​
 +0x000000000000-0x000000400000 : "​wholeflash"​
 +Registered led device: wlan_yellow
 +Registered led device: wlan_blue
 +TCP westwood registered
 +NET: Registered protocol family 17
 +802.1Q VLAN Support v1.8 Ben Greear <​greearb@candelatech.com>​
 +All bugs added by David S. Miller <​davem@redhat.com>​
 +VFS: Mounted root (squashfs filesystem) readonly on device 31:3.
 +Freeing unused kernel memory: 136k freed
 +Please be patient, while OpenWrt loads ...
 +- preinit -
 +Press the [f] key and hit [enter] to enter failsafe mode
 +- regular preinit -
 +jffs2 not ready yet; using ramdisk
 +mini_fo: using base directory: /
 +mini_fo: using storage directory: /tmp/root
 +- init -
 +
 +Please press Enter to activate this console. device eth0.1 entered promiscuous mode
 +br-lan: port 1(eth0.1) entering forwarding state
 +PPP generic driver version 2.4.2
 +ip_tables: (C) 2000-2006 Netfilter Core Team
 +NET: Registered protocol family 24
 +nf_conntrack version 0.5.0 (512 buckets, 2048 max)
 +CONFIG_NF_CT_ACCT is deprecated and will be removed soon. Please use
 +nf_conntrack.acct=1 kernel paramater, acct=1 nf_conntrack module option or
 +sysctl net.netfilter.nf_conntrack_acct=1 to enable it.
 +ath_hal: module license '​Proprietary'​ taints kernel.
 +Disabling lock debugging due to kernel taint
 +ath_hal: 2009-05-08 (AR5212, AR5312, RF5111, RF5112, RF2316, RF2317, REGOPS_FUNC,​ TX_DESC_SWAP,​ XR)
 +ath_ahb: trunk
 +wlan: trunk
 +wlan: mac acl policy registered
 +ath_rate_minstrel:​ Minstrel automatic rate control algorithm 1.2 (trunk)
 +ath_rate_minstrel:​ look around rate set to 10%
 +ath_rate_minstrel:​ EWMA rolloff level set to 75%
 +ath_rate_minstrel:​ max segment size in the mrr set to 6000 us
 +jffs2_scan_eraseblock():​ End of filesystem marker found at 0x0
 +jffs2_build_filesystem():​ unlocking the mtd device... done.
 +jffs2_build_filesystem():​ erasing all blocks after the end marker... done.
 +mini_fo: using base directory: /
 +mini_fo: using storage directory: /overlay
 +
 +
 +
 +BusyBox v1.15.3 (2012-05-28 12:49:53 EDT) built-in shell (ash)
 +Enter '​help'​ for a list of built-in commands.
 +
 +  _______ ​                    ​________ ​       __
 + ​| ​      ​|.-----.-----.-----.| ​ |  |  |.----.| ​ |_
 + ​| ​  ​- ​  ​|| ​ _  |  -__|     ​|| ​ |  |  ||   ​_|| ​  _|
 + ​|_______|| ​  ​__|_____|__|__||________||__| ​ |____|
 +          |__| W I R E L E S S   F R E E D O M
 + ​Backfire (10.03.1, r29638) ------------------------
 +  * 1/3 shot Kahlua ​   In a shot glass, layer Kahlua
 +  * 1/3 shot Bailey'​s ​ on the bottom, then Bailey'​s,​
 +  * 1/3 shot Vodka     then Vodka.
 + ​---------------------------------------------------
 +root@RDAA-81:/#</​nowiki>​
 +</​WRAP>​\\
 +
 +Your device is ready to use with OpenWrt Backfire 10.03.1.
 +
 +===== Ethernet ports =====
 +The OpenWrt firmware defines the interfaces in a different way, because the factory firmware doesn'​t have WAN port.
 +
 +{{:​media:​wistron:​rdaa81_ethernet_ports.jpg?​400|}}
 +
 +===== Hardware Hacks =====
 +| MMC-over-GPIO | [[http://​openwrt.dtech.hu/​firmware/​backfire/​10.03.1/​rdaa-81/​rdaa81_v1_mmc_over_gpio_mod_02.jpg|Inside]],​ [[http://​openwrt.dtech.hu/​firmware/​backfire/​10.03.1/​rdaa-81/​rdaa81_v1_mmc_over_gpio_mod_03.jpg|GPIO pins]], [[http://​openwrt.dtech.hu/​firmware/​backfire/​10.03.1/​rdaa-81/​rdaa81_v2_mmc_and_console_mod_02.jpg|Box]] |
 +| LCD-over-I²C | [[http://​openwrt.dtech.hu/​firmware/​backfire/​10.03.1/​rdaa-81/​rdaa81_v4_lcd_over_i2c.jpg|Panel]],​ [[http://​openwrt.dtech.hu/​projects/​LCDclock/​lcdclock_rdaa-81_box.jpg|Clock]] |
 +| Box modification | [[http://​openwrt.dtech.hu/​firmware/​backfire/​10.03.1/​rdaa-81/​rdaa81_v5_final_box_mod_left.jpg| Left side (1-wire)]], [[http://​openwrt.dtech.hu/​firmware/​backfire/​10.03.1/​rdaa-81/​rdaa81_v5_final_box_mod_right.jpg| Right side (Serial + I2C bus)]], [[http://​openwrt.dtech.hu/​firmware/​backfire/​10.03.1/​rdaa-81/​rdaa81_v5_final_box_mod_lcd%2bsensor.jpg|DS1820 sensor + LCD panel]] |
 +
 +===== Resources =====
 +Target patches and compile howto:
 +   * [[http://​openwrt.dtech.hu/​firmware/​backfire/​10.03.1/​rdaa-81/​patches/​|OpenWrt Backfire 10.0.3.1]]
 +LCDclock:
 +   * [[http://​www.youtube.com/​watch?​v=Bv3LiTL-feA|Mod:​ LCDclock demonstration video]]
 +   * [[http://​openwrt.dtech.hu/​projects/​LCDclock/​|LCDclock package source code]]
 +
 +===== Tags =====
 +[[meta:​tags|How to add tags]]
 +{{tag>​4flash 32ram}}