openwrt/target/linux/ath79/nand/base-files/etc/board.d
Shiji Yang 12f53724c6 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>
2023-08-24 00:04:38 +02:00
..
01_leds ath79: add LTE led for GL.iNet GL-XE300 2022-08-05 14:10:42 +02:00
02_network ath79: add Cisco Meraki MR18 2023-05-14 00:08:35 +02:00
03_gpio_switches ath79: ZTE MF286[A,R]: add "Power button blocker" GPIO switch 2022-05-15 16:32:40 +02:00
05_compat-version ath79: fix first reboot issue on Netgear WNDR4300 v2 and WNDR4500 v3 2023-08-24 00:04:38 +02:00