summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorAristo Chen <[email protected]>2025-09-14 10:59:27 +0000
committerTom Rini <[email protected]>2025-09-23 13:35:22 -0600
commitdade54edaff659c4ed6fc40db0b2dd446714c573 (patch)
tree77a883b45c8bbb15232e6f613eb401205ceeeaf3 /tools
parent88392a59bf87bf2c1c5aedc0b76f459d702f71a7 (diff)
binman: Fix FIT image overlap issues
Fix three binman tests that has memory region overlap issue, the test cases needed to be updated to use non-overlapping memory layouts. * Tests fixed: - testFitFirmwareLoadables - testFitSignSimple - testFitSignNoSignatureNodes * Changes made: Updated DTB test files to change U-Boot load addresses from 0x0 to 0x2000 to avoid overlapping with ATF in the 0x10-0xfc range: - 276_fit_firmware_loadables.dts - 340_fit_signature.dts - 342_fit_signature.dts An upcoming commit will validate if the memory region is overlapped Signed-off-by: Aristo Chen <[email protected]> Reviewed-by: Neha Malcom Francis <[email protected]>
Diffstat (limited to 'tools')
-rw-r--r--tools/binman/test/276_fit_firmware_loadables.dts4
-rw-r--r--tools/binman/test/340_fit_signature.dts4
-rw-r--r--tools/binman/test/342_fit_signature.dts4
3 files changed, 6 insertions, 6 deletions
diff --git a/tools/binman/test/276_fit_firmware_loadables.dts b/tools/binman/test/276_fit_firmware_loadables.dts
index 2f79cdc9bb8..d344036a11a 100644
--- a/tools/binman/test/276_fit_firmware_loadables.dts
+++ b/tools/binman/test/276_fit_firmware_loadables.dts
@@ -19,8 +19,8 @@
arch = "arm64";
os = "u-boot";
compression = "none";
- load = <0x00000000>;
- entry = <0x00000000>;
+ load = <0x00002000>;
+ entry = <0x00002000>;
u-boot-nodtb {
};
diff --git a/tools/binman/test/340_fit_signature.dts b/tools/binman/test/340_fit_signature.dts
index 9dce62e52de..1c25d52cba4 100644
--- a/tools/binman/test/340_fit_signature.dts
+++ b/tools/binman/test/340_fit_signature.dts
@@ -20,8 +20,8 @@
arch = "arm64";
os = "u-boot";
compression = "none";
- load = <0x00000000>;
- entry = <0x00000000>;
+ load = <0x00002000>;
+ entry = <0x00002000>;
u-boot-nodtb {
};
diff --git a/tools/binman/test/342_fit_signature.dts b/tools/binman/test/342_fit_signature.dts
index 267105d0f68..2ac600b1c70 100644
--- a/tools/binman/test/342_fit_signature.dts
+++ b/tools/binman/test/342_fit_signature.dts
@@ -20,8 +20,8 @@
arch = "arm64";
os = "u-boot";
compression = "none";
- load = <0x00000000>;
- entry = <0x00000000>;
+ load = <0x00002000>;
+ entry = <0x00002000>;
u-boot-nodtb {
};