diff mbox series

[v1,2/3] board: ns3: add FIT image its file

Message ID 20200517082441.21607-3-rayagonda.kokatanur@broadcom.com
State New
Headers show
Series add FIT image support for broadcom NS3 soc | expand

Commit Message

Rayagonda Kokatanur May 17, 2020, 8:24 a.m. UTC
From: Pramod Kumar <pramod.kumar at broadcom.com>

Add FIT image its file.

Signed-off-by: Pramod Kumar <pramod.kumar at broadcom.com>
Signed-off-by: Rayagonda Kokatanur <rayagonda.kokatanur at broadcom.com>
---
 board/broadcom/bcmns3/fit/multi.its | 59 +++++++++++++++++++++++++++++
 1 file changed, 59 insertions(+)
 create mode 100644 board/broadcom/bcmns3/fit/multi.its

Comments

Thomas Fitzsimmons May 20, 2020, 1:55 a.m. UTC | #1
Hi Rayagonda and Pramod,

Rayagonda Kokatanur <rayagonda.kokatanur at broadcom.com> writes:

> From: Pramod Kumar <pramod.kumar at broadcom.com>
>
> Add FIT image its file.

The .its file and dev keys seem generic.  Are you intending to add to
the .its file subsequently, e.g., to demonstrate FIT usage unique to the
NS3?

Thomas
Pramod Kumar May 20, 2020, 4:21 a.m. UTC | #2
Hi Thomas,

This is generic and used for development. Specific keys will be used by
Customer/Specific applications.

Regards,
Pramod

On Wed, May 20, 2020 at 7:25 AM Thomas Fitzsimmons <fitzsim at fitzsim.org>
wrote:

> Hi Rayagonda and Pramod,
>
> Rayagonda Kokatanur <rayagonda.kokatanur at broadcom.com> writes:
>
> > From: Pramod Kumar <pramod.kumar at broadcom.com>
> >
> > Add FIT image its file.
>
> The .its file and dev keys seem generic.  Are you intending to add to
> the .its file subsequently, e.g., to demonstrate FIT usage unique to the
> NS3?
>
> Thomas
>
diff mbox series

Patch

diff --git a/board/broadcom/bcmns3/fit/multi.its b/board/broadcom/bcmns3/fit/multi.its
new file mode 100644
index 0000000000..a0ff4bc908
--- /dev/null
+++ b/board/broadcom/bcmns3/fit/multi.its
@@ -0,0 +1,59 @@ 
+/*
+ * U-Boot uImage source file with multiple kernels, ramdisks and FDT blobs
+ */
+
+/dts-v1/;
+
+/ {
+	description = "Various kernels, ramdisks and FDT blobs";
+	#address-cells = <1>;
+
+	images {
+		kernel {
+			description = "Linux kernel Image";
+			data = /incbin/("./Image");
+			type = "kernel";
+			arch = "arm64";
+			os = "linux";
+			compression = "none";
+			load = <0x80080000>;
+			entry = <0x80080000>;
+			hash-1 {
+				algo = "sha1";
+			};
+			signature {
+				algo = "sha1,rsa2048";
+				key-name-hint = "dev";
+			};
+		};
+
+		fdt-ns3 {
+			description = "FDT Blob";
+			data = /incbin/("./dt-blob.bin");
+			type = "flat_dt";
+			arch = "arm64";
+			compression = "none";
+			hash-1 {
+				algo = "sha1";
+			};
+			signature {
+				algo = "sha1,rsa2048";
+				key-name-hint = "dev";
+			};
+		};
+	};
+
+	configurations {
+		default = "config-ns3";
+		config-ns3 {
+			description = "FIT1 configuration";
+			kernel = "kernel";
+			fdt = "fdt-ns3";
+			signature {
+				algo = "sha1,rsa2048";
+				key-name-hint = "dev";
+				sign-images = "fdt", "kernel";
+			};
+		};
+	};
+};