Tried the C58 TFTP recovery sequence on C58HP (i.e. press and hold Reset and power on). However, C58HP does not ask TFTP server for the recovery image. I do not have C58 but I have WR841N which asks for recovery image when I use the same sequence. Probably need to look for serial console access to get some insights.
Hi Guys.. I am trying to add TP-Link Archer C58HP using [OpenWrt Wiki] Adding a new device. This router has same hardware as TP-Link Archer C58 so I have added reference for C58HP in all places where TP-Link Archer C58 is referenced (based on git.openwrt.org Git - openwrt/openwrt.git/search). I have also added .dts for C58HP. TP-Link Archer C58HP shows in make menuconfig and I am able to run make. However, I only get the openwrt-ath79-generic-tplink_archer-c58hp-v1-initramfs-kernel.bin image on completion of make. There is no openwrt-ath79-generic-tplink_archer-c58hp-v1-squashfs-factory.bin and openwrt-ath79-generic-tplink_archer-c58-v1-squashfs-sysupgrade.bin. If I change to TP-Link Archer C58 in make menuconfig, I get 3 images for that router. I do not have lot of experience in this area so I wonder if someone can help me understand what am I doing wrong. Thanks in advance.
So after some digging, I found that I missed the tplink-safeloader.c file. So I added Archer C58HP section in that file. Also found that the partitions defined in qca9561_tplink_archer-c58hp-v1.dts were a copy of Archer C58 partitions. I have not been able to figure out how to modify the partitions to match Archer C58HP. I have following information about Archer C58HP partitions. I wonder if someone can guide me how to fit these in partitions section of qca9561_tplink_archer-c58hp-v1.dts.
partition fs-uboot base 0x00000 size 0x10000
partition file-system base 0x10000 size 0x6c0000
partition os-image base 0x6d0000 size 0x110000
partition default-mac base 0x7e0000 size 0x00020
partition pin base 0x7e0020 size 0x00010
partition support-list base 0x7e0030 size 0x0006c
partition rf-test base 0x7e009c size 0x00004
partition soft-version base 0x7e00a0 size 0x00200
partition product-info base 0x7e02a0 size 0x002a0
partition partition-table base 0x7e0540 size 0x00f00
partition device-id base 0x7e1440 size 0x00100
partition profile base 0x7e1540 size 0x00ac0
partition default-config base 0x7e2000 size 0x02000
partition user-config base 0x7e4000 size 0x04000
partition certificate base 0x7e8000 size 0x04000
partition qos-db base 0x7ec000 size 0x04000
partition radio base 0x7f0000 size 0x10000