[Buildroot] [PATCH] boot-wrapper-aarch64: Allow users to specify an initrd/initramfs file.

Hollis Blanchard hollis_blanchard at mentor.com
Wed Jan 11 23:55:07 UTC 2017


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 at mentor.com>
Mentor Graphics Emulation Division



More information about the buildroot mailing list