mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2026-02-18 02:25:27 +01:00
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> |
||
|---|---|---|
| .. | ||
| preinit | ||
| upgrade | ||
| ar71xx.sh | ||