From: Ernest Van Hoecke <[email protected]>

Add nodes to the binman configuration to create single binaries that
combine tiboot3-am69-*-aquila.bin, tispl.bin and u-boot.img into
firmware-aquila-am69-*.bin, with the proper offsets.

These binaries can be used to flash U-Boot via a single binary of three,
as it is done now.

Signed-off-by: Ernest Van Hoecke <[email protected]>
---
 arch/arm/dts/k3-am69-aquila-dev-u-boot.dtsi | 66 +++++++++++++++++++++++++++++
 1 file changed, 66 insertions(+)

diff --git a/arch/arm/dts/k3-am69-aquila-dev-u-boot.dtsi 
b/arch/arm/dts/k3-am69-aquila-dev-u-boot.dtsi
index 63b37e522927..f91cdf15aff3 100644
--- a/arch/arm/dts/k3-am69-aquila-dev-u-boot.dtsi
+++ b/arch/arm/dts/k3-am69-aquila-dev-u-boot.dtsi
@@ -78,6 +78,72 @@
        u-boot-unsigned {
                insert-template = <&u_boot_unsigned>;
        };
+
+       firmware-aquila-am69-gp.bin {
+               filename = "firmware-aquila-am69-gp.bin";
+
+               blob-ext@1 {
+                       filename = "tiboot3-am69-gp-aquila.bin";
+               };
+
+               blob-ext@2 {
+                       filename = "tispl.bin_unsigned";
+                       /*
+                        * This value matches 
CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR
+                        * from R5 SPL config.
+                        */
+                       offset = <0x80000>;
+               };
+
+               blob-ext@3 {
+                       filename = "u-boot.img_unsigned";
+                       offset = <(CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR * 
512)>;
+               };
+       };
+
+       firmware-aquila-am69-hs.bin {
+               filename = "firmware-aquila-am69-hs.bin";
+
+               blob-ext@1 {
+                       filename = "tiboot3-am69-hs-aquila.bin";
+               };
+
+               blob-ext@2 {
+                       filename = "tispl.bin";
+                       /*
+                        * This value matches 
CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR
+                        * from R5 SPL config.
+                        */
+                       offset = <0x80000>;
+               };
+
+               blob-ext@3 {
+                       filename = "u-boot.img";
+                       offset = <(CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR * 
512)>;
+               };
+       };
+
+       firmware-aquila-am69-hs-fs.bin {
+               filename = "firmware-aquila-am69-hs-fs.bin";
+
+               blob-ext@1 {
+                       filename = "tiboot3-am69-hs-fs-aquila.bin";
+               };
+
+               blob-ext@2 {
+                       filename = "tispl.bin";
+                       /*
+                        * This value matches 
CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR
+                        * from R5 SPL config.
+                        */
+                       offset = <0x80000>;
+               };
+
+               blob-ext@3 {
+                       filename = "u-boot.img";
+                       offset = <(CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR * 
512)>;
+               };
+       };
 };
 
 #endif

---
base-commit: 57460fde4ba84d67de4066ee1141e89e8139ed23
change-id: 20260505-am69-combined-binary-dd676560de8c

Best regards,
-- 
Ernest Van Hoecke <[email protected]>

Reply via email to