You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Was trying to apply initramfs-module-overlayroot to overlay a partition over the root layer and my understanding is that this require initramfs to be enabled.
Where the image bb script is based on ./layers/poky/meta/recipes-core/images/core-image-minimal-initramfs.bb but where INITRAMFS_SCRIPTS and PACKAGE_INSTALL is shrunk to:
However while the intramfs cpio archive appears to be present ./build/tmp/deploy/images/test-app/core-image-test-app-initramfs-test-app.cpio.gz it doesn't seem to be present in the bootup log.
I added some echo to both init and overlay bash script to see if the initramfs is running the script, but did not see any presence.
I'm still relatively newish to yocto, so I'm not sure where to look in the log to see if copy_initramfs() in the kernel.bbclass is actually copying the initramfs image to ./usr but I can definitely not find the image when I ssh into the device and inspected the ./usr folder.
Maybe I'm missing something simple here, to which it might be a documentation issue. But in the meantime I hope this will still be helpful to track in case there is actually a bug in the bb script.
The text was updated successfully, but these errors were encountered:
Was trying to apply
initramfs-module-overlayroot
to overlay a partition over the root layer and my understanding is that this require initramfs to be enabled.So thus I was trying to figure out how to get initramfs image by following the instructions in https://meta-raspberrypi.readthedocs.io/en/latest/extra-build-config.html#image-with-initramfs which said to put into local.conf this configuration.
Where the image bb script is based on
./layers/poky/meta/recipes-core/images/core-image-minimal-initramfs.bb
but whereINITRAMFS_SCRIPTS
andPACKAGE_INSTALL
is shrunk to:However while the intramfs cpio archive appears to be present
./build/tmp/deploy/images/test-app/core-image-test-app-initramfs-test-app.cpio.gz
it doesn't seem to be present in the bootup log.For context, this is my layer stackup so far:
I added some echo to both init and overlay bash script to see if the initramfs is running the script, but did not see any presence.
I'm still relatively newish to yocto, so I'm not sure where to look in the log to see if
copy_initramfs()
in thekernel.bbclass
is actually copying the initramfs image to./usr
but I can definitely not find the image when I ssh into the device and inspected the./usr
folder.Maybe I'm missing something simple here, to which it might be a documentation issue. But in the meantime I hope this will still be helpful to track in case there is actually a bug in the bb script.
The text was updated successfully, but these errors were encountered: