U-boot Archive mirror
 help / color / mirror / Atom feed
From: Jonathan Humphreys <j-humphreys@ti.com>
To: Mattijs Korpershoek <mkorpershoek@baylibre.com>,
	Kamlesh Gurudasani <kamlesh@ti.com>,
	Manorit Chawdhry <m-chawdhry@ti.com>,
	Heinrich Schuchardt <xypron.glpk@gmx.de>,
	Judith Mendez <jm@ti.com>,
	Christian Gmeiner <christian.gmeiner@gmail.com>,
	Devarsh Thakkar <devarsht@ti.com>, Simon Glass <sjg@chromium.org>,
	Nikhil M Jain <n-jain1@ti.com>,
	Neha Malcom Francis <n-francis@ti.com>, Andrew Davis <afd@ti.com>,
	Maxime Ripard <mripard@kernel.org>,
	Siddharth Vadapalli <s-vadapalli@ti.com>,
	Roger Quadros <rogerq@kernel.org>, Bryan Brattlof <bb@ti.com>,
	Vignesh Raghavendra <vigneshr@ti.com>,
	Robert Nelson <robertcnelson@gmail.com>,
	Nishanth Menon <nm@ti.com>, Tom Rini <trini@konsulko.com>,
	Sughosh Ganu <sughosh.ganu@linaro.org>,
	Masahisa Kojima <kojima.masahisa@socionext.com>,
	Marcel Ziswiler <marcel.ziswiler@toradex.com>,
	Ilias Apalodimas <ilias.apalodimas@linaro.org>
Cc: <u-boot@lists.denx.de>, Jonathan Humphreys <j-humphreys@ti.com>
Subject: [PATCH v2 3/7] dts: j721e: binman: Include firmware capsules binman nodes
Date: Fri, 19 Apr 2024 16:28:15 -0500	[thread overview]
Message-ID: <20240419212819.170033-4-j-humphreys@ti.com> (raw)
In-Reply-To: <20240419212819.170033-1-j-humphreys@ti.com>

Fill in the J721e SK's capsule GUID properties of the base binman capsule
nodes.
Also add it's SYSFW binman capsule node.

Signed-off-by: Jonathan Humphreys <j-humphreys@ti.com>
---
 arch/arm/dts/k3-j721e-binman.dtsi | 49 +++++++++++++++++++++++++++++++
 1 file changed, 49 insertions(+)

diff --git a/arch/arm/dts/k3-j721e-binman.dtsi b/arch/arm/dts/k3-j721e-binman.dtsi
index 75a6e9599b9..32cfd545e5c 100644
--- a/arch/arm/dts/k3-j721e-binman.dtsi
+++ b/arch/arm/dts/k3-j721e-binman.dtsi
@@ -207,6 +207,36 @@
 		};
 	};
 };
+
+#include "k3-binman-capsule-r5.dtsi"
+
+// Capsule update GUIDs in string form.  See j721e_evm.h
+#define J721E_SK_TIBOOT3_IMAGE_GUID_STR "e672b518-7cd7-4014-bd8d-40724d0ad4dc"
+#define J721E_SK_SYSFW_IMAGE_GUID_STR "6fd10680-361b-431f-80aa-899455819e11"
+
+&capsule_tiboot3 {
+	efi-capsule {
+		image-guid = J721E_SK_TIBOOT3_IMAGE_GUID_STR;
+	};
+};
+
+&binman {
+	capsule-sysfw {
+		filename = "sysfw-capsule.bin";
+		efi-capsule {
+			image-index = <0x4>;
+			image-guid = J721E_SK_SYSFW_IMAGE_GUID_STR;
+			private-key = "arch/arm/mach-k3/keys/custMpk.pem";
+			public-key-cert = "arch/arm/mach-k3/keys/custMpk.crt";
+			monotonic-count = <0x1>;
+
+			blob {
+				filename = "sysfw.itb";
+			};
+		};
+	};
+};
+
 #endif
 
 #ifdef CONFIG_TARGET_J721E_A72_EVM
@@ -585,4 +615,23 @@
 		};
 	};
 };
+
+#include "k3-binman-capsule.dtsi"
+
+// Capsule update GUIDs in string form.  See j721e_evm.h
+#define J721E_SK_SPL_IMAGE_GUID_STR "86f710ad-10cf-46ea-ac67-856ae06efad2"
+#define J721E_SK_UBOOT_IMAGE_GUID_STR "81b58fb0-3b00-4add-a20a-c185bbaca1ed"
+
+&capsule_tispl {
+	efi-capsule {
+		image-guid = J721E_SK_SPL_IMAGE_GUID_STR;
+	};
+};
+
+&capsule_uboot {
+	efi-capsule {
+		image-guid = J721E_SK_UBOOT_IMAGE_GUID_STR;
+	};
+};
+
 #endif
-- 
2.34.1


  parent reply	other threads:[~2024-04-19 21:29 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-19 21:28 [PATCH v2 0/7] binman: ti: create binman nodes for EFI capsules Jonathan Humphreys
2024-04-19 21:28 ` [PATCH v2 1/7] dts: ti: binman: Add base K3 firmware capsule nodes Jonathan Humphreys
2024-04-19 21:28 ` [PATCH v2 2/7] dts: am64x: binman: Include firmware capsules binman nodes Jonathan Humphreys
2024-04-19 21:28 ` Jonathan Humphreys [this message]
2024-04-19 21:28 ` [PATCH v2 4/7] dts: beagleplay: " Jonathan Humphreys
2024-05-10 17:32   ` Tom Rini
2024-05-22  2:20     ` Jon Humphreys
2024-05-22 14:10       ` Tom Rini
2024-05-23  4:12         ` Jon Humphreys
2024-05-23 15:17           ` Tom Rini
2024-05-23 21:09             ` Jon Humphreys
2024-05-23 22:12               ` Tom Rini
2024-04-19 21:28 ` [PATCH v2 5/7] dts: am62px: " Jonathan Humphreys
2024-04-19 21:28 ` [PATCH v2 6/7] dts: am62x: " Jonathan Humphreys
2024-04-19 21:28 ` [PATCH v2 7/7] dts: beagleboneai64: " Jonathan Humphreys

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240419212819.170033-4-j-humphreys@ti.com \
    --to=j-humphreys@ti.com \
    --cc=afd@ti.com \
    --cc=bb@ti.com \
    --cc=christian.gmeiner@gmail.com \
    --cc=devarsht@ti.com \
    --cc=ilias.apalodimas@linaro.org \
    --cc=jm@ti.com \
    --cc=kamlesh@ti.com \
    --cc=kojima.masahisa@socionext.com \
    --cc=m-chawdhry@ti.com \
    --cc=marcel.ziswiler@toradex.com \
    --cc=mkorpershoek@baylibre.com \
    --cc=mripard@kernel.org \
    --cc=n-francis@ti.com \
    --cc=n-jain1@ti.com \
    --cc=nm@ti.com \
    --cc=robertcnelson@gmail.com \
    --cc=rogerq@kernel.org \
    --cc=s-vadapalli@ti.com \
    --cc=sjg@chromium.org \
    --cc=sughosh.ganu@linaro.org \
    --cc=trini@konsulko.com \
    --cc=u-boot@lists.denx.de \
    --cc=vigneshr@ti.com \
    --cc=xypron.glpk@gmx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).