Skip to contentSkip to conversation

fs/axfs: drop support

PATCH In review Peter Korsgaard 2 participants 3 messages Aug 28, 2025 – Sep 28, 2025 VFS

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 fs/axfs: drop support

The file system support is not mainline and hasn't been updated since 2019, so drop it.

---
 Config.in.legacy  |  8 ++++++++
 fs/Config.in      |  1 -
 fs/axfs/Config.in | 17 -----------------
 fs/axfs/axfs.mk   | 13 -------------
 4 files changed, 8 insertions(+), 31 deletions(-)
 delete mode 100644 fs/axfs/Config.in
 delete mode 100644 fs/axfs/axfs.mk
Config.in.legacy +8 -0
index efb59dc535..da05a3f141 100644
@@ -144,6 +144,14 @@ endif
 
 ###############################################################################
 
+comment "Legacy options removed in 2025.11"
+
+config BR2_TARGET_ROOTFS_AXFS
+	bool "AXFS root filesystem has been removed"
+	select BR2_LEGACY
+	help
+	  AXFS root filesystem support has been removed.
+
 comment "Legacy options removed in 2025.08"
 
 config BR2_PACKAGE_LIBCURL_BEARSSL
fs/Config.in +0 -1
index 6b338f8ec8..42b0e608ac 100644
@@ -1,6 +1,5 @@
 menu "Filesystem images"
 
-source "fs/axfs/Config.in"
 source "fs/btrfs/Config.in"
 source "fs/cloop/Config.in"
 source "fs/cpio/Config.in"
fs/axfs/Config.in deleted +0 -17
deleted file mode 100644
index 8dfaffab74..0000000000
@@ -1,17 +0,0 @@
-config BR2_TARGET_ROOTFS_AXFS
-	bool "axfs root filesystem"
-	help
-	  The Advanced XIP File System is a Linux kernel filesystem
-	  driver that enables files to be executed directly from flash
-	  or ROM memory rather than being copied into RAM. It has the
-	  ability to store individual *pages* in a file
-	  uncompressed/XIP or compressed/Demand Paged.
-
-	  So far, the only supported mode is 'XIP all', so all the
-	  files that have the execute attribute set will be XIP'ed.
-
-	  At the moment, the FS is not supported in Linux mainline
-	  (v4.3-rc5), so the kernel has to be built with the axfs
-	  patches to be able to read it. Patches can be found at:
-
-	  https://github.com/jaredeh/axfs
fs/axfs/axfs.mk deleted +0 -13
deleted file mode 100644
index 4b93df55c0..0000000000
@@ -1,13 +0,0 @@
-################################################################################
-#
-# Build the axfs root filesystem image
-#
-################################################################################
-
-ROOTFS_AXFS_DEPENDENCIES = host-axfsutils
-
-define ROOTFS_AXFS_CMD
-	$(HOST_DIR)/bin/mkfs.axfs -s -a $(TARGET_DIR) $@
-endef
-
-$(eval $(rootfs))
Signature · 6 lines
2.39.5

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw

PATCH 2/2 package/axfsutils: drop package

axfsutils is a host-only package, so drop it now that the axfs root filesystem support has been dropped.

---
 package/axfsutils/axfsutils.hash |  3 ---
 package/axfsutils/axfsutils.mk   | 24 ------------------------
 2 files changed, 27 deletions(-)
 delete mode 100644 package/axfsutils/axfsutils.hash
 delete mode 100644 package/axfsutils/axfsutils.mk
package/axfsutils/axfsutils.hash deleted +0 -3
deleted file mode 100644
index b7a5943ddb..0000000000
@@ -1,3 +0,0 @@
-# Locally calculated
-sha256  7d8c0febaf6f104c2b179475ea1ee6d361688ad7fa4c98dfdf7395fcff2be685  axfsutils-384a1ea214c8cf8359faba00a12513ee7ae1a9f5.tar.gz
-sha256  1929a1e67d189aa3a24de76255841b33818f7f65944b6e73a1568ba575ab54d5  mkfs.axfs-legacy/COPYING
package/axfsutils/axfsutils.mk deleted +0 -24
deleted file mode 100644
index 8879221619..0000000000
@@ -1,24 +0,0 @@
-################################################################################
-#
-# axfsutils
-#
-################################################################################
-
-AXFSUTILS_VERSION = 384a1ea214c8cf8359faba00a12513ee7ae1a9f5
-AXFSUTILS_SITE = $(call github,jaredeh,axfs,$(AXFSUTILS_VERSION))
-AXFSUTILS_LICENSE = GPL-2.0
-AXFSUTILS_LICENSE_FILES = mkfs.axfs-legacy/COPYING
-HOST_AXFSUTILS_DEPENDENCIES = host-zlib
-
-# The 'new' mkfs.axfs version requires GNUstep which is not a buildroot
-# prerequisite. The 'legacy' one works just as well without that requirement.
-define HOST_AXFSUTILS_BUILD_CMDS
-	$(HOST_MAKE_ENV) $(HOST_CONFIGURE_OPTS) $(MAKE) -C $(@D)/mkfs.axfs-legacy
-endef
-
-define HOST_AXFSUTILS_INSTALL_CMDS
-	$(INSTALL) -D -m 0755 $(@D)/mkfs.axfs-legacy/mkfs.axfs \
-		$(HOST_DIR)/bin/mkfs.axfs
-endef
-
-$(eval $(host-generic-package))
Signature · 6 lines
2.39.5

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot