The Yocto Project on Raspberry Pi 5 Episode 4: U-Boot Bootloader #yocto #raspberrypi #uboot @LeonAnavi
The Yocto Project on Raspberry Pi 5 Episode 4: U-Boot Bootloader #yocto #raspberrypi #uboot  @LeonAnavi
Uploaded February 2025 | Updated November 2026, 6 days ago
In this episode about the Yocto Project and OpenEmbedded on Raspberry Pi 5, you will learn how to switch to the open source U-Boot bootloader. U-Boot (Das U-Boot) is an open-source bootloader commonly used in embedded systems to initialize hardware and load the operating system kernel. It supports multiple architectures (ARM, x86, RISC-V, etc.) and provides features like networking, storage access, and scripting for system configuration. U-Boot is widely used in Linux-based embedded devices due to its flexibility and extensive hardware support. All demonstrations in the video are possible thanks to the community driven Yocto / OpenEmbedded BSP layer meta-raspberrypi. My build setup is based on Yocto LTS release Scarthgap which provides by default U-Boot v2024.01. However, Raspberry Pi 5 support was added in U-Boot v2024.04. To solve this we will also use branch scarthgap/u-boot of Yocto/OE layer meta-lts-mixins. Follow the steps below to achieve the same result on your setup:

* Download meta-lts-minins:

git clone -b scarthgap/u-boot git://git.yoctoproject.org/meta-lts-mixins

* Initialize the build environment:

source oe-init-build-env

* Add layers to bblayers.conf:

bitbake-layers add-layer ../meta-lts-mixins

* Switch to U-Boot by adding the following line to end of conf/local.conf:

RPI_USE_U_BOOT = "1"

* Build the image:

bitbake core-image-base

* Flash core-image-base on a microSD card and boot it on Raspberry Pi 5 and enjoy using U-Boot!

πŸ”— Related Videos
===
Episode 1: The Yocto Project on Raspberry Pi 5: Building an Embedded GNU Linux Distribution
youtu.be/fY7u6PiV8qA?si=-DgvkJ_yTsiX05vx
Episode 2: SSH for Remote Network Access
youtu.be/ltckiBV9FXg?si=DJwsKLDhHkDIqCIn
Episode 3: The Yocto Project on Raspberry Pi 5 Episode 3: Running Docker Containers
youtu.be/kQnOidK_U3M?si=5KiS1FK87OwfdQ0m
Episode 5: Modifying U-Boot Environment in Linux with fw_setenv
youtu.be/SB5NvIF1IEU?si=0So6Gfv9hQR7gQgY
Episode 6: Runtime Package Management with apt and deb Packages
youtu.be/6i5UtF7fiaA?si=8DuUHUxywVEEtdyN
Episode 7: Create a New Layer, a New Recipe (.bb) and .bbappend
youtu.be/W5J1W_Cy14Y?si=ftu5WpeGqel8BZhf


πŸ“š Useful Links
===
yoctoproject.org
docs.yoctoproject.org
openembedded.org/wiki/Main_Page
meta-raspberrypi.readthedocs.io/en/latest/extra-build-config.html#boot-to-u-boot
docs.u-boot.org
anavi.org/article/301
The Yocto Project on Raspberry Pi 5 Episode 4: U-Boot Bootloader #yocto #raspberrypi #ubootHow to Flash Firmware on Rockchip Devices like Geniatech XPI-3566-Zero Using Linux Upgrade ToolThinkPad X1 Carbon Gen 6 SSD Upgrade: M.2 NVMe Install Step by StepRaspberry Pi Pico Controls DC Motors using Toshiba TB6612 Driver and Arduino Sketch #raspberrypiThe Yocto Project on Raspberry Pi 5 Episode 13: Bringing Wayland and Weston to Your Embedded LinuxThinkPad Diagnose Hardware for RAM Failure #thinkpad5 Raspberry Pi Touch Display 2: Setup and Configuration Guide for Raspberry Pi 5Wire Soldering Clamp #solderingArduino Uno Q with Qualcomm PM4145 PMICLive: Designing TPM 2.0 Open Source Hardware PCB for Raspberry PiPocketBeagle 2 vs PocketBeagle Tiny Embedded Linux ComputersThinkPad T490 Review – Can a 2019 Laptop Still Run Linux Well?
Leon Anavi |

The Yocto Project on Raspberry Pi 5 Episode 4: U-Boot Bootloader #yocto #raspberrypi #uboot

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER