openwrt/target/linux/ar71xx/base-files/lib/upgrade
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
..
allnet.sh ar71xx: Fix sysupgrades for Allnet and OpenMesh devices 2013-10-20 15:59:05 +00:00
dir825.sh ar71xx: use mtd_get_part_size helper 2013-07-20 09:26:57 +00:00
merakinand.sh ar71xx: add support for Cisco Meraki Z1 Cloud Managed Teleworker Gateway 2016-09-27 17:50:22 +02:00
openmesh.sh ar71xx: enable sysupgrade for the OpenMesh A40 2017-02-14 12:18:05 +01:00
platform.sh ar71xx: mikrotik: erase firmware partition on SPI NOR devices in pre_upgrade() 2017-02-26 13:30:39 +01:00