openwrt/target/linux/ath79/image
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
..
bin ath79: add support for PISEN WMB001N 2019-08-08 21:00:59 +08:00
lzma-loader ath79: lzma-loader: allow setting custom kernel magic 2021-04-08 09:20:59 +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: update kernel on NAND using Yafut 2023-04-18 13:53:04 +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 uencrypt: add support for mbedtls 2023-03-17 17:22:53 -03:00
generic-ubnt.mk treewide: replace wpad-basic-wolfssl default 2023-02-04 02:35:03 +01:00
generic.mk ath79: create Aruba AP-105 APBoot compatible image 2023-04-18 00:11:22 +02:00
Makefile ath79: image: don't depend on other COMPILE targets 2022-12-19 12:27:35 +00:00
mikrotik.mk ath79: add support for MikroTik RouterBOARD 911 Lite2/Lite5 2023-02-26 22:22:48 +01:00
nand.mk ath79: add support for GL.iNet GL-X1200 2023-02-25 14:31:42 +01: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 to tiny 2022-06-11 21:22:58 +02:00
tiny.mk ath79: image: use 'kmod-usb-chipidea2' for AR933x devices 2022-02-21 22:22:30 +01:00