aboutsummaryrefslogtreecommitdiff
path: root/package/utils/yafut
Commit message (Collapse)AuthorAge
* yafut: update to a version that builds on macOSMichał Kępień2025-02-19
| | | | | | | | | | The latest upstream version of Yafut builds on macOS and other POSIX-compatible systems. Drop the custom OpenWRT patch applying non-Linux compatibility fixes to the tool's source code. Signed-off-by: Michał Kępień <openwrt@kempniu.pl> Link: https://github.com/openwrt/openwrt/pull/18014 Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* yafut: Mark as nonsharedHauke Mehrtens2024-12-26
| | | | | | | | | This package is depending on @NAND_SUPPORT which is only set for some targets. Mark it nonshared to build it in the target build process. Fixes: https://github.com/openwrt/openwrt/issues/14714 Link: https://github.com/openwrt/openwrt/pull/17379 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* yafut: update to fix basename() issueRobert Marko2024-06-11
| | | | | | | | | | | | | Since musl 1.2.5 update yafut would throw a warning about implicit declaration of basename() but would still somehow compile. However, trying to use it on a device will cause it to instantly Segmentation fault. So, to fix this lets update to the current upstream repository version that has removed the use of basename() completely. Link: https://github.com/openwrt/openwrt/pull/15685 Signed-off-by: Robert Marko <robimarko@gmail.com>
* yafut: sync version between tools/ and package/ directoriesMichał Kępień2024-06-05
| | | | | | | | | Use the same Yafut code revision for both updating devices with NAND flash and preparing firmware images for devices with NOR flash. Signed-off-by: Michał Kępień <openwrt@kempniu.pl> Link: https://github.com/openwrt/openwrt/pull/13453 Signed-off-by: Robert Marko <robimarko@gmail.com>
* treewide: update PKG_MIRROR_HASH to zstPaul Spooren2024-04-06
| | | | | | | When using zst instead of xz, the hash changes. This commit fixes the hash for packages and tools in core. Signed-off-by: Paul Spooren <mail@aparcar.org>
* treewide: update PKG_MIRROR_HASH after APK version schemaPaul Spooren2024-03-25
| | | | | | | | | | With the change in version schema the downloaded files changed, too, mostly the hash is now prefixed with a tilde `~` instead of a dash `-`. Since each downloaded archive contains folder with the same name as the archive, the checksum changed. Signed-off-by: Paul Spooren <mail@aparcar.org>
* yafut: add missing PKG_MIRROR_HASHChristian Marangi2023-10-02
| | | | | | | Add missing PKG_MIRROR_HASH. This is always needed as is used to generate and use a tar instead of git clone and validate the hash of it. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* yafut: add a kernel update tool for MikroTik NANDMichał Kępień2023-04-18
Commit 9d96b6fb72 ("ath79/mikrotik: disable building NAND images") disabled building images for MikroTik devices with NAND flash due to a less than satisfactory method used for updating the kernel on those devices back then. To address the problem, add support for updating the kernel on MikroTik devices with NAND flash using a new tool, Yafut, which enables copying files from/to Yaffs file systems even if the kernel does not have native support for the Yaffs file system compiled in. Instead of erasing the entire NAND partition holding the kernel during every system upgrade (which is what the previously-used approach employing kernel2minor involved), Yafut preserves the Yaffs filesystem present on that partition and only replaces the kernel executable. This allows bad block information to be preserved across sysupgrade runs and also enables wear leveling on the NAND partition holding the kernel. Yafut does not rely on kernel2minor in any way and intends to eventually supersede the latter for NAND devices. Signed-off-by: Michał Kępień <openwrt@kempniu.pl>