User Tools

Site Tools


toh:arcadyan:arv7519

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
toh:arcadyan:arv7519 [2018/07/11 20:04]
markg23_gmail.com Sumarize support status. Warning about WiFi not supported.
toh:arcadyan:arv7519 [2018/07/11 22:29] (current)
emgine [Installation]
Line 39: Line 39:
 -> [[docs:​guide-user:​installation:​generic.flashing|Install OpenWrt (generic explanation)]] -> [[docs:​guide-user:​installation:​generic.flashing|Install OpenWrt (generic explanation)]]
  
-FIXME Please ​add the installation procedure ​here.+FIXME Please ​check the installation procedure ​below and review steps.
  
 +**1. Prerequisites**
 +  - USB to UART adapter to setup serial console conection (Its posible to use Raspberry Pi and it's UART I/O port)
 +  - Terminal software with xmodem support (Linux: picocom, lrzsz, Windows: Putty) to comunicate to router serial console.
 +  - TFTP Server to send files to router.
 +
 +**2. Prepare the serial console**
 +  - Prepare the serial console: see [[#serial]]
 +**3. Make full Flash backup**
 +  - Make a full flash backup before continue: see [[#Flash backup]]
 +**4. Replace bootloader with U-boot**
 +  - Launch picocom \\ ''​ picocom -b 115200 /​dev/​ttyUSB0''​
 +  - Power on the device
 +  - Inmediatelly press **3 times the space bar**. You will see the message\\ ''​ Enter command mode ...123
 + ​Key=''​
 +  - Paste the password: //​Oh!123Go// ​ \\ The bootloader will enter into the command mode\\ ''​ Yes, Enter command mode ...
 + [VR9 Boot]:''​
 +  - Press the key: ''//​!//''​\\ Now you're into administrator mode
 +  - Press the key: ''//​U//''​\\
 +  - Press the key: ''//​0//''​\\
 +  - Press the key: ''//​Y//''​\\ Now the router is awaiting file transmited vía Xmodem protocol from picocom
 +  - Press the key ctrl+a, and then ctrl+s, next type in the file to transmit to router (tipical uboot.bin that is located on linux machine)
 +  - Hit enter and transmission of file will start. You will see a lot of messages, wait until it finishes. It will take a couple of minutes.\\ ''​Xmodem sectors/​kbytes sent: 2533/​316kRetry 0: NAK on sector
 +Retry 0: NAK on sector
 +Retry 0: No ACK on EOT
 +
 +Transfer complete
 +''​
 +After a while (2-3 minutes) you should see\\ ''​*** exit status: 0 ***''​
 +
 +At this point, new U-Boot bootloader was flashed. If all is correct, you could restart the router and see new U-Boot bootloader running.
 +Note: If you are not sure it went well, don't reboot or power off the router, just restart the flashing steps starting from '​administrator mode', press ! key again.
 +   
 +**5. Flash new OpenWRT firmware**
 +  - Setup an TFTP server, put firmware file o the TFTP Server, this example assume the file is named: '​lede-arv7519rw22.bin'​
 +  - Setup a network connection between router (192.168.1.1) and TFTP Server (192.168.1.2)
 +  - Power on router with U-Boot bootloader. The bootloader should looks like this:
 +<WRAP bootlog>
 +<​nowiki>​
 +ROM VER: 1.1.4
 +CFG 01
 +
 +
 +U-Boot 2013.10-openwrt5-dirty (Jan 07 2014 - 10:29:58) arv7519rw
 +
 +Board: Lantiq ARV7519RW VRX200 Family Board
 +SoC:   ​Lantiq VRX288 v1.2
 +CPU:   500 MHz
 +IO:    250 MHz
 +BUS:   250 MHz
 +BOOT:  NOR
 +DRAM:  128 MiB
 +Flash: 32 MiB
 +*** Warning - bad CRC, using default environment
 +
 +In:    serial
 +Out:   ​serial
 +Err:   ​serial
 +Net:   ​ltq-eth
 +Hit any key to stop autoboot: ​ 0 
 +Wrong Image Format for bootm command
 +ERROR: can't get kernel image!
 +</​nowiki>​
 +</​WRAP>​
 +
 +Type the following commands on U-Boot environment:​\\ ''​setenv write-openwrt '​tftpboot lede-arv7519rw22.bin && protect off 0xB0080000 +$filesize && erase 0xB0080000 +$filesize && cp.b $fileaddr 0xB0080000 $filesize'​
 +setenv kernel_addr 0xB0080000
 +saveenv
 +run write-openwrt''​
 +
 +After a while, you should get something like this:
 +<WRAP bootlog>
 +<​nowiki>​
 +ltq_phy: addr 0, link 0, speed 10, duplex 0
 +ltq_phy: addr 17, link 1, speed 100, duplex 1
 +ltq_phy: addr 18, link 0, speed 10, duplex 0
 +ltq_phy: addr 19, link 0, speed 10, duplex 0
 +ltq_phy: addr 20, link 0, speed 10, duplex 0
 +Using ltq-eth device
 +TFTP from server 192.168.1.2;​ our IP address is 192.168.1.1
 +Filename '​lede-arv7519rw22.bin'​.
 +Load address: 0x81000000
 +Loading: T #################################################################​
 +  #################################################################​
 +  #################################################################​
 +  #################################################################​
 +  #################################################################​
 +  #################################################################​
 +  #################################################################​
 +  ##########
 +  1.0 MiB/s
 +done
 +Bytes transferred = 4456651 (4400CB hex)
 +..................................................... done
 +Un-Protected 53 sectors
 +
 +..................................................... done
 +Erased 53 sectors
 +Copy to Flash... 10....9....8....7....6....5....4....3....2....1....done
 +
 +arv7519rw #
 +</​nowiki>​
 +</​WRAP>​
 +
 +Reboot device, it should boot the brand new firmware.
 ===== Openwrt status =====  ===== Openwrt status ===== 
   * ADSL modem is working with Annex B. Annex A is not supported.   * ADSL modem is working with Annex B. Annex A is not supported.
toh/arcadyan/arv7519.txt · Last modified: 2018/07/11 22:29 by emgine