Archer D7 support

download u-boot from archer c7v2 u-boot archer c7v2 and edit the mac with hex editor with your mac. Mac address start at offset 0x1FC00.

update u-boot via console throught tftp. to stop u-boot from autobooting type "tp" and use following command:

  • tftpboot 0x81000000 u-boot-c7v2.bin

  • erase 0x9f000000 +20000

  • cp.b 0x81000000 0x9f000000 0x20000

  • reset
    after u-boot was updated, boot with openwrt archer c7v2 image from memory with following command:

  • tftpboot 0x81000000 openwrt-19.07.2-ath79-generic-tplink_archer-c7-v2-initramfs-kernel.bin

  • bootm 0x81000000

from here, you can flash with sysupgrade image from official openwrt.

to make wan port working, edit file 02_network at /etc/board.d/ and find board archer c7v2 definition and change to with:

ucidef_add_switch "switch0"
"0@eth1" "3:lan" "4:lan" "5:lan" "2:wan" "6@eth0"

and delete file "board.json" at /etc directory and do reboot.

1 Like