openwrt/target/linux/ath79
Adrian Schmutzler 3375e2ba22 ath79/mikrotik: disable building NAND images
The current support for MikroTik NAND-based devices relies on a
gross hack that packs the kernel into a static YAFFS stub, as the
stock bootloader only supports booting a YAFFS-encapsulated kernel.

The problem with this approach is that since the kernel partition is
blindly overwritten without any kind of wear or badblock management
(due to lack of proper support for YAFFS in OpenWRT), the NAND flash
is not worn uniformly and eventually badblocks appear, leading to
unbootable devices.

This issue has been reported here [1] and discussed in more detail
here [2].

[1] https://forum.openwrt.org/t/rb433-bad-sector-cannot-start-openwrt/71519
[2] https://github.com/openwrt/openwrt/pull/3026#issuecomment-673597461

Until a proper fix is found (or the stock bootloader supports other
filesystems), we disable building these images to prevent unknowing
users from risking their devices.

Thanks to Thibaut Varène for summarizing the details above.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Signed-off-by: maurerr <mariusd84@gmail.com>
2021-09-01 08:07:25 +00:00
..
base-files/etc/hotplug.d/ieee80211 ath79: add WiFi migration for AR913x 2021-09-01 08:07:02 +00:00
dts treewide: use more descriptive names for concatenated partitions 2021-09-01 08:07:24 +00:00
files ath79: add QCA956x SERDES init workaround 2021-09-01 08:07:13 +00:00
generic ath79: add support for Senao Engenius EAP350 v1 2021-09-01 08:07:24 +00:00
image ath79/mikrotik: disable building NAND images 2021-09-01 08:07:25 +00:00
mikrotik ath79: add support for MikroTik RouterBOARD wAPR-2nD (wAP R) 2021-09-01 08:07:23 +00:00
nand kernel: move some disabled symbols to generic 2021-09-01 08:07:23 +00:00
patches-5.4 ath79: Fix fallback to bootloader cmdline on empty DT bootargs 2021-09-01 08:07:23 +00:00
tiny ath79: move the squashfs feature to the parent target 2021-09-01 08:07:13 +00:00
config-5.4 ath79: enable elf mtd splitter 2021-09-01 08:06:58 +00:00
Makefile ath79: move the squashfs feature to the parent target 2021-09-01 08:07:13 +00:00
modules.mk