]> git.ipfire.org Git - thirdparty/u-boot.git/commit
test/py: android: Point fdt command to aligned addresses
authorMarek Vasut <marek.vasut+renesas@mailbox.org>
Wed, 19 Nov 2025 19:32:52 +0000 (20:32 +0100)
committerMattijs Korpershoek <mkorpershoek@kernel.org>
Fri, 5 Dec 2025 16:21:47 +0000 (17:21 +0100)
commit42ee514ed049d5e689e39bb4a8b6b5fb519aa3be
tree3271b228092fcfd3e84a9ff05f129750635dcb28
parent2da3af2f9ee0dbacaf26e95e1ae5261445f1a43c
test/py: android: Point fdt command to aligned addresses

Newer versions of libfdt strictly check whether the FDT blob
passed to them is at 8-byte aligned offset, if it is not, then
the library fails checks with -FDT_ERR_ALIGNMENT . Currently,
'abootimg get dtb --index=1 addr size' may return non 8-byte
aligned FDT address which points directly into the abootimg.
Copy the result into temporary location before validation to
avoid FDT alignment check failure.

Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
Reviewed-by: Mattijs Korpershoek <mkorpershoek@kernel.org>
Link: https://lore.kernel.org/r/20251119193311.127633-2-marek.vasut+renesas@mailbox.org
Signed-off-by: Mattijs Korpershoek <mkorpershoek@kernel.org>
test/py/tests/test_android/test_abootimg.py