On Thu, Jan 23, 2020 at 10:44 AM Greg Wilson-Lindberg
<[email protected]> wrote:
>
> Hello List,
>
> I have not been able to figure out how to generate an initramfs image for a
> raspberry pi build of yocto. I’ve searched it web and have not found anything
> that mentions generating the actual image, lots of hits on how to configure
> using the initramfs, but not on generating it. Is there a standard recipe for
> a raspberry pi initramfs and how would I enable its generation, or maybe I’m
> just being clueless.
>
>
>
> I’m running on a boot2qt build of yocto based on Qt v5.14.0 that uses warrior
> and I’m targeting an RPi 4 using u-boot.
>
>
>
> Any help would be greatly appreciated.
>
try something like below in local.conf
INITRAMFS_IMAGE_BUNDLE_rpi = "1"
INITRAMFS_IMAGE_rpi = "<your-image>"
# Enlarge boot partition to 1GiB
BOOT_SPACE = "1073741"
INITRAMFS_MAXSIZE = "315400"
IMAGE_FSTYPES_pn-${INITRAMFS_IMAGE} = "${INITRAMFS_FSTYPES}"
>
>
> Best regards,
>
> Greg Wilson-Lindberg
>
>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#48110): https://lists.yoctoproject.org/g/yocto/message/48110
Mute This Topic: https://lists.yoctoproject.org/mt/70053252/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-