How to Customize and Build Original Raspberry Pi OS Using Yocto?
Hi all,
I want to customize and generate the official Raspberry Pi OS using Yocto and test it on Raspberry Pi 5 hardware.
Here’s what I’ve done so far:
I downloaded the Raspberry Pi CM4 rootfs and generated core images using yocto(https://downloads.raspberrypi.com/raspi ... oot.tar.xz) I kept only the boot files in the SD card’s boot partition.
I copied the rootfs contents from the CM4 Raspberry Pi rootfs into the ROOTFS partition.
With this setup, the board boots successfully.
Now, I want to take the next step:
1. Download the original source code of the Raspberry Pi OS rootfs (not just prebuilt images)
2. Build it using Yocto
3 .Copy the generated rootfs into the ROOTFS partition and boot the board
My questions:
1. Is it possible to rebuild the official Raspberry Pi OS rootfs (not just minimal Yocto builds) using Yocto?
2. Where can I get the exact source code or recipe layers for the Raspberry Pi OS packages (not just Poky or meta-raspberrypi layers)? 3.Has anyone here successfully built a Yocto image that replicates the Raspberry Pi OS experience (including its specific desktop environment, tools, etc.)? Any pointers, recommended layers, or documentation links would be hugely appreciated!
Thank you in advance
Quoted 14 lines · Anil N T via lists.yoctoproject.org
Hi all,
I want to customize and generate the official Raspberry Pi OS using Yocto and test it on Raspberry Pi 5 hardware.Here’s what I’ve done so far:
I downloaded the Raspberry Pi CM4 rootfs and generated core images using yocto(https://downloads.raspberrypi.com/raspi ... oot.tar.xz) I kept only the boot files in the SD card’s boot partition.
I copied the rootfs contents from the CM4 Raspberry Pi rootfs into the ROOTFS partition.
With this setup, the board boots successfully.
Now, I want to take the next step:
1. Download the original source code of the Raspberry Pi OS rootfs (not just prebuilt images)
2. Build it using Yocto
3 .Copy the generated rootfs into the ROOTFS partition and boot the board
My questions:
1. Is it possible to rebuild the official Raspberry Pi OS rootfs (not just minimal Yocto builds) using Yocto?
While it is possible, since yocto build framework can build anything as long as someone writes the recipes. I don't know anyone has done it or have reported about it in community. Raspbian is based on Debian and uses debian's distro build system. Yocto framework builds custom linux distros and they can target raspberrypi devices, meta-raspberrypi is the yocto BSP layer supports them well.
Quoted 15 lines
2. Where can I get the exact source code or recipe layers for the Raspberry Pi OS packages (not just Poky or meta-raspberrypi layers)? 3.Has anyone here successfully built a Yocto image that replicates the Raspberry Pi OS experience (including its specific desktop environment, tools, etc.)? Any pointers, recommended layers, or documentation links would be hugely appreciated!
Thank you in advance-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
You automatically follow any topics you start or reply to. View/Reply Online (#65458): https://lists.yoctoproject.org/g/yocto/message/65458
Mute This Topic: https://lists.yoctoproject.org/mt/113446142/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Quoted 23 lines · Khem Raj via lists.yoctoproject.org
Quoted 4 lines · Anil N T via lists.yoctoproject.org
Hi all,
I want to customize and generate the official Raspberry Pi OS using Yocto and test it on Raspberry Pi 5 hardware.Quoted 15 lines
Here’s what I’ve done so far:
I downloaded the Raspberry Pi CM4 rootfs and generated core images using yocto(https://downloads.raspberrypi.com/raspi ... oot.tar.xz) I kept only the boot files in the SD card’s boot partition.
I copied the rootfs contents from the CM4 Raspberry Pi rootfs into the ROOTFS partition.
With this setup, the board boots successfully.
Now, I want to take the next step:
1. Download the original source code of the Raspberry Pi OS rootfs (not just prebuilt images)
2. Build it using Yocto
3 .Copy the generated rootfs into the ROOTFS partition and boot the board My questions:
1. Is it possible to rebuild the official Raspberry Pi OS rootfs (not just minimal Yocto builds) using Yocto?
Quoted 7 lines
While it is possible, since yocto build framework can build anything as long as someone writes the recipes. I don't know anyone has done it or have reported about it in community. Raspbian is based on Debian and uses debian's distro build system. Yocto framework builds custom linux distros and they can target raspberrypi devices, meta-raspberrypi is the yocto BSP layer supports them well.
You might have more luck using Isar which uses bitbake but with Debian sources.
https://github.com/ilbers/isar
Quoted 25 lines
Quoted 12 lines
2. Where can I get the exact source code or recipe layers for the Raspberry Pi OS packages (not just Poky or meta-raspberrypi layers)? 3.Has anyone here successfully built a Yocto image that replicates the Raspberry Pi OS experience (including its specific desktop environment, tools, etc.)?
Any pointers, recommended layers, or documentation links would be hugely appreciated!
Thank you in advance-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#65460):
https://lists.yoctoproject.org/g/yocto/message/65460
Mute This Topic: https://lists.yoctoproject.org/mt/113446142/924729
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [ [email protected]]
-=-=-=-=-=-=-=-=-=-=-=-