[PATCH] tplink-safeloader: fix C7v5 factory flashing from vendor fw > v1.1.x

Petr Štetiar ynezz at true.cz
Tue Apr 13 09:26:02 BST 2021


Adrian Schmutzler <mail at adrianschmutzler.de> [2021-04-10 18:55:10]:

Hi,

> > Currently it's not possible to flash factory images on devices shipped with
> > vendor firmware versions 1.1.0 Build 20201120 rel. 50406 (published
> > 2020-12-22):
> 
> Will this prevent flashing back vendor firmware via TFTP or is a different comparison used there?

nope, it seems like U-Boot has different kind of checks. For example my
testing unit has following U-Boot:

 U-Boot 1.1.4-gbec22107-dirty (Nov 18 2020 - 18:19:12)

and flashing from OpenWrt back to stock with latest factory vendor image
c7v5_us-up-ver1-1-2-P1[20210125-rel37999]_2021-01-25_10.33.55.bin
works as expected:

 Firmware downloaded... filesize = 0xeeae77 fileaddr = 0x80060000.
 Firmware Recovery file length : 15642231
 Firmware process id 2.
 handle_fw_cloud 146
 Image verify OK!
 Firmware file Verify ok!
 product-info:product_name:Archer C7
 product_ver:5.0.0
 special_id:55530000
 [Error]sysmgr_cfg_checkSupportList(): 1023 @ specialId 45550000 NOT Match.
 Firmware supports, check OK.
 Firmware Recovery check ok!

-- ynezz



More information about the openwrt-devel mailing list