From: Jon Humphreys <j-humphreys@ti.com>
To: Heinrich Schuchardt <xypron.glpk@gmx.de>
Cc: <u-boot@lists.denx.de>,
Mattijs Korpershoek <mkorpershoek@baylibre.com>,
Kamlesh Gurudasani <kamlesh@ti.com>,
Manorit Chawdhry <m-chawdhry@ti.com>, 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>,
"Ilias Apalodimas" <ilias.apalodimas@linaro.org>
Subject: Re: [PATCH v2 01/16] board: Define GUIDs for firmware images
Date: Tue, 9 Apr 2024 16:05:43 -0500 [thread overview]
Message-ID: <86zfu2z1p4.fsf@udb0321960.dhcp.ti.com> (raw)
In-Reply-To: <cac63a03-b019-4aed-83de-db2effa1a2f1@gmx.de>
Heinrich Schuchardt <xypron.glpk@gmx.de> writes:
> On 4/9/24 00:31, Jonathan Humphreys wrote:
>> Define GUIDs for the different firmware images (tiboot3.bin, tispl.bin,
>> u-boot.img, sysfw). >
>> Signed-off-by: Jonathan Humphreys <j-humphreys@ti.com>
>> ---
>> include/configs/ti_armv7_common.h | 17 +++++++++++++++++
>> 1 file changed, 17 insertions(+)
>>
>> diff --git a/include/configs/ti_armv7_common.h b/include/configs/ti_armv7_common.h
>> index 3def7b1027e..4ce14a9b84c 100644
>> --- a/include/configs/ti_armv7_common.h
>> +++ b/include/configs/ti_armv7_common.h
>> @@ -16,6 +16,23 @@
>> #ifndef __CONFIG_TI_ARMV7_COMMON_H__
>> #define __CONFIG_TI_ARMV7_COMMON_H__
>>
>> +/* GUIDs for capsule updatable firmware images */
>
> Please, provide code comments for the GUIDs, e.g.
>
> /**
> * define K3_TIBOOT3_IMAGE_GUID - firmware GUID for K3 tiboot3.bin
> *
> * This GUID is used in capsules updates to identify the tiboot3.bin
> * binary.
> */
>
> Cf.
> https://docs.kernel.org/doc-guide/kernel-doc.html#object-like-macro-documentation
>
> Best regards
>
> Heinrich
>
Heinrich, thanks for reviewing!
I modelled the GUID macros after how other boards and even core code
defined there's. (eg, include/configs/kontron-sl-mx8mm.h or
include/efi_api.h).
However, if this is the new direction, I will format as you suggest.
Please confirm.
thanks
Jon
>> +#define K3_TIBOOT3_IMAGE_GUID \
>> + EFI_GUID(0xe672b518, 0x7cd7, 0x4014, 0xbd, 0x8d, \
>> + 0x40, 0x72, 0x4d, 0x0a, 0xd4, 0xdc)
>> +
>> +#define K3_SPL_IMAGE_GUID \
>> + EFI_GUID(0x86f710ad, 0x10cf, 0x46ea, 0xac, 0x67, \
>> + 0x85, 0x6a, 0xe0, 0x6e, 0xfa, 0xd2)
>> +
>> +#define K3_UBOOT_IMAGE_GUID \
>> + EFI_GUID(0x81b58fb0, 0x3b00, 0x4add, 0xa2, 0x0a, \
>> + 0xc1, 0x85, 0xbb, 0xac, 0xa1, 0xed)
>> +
>> +#define K3_SYSFW_IMAGE_GUID \
>> + EFI_GUID(0x6fd10680, 0x361b, 0x431f, 0x80, 0xaa, \
>> + 0x89, 0x94, 0x55, 0x81, 0x9e, 0x11)
>> +
>> /*
>> * We setup defaults based on constraints from the Linux kernel, which should
>> * also be safe elsewhere. We have the default load at 32MB into DDR (for
next prev parent reply other threads:[~2024-04-09 21:13 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-04-08 22:31 [PATCH v2 00/16] EFI: ti: Enable EFI capsule updates Jonathan Humphreys
2024-04-08 22:31 ` [PATCH v2 01/16] board: Define GUIDs for firmware images Jonathan Humphreys
2024-04-09 3:55 ` Heinrich Schuchardt
2024-04-09 21:05 ` Jon Humphreys [this message]
2024-04-10 8:30 ` Heinrich Schuchardt
2024-04-10 9:29 ` Ilias Apalodimas
2024-04-12 21:58 ` Jon Humphreys
2024-04-17 10:10 ` Caleb Connolly
2024-04-08 22:31 ` [PATCH v2 02/16] board: am64x: Define capsule update firmware info Jonathan Humphreys
2024-04-09 4:31 ` Heinrich Schuchardt
2024-04-09 21:11 ` Jon Humphreys
2024-04-10 0:44 ` Tom Rini
2024-04-12 10:42 ` Ilias Apalodimas
2024-04-08 22:31 ` [PATCH v2 03/16] configs: am64x: Enable EFI capsule update Jonathan Humphreys
2024-04-08 22:31 ` [PATCH v2 04/16] board: j721e: Define capsule update firmware info Jonathan Humphreys
2024-04-08 22:31 ` [PATCH v2 05/16] configs: j721e: Enable EFI capsule update Jonathan Humphreys
2024-04-08 22:31 ` [PATCH v2 06/16] board: beagleplay: Define capsule update firmware info Jonathan Humphreys
2024-04-08 22:31 ` [PATCH v2 07/16] configs: beagleplay: Enable DFU for MMC Jonathan Humphreys
2024-04-08 22:31 ` [PATCH v2 08/16] configs: beagleplay: Enable EFI capsule update Jonathan Humphreys
2024-04-08 22:31 ` [PATCH v2 09/16] board: am62px: Define capsule update firmware info Jonathan Humphreys
2024-04-08 22:31 ` [PATCH v2 10/16] configs: am62px: Enable EFI capsule update Jonathan Humphreys
2024-04-08 22:31 ` [PATCH v2 11/16] configs: am62x: Enable serial flash DFU Jonathan Humphreys
2024-04-08 22:31 ` [PATCH v2 12/16] arm: dts: k3-am625-sk-u-boot: Add sysreset-controller node Jonathan Humphreys
2024-04-11 7:54 ` Mattijs Korpershoek
2024-04-11 20:30 ` Jon Humphreys
2024-04-16 9:59 ` Mattijs Korpershoek
2024-04-08 22:31 ` [PATCH v2 13/16] board: am62x: Define capsule update firmware info Jonathan Humphreys
2024-04-08 22:31 ` [PATCH v2 14/16] configs: am62x: Enable EFI capsule update Jonathan Humphreys
2024-04-08 22:31 ` [PATCH v2 15/16] board: beagleboneai64: Define capsule update firmware info Jonathan Humphreys
2024-04-08 22:31 ` [PATCH v2 16/16] configs: beagleboneai64: Enable EFI capsule update 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=86zfu2z1p4.fsf@udb0321960.dhcp.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=m-chawdhry@ti.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=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