]> git.dujemihanovic.xyz Git - u-boot.git/commit
test/py: android: extend abootimg test
authorSafae Ouajih <souajih@baylibre.com>
Sun, 5 Feb 2023 23:50:20 +0000 (00:50 +0100)
committerTom Rini <trini@konsulko.com>
Tue, 4 Apr 2023 18:50:47 +0000 (14:50 -0400)
commit83d48a3c8bfbbbc2a8ad951b211081f72fc268b6
treec09f4d1d53b7e99eb1fac15986d2e15041c316e0
parent3e7b71c7286b8e12891c4fd954c21ed8be018de7
test/py: android: extend abootimg test

test_abootimg is extended to include the testing of boot images
version 4. For this, boot.img and vendor_boot.img have been
generated using mkbootimg tool with setting the header
version to 4.

This tests:
- Getting the header version using abootimg
- Extracting the load address of the dtb
- Extracting the dtb start address in RAM

Running test:
$ ./test/py/test.py --bd sandbox --build -k test_abootimg

Signed-off-by: Safae Ouajih <souajih@baylibre.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Tested-by: Mattijs Korpershoek <mkorpershoek@baylibre.com>
test/py/tests/test_android/test_abootimg.py