All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 0/2] Add support for AXFS filesystem type
@ 2015-10-02 14:37 Ariel D'Alessandro
  2015-10-02 14:37 ` [Buildroot] [PATCH 1/2] axfsutils: add new package Ariel D'Alessandro
  2015-10-02 14:37 ` [Buildroot] [PATCH 2/2] axfs: add new filesystem type Ariel D'Alessandro
  0 siblings, 2 replies; 5+ messages in thread
From: Ariel D'Alessandro @ 2015-10-02 14:37 UTC (permalink / raw)
  To: buildroot

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

-- 
1.9.1

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Buildroot] [PATCH 1/2] axfsutils: add new package
  2015-10-02 14:37 [Buildroot] [PATCH 0/2] Add support for AXFS filesystem type Ariel D'Alessandro
@ 2015-10-02 14:37 ` Ariel D'Alessandro
  2015-10-02 21:57   ` Yann E. MORIN
  2015-10-02 14:37 ` [Buildroot] [PATCH 2/2] axfs: add new filesystem type Ariel D'Alessandro
  1 sibling, 1 reply; 5+ messages in thread
From: Ariel D'Alessandro @ 2015-10-02 14:37 UTC (permalink / raw)
  To: buildroot

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

Signed-off-by: Ariel D'Alessandro <ariel@vanguardiasur.com.ar>
---
 package/axfsutils/axfsutils.mk | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 package/axfsutils/axfsutils.mk

diff --git a/package/axfsutils/axfsutils.mk b/package/axfsutils/axfsutils.mk
new file mode 100644
index 0000000..ef8d471
--- /dev/null
+++ b/package/axfsutils/axfsutils.mk
@@ -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))
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [Buildroot] [PATCH 2/2] axfs: add new filesystem type
  2015-10-02 14:37 [Buildroot] [PATCH 0/2] Add support for AXFS filesystem type Ariel D'Alessandro
  2015-10-02 14:37 ` [Buildroot] [PATCH 1/2] axfsutils: add new package Ariel D'Alessandro
@ 2015-10-02 14:37 ` Ariel D'Alessandro
  1 sibling, 0 replies; 5+ messages in thread
From: Ariel D'Alessandro @ 2015-10-02 14:37 UTC (permalink / raw)
  To: buildroot

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.

Signed-off-by: Ariel D'Alessandro <ariel@vanguardiasur.com.ar>
---
 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

diff --git a/fs/Config.in b/fs/Config.in
index 5853113..51ccf28 100644
--- a/fs/Config.in
+++ b/fs/Config.in
@@ -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"
diff --git a/fs/axfs/Config.in b/fs/axfs/Config.in
new file mode 100644
index 0000000..7e25fe7
--- /dev/null
+++ b/fs/axfs/Config.in
@@ -0,0 +1,4 @@
+config BR2_TARGET_ROOTFS_AXFS
+	bool "axfs root filesystem"
+	help
+	  Build an axfs root filesystem
diff --git a/fs/axfs/axfs.mk b/fs/axfs/axfs.mk
new file mode 100644
index 0000000..05d6e5d
--- /dev/null
+++ b/fs/axfs/axfs.mk
@@ -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))
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [Buildroot] [PATCH 1/2] axfsutils: add new package
  2015-10-02 14:37 ` [Buildroot] [PATCH 1/2] axfsutils: add new package Ariel D'Alessandro
@ 2015-10-02 21:57   ` Yann E. MORIN
  2015-10-05 11:03     ` Ariel D'Alessandro
  0 siblings, 1 reply; 5+ messages in thread
From: Yann E. MORIN @ 2015-10-02 21:57 UTC (permalink / raw)
  To: buildroot

Ariel, All,

On 2015-10-02 11:37 -0300, Ariel D'Alessandro spake thusly:
> 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
> 
> Signed-off-by: Ariel D'Alessandro <ariel@vanguardiasur.com.ar>
> ---
>  package/axfsutils/axfsutils.mk | 21 +++++++++++++++++++++
>  1 file changed, 21 insertions(+)
>  create mode 100644 package/axfsutils/axfsutils.mk
> 
> diff --git a/package/axfsutils/axfsutils.mk b/package/axfsutils/axfsutils.mk
> new file mode 100644
> index 0000000..ef8d471
> --- /dev/null
> +++ b/package/axfsutils/axfsutils.mk
> @@ -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))

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.

> +$(eval $(host-generic-package))
> -- 
> 1.9.1
> 
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot

-- 
.-----------------.--------------------.------------------.--------------------.
|  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.  |
'------------------------------^-------^------------------^--------------------'

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Buildroot] [PATCH 1/2] axfsutils: add new package
  2015-10-02 21:57   ` Yann E. MORIN
@ 2015-10-05 11:03     ` Ariel D'Alessandro
  0 siblings, 0 replies; 5+ messages in thread
From: Ariel D'Alessandro @ 2015-10-05 11:03 UTC (permalink / raw)
  To: buildroot

Yann,

El 02/10/15 a las 18:57, Yann E. MORIN escribi?:
> Ariel, All,
> 
> On 2015-10-02 11:37 -0300, Ariel D'Alessandro spake thusly:
>> 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
>>
>> Signed-off-by: Ariel D'Alessandro <ariel@vanguardiasur.com.ar>
>> ---
>>  package/axfsutils/axfsutils.mk | 21 +++++++++++++++++++++
>>  1 file changed, 21 insertions(+)
>>  create mode 100644 package/axfsutils/axfsutils.mk
>>
>> diff --git a/package/axfsutils/axfsutils.mk b/package/axfsutils/axfsutils.mk
>> new file mode 100644
>> index 0000000..ef8d471
>> --- /dev/null
>> +++ b/package/axfsutils/axfsutils.mk
>> @@ -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))
> 
> 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)

You're right. Wrong call to $(generic-package). I'll remove it and
submit patchset v2.

Thanks!

-- 
Ariel D'Alessandro, VanguardiaSur
www.vanguardiasur.com.ar

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-10-05 11:03 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-02 14:37 [Buildroot] [PATCH 0/2] Add support for AXFS filesystem type Ariel D'Alessandro
2015-10-02 14:37 ` [Buildroot] [PATCH 1/2] axfsutils: add new package Ariel D'Alessandro
2015-10-02 21:57   ` Yann E. MORIN
2015-10-05 11:03     ` Ariel D'Alessandro
2015-10-02 14:37 ` [Buildroot] [PATCH 2/2] axfs: add new filesystem type Ariel D'Alessandro

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.