[yocto] Error trying to generate Raspberry Pi initramfs
Greg Wilson-Lindberg
GWilson at sakuraus.com
Wed Aug 28 10:25:55 PDT 2019
I'm trying to generate an initramfs for a raspberry pi 3 for a sumo build. We are based off of the Qt boot2qt system.
I have followed the instructions in the meta-raspberrypi.pdf documentation, section 3.14 Image with Initramfs.
I edited the meta-raspberrypi/recipes-kernel/linux/linux-raspberry.inc file and added the variables into my local.conf file. I created a rpi-minimal-initramfs.bb recipe and it is created when I build the system. But the command line that is put into the boot partition is:
dwc_otg.lpm_enable=0 root=/dev/mmcblk0p2 rootfstype=ext4 rootwait fbcon=map:10 fbcon=font:VGA8x8
No initramfs.
In the linux-raspberry.inc file, after the insertion point for the new kernel variables, there is a test for KERNEL_INITRAMFS. I tried setting this in my local.conf file, but when I do I get an error for a missing file:
| /home/..../tmp/deploy/images/raspberrypi3/uImage1-raspberrypi3.bin: No such file or directory
So, apparently that can't be set directly.
There seems to be something missing in the instructions in the meta-raspberrypi.pdf documentation. Anyone that has any experience with setting this up and can help me figure out what I'm missing, I would greatly appreciate the help.
Regards,
Greg Wilson-Lindberg
More information about the yocto
mailing list