openwrtv4/target/linux/ar71xx/base-files/lib
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
..
preinit ar71xx: add support for TP-LINK TL-WR940N v4 2016-12-16 11:12:46 +01:00
upgrade ar71xx: mikrotik: erase firmware partition on SPI NOR devices in pre_upgrade() 2017-02-26 13:30:39 +01:00
ar71xx.sh ar71xx: add support for TL-WR802N Version 2 2017-02-20 09:10:17 +01:00