[LEDE-DEV] [PATCH 3/3] ramips: backport TP-Link image checks from AR71xx

Mathias Kresin dev at kresin.me
Sun Oct 1 23:43:33 PDT 2017


02.10.2017 01:33, Sergey Ryazanov:
> Backport TP-Link image compatibility checks (verify hardware id &
> revision) from AR71xx platform and adopt it for v2/v3 image header.
> 
> Use new functionality for Archer C20/C20i sysupgrade image verification.

NAK.

The image metadata (more precisely the boardname) are used to ensure 
that the image matches the board. We do not need any additional board 
checks.

Even if the image metadata are not yet enforced on ramips (due to 
handful of boards still using the old image build code), flashing an 
image with metadata not matching the current board is refused. Flashing 
an image without metadata is still possible till metadata are enforced.

Mathias



More information about the Lede-dev mailing list