[yocto] Issue using UEFI with rootfs(squashfs) generated as a wic

Mathieu Alexandre-Tétreault alexandretm at amotus.ca
Fri Nov 9 13:10:59 PST 2018


Hello,


The platform is running on a i7 CPU and is using UEFI to load the kernel. The image that we are currently building is loading

out of a USB stick wish was working until I switched the rootfs type to squashfs.


Systemd-boot is as the boot loader.


So far what I noticed is the boot.conf use the options LABEL=boot but the kernel is unable to read a LABEL from the squashfs.


On the other hand I tried to adding "root=/dev/sdb2 rootfstype=squashfs" to the boot.conf using a systemd-bootconf_%.bbappend

Using the define ROOT, APPEND_append gave me no result, I always end up with options LABEL=boot  rootwait console=tty0


I also tried  overridding build_efi_cfg() from meta/classes/systemd-boot-cfg.bbclass from my systemd-bootconf_%.bbappend and copy my files, but it always

get over-written some how.


Any advise would be greatly appreciated on how to modify the boot.conf file to allow loading a squashfs.


Cheers,


Mathieu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20181109/102a4e42/attachment-0001.html>


More information about the yocto mailing list