openwrt/target
Michael Pratt 91ccca519c ath79: expand factory.bin support for some Senao Engenius boards
Newer EnGenius software that still uses the tar.gz platform
  instead of the custom header requires more checks for upgrading,
  but their script includes a way to skip them...
  the existence of a file in the tar.gz called failsafe.bin

  Their upgrade script has these lines:

  \#pass check when upload with full image file
  [ "${errcode}" -eq "1" ] && [ -f failsafe.bin ] && errcode="0"

  This overrides the script's "errcode" variable
  which can be set if any of the following actions/checks fail:

  - untarring of the upload

  - magic number for kernel: "2705"

  - magic num for rootfs: "7371" or "6873"

  - md5sums for each file in the format
	filename:md5

  - existence of a file matching FWINFO*
	that it has boardname in the name somewhere (grep)
	that the 4th field of separator "-" is at least 3 (version)

  Otherwise we would need to generate md5sums in this strange format
  and touch a file with specific requirements in the name.

  This does not effect boards where the advanced checks do not apply.

Signed-off-by: Michael Pratt <mcpratt@pm.me>
[fixed SoB to match From:]
Signed-off-by: Petr Štetiar <ynezz@true.cz>
Signed-off-by: maurerr <mariusd84@gmail.com>
2021-09-01 08:07:23 +00:00
..
imagebuilder imagebuilder: fix partition signature 2021-09-01 08:07:14 +00:00
linux ath79: expand factory.bin support for some Senao Engenius boards 2021-09-01 08:07:23 +00:00
sdk sdk: fix missing include directories 2021-09-01 08:07:09 +00:00
toolchain build: improve ccache support 2020-07-11 15:19:53 +02:00
Config.in build: define PWM_SUPPORT arch feature flag 2021-09-01 08:07:01 +00:00
Makefile