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(-) -- 2.47.1
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#210962): https://lists.openembedded.org/g/openembedded-core/message/210962 Mute This Topic: https://lists.openembedded.org/mt/111042847/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
