openwrt/target/linux/ath79
Michał Kępień 5264296ce4
ath79: mikrotik: update kernel on NAND using Yafut
Instead of erasing the entire NAND partition holding the kernel during
every system upgrade and then flashing a Yaffs file system image
prepared using kernel2minor (not accounting for bad blocks in the
process), use the Yafut utility to replace the kernel executable on
MikroTik NAND devices, preserving the existing Yaffs file system
(including bad block information) on the partition holding the kernel.

Add Yafut to DEFAULT_PACKAGES for the ath79/mikrotik target, so that the
tool is included in the initramfs images created when building for
multiple profiles.  However, exclude Yafut from the images built for
MikroTik devices with NOR flash as the tool is currently only meant to
be used on devices with NAND flash.

As this addresses the concerns for MikroTik NAND devices discussed in
commit 9d96b6fb72 ("ath79/mikrotik: disable building NAND images"),
re-enable building images for these devices.

Signed-off-by: Michał Kępień <openwrt@kempniu.pl>
2023-04-18 13:53:04 +02:00
..
base-files/etc/hotplug.d/ieee80211 ath79: migrate Archer C5 5GHz radio device paths 2022-03-31 18:07:29 +02:00
dts ath79: fix LED pinout for Comfast CF-E314N v2 2023-04-17 19:02:25 +02:00
files treewide: strip useless default n Kconfig lines 2023-02-03 12:50:15 +01:00
generic ath79: Add Aruba AP-175 support 2023-03-27 00:27:59 +02:00
image ath79: mikrotik: update kernel on NAND using Yafut 2023-04-18 13:53:04 +02:00
mikrotik ath79: mikrotik: update kernel on NAND using Yafut 2023-04-18 13:53:04 +02:00
nand ath79: add support for GL.iNet GL-X1200 2023-02-25 14:31:42 +01:00
patches-5.10 kernel: bump 5.10 to 5.10.177 2023-04-08 15:32:01 +02:00
patches-5.15 kernel: backport eth_addr_add() 2023-03-21 06:16:50 +01:00
tiny treewide: replace wpad-basic-wolfssl default 2023-02-04 02:35:03 +01:00
config-5.10 kernel: mtd: backport SafeLoader parser 2022-10-19 07:07:14 +02:00
config-5.15 kernel: mtd: backport SafeLoader parser 2022-10-19 07:07:14 +02:00
Makefile ath79: switch to 5.15 as default kernel 2022-09-24 13:04:24 +02:00
modules.mk