On Wed, 11 Oct 2023 at 18:56, Sean Anderson <[email protected]> wrote: > > 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 <[email protected]> > --- > > .azure-pipelines.yml | 4 + > .gitlab-ci.yml | 7 + > arch/sandbox/cpu/u-boot-spl.lds | 2 + > configs/sandbox_noinst_defconfig | 6 + > configs/sandbox_spl_defconfig | 6 + > include/test/spl.h | 117 ++++++++++ > test/image/spl_load.c | 352 +++++++++++++++++++++++++++++++ > test/image/spl_load_os.c | 5 +- > 8 files changed, 495 insertions(+), 4 deletions(-) > create mode 100644 include/test/spl.h
Reviewed-by: Simon Glass <[email protected]> The error handling for the FDT creation is a bit unusual, but it is test code, so if it fails all bets are off. So OK.

