immortalwrt/target
Thibaut VARÈNE cecb64364e
ath79: mikrotik: erase firmware on SPI NOR before install
On Mikrotik SPI NOR devices, the firmware partition must be erased when
flashing from stock firmware, otherwise leftover bits (in particular a
kernel signature) can trigger a boot loop.

When booted from initramfs (the only way to install OpenWRT on these
devices), this patch unconditionally erases the firmware partition in
the do_upgrade() stage for all supported SPI NOR devices.

This is forward-ported from ed49d0876 and 20452a8db

Signed-off-by: Thibaut VARÈNE <hacks@slashdirt.org>
2020-08-19 01:07:43 +08:00
..
imagebuilder imagebuilder: Remove json_info_files/ before build 2020-06-12 12:10:10 +08:00
linux ath79: mikrotik: erase firmware on SPI NOR before install 2020-08-19 01:07:43 +08:00
sdk SDK: multi-cores compress SDK 2020-07-27 23:24:57 +08:00
toolchain toolchain/wrapper.sh: fix remaining shellcheck warnings 2020-07-12 12:12:56 +08:00
Config.in target: make TESTING_KERNEL selectable 2020-04-14 23:56:07 +08:00
Makefile update target 2019-08-19 22:26:19 +08:00