openwrt/target
Thibaut VARÈNE 2cac31223d 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-18 12:24:12 +02:00
..
imagebuilder imagebuilder: Remove json_info_files/ before build 2020-06-11 11:12:56 +01:00
linux ath79: mikrotik: erase firmware on SPI NOR before install 2020-08-18 12:24:12 +02:00
sdk build: improve ccache support 2020-07-11 15:19:53 +02:00
toolchain build: improve ccache support 2020-07-11 15:19:53 +02:00
Config.in build: define RTC_SUPPORT as a bool 2020-04-09 12:51:10 +02:00
Makefile