[yocto] [meta-raspberrypi] Error trying to generate Raspberry Pi initramfs
Greg Wilson-Lindberg
GWilson at sakuraus.com
Thu Aug 29 10:39:59 PDT 2019
Hi Zoran,
Thanks for your comments.
I'm adding [meta-raspberrypi] to the as I have realized that some might have missed this Raspberry-pi specific question.
Thanks,
Greg Wilson-Lindberg
> -----Original Message-----
> From: Zoran Stojsavljevic [mailto:zoran.stojsavljevic at gmail.com]
> Sent: Wednesday, August 28, 2019 05:08 PM
> To: Greg Wilson-Lindberg <GWilson at sakuraus.com>
> Cc: Yocto list discussion <yocto at yoctoproject.org>
> Subject: Re: [yocto] Error trying to generate Raspberry Pi initramfs
>
> Three things:
> [1] The initramfs is NOT the initrd (te second one is the temp
> stage in booting the linux to mmcblk...); [2] There are some config parameters
> you need to set up in
> your kernel .config file:
> https://github.com/ZoranStojsavljevic/bbb-yocto/blob/master/custom/config-
> initramfs
> [3] The command line is formed in u-boot or in grub2, or in
> your Linux boot loader (you need to add some lines
> in ash u-boot config script, as the following example):
> https://github.com/ZoranStojsavljevic/bbb-yocto/blob/master/custom/u-boot.ash
>
> Good Luck,
> Zoran
> _______
>
>
> On Wed, Aug 28, 2019 at 7:26 PM Greg Wilson-Lindberg
> <GWilson at sakuraus.com> wrote:
> >
> > 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
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > --
> > _______________________________________________
> > yocto mailing list
> > yocto at yoctoproject.org
> > https://lists.yoctoproject.org/listinfo/yocto
More information about the yocto
mailing list