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

2020-05-20 Thread Pramod Kumar
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 
wrote:

> Hi Rayagonda and Pramod,
>
> Rayagonda Kokatanur  writes:
>
> > From: Pramod Kumar 
> >
> > 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
>


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

2020-05-19 Thread Thomas Fitzsimmons
Hi Rayagonda and Pramod,

Rayagonda Kokatanur  writes:

> From: Pramod Kumar 
>
> 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


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

2020-05-17 Thread Rayagonda Kokatanur
From: Pramod Kumar 

Add FIT image its file.

Signed-off-by: Pramod Kumar 
Signed-off-by: Rayagonda Kokatanur 
---
 board/broadcom/bcmns3/fit/multi.its | 59 +
 1 file changed, 59 insertions(+)
 create mode 100644 board/broadcom/bcmns3/fit/multi.its

diff --git a/board/broadcom/bcmns3/fit/multi.its 
b/board/broadcom/bcmns3/fit/multi.its
new file mode 100644
index 00..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 = <0x8008>;
+   entry = <0x8008>;
+   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";
+   };
+   };
+   };
+};
-- 
2.17.1