openwrtv3/target/linux
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
..
adm5120 adm5120: mark the rb1xx subtarget as broken 2017-01-16 20:40:12 +01:00
adm8668 build: fix subtarget descriptions 2016-09-04 13:35:11 +02:00
apm821xx apm821xx: adds missing symbol to v4.9 default config 2017-02-13 10:24:32 +01:00
ar7 kernel: update kernel 3.18 to version 3.18.43 2016-10-24 20:25:14 +03:00
ar71xx ar71xx: mikrotik: erase firmware partition on SPI NOR devices in pre_upgrade() 2017-02-26 13:30:39 +01:00
arc770 arc770: only calculate entry point address when necessary 2017-02-21 16:10:30 +01:00
archs38 archs38: only calculate entry point address when necessary 2017-02-21 16:10:32 +01:00
arm64 Revert "arm64: boot-wrapper: Add mirror" 2016-12-22 21:08:17 +01:00
armvirt armvirt: add kernel config change missing from 0d44f0cb 2017-01-13 11:05:32 +01:00
at91 kernel: remove ubifs xz decompression support 2017-01-09 14:07:06 +01:00
ath25 kernel: backport MIPS changes introducing a separate IRQ stack 2017-01-15 18:25:54 +01:00
au1000 kernel: update kernel 3.18 to version 3.18.43 2016-10-24 20:25:14 +03:00
bcm53xx bcm53xx: add kernel 4.9 config 2017-02-20 14:12:30 +01:00
brcm47xx kernel: update kernel 4.4 to 4.4.50 2017-02-23 10:40:21 +01:00
brcm63xx brcm63xx: Add Observa VH4032N support 2017-02-09 22:02:45 +01:00
brcm2708 kernel: update kernel 4.9 to version 4.9.10 2017-02-16 00:46:23 +01:00
cns3xxx kernel: update kernel 4.9 to version 4.9.10 2017-02-16 00:46:23 +01:00
gemini gemini: rename config-default to config-4.4 2016-08-24 01:44:05 +03:00
generic kernel: update 4.9 to 4.9.12 2017-02-26 08:44:26 +01:00
imx6 imx6: move to Linux 4.9 kernel 2017-02-11 15:38:11 +01:00
ipq806x ipq806x: fix fakerootfs position 2017-02-21 21:18:33 +01:00
ixp4xx ixp4xx: put apex images into image staging directory 2017-01-27 16:53:31 +01:00
kirkwood kirkwood: add ZyXEL NSA325 device 2017-02-11 21:16:28 +01:00
lantiq lantiq: fix broadcast packets leaking on the wrong vlan on xrx200 2017-02-23 12:58:49 +01:00
layerscape layerscape: add LS1043A Rev1.1 support 2017-02-26 08:41:40 +01:00
malta malta: mark as source-only to avoid wasting build resources 2017-01-24 13:15:01 +01:00
mcs814x kernel: remove kmod packages for bridge, stp, llc and 8021q 2017-02-09 14:49:34 +01:00
mediatek mediatek: add more missing symbols 2017-02-16 20:25:47 +01:00
mpc85xx kernel: remove DEVMEM/DEVKMEM platform overrides 2017-01-10 13:48:53 +01:00
mvebu mvebu: add linux 4.9 support 2017-02-16 17:17:15 +01:00
mxs mxs: enable nvmem support 2017-02-10 11:05:57 +01:00
octeon octeon: only copy sysupgrade file if present 2017-02-15 06:36:21 +01:00
omap omap: build various core drivers into the kernel instead of packaging them 2017-01-10 13:44:26 +01:00
omap24xx kernel: clean up usb gadget support 2016-09-15 13:11:21 +02:00
orion kernel: split up 980-arm_openwrt_machtypes.patch and move to target folders 2017-01-27 11:18:27 +01:00
oxnas oxnas: put u-boot images into image staging directory 2017-01-27 16:53:31 +01:00
ppc40x build: fix subtarget descriptions 2016-09-04 13:35:11 +02:00
ppc44x ppc44x: mark as broken 2017-01-10 12:49:34 +01:00
ramips ramips: include only kmod-mt76-core in EX2700 image 2017-02-26 10:26:50 +01:00
rb532 kernel: remove ubifs xz decompression support 2017-01-09 14:07:06 +01:00
sunxi sunxi: put u-boot images into image staging directory 2017-01-27 16:53:31 +01:00
uml uml: mark as source-only 2017-01-24 13:15:01 +01:00
x86 x86_64: Add support for EFI framebuffer (FS#515) 2017-02-21 16:07:09 +01:00
xburst kernel: remove kmod packages for bridge, stp, llc and 8021q 2017-02-09 14:49:34 +01:00
zynq kernel: remove DEVTMPFS platform overrides 2017-01-10 13:48:53 +01:00
Makefile