immortalwrt/target/linux/ath79
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
..
base-files/etc/hotplug.d/ieee80211 ath79: add kernel 5.4 support 2020-04-23 12:00:03 +08:00
dts ath79: fix syntax error in ar7240_tplink_tl-wa.dtsi 2020-08-18 11:45:01 +08:00
files kernel: Update kernel 5.4 to version 5.4.50 2020-07-05 13:29:49 +08:00
generic treewide: drop shebang from non-executable target files 2020-06-17 12:04:16 +08:00
image ath79: drop redundant kmods-leds-gpio 2020-08-09 23:56:45 +08:00
mikrotik ath79: mikrotik: erase firmware on SPI NOR before install 2020-08-19 01:07:43 +08:00
nand ath79: add support for gl-e750 2020-07-31 02:05:31 +08:00
patches-4.19 Merge Mainline 2020-08-01 02:17:20 +08:00
patches-5.4 kernel: bump 5.4 to 5.4.58 2020-08-12 00:21:47 +08:00
tiny ath79: add kernel 5.4 support 2020-04-23 12:00:03 +08:00
config-4.19 kernel: unify CONFIG_GPIO_SYSFS in kernel configs 2020-08-07 18:08:33 +08:00
config-5.4 kernel: unify CONFIG_GPIO_SYSFS in kernel configs 2020-08-07 18:08:33 +08:00
Makefile ath79: add kernel 5.4 support 2020-04-23 12:00:03 +08:00
modules.mk