mbox series

[0/4] decouple UBOOT_ENV from kernel-fitimage

Message ID 20250206225654.1660760-1-adrian.freihofer@siemens.com
Headers show
Series decouple UBOOT_ENV from kernel-fitimage | expand

Message

Adrian Freihofer Feb. 6, 2025, 10:56 p.m. UTC
The original goal was actually just to write a test for a u-boot
script in the fitImage and to document the various UBOOT_ENV
variables. I realized that the implementation is complicated and
hard to describe which also means hard to use.

To simplify things, this patch series introduces a new variable
FIT_UBOOT_ENV. It is only used by the kernel-fitimage.bbclass.
As a result, UBOOT_ENV is no longer used by u-boot and the
kernel-fitimage.bbclass, but only by u-boot.
This makes both the usage and the implementation simpler and solves
issues like getting the u-boot script installed into /boot and into
the fitImage.

Documentation patches are prepared here:
https://git.yoctoproject.org/poky-contrib/log/?h=adrianf/fitimage-test-uboot-env

Adrian Freihofer (4):
  kernel-fitimage.bbclass: introduce FIT_UBOOT_ENV
  kernel-fitimage.bbclass: do not use the UBOOT_ENV variable
  oe-selftest: fitimage split run_dumpimage function
  oe-selftest: fitimage add u-boot env script

 meta/classes-recipe/kernel-fitimage.bbclass | 16 +---
 meta/conf/image-fitimage.conf               |  7 ++
 meta/lib/oeqa/selftest/cases/fitimage.py    | 88 +++++++++++++++------
 3 files changed, 76 insertions(+), 35 deletions(-)