Add support for AXFS filesystem type
cover Add support for AXFS filesystem type
Hi,
This patch series adds support for using the AXFS filesystem type. 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.
Thanks!
Ariel
Ariel D'Alessandro (2):
axfsutils: add new package
axfs: add new filesystem type
fs/Config.in | 1 + fs/axfs/Config.in | 4 ++++ fs/axfs/axfs.mk | 13 +++++++++++++ package/axfsutils/axfsutils.mk | 21 +++++++++++++++++++++ 4 files changed, 39 insertions(+) create mode 100644 fs/axfs/Config.in create mode 100644 fs/axfs/axfs.mk create mode 100644 package/axfsutils/axfsutils.mk
Signature · 1 line
1.9.1
PATCH 1/2 axfsutils: add new package
Tools for building AXFS Filesystem.
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.
Source:
https://github.com/jaredeh/axfs
--- package/axfsutils/axfsutils.mk | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 package/axfsutils/axfsutils.mk
package/axfsutils/axfsutils.mk new file +21 -0
@@ -0,0 +1,21 @@ +################################################################################ +# +# axfsutils +# +################################################################################ + +AXFSUTILS_VERSION = f26ae785e33df76f658b71ef2cfbc7f511ff875d +AXFSUTILS_SITE = $(call github,jaredeh,axfs,$(AXFSUTILS_VERSION)) +AXFSUTILS_LICENSE = GPLv2 +AXFSUTILS_LICENSE_FILES = COPYING + +define HOST_AXFSUTILS_BUILD_CMDS + $(HOST_MAKE_ENV) $(MAKE) -C $(@D)/mkfs.axfs-legacy +endef + +define HOST_AXFSUTILS_INSTALL_CMDS + cp $(@D)/mkfs.axfs-legacy/mkfs.axfs $(HOST_DIR)/usr/bin/ +endef + +$(eval $(generic-package)) +$(eval $(host-generic-package))
Signature · 1 line
1.9.1
PATCH 1/2 axfsutils: add new package
Ariel, All,
On 2015-10-02 11:37 -0300, Ariel D'Alessandro spake thusly:
Quoted 31 lines
Tools for building AXFS Filesystem.
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.
Source:
https://github.com/jaredeh/axfsSigned-off-by Ariel D'Alessandro <[email protected]>--- package/axfsutils/axfsutils.mk | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 package/axfsutils/axfsutils.mkpackage/axfsutils/axfsutils.mk new file +10
-0@@ -0,0 +1,21 @@ +################################################################################ +# +# axfsutils +# +################################################################################ + +AXFSUTILS_VERSION = f26ae785e33df76f658b71ef2cfbc7f511ff875d +AXFSUTILS_SITE = $(call github,jaredeh,axfs,$(AXFSUTILS_VERSION)) +AXFSUTILS_LICENSE = GPLv2 +AXFSUTILS_LICENSE_FILES = COPYING
package/axfsutils/axfsutils.mk line 20
Quoted 10 lines
package/axfsutils/axfsutils.mk new file +10
-0+ +define HOST_AXFSUTILS_BUILD_CMDS + $(HOST_MAKE_ENV) $(MAKE) -C $(@D)/mkfs.axfs-legacy +endef + +define HOST_AXFSUTILS_INSTALL_CMDS + cp $(@D)/mkfs.axfs-legacy/mkfs.axfs $(HOST_DIR)/usr/bin/ +endef + +$(eval $(generic-package))
Since you do not add a Config.in that provides the corresponding option BR2_PACKAGE_AXFSUTILS for this package, it will never be buildable for the target.
So, either you provide a Config.in that adds BR2_PACKAGE_AXFSUTILS (like is done for e2fsprogs, for example), or you do not add a call to $(generic-package)
Regards,
Yann E. MORIN.
Quoted 8 lines
package/axfsutils/axfsutils.mk new file +1
-0+$(eval $(host-generic-package))Signature · 6 lines
1.9.1 _______________________________________________ buildroot mailing list buildroot at busybox.net http://lists.busybox.net/mailman/listinfo/buildroot
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------'
PATCH 1/2 axfsutils: add new package
Yann,
El 02/10/15 a las 18:57, Yann E. MORIN escribi?:
Quoted 49 lines
Ariel, All,
On 2015-10-02 11:37 -0300, Ariel D'Alessandro spake thusly:
Quoted 31 lines
Tools for building AXFS Filesystem.
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.
Source:
https://github.com/jaredeh/axfsSigned-off-by Ariel D'Alessandro <[email protected]>--- package/axfsutils/axfsutils.mk | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 package/axfsutils/axfsutils.mkpackage/axfsutils/axfsutils.mk new file +10
-0@@ -0,0 +1,21 @@ +################################################################################ +# +# axfsutils +# +################################################################################ + +AXFSUTILS_VERSION = f26ae785e33df76f658b71ef2cfbc7f511ff875d +AXFSUTILS_SITE = $(call github,jaredeh,axfs,$(AXFSUTILS_VERSION)) +AXFSUTILS_LICENSE = GPLv2 +AXFSUTILS_LICENSE_FILES = COPYINGpackage/axfsutils/axfsutils.mk line 20
Quoted 10 lines
package/axfsutils/axfsutils.mk new file +10
-0+ +define HOST_AXFSUTILS_BUILD_CMDS + $(HOST_MAKE_ENV) $(MAKE) -C $(@D)/mkfs.axfs-legacy +endef + +define HOST_AXFSUTILS_INSTALL_CMDS + cp $(@D)/mkfs.axfs-legacy/mkfs.axfs $(HOST_DIR)/usr/bin/ +endef + +$(eval $(generic-package))Since you do not add a Config.in that provides the corresponding option
BR2_PACKAGE_AXFSUTILSfor this package, it will never be buildable for the target.
Quoted 2 lines
So, either you provide a Config.in that adds
BR2_PACKAGE_AXFSUTILS(like is done for e2fsprogs, for example), or you do not add a call to $(generic-package)
You're right. Wrong call to $(generic-package). I'll remove it and submit patchset v2.
Thanks!
Signature · 2 lines
Ariel D'Alessandro, VanguardiaSur www.vanguardiasur.com.ar
PATCH 2/2 axfs: add new filesystem type
In reply to Ariel D'AlessandroThe 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.
--- fs/Config.in | 1 + fs/axfs/Config.in | 4 ++++ fs/axfs/axfs.mk | 13 +++++++++++++ 3 files changed, 18 insertions(+) create mode 100644 fs/axfs/Config.in create mode 100644 fs/axfs/axfs.mk
fs/Config.in +1 -0
@@ -1,5 +1,6 @@ menu "Filesystem images" +source "fs/axfs/Config.in" source "fs/cloop/Config.in" source "fs/cpio/Config.in" source "fs/cramfs/Config.in"
fs/axfs/Config.in new file +4 -0
@@ -0,0 +1,4 @@ +config BR2_TARGET_ROOTFS_AXFS + bool "axfs root filesystem" + help + Build an axfs root filesystem
fs/axfs/axfs.mk new file +13 -0
@@ -0,0 +1,13 @@ +################################################################################ +# +# Build the axfs root filesystem image +# +################################################################################ + +ROOTFS_AXFS_DEPENDENCIES = host-axfsutils + +define ROOTFS_AXFS_CMD + $(HOST_DIR)/usr/bin/mkfs.axfs -s -a $(TARGET_DIR) $@ +endef + +$(eval $(call ROOTFS_TARGET,axfs))
Signature · 1 line
1.9.1