* [Buildroot] boot-wrapper-aarch64 configuration options
@ 2016-10-07 22:45 Hollis Blanchard
2016-10-07 22:45 ` [Buildroot] [PATCH] boot-wrapper-aarch64: Allow users to specify an initrd/initramfs file Hollis Blanchard
2016-10-07 22:45 ` [Buildroot] [PATCH] boot-wrapper-aarch64: Allow users to select the PSCI SMP boot method Hollis Blanchard
0 siblings, 2 replies; 9+ messages in thread
From: Hollis Blanchard @ 2016-10-07 22:45 UTC (permalink / raw)
To: buildroot
I needed these patches to expose some of boot-wrapper-aarch64's underlying
configuration options. I hope it's useful.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Buildroot] [PATCH] boot-wrapper-aarch64: Allow users to specify an initrd/initramfs file.
2016-10-07 22:45 [Buildroot] boot-wrapper-aarch64 configuration options Hollis Blanchard
@ 2016-10-07 22:45 ` Hollis Blanchard
2016-10-25 21:57 ` Thomas Petazzoni
2016-10-07 22:45 ` [Buildroot] [PATCH] boot-wrapper-aarch64: Allow users to select the PSCI SMP boot method Hollis Blanchard
1 sibling, 1 reply; 9+ messages in thread
From: Hollis Blanchard @ 2016-10-07 22:45 UTC (permalink / raw)
To: buildroot
Signed-off-by: Hollis Blanchard <hollis_blanchard@mentor.com>
---
boot/boot-wrapper-aarch64/Config.in | 8 ++++++++
boot/boot-wrapper-aarch64/boot-wrapper-aarch64.mk | 4 ++++
2 files changed, 12 insertions(+), 0 deletions(-)
diff --git a/boot/boot-wrapper-aarch64/Config.in b/boot/boot-wrapper-aarch64/Config.in
index c4e63e2..2563f58 100644
--- a/boot/boot-wrapper-aarch64/Config.in
+++ b/boot/boot-wrapper-aarch64/Config.in
@@ -32,4 +32,12 @@ config BR2_TARGET_BOOT_WRAPPER_AARCH64_BOOTARGS
Kernel bootargs to embed inside the image generated by the
boot wrapper.
+config BR2_TARGET_BOOT_WRAPPER_AARCH64_RAMDISK
+ string "Ramdisk"
+ default ""
+ help
+ Embed an initramfs file in the kernel image, and provide
+ linux,initrd-start and linux,initrd-end properties in the /chosen device
+ tree node.
+
endif
diff --git a/boot/boot-wrapper-aarch64/boot-wrapper-aarch64.mk b/boot/boot-wrapper-aarch64/boot-wrapper-aarch64.mk
index c56bdee..28b2061 100644
--- a/boot/boot-wrapper-aarch64/boot-wrapper-aarch64.mk
+++ b/boot/boot-wrapper-aarch64/boot-wrapper-aarch64.mk
@@ -30,6 +30,10 @@ BOOT_WRAPPER_AARCH64_CONF_OPTS = \
--with-kernel-dir=$(LINUX_DIR) \
--with-cmdline=$(BR2_TARGET_BOOT_WRAPPER_AARCH64_BOOTARGS)
+ifneq ($(BR2_TARGET_BOOT_WRAPPER_AARCH64_RAMDISK),)
+ BOOT_WRAPPER_AARCH64_CONF_OPTS += --with-initrd=$(BR2_TARGET_BOOT_WRAPPER_AARCH64_RAMDISK)
+endif
+
# We need to convince the configure script that the Linux kernel tree
# exists, as well as the DTB and the kernel Image. Even though those
# are available on the build machine, the configure script uses
--
1.7.1
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [Buildroot] [PATCH] boot-wrapper-aarch64: Allow users to select the PSCI SMP boot method
2016-10-07 22:45 [Buildroot] boot-wrapper-aarch64 configuration options Hollis Blanchard
2016-10-07 22:45 ` [Buildroot] [PATCH] boot-wrapper-aarch64: Allow users to specify an initrd/initramfs file Hollis Blanchard
@ 2016-10-07 22:45 ` Hollis Blanchard
1 sibling, 0 replies; 9+ messages in thread
From: Hollis Blanchard @ 2016-10-07 22:45 UTC (permalink / raw)
To: buildroot
Signed-off-by: Hollis Blanchard <hollis_blanchard@mentor.com>
---
boot/boot-wrapper-aarch64/Config.in | 7 +++++++
boot/boot-wrapper-aarch64/boot-wrapper-aarch64.mk | 4 ++++
2 files changed, 11 insertions(+), 0 deletions(-)
diff --git a/boot/boot-wrapper-aarch64/Config.in b/boot/boot-wrapper-aarch64/Config.in
index 2563f58..7469727 100644
--- a/boot/boot-wrapper-aarch64/Config.in
+++ b/boot/boot-wrapper-aarch64/Config.in
@@ -40,4 +40,11 @@ config BR2_TARGET_BOOT_WRAPPER_AARCH64_RAMDISK
linux,initrd-start and linux,initrd-end properties in the /chosen device
tree node.
+config BR2_TARGET_BOOT_WRAPPER_AARCH64_PSCI
+ bool "Boot secondary SMP cores using PSCI"
+ default n
+ help
+ Boot secondary SMP cores using PSCI firmware calls. If n, use the spin-table
+ method instead.
+
endif
diff --git a/boot/boot-wrapper-aarch64/boot-wrapper-aarch64.mk b/boot/boot-wrapper-aarch64/boot-wrapper-aarch64.mk
index 28b2061..0df0859 100644
--- a/boot/boot-wrapper-aarch64/boot-wrapper-aarch64.mk
+++ b/boot/boot-wrapper-aarch64/boot-wrapper-aarch64.mk
@@ -34,6 +34,10 @@ ifneq ($(BR2_TARGET_BOOT_WRAPPER_AARCH64_RAMDISK),)
BOOT_WRAPPER_AARCH64_CONF_OPTS += --with-initrd=$(BR2_TARGET_BOOT_WRAPPER_AARCH64_RAMDISK)
endif
+ifeq ($(BR2_TARGET_BOOT_WRAPPER_AARCH64_PSCI),y)
+ BOOT_WRAPPER_AARCH64_CONF_OPTS += --enable-psci
+endif
+
# We need to convince the configure script that the Linux kernel tree
# exists, as well as the DTB and the kernel Image. Even though those
# are available on the build machine, the configure script uses
--
1.7.1
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [Buildroot] [PATCH] boot-wrapper-aarch64: Allow users to specify an initrd/initramfs file.
2016-10-07 22:45 ` [Buildroot] [PATCH] boot-wrapper-aarch64: Allow users to specify an initrd/initramfs file Hollis Blanchard
@ 2016-10-25 21:57 ` Thomas Petazzoni
2016-10-25 22:28 ` Hollis Blanchard
2017-01-11 23:55 ` Hollis Blanchard
0 siblings, 2 replies; 9+ messages in thread
From: Thomas Petazzoni @ 2016-10-25 21:57 UTC (permalink / raw)
To: buildroot
Hello,
On Fri, 7 Oct 2016 15:45:03 -0700, Hollis Blanchard wrote:
> Signed-off-by: Hollis Blanchard <hollis_blanchard@mentor.com>
> ---
> boot/boot-wrapper-aarch64/Config.in | 8 ++++++++
> boot/boot-wrapper-aarch64/boot-wrapper-aarch64.mk | 4 ++++
> 2 files changed, 12 insertions(+), 0 deletions(-)
Thanks for your patch, sorry for the somewhat slow reply.
> +config BR2_TARGET_BOOT_WRAPPER_AARCH64_RAMDISK
> + string "Ramdisk"
> + default ""
I would like this option to include the filesystem produced by
Buildroot (in cpio format) as the initramfs. So something like:
bool "Include ramdisk in image"
depends on BR2_TARGET_ROOTFS_CPIO
> + help
> + Embed an initramfs file in the kernel image, and provide
It does not embed the initramfs in the kernel image, but in the boot
wrapper image.
> + linux,initrd-start and linux,initrd-end properties in the /chosen device
> + tree node.
> +
> endif
> diff --git a/boot/boot-wrapper-aarch64/boot-wrapper-aarch64.mk b/boot/boot-wrapper-aarch64/boot-wrapper-aarch64.mk
> index c56bdee..28b2061 100644
> --- a/boot/boot-wrapper-aarch64/boot-wrapper-aarch64.mk
> +++ b/boot/boot-wrapper-aarch64/boot-wrapper-aarch64.mk
> @@ -30,6 +30,10 @@ BOOT_WRAPPER_AARCH64_CONF_OPTS = \
> --with-kernel-dir=$(LINUX_DIR) \
> --with-cmdline=$(BR2_TARGET_BOOT_WRAPPER_AARCH64_BOOTARGS)
>
> +ifneq ($(BR2_TARGET_BOOT_WRAPPER_AARCH64_RAMDISK),)
> + BOOT_WRAPPER_AARCH64_CONF_OPTS += --with-initrd=$(BR2_TARGET_BOOT_WRAPPER_AARCH64_RAMDISK)
Don't indent code inside conditions.
> +endif
It should be something like:
ifeq ($(BR2_TARGET_BOOT_WRAPPER_AARCH64_RAMDISK),y)
BOOT_WRAPPER_AARCH64_CONF_OPTS += --with-initrd=$(BINARIES_DIR)/rootfs.cpio
BOOT_WRAPPER_AARCH64_DEPENDENCIES += rootfs-cpio
endif
or something along those lines.
Best regards,
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Buildroot] [PATCH] boot-wrapper-aarch64: Allow users to specify an initrd/initramfs file.
2016-10-25 21:57 ` Thomas Petazzoni
@ 2016-10-25 22:28 ` Hollis Blanchard
2017-01-11 23:55 ` Hollis Blanchard
1 sibling, 0 replies; 9+ messages in thread
From: Hollis Blanchard @ 2016-10-25 22:28 UTC (permalink / raw)
To: buildroot
On 10/25/2016 02:57 PM, Thomas Petazzoni wrote:
> Hello,
>
> On Fri, 7 Oct 2016 15:45:03 -0700, Hollis Blanchard wrote:
>> Signed-off-by: Hollis Blanchard <hollis_blanchard@mentor.com>
>> ---
>> boot/boot-wrapper-aarch64/Config.in | 8 ++++++++
>> boot/boot-wrapper-aarch64/boot-wrapper-aarch64.mk | 4 ++++
>> 2 files changed, 12 insertions(+), 0 deletions(-)
> Thanks for your patch, sorry for the somewhat slow reply.
No problem; thanks for catching it after a busy week of travel.
>> +config BR2_TARGET_BOOT_WRAPPER_AARCH64_RAMDISK
>> + string "Ramdisk"
>> + default ""
> I would like this option to include the filesystem produced by
> Buildroot (in cpio format) as the initramfs. So something like:
>
> bool "Include ramdisk in image"
> depends on BR2_TARGET_ROOTFS_CPIO
I'm actually using it to embed an AOSP ramdisk.img, so I have
BR2_TARGET_ROOTFS_CPIO=n, but I can see how that would be more generally
useful. :-) Perhaps options like these?
config STANDARD_RAMDISK
bool "Include standard ramdisk in image"
depends on BR2_TARGET_ROOTFS_CPIO
config EXTERNAL_RAMDISK
bool "Include external ramdisk in image"
depends on !STANDARD_RAMDISK
config EXTERNAL_RAMDISK_PATH
string "External ramdisk path"
depends on EXTERNAL_RAMDISK
--
Hollis Blanchard <hollis_blanchard@mentor.com>
Mentor Graphics Emulation Division
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Buildroot] [PATCH] boot-wrapper-aarch64: Allow users to specify an initrd/initramfs file.
2016-10-25 21:57 ` Thomas Petazzoni
2016-10-25 22:28 ` Hollis Blanchard
@ 2017-01-11 23:55 ` Hollis Blanchard
2017-01-12 22:30 ` Arnout Vandecappelle
1 sibling, 1 reply; 9+ messages in thread
From: Hollis Blanchard @ 2017-01-11 23:55 UTC (permalink / raw)
To: buildroot
On 10/25/2016 02:57 PM, Thomas Petazzoni wrote:
>> boot/boot-wrapper-aarch64/Config.in | 8 ++++++++
>> boot/boot-wrapper-aarch64/boot-wrapper-aarch64.mk | 4 ++++
>> 2 files changed, 12 insertions(+), 0 deletions(-)
> [...]
>
> It should be something like:
>
> ifeq ($(BR2_TARGET_BOOT_WRAPPER_AARCH64_RAMDISK),y)
> BOOT_WRAPPER_AARCH64_CONF_OPTS += --with-initrd=$(BINARIES_DIR)/rootfs.cpio
> BOOT_WRAPPER_AARCH64_DEPENDENCIES += rootfs-cpio
> endif
I'm preparing a resend on this, but I'm having trouble with the dependency:
$ rm /scratch1/hblancha/build/buildroot/images/rootfs.cpio
$ make O=/scratch1/hblancha/build/buildroot boot-wrapper-aarch64-dirclean all
[...]
/scratch1/hblancha/build/buildroot/host/usr/bin/aarch64-buildroot-linux-gnu-ld: cannot find /scratch1/hblancha/build/buildroot/images/rootfs.cpio
I can see that rootfs-* is defined and used in fs/, but, well, ... it
doesn't seem to be working in this boot/ Makefile. Any advice?
Hollis Blanchard <hollis_blanchard@mentor.com>
Mentor Graphics Emulation Division
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Buildroot] [PATCH] boot-wrapper-aarch64: Allow users to specify an initrd/initramfs file.
2017-01-11 23:55 ` Hollis Blanchard
@ 2017-01-12 22:30 ` Arnout Vandecappelle
2017-01-12 22:45 ` Hollis Blanchard
0 siblings, 1 reply; 9+ messages in thread
From: Arnout Vandecappelle @ 2017-01-12 22:30 UTC (permalink / raw)
To: buildroot
On 12-01-17 00:55, Hollis Blanchard wrote:
> On 10/25/2016 02:57 PM, Thomas Petazzoni wrote:
>>> boot/boot-wrapper-aarch64/Config.in | 8 ++++++++
>>> boot/boot-wrapper-aarch64/boot-wrapper-aarch64.mk | 4 ++++
>>> 2 files changed, 12 insertions(+), 0 deletions(-)
>> [...]
>>
>> It should be something like:
>>
>> ifeq ($(BR2_TARGET_BOOT_WRAPPER_AARCH64_RAMDISK),y)
>> BOOT_WRAPPER_AARCH64_CONF_OPTS += --with-initrd=$(BINARIES_DIR)/rootfs.cpio
>> BOOT_WRAPPER_AARCH64_DEPENDENCIES += rootfs-cpio
>> endif
> I'm preparing a resend on this, but I'm having trouble with the dependency:
>
> $ rm /scratch1/hblancha/build/buildroot/images/rootfs.cpio
> $ make O=/scratch1/hblancha/build/buildroot boot-wrapper-aarch64-dirclean all
> [...]
> /scratch1/hblancha/build/buildroot/host/usr/bin/aarch64-buildroot-linux-gnu-ld:
> cannot find /scratch1/hblancha/build/buildroot/images/rootfs.cpio
>
> I can see that rootfs-* is defined and used in fs/, but, well, ... it doesn't
> seem to be working in this boot/ Makefile. Any advice?
Difficult to say without seeing the patch. Does it work correctly if you call
'make rootfs-cpio boot-wrapper-arch64'?
Regards,
Arnout
>
> Hollis Blanchard <hollis_blanchard@mentor.com>
> Mentor Graphics Emulation Division
>
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
>
--
Arnout Vandecappelle arnout at mind be
Senior Embedded Software Architect +32-16-286500
Essensium/Mind http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint: 7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Buildroot] [PATCH] boot-wrapper-aarch64: Allow users to specify an initrd/initramfs file.
2017-01-12 22:30 ` Arnout Vandecappelle
@ 2017-01-12 22:45 ` Hollis Blanchard
2017-01-13 8:30 ` Arnout Vandecappelle
0 siblings, 1 reply; 9+ messages in thread
From: Hollis Blanchard @ 2017-01-12 22:45 UTC (permalink / raw)
To: buildroot
On 01/12/2017 02:30 PM, Arnout Vandecappelle wrote:
> On 12-01-17 00:55, Hollis Blanchard wrote:
>> On 10/25/2016 02:57 PM, Thomas Petazzoni wrote:
>>>> boot/boot-wrapper-aarch64/Config.in | 8 ++++++++
>>>> boot/boot-wrapper-aarch64/boot-wrapper-aarch64.mk | 4 ++++
>>>> 2 files changed, 12 insertions(+), 0 deletions(-)
>>> [...]
>>>
>>> It should be something like:
>>>
>>> ifeq ($(BR2_TARGET_BOOT_WRAPPER_AARCH64_RAMDISK),y)
>>> BOOT_WRAPPER_AARCH64_CONF_OPTS += --with-initrd=$(BINARIES_DIR)/rootfs.cpio
>>> BOOT_WRAPPER_AARCH64_DEPENDENCIES += rootfs-cpio
>>> endif
>> I'm preparing a resend on this, but I'm having trouble with the dependency:
>>
>> $ rm /scratch1/hblancha/build/buildroot/images/rootfs.cpio
>> $ make O=/scratch1/hblancha/build/buildroot boot-wrapper-aarch64-dirclean all
>> [...]
>> /scratch1/hblancha/build/buildroot/host/usr/bin/aarch64-buildroot-linux-gnu-ld:
>> cannot find /scratch1/hblancha/build/buildroot/images/rootfs.cpio
>>
>> I can see that rootfs-* is defined and used in fs/, but, well, ... it doesn't
>> seem to be working in this boot/ Makefile. Any advice?
> Difficult to say without seeing the patch. Does it work correctly if you call
> 'make rootfs-cpio boot-wrapper-arch64'?
Same error. Earlier I see this:
make: Circular
/scratch1/hblancha/build/buildroot/build/boot-wrapper-aarch64-4266507a84f8c06452109d38e0350d4759740694/.stamp_configured
<- rootfs-cpio dependency dropped.
Full patch is here:
Author: Hollis Blanchard <hollis_blanchard@mentor.com>
Date: Mon Sep 26 15:48:12 2016 -0700
boot-wrapper-aarch64: Allow users to specify an initrd/initramfs file.
Signed-off-by: Hollis Blanchard <hollis_blanchard@mentor.com>
diff --git a/boot/boot-wrapper-aarch64/Config.in b/boot/boot-wrapper-aarch64/Config.in
index efb70dc..d9d7ce6 100644
--- a/boot/boot-wrapper-aarch64/Config.in
+++ b/boot/boot-wrapper-aarch64/Config.in
@@ -32,6 +32,30 @@ config BR2_TARGET_BOOT_WRAPPER_AARCH64_BOOTARGS
Kernel bootargs to embed inside the image generated by the
boot wrapper.
+choice
+ prompt "Embedded ramdisk"
+ default BR2_TARGET_BOOT_WRAPPER_AARCH64_RAMDISK_NONE
+ help
+ Embed an initramfs file in the bootwrapper image, and provide
+ linux,initrd-start and linux,initrd-end properties in the /chosen
+ device tree node.
+
+config BR2_TARGET_BOOT_WRAPPER_AARCH64_RAMDISK_NONE
+ bool "None"
+
+config BR2_TARGET_BOOT_WRAPPER_AARCH64_RAMDISK_BUILDROOT
+ bool "Buildroot ramdisk"
+ depends on BR2_TARGET_ROOTFS_CPIO
+
+config BR2_TARGET_BOOT_WRAPPER_AARCH64_RAMDISK_CUSTOM
+ bool "Custom ramdisk"
+
+endchoice
+
+config BR2_TARGET_BOOT_WRAPPER_AARCH64_RAMDISK_CUSTOM_PATH
+ depends on BR2_TARGET_BOOT_WRAPPER_AARCH64_RAMDISK_CUSTOM
+ string "Path to external ramdisk"
+
config BR2_TARGET_BOOT_WRAPPER_AARCH64_PSCI
bool "Boot secondary SMP cores using PSCI"
help
diff --git a/boot/boot-wrapper-aarch64/boot-wrapper-aarch64.mk b/boot/boot-wrapper-aarch64/boot-wrapper-aarch64.mk
index 601cfab..88816a4 100644
--- a/boot/boot-wrapper-aarch64/boot-wrapper-aarch64.mk
+++ b/boot/boot-wrapper-aarch64/boot-wrapper-aarch64.mk
@@ -36,6 +36,13 @@ else
BOOT_WRAPPER_AARCH64_CONF_OPTS += --disable-psci
endif
+ifneq ($(BR2_TARGET_BOOT_WRAPPER_AARCH64_RAMDISK_BUILDROOT),)
+BOOT_WRAPPER_AARCH64_CONF_OPTS += --with-initrd=$(BINARIES_DIR)/rootfs.cpio
+BOOT_WRAPPER_AARCH64_DEPENDENCIES += rootfs-cpio
+else ifneq ($(BR2_TARGET_BOOT_WRAPPER_AARCH64_RAMDISK_CUSTOM),)
+BOOT_WRAPPER_AARCH64_CONF_OPTS += --with-initrd=$(BR2_TARGET_BOOT_WRAPPER_AARCH64_RAMDISK_CUSTOM_PATH)
+endif
+
# We need to convince the configure script that the Linux kernel tree
# exists, as well as the DTB and the kernel Image. Even though those
# are available on the build machine, the configure script uses
Hollis Blanchard <hollis_blanchard@mentor.com>
Mentor Graphics Emulation Division
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [Buildroot] [PATCH] boot-wrapper-aarch64: Allow users to specify an initrd/initramfs file.
2017-01-12 22:45 ` Hollis Blanchard
@ 2017-01-13 8:30 ` Arnout Vandecappelle
0 siblings, 0 replies; 9+ messages in thread
From: Arnout Vandecappelle @ 2017-01-13 8:30 UTC (permalink / raw)
To: buildroot
On 12-01-17 23:45, Hollis Blanchard wrote:
> On 01/12/2017 02:30 PM, Arnout Vandecappelle wrote:
>> On 12-01-17 00:55, Hollis Blanchard wrote:
>>> On 10/25/2016 02:57 PM, Thomas Petazzoni wrote:
>>>>> boot/boot-wrapper-aarch64/Config.in | 8 ++++++++
>>>>> boot/boot-wrapper-aarch64/boot-wrapper-aarch64.mk | 4 ++++
>>>>> 2 files changed, 12 insertions(+), 0 deletions(-)
>>>> [...]
>>>>
>>>> It should be something like:
>>>>
>>>> ifeq ($(BR2_TARGET_BOOT_WRAPPER_AARCH64_RAMDISK),y)
>>>> BOOT_WRAPPER_AARCH64_CONF_OPTS += --with-initrd=$(BINARIES_DIR)/rootfs.cpio
>>>> BOOT_WRAPPER_AARCH64_DEPENDENCIES += rootfs-cpio
>>>> endif
>>> I'm preparing a resend on this, but I'm having trouble with the dependency:
>>>
>>> $ rm /scratch1/hblancha/build/buildroot/images/rootfs.cpio
>>> $ make O=/scratch1/hblancha/build/buildroot boot-wrapper-aarch64-dirclean all
>>> [...]
>>> /scratch1/hblancha/build/buildroot/host/usr/bin/aarch64-buildroot-linux-gnu-ld:
>>> cannot find /scratch1/hblancha/build/buildroot/images/rootfs.cpio
>>>
>>> I can see that rootfs-* is defined and used in fs/, but, well, ... it doesn't
>>> seem to be working in this boot/ Makefile. Any advice?
>> Difficult to say without seeing the patch. Does it work correctly if you call
>> 'make rootfs-cpio boot-wrapper-arch64'?
>
> Same error. Earlier I see this:
> make: Circular
> /scratch1/hblancha/build/buildroot/build/boot-wrapper-aarch64-4266507a84f8c06452109d38e0350d4759740694/.stamp_configured
> <- rootfs-cpio dependency dropped.
Ah, of course: rootfs-cpio depends on PACKAGES, and boot-wrapper-aarch64 is in
PACKAGES. Same issue as with initramfs, and which is the reason why initramfs
doesn't use the normal DEPENDENCIES approach.
A fundamental solution would probably involve a change in the infra to support
leaving out a package from PACKAGES (but then there has to be another way of
making sure it *does* get built).
But for now, all I can think of is to do it similar to how we do it for linux:
create a filesystem target for it, and then add some special custom rule to
boot-wrapper-aarch64 to (re)build it with the cpio archive.
>
> Full patch is here:
>
> Author: Hollis Blanchard <hollis_blanchard@mentor.com>
> Date: Mon Sep 26 15:48:12 2016 -0700
>
> boot-wrapper-aarch64: Allow users to specify an initrd/initramfs file.
> Signed-off-by: Hollis Blanchard <hollis_blanchard@mentor.com>
BTW you have a missing blank line between the summary and the Sob.
Regards,
Arnout
[snip]
--
Arnout Vandecappelle arnout at mind be
Senior Embedded Software Architect +32-16-286500
Essensium/Mind http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint: 7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2017-01-13 8:30 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-10-07 22:45 [Buildroot] boot-wrapper-aarch64 configuration options Hollis Blanchard
2016-10-07 22:45 ` [Buildroot] [PATCH] boot-wrapper-aarch64: Allow users to specify an initrd/initramfs file Hollis Blanchard
2016-10-25 21:57 ` Thomas Petazzoni
2016-10-25 22:28 ` Hollis Blanchard
2017-01-11 23:55 ` Hollis Blanchard
2017-01-12 22:30 ` Arnout Vandecappelle
2017-01-12 22:45 ` Hollis Blanchard
2017-01-13 8:30 ` Arnout Vandecappelle
2016-10-07 22:45 ` [Buildroot] [PATCH] boot-wrapper-aarch64: Allow users to select the PSCI SMP boot method Hollis Blanchard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox