Skip to content

[U-BOOT] Add sysdata support

Carlo Ferriolo requested to merge davc/u-boot_addon into scarthgap_kickoff

This merge request improves Clea OS support within U-Boot. The series of commits introduces a well-defined structure for managing U-Boot in Yocto, including recipes, classes, and include files.

This structure aligns with Clea OS requirements by enabling support for multiple models and ensuring compatibility with various U-Boot sources and versions.

==== Changes ====

  • Add a mechanism to add custom u-boot patches and configuration files to the u-boot recipe. This is done by creating a new u-boot addon structure inside the UBOOT_ADDONS variable. This variable is a BitBake variable flag (aka varflag) that allows appending or overriding specific functionalities in the u-boot recipe.

  • Improved partcommand inside the U-Boot shell. This is managed as addons and enabled with:

    UBOOT_ADDONS += "partition_tool_ext"

  • Add SYSDATA feature. To enable this feature, the user must set the following variable set:

    UBOOT_ADDONS += "sysdata"

==== U-Boot support ====

  • 2024.01 (tested on QEMU)
  • 2024.04 (tested on NXP EVKs)
  • 2025.10 (tested on RPI)

Signed-off-by: Davide Cardillo davide.cardillo@seco.com

Edited by Davide Cardillo

Merge request reports

Loading