From: Andrejs Cainikovs <andrejs.cainik...@toradex.com>

Add combined binaries for all Verdin AM62 variants.
These binaries can be used to flash the U-Boot via single
binary instead of few as it is done at the moment.

Signed-off-by: Andrejs Cainikovs <andrejs.cainik...@toradex.com>
---
 .../dts/k3-am625-verdin-wifi-dev-binman.dtsi  | 68 +++++++++++++++++++
 1 file changed, 68 insertions(+)

diff --git a/arch/arm/dts/k3-am625-verdin-wifi-dev-binman.dtsi 
b/arch/arm/dts/k3-am625-verdin-wifi-dev-binman.dtsi
index a9b86b61e53..0e6188907e4 100644
--- a/arch/arm/dts/k3-am625-verdin-wifi-dev-binman.dtsi
+++ b/arch/arm/dts/k3-am625-verdin-wifi-dev-binman.dtsi
@@ -448,4 +448,72 @@
        };
 };
 
+&binman {
+       firmware-verdin-am62-gp.bin {
+               filename = "firmware-verdin-am62-gp.bin";
+
+               blob-ext@1 {
+                       filename = "tiboot3-am62x-gp-verdin.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-verdin-am62-hs.bin {
+               filename = "firmware-verdin-am62-hs.bin";
+
+               blob-ext@1 {
+                       filename = "tiboot3-am62x-hs-verdin.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-verdin-am62-hs-fs.bin {
+               filename = "firmware-verdin-am62-hs-fs.bin";
+
+               blob-ext@1 {
+                       filename = "tiboot3-am62x-hs-fs-verdin.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 /* CONFIG_TARGET_VERDIN_AM62_A53 */
-- 
2.34.1

Reply via email to