]> git.ipfire.org Git - thirdparty/u-boot.git/commit
test: spl: Add functions to create images
authorSean Anderson <seanga2@gmail.com>
Sat, 14 Oct 2023 20:47:59 +0000 (16:47 -0400)
committerTom Rini <trini@konsulko.com>
Wed, 18 Oct 2023 00:50:52 +0000 (20:50 -0400)
commitb93cc1e73e1173774a40535e96f4049e3b281eda
treea8d6b5959fc14b4c43e0bddc7bf38363a3b1c5ad
parentb5bf83b6912a67d2a147cf866c87854bd43cc863
test: spl: Add functions to create images

This add some basic functions to create images, and a test for said
functions. This is not intended to be a test of the image parsing
functions, but rather a framework for creating minimal images for testing
load methods. That said, it does do an OK job at finding bugs in the image
parsing directly.

Since we have two methods for loading/parsing FIT images, add LOAD_FIT_FULL
as a separate CI run.

Signed-off-by: Sean Anderson <seanga2@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
.azure-pipelines.yml
.gitlab-ci.yml
arch/sandbox/cpu/u-boot-spl.lds
configs/sandbox_noinst_defconfig
configs/sandbox_spl_defconfig
include/test/spl.h [new file with mode: 0644]
test/image/spl_load.c
test/image/spl_load_os.c