openwrtv4/target/linux/ar71xx
Thibaut VARENE ed49d08762 ar71xx: mikrotik: erase firmware partition on SPI NOR devices in pre_upgrade()
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 flash LEDE on these devices),
this patch unconditionally erases the firmware partition in the pre_upgrade()
stage for all supported SPI NOR devices.

Signed-off-by: Thibaut VARENE <hacks@slashdirt.org>
2017-02-26 13:30:39 +01:00
..
base-files ar71xx: mikrotik: erase firmware partition on SPI NOR devices in pre_upgrade() 2017-02-26 13:30:39 +01:00
files ar71xx: Enable mtdsplit support for RB SPI NOR devices 2017-02-22 22:52:20 +01:00
generic switch to the new usbport LED trigger 2016-10-19 12:09:45 +02:00
image ar71xx: use common firmware partition for WNDAP360 2017-02-23 16:27:47 +01:00
mikrotik ar71xx: add support for TL-WR802N Version 2 2017-02-20 09:10:17 +01:00
nand ar71xx: add support for 8devices Lima board 2017-02-17 10:19:09 +01:00
patches-4.4 ar71xx: Enable RB2011 TTY 2017-02-26 08:46:09 +01:00
config-4.4 ar71xx: Enable mtdsplit support for RB SPI NOR devices 2017-02-22 22:52:20 +01:00
Makefile build: remove mips16 feature flag from target makefiles 2017-01-24 13:15:01 +01:00
modules.mk ar71xx: add LED driver NU801 2015-12-11 15:04:57 +00:00