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
..
2017-01-16 20:40:12 +01:00
2016-09-04 13:35:11 +02:00
2017-02-13 10:24:32 +01:00
2016-10-24 20:25:14 +03:00
2017-02-26 13:30:39 +01:00
2017-02-21 16:10:30 +01:00
2017-02-21 16:10:32 +01:00
2016-12-22 21:08:17 +01:00
2017-01-13 11:05:32 +01:00
2017-01-09 14:07:06 +01:00
2017-01-15 18:25:54 +01:00
2016-10-24 20:25:14 +03:00
2017-02-20 14:12:30 +01:00
2017-02-23 10:40:21 +01:00
2017-02-09 22:02:45 +01:00
2017-02-16 00:46:23 +01:00
2017-02-16 00:46:23 +01:00
2016-08-24 01:44:05 +03:00
2017-02-26 08:44:26 +01:00
2017-02-11 15:38:11 +01:00
2017-02-21 21:18:33 +01:00
2017-01-27 16:53:31 +01:00
2017-02-11 21:16:28 +01:00
2017-02-23 12:58:49 +01:00
2017-02-26 08:41:40 +01:00
2017-01-24 13:15:01 +01:00
2017-02-09 14:49:34 +01:00
2017-02-16 20:25:47 +01:00
2017-01-10 13:48:53 +01:00
2017-02-16 17:17:15 +01:00
2017-02-10 11:05:57 +01:00
2017-02-15 06:36:21 +01:00
2017-01-10 13:44:26 +01:00
2016-09-15 13:11:21 +02:00
2017-01-27 11:18:27 +01:00
2017-01-27 16:53:31 +01:00
2016-09-04 13:35:11 +02:00
2017-01-10 12:49:34 +01:00
2017-02-26 10:26:50 +01:00
2017-01-09 14:07:06 +01:00
2017-01-27 16:53:31 +01:00
2017-01-24 13:15:01 +01:00
2017-02-21 16:07:09 +01:00
2017-02-09 14:49:34 +01:00
2017-01-10 13:48:53 +01:00