Astoria networks ARV7518PW

Known Supported Versions

Ver. OpenWrt Version Supported
r01a trunk

Hardware Highlights

CPU Ram Flash Network USB Serial UART
Lantiq Xway Danube @333Mhz Dual Core 64MB 8MB 4 Ports Yes Yes Yes

Openwrt status

  • ADSL modem is working with both Annex A & Annex B supported.
  • WiFi is working out of the box with trunk. (ath9k)
  • FXS works and can be used with owsip daemon or danube-voip.
  • USB works (kmod-usb-dwc-otg or kmod-ltq-hcd-danube)

Installation

Flash Layout

Please check out the article Flash Layout. It contains an example and a couple of explanations.

Modified Flash Layout
partition start end size description
mtd0 0x00000000 0x00010000 64KB u-boot
mtd1 0x00010000 0x00020000 64KB u-boot environment
mtd2 0x00020000 0x007f0000 8000KB linux
mtd3 0x007f0000 0x00800000 64KB calibration data

Hardware

Info

Architecture: MIPS
Vendor: Arcadyan
Bootloader: brnboot
System-On-Chip: Lantiq Danube PSB 50702 E Rev 1.3 or 1.5 (MIPS 24Kec)
CPU/Speed: 333 Mhz Dual Core
Flash-Chip: Macronix MX29LV640EBTI-70G
Flash size: 8 MiB
RAM: 64 MiB
RAM Chip: Zentel A4S12D40FTP-G5
Wireless: Atheros AR9223-AC1A b/g/n 2x2
Ethernet: Atheros AR8216-BH1A
Internet: ADSL2+ (annex A and B)
USB: Yes 1 x 2.0
Phone: 2x FXS (TAE ports which provide POTS via a SIP gateway)
Serial: Yes
JTAG: Yes
Power: external PSU, 12V DC, 1A, polarity: -(+)

Note: some units are very sensible to overvoltage, so take care you are using the right PSU

CPU info:

system type: Danube rev 1.5
processor: 0
cpu model: MIPS 24KEc V4.1
BogoMIPS: 221.18
wait instruction: yes
microsecond timers: yes
tlb_entries: 16
extra interrupt vector: yes
hardware watchpoint: yes, count: 4, address/irw mask: [0x0ffc, 0x0ffc, 0x0ffb, 0x0ffb]
ASEs implemented: mips16 dsp
shadow register sets: 1
kscratch registers: 0
core: 0
VCED exceptions: not available
VCEI exceptions: not available

Photos

PCB:
dsc01058.jpg

(More images @ Astoria)

Opening the case

Note: This will void your warranty!

To get to the board you need:

  • unscrew 2 Phillips screws underneath the cover,
  • pull the upper cover which is connected by click.

LEDS

Name Colour Gpio
Power red 7
Power green 2
Wifi green 6
Adsl green 4
Internet green 5
Internet red 8
Voip green 100
Phone 1 green 101
Phone 2 green 102
Noname Orange 103
USB green 19
wps Orange 104
wps Green 105
wps Red 106

Serial

port.serial.

Board voltage is 3.3V so can use usb to serial adapters.
Pinout:
serial.jpg

Bootstrap settings

Bootstrap pin funcion table:

X = boot_sel2 Y = boot_sel1 Z = boot_sel0 X Y Z function =============================================================== 0 0 0 External parallel flash 0 0 1 ROM > external parallel flash (default) 0 1 0 ROM > ethernet, MII0 0 1 1 ROM > PCI 1 0 0 ROM > UART1 1 0 1 ROM > serial SPI 1 1 0 ROM > NAND flash 1 1 1 ROM > Reverse MII0

Value 1 = 3.3v is connected to that pin
Value 0 = Pin is connected to digital GND

boot_sel2, boot_sel0 pins location:
bootsel0.jpg

bootlsel2.jpg
Note: boot_sel2 and boot_sel1 are by default on 0 and boot_sel0 is on 1.

UART

To enable uart mode, short pins at boot_sel2 (see picture) and connect boot_sel0 to 3.3V(serial port vcc). Than you can send u-boot.asc(downlaod here) to serial port.
For example if your serial port is ttyUSB0 than do: "cat u-boot.asc > /dev/ttyUSB0" and wait until u-boot starts.

UART mode looks like this:

ROM VER: 1.0.3
CFG 04
Read EEPROMX
 X
UART

Step by step via serial connector

Please read the following links for ARV4518. They will give you another point of view of the process:

And buy the usb to ttl conversor suggested by pippolippi or build one yourself:

Steps:

  1. (about 2h) Backup your router twice and compare the results to ensure you have a correct backup. Use brntool from https://github.com/rvalles/brntool. Command: "./brntool.py –serial=/dev/ttyUSB0 –read=AR4518PW_whole2.dump –addr=0xB0000000 –verbose –size=0x800000"
  2. download uboot for arv4518 (the one for 7518 has bug in its last versions, does not work for http/tftp and has no loady support) from http://www.cienti.com/arv4518pw/u-boot-flash-20120511.zip. (If you need to enable UART for recovery purposes, not now, the asc file is in http://www.cienti.com/arv4518pw/u-boot-asc-20120429.zip )
  3. I use cutecom, a gui for serial console. First step is to tell it that the device is /dev/ttyUSB0 and set "No Line End"
    1. Speed: 115200 baud
    2. Data bits: 8
    3. Stop bits: 1
    4. Parity: None
    5. Flow control: None
  4. Next step is very well explained in step 8 in https://forum.openwrt.org/viewtopic.php?pid=167584#p167584. Follow it step by step using file "u-boot-flash-20120511.zip" you downloaded before.
  5. Step 9 in https://forum.openwrt.org/viewtopic.php?pid=167584#p167584 is not completely valid because tftp/http does not work, so you cannot use "run update_openwrt". The correct steps instead of that one are shown in https://forum.openwrt.org/viewtopic.php?pid=181952#p181952, but first you have to download an image. In http://downloads.openwrt.org/attitude_adjustment/12.09-beta2/lantiq/danube/ there is no image for arv7518 today(31/10/2012) but there is one in http://downloads.openwrt.org/attitude_adjustment/12.09-beta/lantiq/danube/, http://downloads.openwrt.org/attitude_adjustment/12.09-beta/lantiq/danube/openwrt-lantiq-danube-ARV7518PW-squashfs.image. Download it. Now do:
    1. request to upload via YModem: "ARV4518 ⇒ loady 0x80500000"
    2. choose in cutecom "YModem", press "Send file…" and choose the file you've download. It takes about 10 mins. The steps after uploading are:

ARV4518 => era ${kernel_addr} +${filesize}

............................................. done
Erased 45 sectors
ARV4518 => cp.b ${ram_addr} ${kernel_addr} ${filesize}
Copy to Flash... 9....8....7....6....5....4....3....2....1....done
ARV4518 => 

now reboot and let it load. You have a log of the full loading process in https://forum.openwrt.org/viewtopic.php?pid=181952#p181952. OpenWRT is installed. Time to configure it.

Tags

Back to top

toh/astoria/arv7518pw.txt · Last modified: 2014/01/22 17:39 by reflected_god