Could you give a guide about how to install openwrt on the latest A62 router?
The router's management web doesn't provide a way to install the local image, then I tried to upgrade the fw by using tftp tool ap51f-flash, it also fails.
Thanks. It's a very similar case. But, the solution that's mentioned in the wiki fails to resolve my problem though the host has already connected to the A62 device successfully. Maybe there're some differences.
A62 is a totally different platform and might use different approach for firmware signing, including different location of key (it doesn't even have to be inside flash). Instructions from the Wiki apply and were tested only on two mentioned models.
Unfortunately, trying to start initramfs image failed, too.
The default uboot in A62 asks for 'fwupgrade.cfg', the output files after building don't include it. Below is the partial uboot print information.
BTW, I didn't find out a way to let the device keep running in the uboot stage, but the default uboot in A62 would try to connect TFTP server for the upgrade files each time when the device boots up.
[13:49:00.998]ζΆββipq40xx_ess_sw_init done
eth0
Hit any key to stop autoboot: 7
[13:49:02.001]ζΆββ 6
[13:49:03.002]ζΆββ 5
[13:49:04.003]ζΆββ 4
[13:49:05.004]ζΆββ 3
[13:49:06.004]ζΆββ 2
[13:49:07.005]ζΆββ 1
[13:49:08.006]ζΆββ 0
eth0 PHY0 Down Speed :10 Half duplex
eth0 PHY1 Down Speed :10 Half duplex
eth0 PHY2 Down Speed :10 Half duplex
eth0 PHY3 Down Speed :10 Half duplex
eth0 PHY4 up Speed :1000 Full duplex
Using eth0 device
TFTP from server 192.168.100.8; our IP address is 192.168.100.9
Filename 'fwupgrade.cfg'.
Load address: 0x84000000
Loading: *
TFTP error: 'File not found' (1)
Not retrying...
Retry...
eth0 PHY0 Down Speed :10 Half duplex
eth0 PHY1 Down Speed :10 Half duplex
eth0 PHY2 Down Speed :10 Half duplex
eth0 PHY3 Down Speed :10 Half duplex
eth0 PHY4 up Speed :1000 Full duplex
Using eth0 device
TFTP from server 192.168.100.8; our IP address is 192.168.100.9
Filename 'fwupgrade.cfg'.
Load address: 0x84000000
Loading: *
TFTP error: 'File not found' (1)
Not retrying...
Retry...
eth0 PHY0 Down Speed :10 Half duplex
eth0 PHY1 Down Speed :10 Half duplex
eth0 PHY2 Down Speed :10 Half duplex
eth0 PHY3 Down Speed :10 Half duplex
eth0 PHY4 up Speed :1000 Full duplex
Using eth0 device
TFTP from server 192.168.100.8; our IP address is 192.168.100.9
Filename 'fwupgrade.cfg'.
Load address: 0x84000000
Loading: *
TFTP error: 'File not found' (1)
Not retrying...
Retry count exceeded!
Looks like key/s used for signature verification might be stored somewhere else. Dump this partition and check what's inside. Or, if you are brave enough, just erase it (make sure to backup it first).
If checksums (output from md5sum) will be different before and after erase command, it means partition got erased.
You have been warned: this operation might break your device and make it useless. You might need to re-program flash in external programmer if something goes wrong (e.g. U-Boot refuses to boot with erased keys, assuming they are stored in KEYS parittion). Without backup, that will be impossible.
Do you have dedicated/compatible U-Boot for this device?
I have erased mtd9 partition. The following step, should I reboot A62 first then upgrade its firmware or upgrade the firmware before rebooting? what's you advice?
Do you have dedicated/compatible U-Boot for this device?
No, I don't have it... Maybe somebody in the openwrt community has it.