]> git.baikalelectronics.ru Git - uboot.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)
commit42bab0c447da8db19c60ebf5763a91c450ba329d
treec09f4d1d53b7e99eb1fac15986d2e15041c316e0
parentc2807c6b1a426c6384ed6a294c28482f8af1e470
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