Michael Pratt
41129a9eb4
ath79: add Senao 'failsafe' sysupgrade procedure
...
Use a similar upgrade method for sysupgrade.bin, like factory.bin,
for Senao boards with the tar.gz OEM upgrade platform,
and 'failsafe' image which is loaded on checksum failure.
This is inspired by the OEM upgrade script /etc/fwupgrade.sh
and the existing platforms for dual-boot Senao boards.
Previously, if the real kernel was damaged or missing
the only way to recover was with UART serial console,
because the OKLI lzma-loader is programmed to halt.
uboot did not detect cases where kernel or rootfs is damaged
and boots OKLI instead of the failsafe image,
because the checksums stored in uboot environment
did not include the real kernel and rootfs space.
Now, the stored checksums include the space for both
the lzma-loader, kernel, and rootfs.
Therefore, these boards are now practically unbrickable.
Also, the factory.bin and sysupgrade.bin are now the same,
except for image metadata.
This allows for flashing OEM image directly from openwrt
as well as flashing openwrt image directly from OEM.
Make 'loader' partition writable so that it can be updated
during a sysupgrade.
tested with
ENS202EXT v1
EAP1200H
EAP350 v1
EAP600
ECB350 v1
ECB600
ENH202 v1
Signed-off-by: Michael Pratt <mcpratt@pm.me>
Signed-off-by: maurerr <mariusd84@gmail.com>
2021-09-01 08:07:55 +00:00
..
2021-09-01 08:07:55 +00:00
2021-09-01 08:07:55 +00:00
2021-09-01 08:07:03 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:55 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:01 +00:00
2021-09-01 08:07:01 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:01 +00:00
2021-09-01 08:07:01 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:01 +00:00
2021-09-01 08:07:30 +00:00
2021-09-01 08:07:30 +00:00
2021-09-01 08:07:30 +00:00
2021-09-01 08:07:30 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:30 +00:00
2021-09-01 08:07:30 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:01 +00:00
2021-09-01 08:07:01 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:55 +00:00
2021-09-01 08:07:01 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:01 +00:00
2021-09-01 08:07:01 +00:00
2021-09-01 08:07:01 +00:00
2021-09-01 08:07:01 +00:00
2021-09-01 08:07:01 +00:00
2021-09-01 08:07:01 +00:00
2021-09-01 08:07:03 +00:00
2021-09-01 08:07:01 +00:00
2021-09-01 08:07:01 +00:00
2021-09-01 08:07:01 +00:00
2021-09-01 08:07:01 +00:00
2021-09-01 08:07:01 +00:00
2021-09-01 08:07:01 +00:00
2021-09-01 08:07:03 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:01 +00:00
2021-09-01 08:06:51 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:30 +00:00
2021-09-01 08:07:30 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:03 +00:00
2021-09-01 08:07:03 +00:00
2021-09-01 08:07:03 +00:00
2021-09-01 08:07:03 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:03 +00:00
2021-09-01 08:07:01 +00:00
2021-09-01 08:07:01 +00:00
2021-09-01 08:07:01 +00:00
2021-09-01 08:07:01 +00:00
2021-09-01 08:07:01 +00:00
2021-09-01 08:07:01 +00:00
2021-09-01 08:07:01 +00:00
2021-09-01 08:07:32 +00:00
2021-09-01 08:07:32 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:06:51 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:03 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:03 +00:00
2021-09-01 08:07:55 +00:00
2021-09-01 08:07:55 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:01 +00:00
2021-09-01 08:07:01 +00:00
2021-09-01 08:07:41 +00:00
2019-06-05 10:12:31 +02:00
2021-09-01 08:07:52 +00:00
2021-09-01 08:07:52 +00:00
2021-09-01 08:07:52 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:25 +00:00
2021-09-01 08:07:25 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:03 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:03 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:16 +00:00
2021-09-01 08:07:16 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:03 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:03 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:01 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:01 +00:00
2021-09-01 08:07:16 +00:00
2021-09-01 08:07:01 +00:00
2021-09-01 08:07:01 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:01 +00:00
2021-09-01 08:07:01 +00:00
2021-09-01 08:07:01 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:01 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:25 +00:00
2021-09-01 08:07:25 +00:00
2021-09-01 08:07:25 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:16 +00:00
2021-09-01 08:07:03 +00:00
2021-09-01 08:07:03 +00:00
2021-09-01 08:07:03 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:16 +00:00
2021-09-01 08:07:16 +00:00
2021-09-01 08:07:41 +00:00
2020-01-31 13:42:12 +01:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:28 +00:00
2021-09-01 08:07:01 +00:00
2021-09-01 08:07:09 +00:00
2021-09-01 08:07:09 +00:00
2021-09-01 08:07:12 +00:00
2021-09-01 08:07:12 +00:00
2021-09-01 08:07:09 +00:00
2021-09-01 08:07:09 +00:00
2021-09-01 08:07:01 +00:00
2021-09-01 08:07:01 +00:00
2021-09-01 08:07:09 +00:00
2021-09-01 08:07:09 +00:00
2021-09-01 08:07:09 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:24 +00:00
2021-09-01 08:07:24 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:01 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:01 +00:00
2021-09-01 08:07:01 +00:00
2021-09-01 08:07:01 +00:00
2021-09-01 08:07:01 +00:00
2021-09-01 08:07:01 +00:00
2021-09-01 08:07:03 +00:00
2021-09-01 08:07:03 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:29 +00:00
2021-09-01 08:07:29 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:05 +00:00
2021-09-01 08:07:05 +00:00
2021-09-01 08:07:06 +00:00
2021-09-01 08:07:06 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:49 +00:00
2021-09-01 08:07:49 +00:00
2021-09-01 08:07:49 +00:00
2021-09-01 08:07:01 +00:00
2021-09-01 08:07:01 +00:00
2021-09-01 08:07:01 +00:00
2021-09-01 08:07:01 +00:00
2021-09-01 08:07:01 +00:00
2021-09-01 08:07:03 +00:00
2021-09-01 08:07:03 +00:00
2021-09-01 08:07:03 +00:00
2021-09-01 08:07:16 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:03 +00:00
2021-09-01 08:07:01 +00:00
2021-09-01 08:07:01 +00:00
2021-09-01 08:07:01 +00:00
2021-09-01 08:07:03 +00:00
2021-09-01 08:07:01 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:01 +00:00
2021-09-01 08:07:01 +00:00
2021-09-01 08:07:01 +00:00
2021-09-01 08:07:01 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:38 +00:00
2021-09-01 08:07:01 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:55 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:03 +00:00
2021-09-01 08:07:12 +00:00
2021-09-01 08:07:13 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:01 +00:00
2021-09-01 08:07:03 +00:00
2021-09-01 08:07:01 +00:00
2021-09-01 08:07:01 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:10 +00:00
2021-09-01 08:07:10 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:10 +00:00
2021-09-01 08:07:10 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:42 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:01 +00:00
2021-09-01 08:07:01 +00:00
2021-09-01 08:07:26 +00:00
2021-09-01 08:07:26 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:01 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:25 +00:00
2021-09-01 08:07:25 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:23 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:23 +00:00
2021-09-01 08:07:01 +00:00
2021-09-01 08:07:01 +00:00
2021-09-01 08:07:03 +00:00
2021-09-01 08:07:03 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:01 +00:00
2021-09-01 08:07:01 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:01 +00:00
2021-09-01 08:07:01 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:01 +00:00
2021-09-01 08:07:01 +00:00
2021-09-01 08:07:01 +00:00
2021-09-01 08:07:01 +00:00
2021-09-01 08:07:03 +00:00
2021-09-01 08:07:01 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:03 +00:00
2021-09-01 08:07:03 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:03 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:26 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:23 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:03 +00:00
2021-09-01 08:07:03 +00:00
2021-09-01 08:07:03 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:16 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:21 +00:00
2021-09-01 08:07:21 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:16 +00:00
2021-09-01 08:07:16 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:13 +00:00
2021-09-01 08:07:13 +00:00
2021-09-01 08:07:13 +00:00
2021-09-01 08:07:13 +00:00
2021-09-01 08:07:13 +00:00
2021-09-01 08:07:13 +00:00
2021-09-01 08:07:26 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:34 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:23 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:03 +00:00
2021-09-01 08:07:03 +00:00
2021-09-01 08:07:01 +00:00
2021-09-01 08:07:01 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:29 +00:00
2021-09-01 08:07:29 +00:00
2021-09-01 08:07:29 +00:00
2021-09-01 08:07:29 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:06 +00:00
2021-09-01 08:07:06 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:03 +00:00
2021-09-01 08:07:03 +00:00
2021-09-01 08:07:03 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:16 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:16 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:01 +00:00
2021-09-01 08:07:01 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:16 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:01 +00:00
2021-09-01 08:07:01 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:01 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:01 +00:00
2021-09-01 08:07:16 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:16 +00:00
2021-09-01 08:07:16 +00:00
2021-09-01 08:07:16 +00:00
2021-09-01 08:07:16 +00:00
2021-09-01 08:07:16 +00:00
2021-09-01 08:07:16 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:03 +00:00
2021-09-01 08:07:03 +00:00
2021-09-01 08:07:03 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:03 +00:00
2021-09-01 08:07:03 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:01 +00:00
2021-09-01 08:07:01 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:03 +00:00
2021-09-01 08:07:03 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:06 +00:00
2021-09-01 08:07:06 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:01 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:16 +00:00
2021-09-01 08:07:16 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:01 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:13 +00:00
2021-09-01 08:07:13 +00:00
2021-09-01 08:07:13 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:01 +00:00
2021-09-01 08:07:01 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:01 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:03 +00:00
2021-09-01 08:07:03 +00:00
2021-09-01 08:07:03 +00:00
2021-09-01 08:07:03 +00:00
2021-09-01 08:07:16 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:16 +00:00
2021-09-01 08:07:01 +00:00
2020-03-15 00:08:14 +01:00
2021-09-01 08:07:01 +00:00
2021-09-01 08:07:01 +00:00
2021-09-01 08:07:01 +00:00
2021-09-01 08:07:01 +00:00
2019-11-27 22:54:36 +01:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:03 +00:00
2021-09-01 08:07:03 +00:00
2021-09-01 08:07:41 +00:00
2021-09-01 08:07:01 +00:00
2021-09-01 08:07:01 +00:00
2021-09-01 08:07:03 +00:00
2020-05-18 13:35:38 +02:00
2021-09-01 08:07:01 +00:00
2021-09-01 08:07:03 +00:00
2021-09-01 08:07:03 +00:00
2021-09-01 08:07:03 +00:00
2021-09-01 08:07:01 +00:00
2021-09-01 08:07:41 +00:00