openwrt/target/linux
Thibaut VARÈNE 2cac31223d ath79: mikrotik: erase firmware on SPI NOR before install
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 install OpenWRT on these
devices), this patch unconditionally erases the firmware partition in
the do_upgrade() stage for all supported SPI NOR devices.

This is forward-ported from ed49d0876 and 20452a8db

Signed-off-by: Thibaut VARÈNE <hacks@slashdirt.org>
2020-08-18 12:24:12 +02:00
..
apm821xx apm821xx: tidy up 10-fix-wifi-mac 2020-08-17 23:09:37 +02:00
ar71xx ar71xx: fix ZyXEL NBG6616 wifi switch 2020-08-11 01:12:22 +02:00
arc770 arc770: update kernel version to 5.4 2020-07-27 20:15:10 +02:00
archs38 kernel: unify CONFIG_GPIO_SYSFS in kernel configs 2020-08-06 12:37:04 +02:00
armvirt kernel: Move CONFIG_IONIC to generic kernel config 2020-08-10 23:58:58 +02:00
at91 at91: drop obsolete empty Makefiles 2020-08-17 01:22:36 +02:00
ath25 kernel: unify CONFIG_GPIO_SYSFS in kernel configs 2020-08-06 12:37:04 +02:00
ath79 ath79: mikrotik: erase firmware on SPI NOR before install 2020-08-18 12:24:12 +02:00
bcm27xx kernel: Move CONFIG_IONIC to generic kernel config 2020-08-10 23:58:58 +02:00
bcm47xx bcm47xx: use vendor_model scheme for device/image names 2020-08-12 11:08:05 +02:00
bcm53xx Revert "bcm53xx: remove useless echo in 02_network" 2020-08-18 11:46:59 +02:00
bcm63xx bcm63xx: reorganize board patches 2020-08-16 01:03:39 +02:00
cns3xxx kernel: unify CONFIG_GPIO_SYSFS in kernel configs 2020-08-06 12:37:04 +02:00
gemini gemini: Add swap partition to DNS-313 2020-07-31 18:34:40 +02:00
generic generic: platform/mikrotik: fix incorrect test 2020-08-18 12:00:55 +02:00
imx6 kernel: unify CONFIG_GPIO_SYSFS in kernel configs 2020-08-06 12:37:04 +02:00
ipq40xx ipq40xx: refresh kernel 5.4 config 2020-08-06 12:51:51 +02:00
ipq806x ipq806x: move further common nodes to the DTSI files 2020-08-17 15:25:11 +02:00
ipq807x kernel: unify CONFIG_GPIO_SYSFS in kernel configs 2020-08-06 12:37:04 +02:00
kirkwood treewide: add sysupgrade comment for early DSA-adopters 2020-08-08 20:56:12 +02:00
lantiq kernel: unify CONFIG_GPIO_SYSFS in kernel configs 2020-08-06 12:37:04 +02:00
layerscape kernel: Move CONFIG_IONIC to generic kernel config 2020-08-10 23:58:58 +02:00
malta kernel: add CGROUPS and IOSCHED_BFQ back to config 2020-08-12 14:03:17 +02:00
mediatek mediatek: disable btif in device tree to make the WMAC work again 2020-08-12 13:02:13 +02:00
mpc85xx mpc85xx: tidy up 10-fix-wifi-mac 2020-08-13 20:29:20 +02:00
mvebu kernel: Move CONFIG_IONIC to generic kernel config 2020-08-10 23:58:58 +02:00
mxs treewide: make dependency on kmod-usb-net selective 2020-08-10 12:54:30 +02:00
octeon octeon: add support for Itus Shield Router 2020-08-16 02:15:06 +02:00
octeontx kernel: Move CONFIG_IONIC to generic kernel config 2020-08-10 23:58:58 +02:00
omap treewide: make dependency on kmod-usb-net selective 2020-08-10 12:54:30 +02:00
oxnas oxnas: reduce size of ATA DMA descriptor space 2020-08-11 00:16:04 +01:00
pistachio kernel: unify CONFIG_GPIO_SYSFS in kernel configs 2020-08-06 12:37:04 +02:00
ramips ramips: fix LED labels for Asus RT-AC65P 2020-08-17 15:00:43 +02:00
rb532 kernel: unify CONFIG_GPIO_SYSFS in kernel configs 2020-08-06 12:37:04 +02:00
rockchip rockchip: remove useless echo in 40-net-smp-affinity 2020-08-17 23:13:57 +02:00
samsung kernel: Update kernel 4.14 to version 4.14.187 2020-07-04 21:12:42 +02:00
sunxi treewide: make dependency on kmod-usb-net selective 2020-08-10 12:54:30 +02:00
tegra kernel: unify CONFIG_GPIO_SYSFS in kernel configs 2020-08-06 12:37:04 +02:00
uml
x86 kernel: Move CONFIG_IONIC to generic kernel config 2020-08-10 23:58:58 +02:00
zynq kernel: unify CONFIG_GPIO_SYSFS in kernel configs 2020-08-06 12:37:04 +02:00
Makefile build: add 'make kernel_xconfig' command 2020-07-08 16:07:05 +02:00