User Tools

Site Tools


toh:arcadyan:arv7510pw

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Previous revision
toh:arcadyan:arv7510pw [2013/05/13 09:52]
toh:arcadyan:arv7510pw [2014/05/28 22:11] (current)
malaakso Restore links to pre-built U-Boot
Line 3: Line 3:
 The ARV7510PW is an ADSL2+ router with 802.11n wireless commonly obtained via the Finnish ISP Elisa (Elisa kotiboksi). It is a rebranded Bewan Ibox. There is also another similar device based on Arcadyan ARV4510PW. The only difference seems to be the wireless mini-PCI card, which in ARV4510PW is only 802.11bg capable (Atheros AR241x). From outside these can be distinguished by the antenna color: ARV7510PW has a black antenna, ARV4510PW white. There exists also an all-black ARV4510PW, the Wippies Homebox. Finally, there are also ARV4510PW models where the wireless chip is not on a mini-PCI card, but rather soldered directly on the main board. The wireless in these models is not (yet) supported due to the missing EEPROM. The ARV7510PW is an ADSL2+ router with 802.11n wireless commonly obtained via the Finnish ISP Elisa (Elisa kotiboksi). It is a rebranded Bewan Ibox. There is also another similar device based on Arcadyan ARV4510PW. The only difference seems to be the wireless mini-PCI card, which in ARV4510PW is only 802.11bg capable (Atheros AR241x). From outside these can be distinguished by the antenna color: ARV7510PW has a black antenna, ARV4510PW white. There exists also an all-black ARV4510PW, the Wippies Homebox. Finally, there are also ARV4510PW models where the wireless chip is not on a mini-PCI card, but rather soldered directly on the main board. The wireless in these models is not (yet) supported due to the missing EEPROM.
  
-===== OpenWRT ​Status =====+===== OpenWrt ​Status =====
  
 OpenWrt runs perfectly with some additional patches (see below). Installation may require a serial connection. The router is practically unbrickable by virtue of the UART boot capability. OpenWrt runs perfectly with some additional patches (see below). Installation may require a serial connection. The router is practically unbrickable by virtue of the UART boot capability.
Line 12: Line 12:
 | **Vendor:** | [[toh:​arcadyan|Arcadyan]] | | **Vendor:** | [[toh:​arcadyan|Arcadyan]] |
 | **Bootloader:​** | [[doc:​techref:​bootloader:​brnboot]] | | **Bootloader:​** | [[doc:​techref:​bootloader:​brnboot]] |
-| **System-On-Chip:​** | Infineon/​[[doc:​hardware:​soc:​soc.lantiq|Lantiq]] Xway Danube (PSB 50702 E V1.3)|+| **System-On-Chip:​** | Infineon/​[[doc:​hardware:​soc:​soc.lantiq|Lantiq]] Xway Danube (PSB 50702 E V1.3 or V1.4)|
 | **CPU Speed:** | 333 MHz | | **CPU Speed:** | 333 MHz |
 | **Flash chip:** | Intel JS28F128J3D-75 | | **Flash chip:** | Intel JS28F128J3D-75 |
Line 29: Line 29:
 ===== Building OpenWrt ===== ===== Building OpenWrt =====
  
-The OpenWrt patches apply against the Attitude Adjustment branch of OpenWrt. The U-Boot ​patch applies against the current trunk. +Suitable ​U-Boot ​can be found under Boot Loaders ​-> uboot-lantiq-arv7510pw_nor/ram (works also with ARV4510PW)NOR-version will be installed to flash, RAM-version can be used with the UART boot option.
-[[http://​ltl.tkk.fi/​~malaakso/​misc/​0026-MTD-NO_XIP.patch|OpenWrt patch 1]] +
-[[http://​ltl.tkk.fi/​~malaakso/​misc/​0027-fix-pci-req-mask.patch|OpenWrt patch 2]] +
-[[http://ltl.tkk.fi/​~malaakso/​misc/​0028-arv7510pw.patch|OpenWrt patch 3]] +
-[[http://​ltl.tkk.fi/​~malaakso/​misc/​0030-MIPS-add-board-support-for-Arcadyan-ARV7510.patch|U-Boot patch]]+
  
-In addition the OpenWrt Makefiles must be modified to produce images ​for ARV7510PW: [[http://​ltl.tkk.fi/​~malaakso/​misc/​profiles.diff|OpenWrt diff]]+Following patches ​for trunk are needed: 
 +   ​* ​[[http://​ltl.tkk.fi/​~malaakso/​misc/​lantiq_mei.patch|Improve memory usage of ADSL driver]] Prevent out-of-memory errors when loading ADSL firmware. 
 +   * [[http://​ltl.tkk.fi/​~malaakso/​misc/​disable_jffs2_lzma.patch|Disable LZMA compression in JFFS2]] Workaround bug [[https://​dev.openwrt.org/​ticket/​14839|#​14839]]. 
 +   * [[http://​ltl.tkk.fi/​~malaakso/​misc/​disable-buffered.patch|Disable buffered writes to flash]] Prevent jffs2 corruption.
  
-Pre-built ​images ​(includes ​Luci and kmod-ath5k ​for 4510 modelsare available+Pre-built ​image for trunk (includes ​luci and kmod-ath5k):​ 
-[[http://​ltl.tkk.fi/​~malaakso/​misc/​openwrt-lantiq-arv7510pw_ram-u-boot.asc|U-Boot RAM image]] +   * [[http://​ltl.tkk.fi/​~malaakso/​misc/​openwrt-lantiq-xway-ARV4510PW-squashfs.image|OpenWrt ​image]] 
-[[http://​ltl.tkk.fi/​~malaakso/​misc/​openwrt-lantiq-arv7510pw_nor-u-boot.img|U-Boot flash image]] +Pre-built U-Boot: 
-[[http://​ltl.tkk.fi/​~malaakso/​misc/​openwrt-lantiq-danube-ARV7510PW-squashfs.image|OpenWrt image]]+   ​* ​[[http://​ltl.tkk.fi/​~malaakso/​misc/​openwrt-lantiq-arv7510pw_nor-u-boot.img|NOR-version]] 
 +   * [[http://​ltl.tkk.fi/​~malaakso/​misc/​openwrt-lantiq-arv7510pw_ram-u-boot.asc|RAM-version]]
  
 ===== Installation ===== ===== Installation =====
Line 66: Line 66:
  
 Do not continue if you aren't willing or able to use UART method: Do not continue if you aren't willing or able to use UART method:
-  - Copy ''​openwrt-lantiq-arv7510pw_nor-u-boot.img''​ and ''​openwrt-lantiq-danube-ARV7510PW-squashfs.image''​ onto a fat32 usb drive+  - Copy ''​openwrt-lantiq-arv7510pw_nor-u-boot.img''​ and ''​openwrt-lantiq-xway-ARV4510PW-squashfs.image''​ onto a fat32 usb drive
   - Plug the usb drive into the router   - Plug the usb drive into the router
   - telnet into the router as root with password as password   - telnet into the router as root with password as password
Line 73: Line 73:
   - dd if=/​dev/​mtd/​0 bs=1 of=routerBackup.bin   - dd if=/​dev/​mtd/​0 bs=1 of=routerBackup.bin
   - dd if=openwrt-lantiq-arv7510pw_nor-u-boot.img bs=1 of=/​dev/​mtdblock/​0   - dd if=openwrt-lantiq-arv7510pw_nor-u-boot.img bs=1 of=/​dev/​mtdblock/​0
-  - dd if=openwrt-lantiq-danube-ARV7510PW-squashfs.image bs=1 seek=393216 of=/​dev/​mtdblock/​0+  - dd if=openwrt-lantiq-xway-ARV4510PW-squashfs.image bs=1 seek=393216 of=/​dev/​mtdblock/​0
   - wait a while   - wait a while
   - reboot   - reboot
 +
 +After installation you should set your MAC-addresses with the commands
 +<​code>​
 +uci set network.lan.macaddr=xx:​xx:​xx:​xx:​xx:​xx
 +uci set network.wan.macaddr=xx:​xx:​xx:​xx:​xx:​xx
 +uci commit
 +</​code>​
 +and reboot.
  
  
Line 93: Line 101:
 {{:​media:​arv7510pw_top.jpg|}} {{:​media:​arv7510pw_top.jpg|}}
  
-Start TFTP server on your computer and copy ''​openwrt-lantiq-arv7510pw_nor-u-boot.img''​ and ''​openwrt-lantiq-danube-ARV7510PW-squashfs.image''​ to the TFTP server root. Connect your computer to the router with an ethernet cable and configure the IP address to 192.168.1.2,​ netmask 255.255.255.0.+Start TFTP server on your computer and copy ''​openwrt-lantiq-arv7510pw_nor-u-boot.img''​ and ''​openwrt-lantiq-xway-ARV4510PW-squashfs.image''​ to the TFTP server root. Connect your computer to the router with an ethernet cable and configure the IP address to 192.168.1.2,​ netmask 255.255.255.0.
  
 === Loading U-Boot === === Loading U-Boot ===
Line 113: Line 121:
 === Loading OpenWrt === === Loading OpenWrt ===
  
-Power on the router. The U-Boot installed in the previous step should start. Press any key to stop autoboot. Use again ''​setenv ipaddr 192.168.1.1'',​ ''​setenv serverip 192.168.1.2''​ and ''​setenv ethaddr xx:​xx:​xx:​xx:​xx:​xx''​ to configure the network. Use ''​saveenv''​ to save these to flash. Use ''​tftp 0x80700000 openwrt-lantiq-danube-ARV7510PW-squashfs.image''​ to transfer the actual U-Boot image to memory. Write it to flash using ''​cp.b 0x80700000 0xb0060000 ${filesize}''​. Use ''​reset''​ to reset the board. Watch as U-Boot loads OpenWrt and proceed to configure it to your liking!+Power on the router. The U-Boot installed in the previous step should start. Press any key to stop autoboot. Use again ''​setenv ipaddr 192.168.1.1'',​ ''​setenv serverip 192.168.1.2''​ and ''​setenv ethaddr xx:​xx:​xx:​xx:​xx:​xx''​ to configure the network. Use ''​saveenv''​ to save these to flash. Use ''​tftp 0x80700000 openwrt-lantiq-xway-ARV4510PW-squashfs.image''​ to transfer the actual U-Boot image to memory. Write it to flash using ''​cp.b 0x80700000 0xb0060000 ${filesize}''​. Use ''​reset''​ to reset the board. Watch as U-Boot loads OpenWrt and proceed to configure it to your liking!
  
-===== Deficiencies of the default OpenWrt configuration ===== 
  
-  * Both buttons are configured to reset the device to default settings. => Remove or modify ''/​etc/​hotplug.d/​button/​10-generic.sh''​. 
-  * The network switch configuration for VLANs is missing. => Insert the ''​switch''​ and ''​switch_vlan''​ sections to ''/​etc/​config/​network''​. 
-  * LEDs are not configured. 
  
 ===== Hardware notes ===== ===== Hardware notes =====
  
-The internal switch port numbering is opposite from the one printed on the box. Port 0 corresponds to the port labeled as "Port 4/​Uplink"​. Port 5 is connected to the CPU. If you wish to use the uplink port as WAN, you need a VLAN config+==== Switch ==== 
 +The internal switch port numbering is opposite from the one printed on the box. Port 0 corresponds to the port labeled as "Port 4/​Uplink"​. Port 5 is connected to the CPU. If you wish to use the uplink port as WAN with IP address obtained by DHCP, you need to modify the network configuration as follows
 <​code>​ <​code>​
-config switch ​"eth0+uci set network.@switch_vlan[0].ports="1 2 3 5t
-        ​option reset +uci add network switch_vlan 
-        ​option enable_vlan ​1+uci set network.@switch_vlan[1].device=switch0 
 +uci set network.@switch_vlan[1].vlan=2 
 +uci set network.@switch_vlan[1].ports="​0 5t" 
 +uci set network.wan.ifname=eth0.2 
 +uci set network.wan.proto=dhcp 
 +uci delete network.wan.username 
 +uci delete network.wan.password 
 +uci delete network.wan.ipv6 
 +uci commit 
 +reboot 
 +</​code>​
  
-config switch_vlan "​eth0_1"​ +==== USB ==== 
-        ​option device ​  ​eth0 +The standard B type USB port (USB2) is unpowered and not usable at the moment.
-        option vlan     1 +
-        option ports    "1 2 3 5t"+
  
-config switch_vlan "​eth0_2"​ +The power supply of the USB ports may be inadequate for LTE sticks or other USB devices demanding high currents. Replacing the 47 µF electrolytic capacitors connected to pin 1 of the USB ports with 1000 µF/10 V low-ESR models will allow the router to handle high current pulses. Another ​option ​is to use a powered USB hub. 
-        ​option ​device ​  eth0 + 
-        ​option vlan     2 +==== GPIO ==== 
-        ​option ports    "0 5t"+Some units generate spurious button presses, which lead to reboots or other problems. Enabling the Schmitt-trigger may help. This can be achieved by modifying the U-Boot boot command and saving the modification to flash: 
 +<​code>​ 
 +setenv bootcmd 'mw.l 0xbe100b28 0x4008; bootm ${kernel_addr}'​ 
 +saveenv
 </​code>​ </​code>​
-and then set ''​eth0.2''​ as the WAN interface and ''​eth0.1''​ as the LAN interface. 
  
-The standard B type USB port (USB2) requires a B male/A female adapter to be usedMoreover, ​it seems to be unpowered, although there could be an as yet unidentified GPIO for controlling ​the power.+==== ADSL ==== 
 +Units with V1.4 of the Danube SoC may become unstable when the ADSL status is queried. In this case it is recommended ​to edit the file /​usr/​lib/​lua/​luci/​view/​admin_status/​index.htm and change the reference to /​etc/​init.d/​dsl_control to point to a non-existent file.
  
 ===== Original firmware ===== ===== Original firmware =====
Line 162: Line 178:
  
 Serial output from booting original firmware: Serial output from booting original firmware:
 +<​HTML>​
 +<p style="​padding:​ 10px;​border:​1px solid grey;​height:​500px;​font:​10px/​14px Georgia, Garamond, Serif;​overflow:​Auto;​background-color:#​FFFFFF">​
 <​code>​ <​code>​
 ROM VER: 1.0.3 ROM VER: 1.0.3
Line 640: Line 658:
 Starting pid 2383, console /dev/null: '/​bin/​lighttpd'​ Starting pid 2383, console /dev/null: '/​bin/​lighttpd'​
 </​code>​ </​code>​
 +</p>
 +</​HTML>​
 +
 +===== Tags =====
 +{{tag>​lantiq danube ADSL2+}}
toh/arcadyan/arv7510pw.1368431544.txt.bz2 · Last modified: 2013/05/13 09:52 (external edit) · Currently locked by: python1320