u-boot/test/image
Sean Anderson 65efaac425 test: spl: Add a test for the NOR load method
Add a test for the NOR load method. Since NOR is memory-mapped we can
substitute a buffer instead. The only major complication is testing LZMA
decompression.  It's too complex to implement LZMA compression in a test, and we
have no in-tree compressor, so we just include some pre-compressed data. This
data was generated through something like

    generate_data(plain, plain_size, "lzma")
    cat plain.dat | lzma | hexdump -C

and was cleaned up further in my editor.

Signed-off-by: Sean Anderson <seanga2@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
2023-10-17 20:50:52 -04:00
..
Kconfig test: spl: Add a test for the NET load method 2023-10-17 20:50:52 -04:00
Makefile test: spl: Add a test for the NOR load method 2023-10-17 20:50:52 -04:00
spl_load.c test: spl: Add a test for the NOR load method 2023-10-17 20:50:52 -04:00
spl_load_fs.c test: spl: Add a test for the MMC load method 2023-10-17 20:50:52 -04:00
spl_load_net.c test: spl: Add a test for the NET load method 2023-10-17 20:50:52 -04:00
spl_load_nor.c test: spl: Add a test for the NOR load method 2023-10-17 20:50:52 -04:00
spl_load_os.c test: spl: Add functions to create images 2023-10-17 20:50:52 -04:00
test-imagetools.sh test: Update test-imagetools.sh to match new syntax 2019-03-08 11:31:44 -05:00