Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id E2D15C5AE59 for ; Tue, 3 Jun 2025 12:32:08 +0000 (UTC) Subject: How to Customize and Build Original Raspberry Pi OS Using Yocto? To: yocto@lists.yoctoproject.org From: "Anil N T" X-Originating-Location: IN (150.107.100.22) X-Originating-Platform: Windows Chrome 136 User-Agent: GROUPS.IO Web Poster MIME-Version: 1.0 Date: Tue, 03 Jun 2025 05:32:06 -0700 Message-ID: Content-Type: multipart/alternative; boundary="CplN7PLZ9BZ79FOPXJ06" List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Tue, 03 Jun 2025 12:32:08 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/yocto/message/65458 --CplN7PLZ9BZ79FOPXJ06 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hi all, I want to customize and generate the official Raspberry Pi OS using Yocto a= nd test it on Raspberry Pi 5 hardware. Here=E2=80=99s what I=E2=80=99ve done so far: I downloaded the Raspberry Pi CM4 rootfs and generated core images using yo= cto(https://downloads.raspberrypi.com/raspi ... oot.tar.xz) I kept only the boot files in the SD card=E2=80=99s boot partition. I copied the rootfs contents from the CM4 Raspberry Pi rootfs into the ROOT= FS 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 jus= t 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 Rasp= berry Pi OS experience (including its specific desktop environment, tools, = etc.)? Any pointers, recommended layers, or documentation links would be hugely ap= preciated! Thank you in advance --CplN7PLZ9BZ79FOPXJ06 Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable
Hi all,
I want to customize and generate the official Raspberry Pi OS using Yo= cto 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/ra= spi ... oot.tar.xz)
I kept only the boot files in the SD car= d’s boot partition.
I copied the rootfs contents from the CM= 4 Raspberry Pi rootfs into the ROOTFS partition.
With this setup, the board boots success= fully.
 
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 usin= g Yocto
3 .Copy the generated rootfs into the ROOTFS partition and boo= t the board
 
My questions:
1. Is it possible to rebuild the officia= l 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 anyo= ne here successfully built a Yocto image that replicates the Raspberry Pi O= S experience (including its specific desktop environment, tools, etc.)?
Any pointers, recommended layers, or doc= umentation links would be hugely appreciated!
 
Thank you in advance
--CplN7PLZ9BZ79FOPXJ06--