[yocto] Booting live images (core-image-minimal-initramfs) on ARM

Jeyachandran, Yukatharsani (Contractor) Yukatharsani_Jeyachandran at comcast.com
Mon May 2 08:12:43 PDT 2016


Hi,

Edit IMAGE_FSTYPES variable:-


Add this line IMAGE_FSTYPES = "${INITRAMFS_FSTYPES}" in machine configuration file or conf/local.conf file.

By default, INITRAMFS_FSTYPES set to "cpio-gz" in meta/conf/bitbake.conf file.


Thanks and Regards,
Yukatharsani J.



________________________________
From: yocto-bounces at yoctoproject.org <yocto-bounces at yoctoproject.org> on behalf of Paul Knopf <pknopf at medxchange.com>
Sent: Monday, May 2, 2016 10:43 AM
To: yocto at yoctoproject.org
Subject: [yocto] Booting live images (core-image-minimal-initramfs) on ARM

I have created kernel with an initramfs bundled that uses "initramfs-live-boot" to search for a "root.img" file on any mounted media devices (/media/*/root.img). I have added some rules to udev to automount a block device correctly.

However, when I attempt to create the live image, it depends on syslinux, which isn't available for ARM.

ERROR: Nothing PROVIDES 'syslinux'
ERROR: syslinux was skipped: incompatible with host arm-poky-linux-gnueabi (not in COMPATIBLE_HOST)

I have the following in my image.

IMAGE_FSTYPES = "live"

Why do we need the syslinux dependency? I have already booted my kernel via u-boot, so it seems unnecessary. Is there another IMAGE_FSTYPE that is compatible with the "initramfs-live-boot" package? cramfs? If so, do I need to change the "init-live.sh" script in "initramfs-live-boot" to support this new file type?

Thanks,
Paul Knopf
Software Engineer
Med X Change, Inc
pknopf at medxchange.com<mailto:pknopf at medxchange.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20160502/3b1175cf/attachment.html>


More information about the yocto mailing list