openwrt/target/linux/ath79/image
Shiji Yang d792d20832 ath79: fix first reboot issue on Netgear WNDR4300 v2 and WNDR4500 v3
From the Netgear u-boot GPL code[1]. Bootloader always unconditionally
marks block 768, 1020 - 1023 as bad blocks on each boot. This may lead
to conflicts with the OpenWrt nand driver since these blocks may be good
blocks. In this case, U-boot will override the oob of these blocks so
that break the ubi volume. The system will be damaged after first reboot.
To avoid this issue, manually skip these blocks by using "mtd-concat".

[1] https://www.downloads.netgear.com/files/GPL/EX7300v2series-V1.0.0.146_gpl_src.tar.bz2.zip

Fixes: https://github.com/openwrt/openwrt/issues/8878
Tested-by: Yousaf <yousaf465@gmail.com>
Signed-off-by: Shiji Yang <yangshiji66@qq.com>
(cherry picked from commit 12f53724c6)
2023-08-24 20:45:12 +02:00
..
bin ath79: add support for PISEN WMB001N 2019-08-08 21:00:59 +08:00
lzma-loader ath79: add Cisco Meraki MR18 2023-05-14 00:08:35 +02:00
common-buffalo.mk ath79: use common device definition for Buffalo devices 2020-09-16 17:31:03 +02:00
common-mikrotik.mk ath79: mikrotik: bump compat version for yafut images 2023-05-15 15:35:52 +02:00
common-netgear.mk tools/squashfs: rename to squashfs3-lzma 2023-02-18 21:11:36 +01:00
common-senao.mk ath79: use lzma-loader for Senao initramfs images 2023-01-06 15:34:07 +01:00
common-tp-link.mk treewide: call check-size before append-metadata 2021-07-10 19:40:10 +02:00
common-ubnt.mk ath79: switch some RedBoot based devices to OKLI loader 2022-06-24 17:09:54 +02:00
common-yuncore.mk ath79: add support for YunCore TFTP image generation 2019-11-25 17:32:46 +01:00
generic-tp-link.mk treewide: Disable building 32M RAM devices 2023-05-21 01:08:22 +02:00
generic-ubnt.mk ath79: move ubnt-xm 64M RAM boards back to generic 2023-08-11 12:53:34 +02:00
generic.mk ath79: add support for Aruba AP-115 2023-06-23 00:23:48 +02:00
Makefile Revert "ath79: add empty squashfs-lzma filesystem" 2023-05-12 02:27:17 +02:00
mikrotik.mk ath79: add support for MikroTik RB951G-2HnD 2023-07-12 20:45:43 +02:00
nand.mk ath79: fix first reboot issue on Netgear WNDR4300 v2 and WNDR4500 v3 2023-08-24 20:45:12 +02:00
tiny-netgear.mk ath79: netgear: trim down uImage customisations 2020-11-25 16:33:49 +01:00
tiny-tp-link.mk ath79: tiny: Do not build TPLink WPA8630Pv2 by default 2023-01-06 18:52:01 +01:00
tiny-ubnt.mk ath79: move ubnt-xm 64M RAM boards back to generic 2023-08-11 12:53:34 +02:00
tiny.mk treewide: Disable building 32M RAM devices 2023-05-21 01:08:22 +02:00