diff options
author | Thibaut VARENE <hacks@slashdirt.org> | 2017-02-23 12:24:05 +0100 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2017-02-26 13:30:39 +0100 |
commit | ed49d08762e2eb0a565568a5d48d4d8ffaa6ef30 (patch) | |
tree | 5920b6679d397359c1c290e5e2dee58c03eeb8a9 /target/linux/ar71xx/image/ubinize-nbg6716.ini | |
parent | df36b5e1b3d5de419a0c86b7d4bef99e7a8ecbb0 (diff) | |
download | upstream-ed49d08762e2eb0a565568a5d48d4d8ffaa6ef30.tar.gz upstream-ed49d08762e2eb0a565568a5d48d4d8ffaa6ef30.tar.bz2 upstream-ed49d08762e2eb0a565568a5d48d4d8ffaa6ef30.zip |
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>
Diffstat (limited to 'target/linux/ar71xx/image/ubinize-nbg6716.ini')
0 files changed, 0 insertions, 0 deletions