Solder wires as per OpenWRT guide.
Download files
- lede-lantiq-xrx200-BTHOMEHUBV5A-installimage.bin
- lede-lantiq-bthomehubv5a_ram-u-boot.asc
- openwrt-18.06.4-lantiq-xrx200-bt_homehub-v5a-squashfs-sysupgrade.bin
Install `picocom` and `atftpd`
Make dir `/tftp` . Place all files in directory. Make world readable `chmod -R 777 /tftp`. Set owner to `atftp` : `chown -R atftp:atftp /tftp`.
Connect TTY-USB to laptop.
Open serial connection :
picocom -b 115200 /dev/ttyUSB0 --send-cmd="cat"
Connect via ethernet to port1 of HH5A. Manually set PC NIC to 192.128.1.2/24.
Power on HH5A (with s-boot touching GND for 1 second).
ROM VER: 1.1.4
CFG 04
UART
Ctrl+a Ctrl+s
`/tftp/lede-lantiq-bthomehubv5a_ram-u-boot.asc`
Press enter when loaded, to stop kernel boot.
Edit `/etc/conf.d/atftpd`
`ATFTPD_ARGS="--maxthread 20 --verbose=6 --listen-local /tftp"`
start `atftpd` service
tftpboot the LEDE boot file :
tftpboot 0x81000000 lede-lantiq-xrx200-BTHOMEHUBV5A-installimage.bin; bootm 0x81000000
Wait 2mins.
```TFTP from server 192.168.1.2; our IP address is 192.168.1.1
Filename 'lede-lantiq-xrx200-BTHOMEHUBV5A-installimage.bin'.
Load address: 0x81000000
Loading: #################################################################
#################################################################
#################################################################
##########################################
2.3 MiB/s
done
Bytes transferred = 3474686 (3504fe hex)
## Booting kernel from Legacy Image at 81000000 ...
Image Name: MIPS LEDE Linux-4.4.30
Created: 2016-11-05 20:35:36 UTC
Image Type: MIPS Linux Kernel Image (lzma compressed)
Data Size: 3474622 Bytes = 3.3 MiB
Load Address: 80002000
Entry Point: 80002000
Verifying Checksum ... OK
Uncompressing Kernel Image ...```
Wait 15mins
Copy `openwrt-18.06.4-lantiq-xrx200-bt_homehub-v5a-squashfs-sysupgrade.bin` to USB device.
Plug in USB to HH5A.
Backup the original HH5A NAND.
Copy `openwrt-18.06.4-lantiq-xrx200-bt_homehub-v5a-squashfs-sysupgrade.bin` to /tmp on HH5A.
`prepare`
Install OpenWRT : `sysupgrade /tmp/openwrt-18.06.4-lantiq-xrx200-bt_homehub-v5a-squashfs-sysupgrade.bin`.
Wait for reboot and UART prompt. Poweroff and power back on - success.