* [PATCH v2 00/16] EFI: ti: Enable EFI capsule updates
@ 2024-04-08 22:31 Jonathan Humphreys
2024-04-08 22:31 ` [PATCH v2 01/16] board: Define GUIDs for firmware images Jonathan Humphreys
` (15 more replies)
0 siblings, 16 replies; 30+ messages in thread
From: Jonathan Humphreys @ 2024-04-08 22:31 UTC (permalink / raw)
To: Mattijs Korpershoek, Kamlesh Gurudasani, Manorit Chawdhry,
Heinrich Schuchardt, Judith Mendez, Christian Gmeiner,
Devarsh Thakkar, Simon Glass, Nikhil M Jain, Neha Malcom Francis,
Andrew Davis, Maxime Ripard, Siddharth Vadapalli, Roger Quadros,
Bryan Brattlof, Vignesh Raghavendra, Robert Nelson,
Nishanth Menon, Tom Rini
Cc: u-boot, Jonathan Humphreys
Enable on disk capsule updates, which includes defining the firmware components
(tiboot3, spl, u-boot) and enabling processing of raw capsule updates.
This is enabled for several TI SoC based platforms: AM64, AM62, AM62p,
BeaglePlay, J7, and BeagleboneAI.
This series also includes enabling seral flash DFU for AM62 and MMC DFU for
beagleplay, and adding the sysreset controller node for AM62 to enable system
reset.
Changes from v1:
- Added sysfw.itb capsule definition to beagleboneai64
- removed extra commas in structure definitions
Jonathan Humphreys (16):
board: Define GUIDs for firmware images
board: am64x: Define capsule update firmware info
configs: am64x: Enable EFI capsule update
board: j721e: Define capsule update firmware info
configs: j721e: Enable EFI capsule update
board: beagleplay: Define capsule update firmware info
configs: beagleplay: Enable DFU for MMC
configs: beagleplay: Enable EFI capsule update
board: am62px: Define capsule update firmware info
configs: am62px: Enable EFI capsule update
configs: am62x: Enable serial flash DFU
arm: dts: k3-am625-sk-u-boot: Add sysreset-controller node
board: am62x: Define capsule update firmware info
configs: am62x: Enable EFI capsule update
board: beagleboneai64: Define capsule update firmware info
configs: beagleboneai64: Enable EFI capsule update
arch/arm/dts/k3-am625-sk-u-boot.dtsi | 9 +++++
board/beagle/beagleboneai64/beagleboneai64.c | 38 ++++++++++++++++++++
board/beagle/beagleplay/beagleplay.c | 33 +++++++++++++++++
board/ti/am62px/evm.c | 32 +++++++++++++++++
board/ti/am62x/evm.c | 32 +++++++++++++++++
board/ti/am64x/evm.c | 33 +++++++++++++++++
board/ti/j721e/evm.c | 38 ++++++++++++++++++++
configs/am62px_evm_a53_defconfig | 2 ++
configs/am62x_beagleplay_a53_defconfig | 5 +++
configs/am62x_evm_a53_defconfig | 3 ++
configs/am64x_evm_a53_defconfig | 2 ++
configs/j721e_beagleboneai64_a72_defconfig | 2 ++
configs/j721e_evm_a72_defconfig | 2 ++
include/configs/ti_armv7_common.h | 17 +++++++++
14 files changed, 248 insertions(+)
--
2.34.1
^ permalink raw reply [flat|nested] 30+ messages in thread
* [PATCH v2 01/16] board: Define GUIDs for firmware images
2024-04-08 22:31 [PATCH v2 00/16] EFI: ti: Enable EFI capsule updates Jonathan Humphreys
@ 2024-04-08 22:31 ` Jonathan Humphreys
2024-04-09 3:55 ` Heinrich Schuchardt
2024-04-08 22:31 ` [PATCH v2 02/16] board: am64x: Define capsule update firmware info Jonathan Humphreys
` (14 subsequent siblings)
15 siblings, 1 reply; 30+ messages in thread
From: Jonathan Humphreys @ 2024-04-08 22:31 UTC (permalink / raw)
To: Mattijs Korpershoek, Kamlesh Gurudasani, Manorit Chawdhry,
Heinrich Schuchardt, Judith Mendez, Christian Gmeiner,
Devarsh Thakkar, Simon Glass, Nikhil M Jain, Neha Malcom Francis,
Andrew Davis, Maxime Ripard, Siddharth Vadapalli, Roger Quadros,
Bryan Brattlof, Vignesh Raghavendra, Robert Nelson,
Nishanth Menon, Tom Rini
Cc: u-boot, Jonathan Humphreys
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 */
+#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
--
2.34.1
^ permalink raw reply related [flat|nested] 30+ messages in thread
* [PATCH v2 02/16] board: am64x: Define capsule update firmware info
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-08 22:31 ` Jonathan Humphreys
2024-04-09 4:31 ` Heinrich Schuchardt
2024-04-08 22:31 ` [PATCH v2 03/16] configs: am64x: Enable EFI capsule update Jonathan Humphreys
` (13 subsequent siblings)
15 siblings, 1 reply; 30+ messages in thread
From: Jonathan Humphreys @ 2024-04-08 22:31 UTC (permalink / raw)
To: Mattijs Korpershoek, Kamlesh Gurudasani, Manorit Chawdhry,
Heinrich Schuchardt, Judith Mendez, Christian Gmeiner,
Devarsh Thakkar, Simon Glass, Nikhil M Jain, Neha Malcom Francis,
Andrew Davis, Maxime Ripard, Siddharth Vadapalli, Roger Quadros,
Bryan Brattlof, Vignesh Raghavendra, Robert Nelson,
Nishanth Menon, Tom Rini
Cc: u-boot, Jonathan Humphreys
Define the firmwares updatable via EFI capsule update.
Signed-off-by: Jonathan Humphreys <j-humphreys@ti.com>
---
board/ti/am64x/evm.c | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
diff --git a/board/ti/am64x/evm.c b/board/ti/am64x/evm.c
index b8de69da06c..876c5c25d42 100644
--- a/board/ti/am64x/evm.c
+++ b/board/ti/am64x/evm.c
@@ -7,6 +7,7 @@
*
*/
+#include <efi_loader.h>
#include <asm/io.h>
#include <dm/uclass.h>
#include <k3-ddrss.h>
@@ -27,6 +28,38 @@
DECLARE_GLOBAL_DATA_PTR;
+#if IS_ENABLED(CONFIG_EFI_HAVE_CAPSULE_SUPPORT)
+struct efi_fw_image fw_images[] = {
+ {
+ .image_type_id = K3_TIBOOT3_IMAGE_GUID,
+ .fw_name = u"K3_TIBOOT3",
+ .image_index = 1,
+ },
+ {
+ .image_type_id = K3_SPL_IMAGE_GUID,
+ .fw_name = u"K3_SPL",
+ .image_index = 2,
+ },
+ {
+ .image_type_id = K3_UBOOT_IMAGE_GUID,
+ .fw_name = u"K3_UBOOT",
+ .image_index = 3,
+ }
+};
+
+struct efi_capsule_update_info update_info = {
+ .dfu_string = "sf 0:0=tiboot3.bin raw 0 100000;tispl.bin raw 100000 200000;u-boot.img raw 300000 400000",
+ .num_images = ARRAY_SIZE(fw_images),
+ .images = fw_images,
+};
+
+void set_dfu_alt_info(char *interface, char *devstr)
+{
+ env_set("dfu_alt_info", update_info.dfu_string);
+}
+
+#endif /* EFI_HAVE_CAPSULE_SUPPORT */
+
int board_init(void)
{
return 0;
--
2.34.1
^ permalink raw reply related [flat|nested] 30+ messages in thread
* [PATCH v2 03/16] configs: am64x: Enable EFI capsule update
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-08 22:31 ` [PATCH v2 02/16] board: am64x: Define capsule update firmware info Jonathan Humphreys
@ 2024-04-08 22:31 ` Jonathan Humphreys
2024-04-08 22:31 ` [PATCH v2 04/16] board: j721e: Define capsule update firmware info Jonathan Humphreys
` (12 subsequent siblings)
15 siblings, 0 replies; 30+ messages in thread
From: Jonathan Humphreys @ 2024-04-08 22:31 UTC (permalink / raw)
To: Mattijs Korpershoek, Kamlesh Gurudasani, Manorit Chawdhry,
Heinrich Schuchardt, Judith Mendez, Christian Gmeiner,
Devarsh Thakkar, Simon Glass, Nikhil M Jain, Neha Malcom Francis,
Andrew Davis, Maxime Ripard, Siddharth Vadapalli, Roger Quadros,
Bryan Brattlof, Vignesh Raghavendra, Robert Nelson,
Nishanth Menon, Tom Rini
Cc: u-boot, Jonathan Humphreys
Signed-off-by: Jonathan Humphreys <j-humphreys@ti.com>
---
configs/am64x_evm_a53_defconfig | 2 ++
1 file changed, 2 insertions(+)
diff --git a/configs/am64x_evm_a53_defconfig b/configs/am64x_evm_a53_defconfig
index 61b498b49a6..8ba17ea89f9 100644
--- a/configs/am64x_evm_a53_defconfig
+++ b/configs/am64x_evm_a53_defconfig
@@ -177,3 +177,5 @@ CONFIG_USB_FUNCTION_MASS_STORAGE=y
CONFIG_SPL_DFU=y
CONFIG_FS_FAT_MAX_CLUSTSIZE=16384
CONFIG_EFI_SET_TIME=y
+CONFIG_EFI_CAPSULE_ON_DISK=y
+CONFIG_EFI_CAPSULE_FIRMWARE_RAW=y
--
2.34.1
^ permalink raw reply related [flat|nested] 30+ messages in thread
* [PATCH v2 04/16] board: j721e: Define capsule update firmware info
2024-04-08 22:31 [PATCH v2 00/16] EFI: ti: Enable EFI capsule updates Jonathan Humphreys
` (2 preceding siblings ...)
2024-04-08 22:31 ` [PATCH v2 03/16] configs: am64x: Enable EFI capsule update Jonathan Humphreys
@ 2024-04-08 22:31 ` Jonathan Humphreys
2024-04-08 22:31 ` [PATCH v2 05/16] configs: j721e: Enable EFI capsule update Jonathan Humphreys
` (11 subsequent siblings)
15 siblings, 0 replies; 30+ messages in thread
From: Jonathan Humphreys @ 2024-04-08 22:31 UTC (permalink / raw)
To: Mattijs Korpershoek, Kamlesh Gurudasani, Manorit Chawdhry,
Heinrich Schuchardt, Judith Mendez, Christian Gmeiner,
Devarsh Thakkar, Simon Glass, Nikhil M Jain, Neha Malcom Francis,
Andrew Davis, Maxime Ripard, Siddharth Vadapalli, Roger Quadros,
Bryan Brattlof, Vignesh Raghavendra, Robert Nelson,
Nishanth Menon, Tom Rini
Cc: u-boot, Jonathan Humphreys
Signed-off-by: Jonathan Humphreys <j-humphreys@ti.com>
---
board/ti/j721e/evm.c | 38 ++++++++++++++++++++++++++++++++++++++
1 file changed, 38 insertions(+)
diff --git a/board/ti/j721e/evm.c b/board/ti/j721e/evm.c
index 9dc3ed6dfff..d345148be32 100644
--- a/board/ti/j721e/evm.c
+++ b/board/ti/j721e/evm.c
@@ -7,6 +7,7 @@
*
*/
+#include <efi_loader.h>
#include <generic-phy.h>
#include <image.h>
#include <net.h>
@@ -32,6 +33,43 @@
DECLARE_GLOBAL_DATA_PTR;
+#if IS_ENABLED(CONFIG_EFI_HAVE_CAPSULE_SUPPORT)
+struct efi_fw_image fw_images[] = {
+ {
+ .image_type_id = K3_TIBOOT3_IMAGE_GUID,
+ .fw_name = u"K3_TIBOOT3",
+ .image_index = 1,
+ },
+ {
+ .image_type_id = K3_SPL_IMAGE_GUID,
+ .fw_name = u"K3_SPL",
+ .image_index = 2,
+ },
+ {
+ .image_type_id = K3_UBOOT_IMAGE_GUID,
+ .fw_name = u"K3_UBOOT",
+ .image_index = 3,
+ },
+ {
+ .image_type_id = K3_SYSFW_IMAGE_GUID,
+ .fw_name = u"K3_SYSFW",
+ .image_index = 4,
+ }
+};
+
+struct efi_capsule_update_info update_info = {
+ .dfu_string = "sf 0:0=tiboot3.bin raw 0 80000;tispl.bin raw 80000 200000;u-boot.img raw 280000 400000;sysfw.itb raw 6C0000 100000",
+ .num_images = ARRAY_SIZE(fw_images),
+ .images = fw_images,
+};
+
+void set_dfu_alt_info(char *interface, char *devstr)
+{
+ env_set("dfu_alt_info", update_info.dfu_string);
+}
+
+#endif /* EFI_HAVE_CAPSULE_SUPPORT */
+
int board_init(void)
{
return 0;
--
2.34.1
^ permalink raw reply related [flat|nested] 30+ messages in thread
* [PATCH v2 05/16] configs: j721e: Enable EFI capsule update
2024-04-08 22:31 [PATCH v2 00/16] EFI: ti: Enable EFI capsule updates Jonathan Humphreys
` (3 preceding siblings ...)
2024-04-08 22:31 ` [PATCH v2 04/16] board: j721e: Define capsule update firmware info Jonathan Humphreys
@ 2024-04-08 22:31 ` Jonathan Humphreys
2024-04-08 22:31 ` [PATCH v2 06/16] board: beagleplay: Define capsule update firmware info Jonathan Humphreys
` (10 subsequent siblings)
15 siblings, 0 replies; 30+ messages in thread
From: Jonathan Humphreys @ 2024-04-08 22:31 UTC (permalink / raw)
To: Mattijs Korpershoek, Kamlesh Gurudasani, Manorit Chawdhry,
Heinrich Schuchardt, Judith Mendez, Christian Gmeiner,
Devarsh Thakkar, Simon Glass, Nikhil M Jain, Neha Malcom Francis,
Andrew Davis, Maxime Ripard, Siddharth Vadapalli, Roger Quadros,
Bryan Brattlof, Vignesh Raghavendra, Robert Nelson,
Nishanth Menon, Tom Rini
Cc: u-boot, Jonathan Humphreys
Signed-off-by: Jonathan Humphreys <j-humphreys@ti.com>
---
configs/j721e_evm_a72_defconfig | 2 ++
1 file changed, 2 insertions(+)
diff --git a/configs/j721e_evm_a72_defconfig b/configs/j721e_evm_a72_defconfig
index 077bf508328..b8840a556e1 100644
--- a/configs/j721e_evm_a72_defconfig
+++ b/configs/j721e_evm_a72_defconfig
@@ -210,3 +210,5 @@ CONFIG_UFS=y
CONFIG_CADENCE_UFS=y
CONFIG_TI_J721E_UFS=y
CONFIG_EFI_SET_TIME=y
+CONFIG_EFI_CAPSULE_ON_DISK=y
+CONFIG_EFI_CAPSULE_FIRMWARE_RAW=y
--
2.34.1
^ permalink raw reply related [flat|nested] 30+ messages in thread
* [PATCH v2 06/16] board: beagleplay: Define capsule update firmware info
2024-04-08 22:31 [PATCH v2 00/16] EFI: ti: Enable EFI capsule updates Jonathan Humphreys
` (4 preceding siblings ...)
2024-04-08 22:31 ` [PATCH v2 05/16] configs: j721e: Enable EFI capsule update Jonathan Humphreys
@ 2024-04-08 22:31 ` Jonathan Humphreys
2024-04-08 22:31 ` [PATCH v2 07/16] configs: beagleplay: Enable DFU for MMC Jonathan Humphreys
` (9 subsequent siblings)
15 siblings, 0 replies; 30+ messages in thread
From: Jonathan Humphreys @ 2024-04-08 22:31 UTC (permalink / raw)
To: Mattijs Korpershoek, Kamlesh Gurudasani, Manorit Chawdhry,
Heinrich Schuchardt, Judith Mendez, Christian Gmeiner,
Devarsh Thakkar, Simon Glass, Nikhil M Jain, Neha Malcom Francis,
Andrew Davis, Maxime Ripard, Siddharth Vadapalli, Roger Quadros,
Bryan Brattlof, Vignesh Raghavendra, Robert Nelson,
Nishanth Menon, Tom Rini
Cc: u-boot, Jonathan Humphreys
Signed-off-by: Jonathan Humphreys <j-humphreys@ti.com>
---
board/beagle/beagleplay/beagleplay.c | 33 ++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
diff --git a/board/beagle/beagleplay/beagleplay.c b/board/beagle/beagleplay/beagleplay.c
index af36439e2e2..519c63d9608 100644
--- a/board/beagle/beagleplay/beagleplay.c
+++ b/board/beagle/beagleplay/beagleplay.c
@@ -6,6 +6,7 @@
* Copyright (C) 2022-2023 Robert Nelson, BeagleBoard.org Foundation
*/
+#include <efi_loader.h>
#include <cpu_func.h>
#include <env.h>
#include <fdt_support.h>
@@ -15,6 +16,38 @@
DECLARE_GLOBAL_DATA_PTR;
+#if IS_ENABLED(CONFIG_EFI_HAVE_CAPSULE_SUPPORT)
+struct efi_fw_image fw_images[] = {
+ {
+ .image_type_id = K3_TIBOOT3_IMAGE_GUID,
+ .fw_name = u"K3_TIBOOT3",
+ .image_index = 1,
+ },
+ {
+ .image_type_id = K3_SPL_IMAGE_GUID,
+ .fw_name = u"K3_SPL",
+ .image_index = 2,
+ },
+ {
+ .image_type_id = K3_UBOOT_IMAGE_GUID,
+ .fw_name = u"K3_UBOOT",
+ .image_index = 3,
+ }
+};
+
+struct efi_capsule_update_info update_info = {
+ .dfu_string = "mmc 0=tiboot3.bin raw 0 2000 mmcpart 1;tispl.bin fat 0 1;u-boot.img fat 0 1",
+ .num_images = ARRAY_SIZE(fw_images),
+ .images = fw_images,
+};
+
+void set_dfu_alt_info(char *interface, char *devstr)
+{
+ env_set("dfu_alt_info", update_info.dfu_string);
+}
+
+#endif /* EFI_HAVE_CAPSULE_SUPPORT */
+
int board_init(void)
{
return 0;
--
2.34.1
^ permalink raw reply related [flat|nested] 30+ messages in thread
* [PATCH v2 07/16] configs: beagleplay: Enable DFU for MMC
2024-04-08 22:31 [PATCH v2 00/16] EFI: ti: Enable EFI capsule updates Jonathan Humphreys
` (5 preceding siblings ...)
2024-04-08 22:31 ` [PATCH v2 06/16] board: beagleplay: Define capsule update firmware info Jonathan Humphreys
@ 2024-04-08 22:31 ` Jonathan Humphreys
2024-04-08 22:31 ` [PATCH v2 08/16] configs: beagleplay: Enable EFI capsule update Jonathan Humphreys
` (8 subsequent siblings)
15 siblings, 0 replies; 30+ messages in thread
From: Jonathan Humphreys @ 2024-04-08 22:31 UTC (permalink / raw)
To: Mattijs Korpershoek, Kamlesh Gurudasani, Manorit Chawdhry,
Heinrich Schuchardt, Judith Mendez, Christian Gmeiner,
Devarsh Thakkar, Simon Glass, Nikhil M Jain, Neha Malcom Francis,
Andrew Davis, Maxime Ripard, Siddharth Vadapalli, Roger Quadros,
Bryan Brattlof, Vignesh Raghavendra, Robert Nelson,
Nishanth Menon, Tom Rini
Cc: u-boot, Jonathan Humphreys
Signed-off-by: Jonathan Humphreys <j-humphreys@ti.com>
---
configs/am62x_beagleplay_a53_defconfig | 3 +++
1 file changed, 3 insertions(+)
diff --git a/configs/am62x_beagleplay_a53_defconfig b/configs/am62x_beagleplay_a53_defconfig
index 147967d3c11..68e103f58dc 100644
--- a/configs/am62x_beagleplay_a53_defconfig
+++ b/configs/am62x_beagleplay_a53_defconfig
@@ -70,6 +70,9 @@ CONFIG_SPL_OF_TRANSLATE=y
CONFIG_CLK=y
CONFIG_SPL_CLK=y
CONFIG_CLK_TI_SCI=y
+CONFIG_DFU_MMC=y
+CONFIG_SYS_DFU_DATA_BUF_SIZE=0x40000
+CONFIG_SYS_DFU_MAX_FILE_SIZE=0x180000
CONFIG_DMA_CHANNELS=y
CONFIG_TI_K3_NAVSS_UDMA=y
CONFIG_TI_SCI_PROTOCOL=y
--
2.34.1
^ permalink raw reply related [flat|nested] 30+ messages in thread
* [PATCH v2 08/16] configs: beagleplay: Enable EFI capsule update
2024-04-08 22:31 [PATCH v2 00/16] EFI: ti: Enable EFI capsule updates Jonathan Humphreys
` (6 preceding siblings ...)
2024-04-08 22:31 ` [PATCH v2 07/16] configs: beagleplay: Enable DFU for MMC Jonathan Humphreys
@ 2024-04-08 22:31 ` Jonathan Humphreys
2024-04-08 22:31 ` [PATCH v2 09/16] board: am62px: Define capsule update firmware info Jonathan Humphreys
` (7 subsequent siblings)
15 siblings, 0 replies; 30+ messages in thread
From: Jonathan Humphreys @ 2024-04-08 22:31 UTC (permalink / raw)
To: Mattijs Korpershoek, Kamlesh Gurudasani, Manorit Chawdhry,
Heinrich Schuchardt, Judith Mendez, Christian Gmeiner,
Devarsh Thakkar, Simon Glass, Nikhil M Jain, Neha Malcom Francis,
Andrew Davis, Maxime Ripard, Siddharth Vadapalli, Roger Quadros,
Bryan Brattlof, Vignesh Raghavendra, Robert Nelson,
Nishanth Menon, Tom Rini
Cc: u-boot, Jonathan Humphreys
Signed-off-by: Jonathan Humphreys <j-humphreys@ti.com>
---
configs/am62x_beagleplay_a53_defconfig | 2 ++
1 file changed, 2 insertions(+)
diff --git a/configs/am62x_beagleplay_a53_defconfig b/configs/am62x_beagleplay_a53_defconfig
index 68e103f58dc..23b9c466248 100644
--- a/configs/am62x_beagleplay_a53_defconfig
+++ b/configs/am62x_beagleplay_a53_defconfig
@@ -124,3 +124,5 @@ CONFIG_EXT4_WRITE=y
CONFIG_FS_FAT_MAX_CLUSTSIZE=16384
CONFIG_LZO=y
CONFIG_EFI_SET_TIME=y
+CONFIG_EFI_CAPSULE_ON_DISK=y
+CONFIG_EFI_CAPSULE_FIRMWARE_RAW=y
--
2.34.1
^ permalink raw reply related [flat|nested] 30+ messages in thread
* [PATCH v2 09/16] board: am62px: Define capsule update firmware info
2024-04-08 22:31 [PATCH v2 00/16] EFI: ti: Enable EFI capsule updates Jonathan Humphreys
` (7 preceding siblings ...)
2024-04-08 22:31 ` [PATCH v2 08/16] configs: beagleplay: Enable EFI capsule update Jonathan Humphreys
@ 2024-04-08 22:31 ` Jonathan Humphreys
2024-04-08 22:31 ` [PATCH v2 10/16] configs: am62px: Enable EFI capsule update Jonathan Humphreys
` (6 subsequent siblings)
15 siblings, 0 replies; 30+ messages in thread
From: Jonathan Humphreys @ 2024-04-08 22:31 UTC (permalink / raw)
To: Mattijs Korpershoek, Kamlesh Gurudasani, Manorit Chawdhry,
Heinrich Schuchardt, Judith Mendez, Christian Gmeiner,
Devarsh Thakkar, Simon Glass, Nikhil M Jain, Neha Malcom Francis,
Andrew Davis, Maxime Ripard, Siddharth Vadapalli, Roger Quadros,
Bryan Brattlof, Vignesh Raghavendra, Robert Nelson,
Nishanth Menon, Tom Rini
Cc: u-boot, Jonathan Humphreys
Define the firmwares updatable via EFI capsule update.
Signed-off-by: Jonathan Humphreys <j-humphreys@ti.com>
---
board/ti/am62px/evm.c | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
diff --git a/board/ti/am62px/evm.c b/board/ti/am62px/evm.c
index 97a95ce8cc2..149ff8eedc7 100644
--- a/board/ti/am62px/evm.c
+++ b/board/ti/am62px/evm.c
@@ -6,6 +6,7 @@
*
*/
+#include <efi_loader.h>
#include <asm/arch/hardware.h>
#include <asm/io.h>
#include <dm/uclass.h>
@@ -13,6 +14,37 @@
#include <fdt_support.h>
#include <spl.h>
+#if IS_ENABLED(CONFIG_EFI_HAVE_CAPSULE_SUPPORT)
+struct efi_fw_image fw_images[] = {
+ {
+ .image_type_id = K3_TIBOOT3_IMAGE_GUID,
+ .fw_name = u"K3_TIBOOT3",
+ .image_index = 1,
+ },
+ {
+ .image_type_id = K3_SPL_IMAGE_GUID,
+ .fw_name = u"K3_SPL",
+ .image_index = 2,
+ },
+ {
+ .image_type_id = K3_UBOOT_IMAGE_GUID,
+ .fw_name = u"K3_UBOOT",
+ .image_index = 3,
+ }
+};
+
+struct efi_capsule_update_info update_info = {
+ .dfu_string = "sf 0:0=tiboot3.bin raw 0 80000;tispl.bin raw 80000 200000;u-boot.img raw 280000 400000",
+ .num_images = ARRAY_SIZE(fw_images),
+ .images = fw_images,
+};
+
+void set_dfu_alt_info(char *interface, char *devstr)
+{
+ env_set("dfu_alt_info", update_info.dfu_string);
+}
+#endif /* EFI_HAVE_CAPSULE_SUPPORT */
+
int board_init(void)
{
return 0;
--
2.34.1
^ permalink raw reply related [flat|nested] 30+ messages in thread
* [PATCH v2 10/16] configs: am62px: Enable EFI capsule update
2024-04-08 22:31 [PATCH v2 00/16] EFI: ti: Enable EFI capsule updates Jonathan Humphreys
` (8 preceding siblings ...)
2024-04-08 22:31 ` [PATCH v2 09/16] board: am62px: Define capsule update firmware info Jonathan Humphreys
@ 2024-04-08 22:31 ` Jonathan Humphreys
2024-04-08 22:31 ` [PATCH v2 11/16] configs: am62x: Enable serial flash DFU Jonathan Humphreys
` (5 subsequent siblings)
15 siblings, 0 replies; 30+ messages in thread
From: Jonathan Humphreys @ 2024-04-08 22:31 UTC (permalink / raw)
To: Mattijs Korpershoek, Kamlesh Gurudasani, Manorit Chawdhry,
Heinrich Schuchardt, Judith Mendez, Christian Gmeiner,
Devarsh Thakkar, Simon Glass, Nikhil M Jain, Neha Malcom Francis,
Andrew Davis, Maxime Ripard, Siddharth Vadapalli, Roger Quadros,
Bryan Brattlof, Vignesh Raghavendra, Robert Nelson,
Nishanth Menon, Tom Rini
Cc: u-boot, Jonathan Humphreys
Signed-off-by: Jonathan Humphreys <j-humphreys@ti.com>
---
configs/am62px_evm_a53_defconfig | 2 ++
1 file changed, 2 insertions(+)
diff --git a/configs/am62px_evm_a53_defconfig b/configs/am62px_evm_a53_defconfig
index 65dfda19f18..15ba1079760 100644
--- a/configs/am62px_evm_a53_defconfig
+++ b/configs/am62px_evm_a53_defconfig
@@ -176,3 +176,5 @@ CONFIG_USB_GADGET_PRODUCT_NUM=0x6165
CONFIG_SPL_DFU=y
CONFIG_FS_FAT_MAX_CLUSTSIZE=16384
CONFIG_EFI_SET_TIME=y
+CONFIG_EFI_CAPSULE_ON_DISK=y
+CONFIG_EFI_CAPSULE_FIRMWARE_RAW=y
--
2.34.1
^ permalink raw reply related [flat|nested] 30+ messages in thread
* [PATCH v2 11/16] configs: am62x: Enable serial flash DFU
2024-04-08 22:31 [PATCH v2 00/16] EFI: ti: Enable EFI capsule updates Jonathan Humphreys
` (9 preceding siblings ...)
2024-04-08 22:31 ` [PATCH v2 10/16] configs: am62px: Enable EFI capsule update Jonathan Humphreys
@ 2024-04-08 22:31 ` Jonathan Humphreys
2024-04-08 22:31 ` [PATCH v2 12/16] arm: dts: k3-am625-sk-u-boot: Add sysreset-controller node Jonathan Humphreys
` (4 subsequent siblings)
15 siblings, 0 replies; 30+ messages in thread
From: Jonathan Humphreys @ 2024-04-08 22:31 UTC (permalink / raw)
To: Mattijs Korpershoek, Kamlesh Gurudasani, Manorit Chawdhry,
Heinrich Schuchardt, Judith Mendez, Christian Gmeiner,
Devarsh Thakkar, Simon Glass, Nikhil M Jain, Neha Malcom Francis,
Andrew Davis, Maxime Ripard, Siddharth Vadapalli, Roger Quadros,
Bryan Brattlof, Vignesh Raghavendra, Robert Nelson,
Nishanth Menon, Tom Rini
Cc: u-boot, Jonathan Humphreys
Signed-off-by: Jonathan Humphreys <j-humphreys@ti.com>
---
configs/am62x_evm_a53_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/configs/am62x_evm_a53_defconfig b/configs/am62x_evm_a53_defconfig
index d650b8575b6..0e6c94de538 100644
--- a/configs/am62x_evm_a53_defconfig
+++ b/configs/am62x_evm_a53_defconfig
@@ -67,6 +67,7 @@ CONFIG_SPL_OF_TRANSLATE=y
CONFIG_CLK=y
CONFIG_SPL_CLK=y
CONFIG_CLK_TI_SCI=y
+CONFIG_DFU_SF=y
CONFIG_DMA_CHANNELS=y
CONFIG_TI_K3_NAVSS_UDMA=y
CONFIG_TI_SCI_PROTOCOL=y
--
2.34.1
^ permalink raw reply related [flat|nested] 30+ messages in thread
* [PATCH v2 12/16] arm: dts: k3-am625-sk-u-boot: Add sysreset-controller node
2024-04-08 22:31 [PATCH v2 00/16] EFI: ti: Enable EFI capsule updates Jonathan Humphreys
` (10 preceding siblings ...)
2024-04-08 22:31 ` [PATCH v2 11/16] configs: am62x: Enable serial flash DFU Jonathan Humphreys
@ 2024-04-08 22:31 ` Jonathan Humphreys
2024-04-11 7:54 ` Mattijs Korpershoek
2024-04-08 22:31 ` [PATCH v2 13/16] board: am62x: Define capsule update firmware info Jonathan Humphreys
` (3 subsequent siblings)
15 siblings, 1 reply; 30+ messages in thread
From: Jonathan Humphreys @ 2024-04-08 22:31 UTC (permalink / raw)
To: Mattijs Korpershoek, Kamlesh Gurudasani, Manorit Chawdhry,
Heinrich Schuchardt, Judith Mendez, Christian Gmeiner,
Devarsh Thakkar, Simon Glass, Nikhil M Jain, Neha Malcom Francis,
Andrew Davis, Maxime Ripard, Siddharth Vadapalli, Roger Quadros,
Bryan Brattlof, Vignesh Raghavendra, Robert Nelson,
Nishanth Menon, Tom Rini
Cc: u-boot, Jonathan Humphreys
Signed-off-by: Jonathan Humphreys <j-humphreys@ti.com>
---
arch/arm/dts/k3-am625-sk-u-boot.dtsi | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/arch/arm/dts/k3-am625-sk-u-boot.dtsi b/arch/arm/dts/k3-am625-sk-u-boot.dtsi
index fa778b0ff4c..35bfeae75a0 100644
--- a/arch/arm/dts/k3-am625-sk-u-boot.dtsi
+++ b/arch/arm/dts/k3-am625-sk-u-boot.dtsi
@@ -46,3 +46,12 @@
&cpsw_port2 {
status = "disabled";
};
+
+&dmsc {
+ bootph-pre-ram;
+
+ k3_sysreset: sysreset-controller {
+ compatible = "ti,sci-sysreset";
+ bootph-pre-ram;
+ };
+};
--
2.34.1
^ permalink raw reply related [flat|nested] 30+ messages in thread
* [PATCH v2 13/16] board: am62x: Define capsule update firmware info
2024-04-08 22:31 [PATCH v2 00/16] EFI: ti: Enable EFI capsule updates Jonathan Humphreys
` (11 preceding siblings ...)
2024-04-08 22:31 ` [PATCH v2 12/16] arm: dts: k3-am625-sk-u-boot: Add sysreset-controller node Jonathan Humphreys
@ 2024-04-08 22:31 ` Jonathan Humphreys
2024-04-08 22:31 ` [PATCH v2 14/16] configs: am62x: Enable EFI capsule update Jonathan Humphreys
` (2 subsequent siblings)
15 siblings, 0 replies; 30+ messages in thread
From: Jonathan Humphreys @ 2024-04-08 22:31 UTC (permalink / raw)
To: Mattijs Korpershoek, Kamlesh Gurudasani, Manorit Chawdhry,
Heinrich Schuchardt, Judith Mendez, Christian Gmeiner,
Devarsh Thakkar, Simon Glass, Nikhil M Jain, Neha Malcom Francis,
Andrew Davis, Maxime Ripard, Siddharth Vadapalli, Roger Quadros,
Bryan Brattlof, Vignesh Raghavendra, Robert Nelson,
Nishanth Menon, Tom Rini
Cc: u-boot, Jonathan Humphreys
Define the firmwares updatable via EFI capsule update.
Signed-off-by: Jonathan Humphreys <j-humphreys@ti.com>
---
board/ti/am62x/evm.c | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
diff --git a/board/ti/am62x/evm.c b/board/ti/am62x/evm.c
index b3e8680dfab..3341308c9ae 100644
--- a/board/ti/am62x/evm.c
+++ b/board/ti/am62x/evm.c
@@ -7,6 +7,7 @@
*
*/
+#include <efi_loader.h>
#include <env.h>
#include <spl.h>
#include <init.h>
@@ -46,6 +47,37 @@ int splash_screen_prepare(void)
}
#endif
+#if IS_ENABLED(CONFIG_EFI_HAVE_CAPSULE_SUPPORT)
+struct efi_fw_image fw_images[] = {
+ {
+ .image_type_id = K3_TIBOOT3_IMAGE_GUID,
+ .fw_name = u"K3_TIBOOT3",
+ .image_index = 1,
+ },
+ {
+ .image_type_id = K3_SPL_IMAGE_GUID,
+ .fw_name = u"K3_SPL",
+ .image_index = 2,
+ },
+ {
+ .image_type_id = K3_UBOOT_IMAGE_GUID,
+ .fw_name = u"K3_UBOOT",
+ .image_index = 3,
+ }
+};
+
+struct efi_capsule_update_info update_info = {
+ .dfu_string = "sf 0:0=tiboot3.bin raw 0 80000;tispl.bin raw 80000 200000;u-boot.img raw 280000 480000",
+ .num_images = ARRAY_SIZE(fw_images),
+ .images = fw_images,
+};
+
+void set_dfu_alt_info(char *interface, char *devstr)
+{
+ env_set("dfu_alt_info", update_info.dfu_string);
+}
+#endif /* EFI_HAVE_CAPSULE_SUPPORT */
+
int board_init(void)
{
return 0;
--
2.34.1
^ permalink raw reply related [flat|nested] 30+ messages in thread
* [PATCH v2 14/16] configs: am62x: Enable EFI capsule update
2024-04-08 22:31 [PATCH v2 00/16] EFI: ti: Enable EFI capsule updates Jonathan Humphreys
` (12 preceding siblings ...)
2024-04-08 22:31 ` [PATCH v2 13/16] board: am62x: Define capsule update firmware info Jonathan Humphreys
@ 2024-04-08 22:31 ` 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
15 siblings, 0 replies; 30+ messages in thread
From: Jonathan Humphreys @ 2024-04-08 22:31 UTC (permalink / raw)
To: Mattijs Korpershoek, Kamlesh Gurudasani, Manorit Chawdhry,
Heinrich Schuchardt, Judith Mendez, Christian Gmeiner,
Devarsh Thakkar, Simon Glass, Nikhil M Jain, Neha Malcom Francis,
Andrew Davis, Maxime Ripard, Siddharth Vadapalli, Roger Quadros,
Bryan Brattlof, Vignesh Raghavendra, Robert Nelson,
Nishanth Menon, Tom Rini
Cc: u-boot, Jonathan Humphreys
Signed-off-by: Jonathan Humphreys <j-humphreys@ti.com>
---
configs/am62x_evm_a53_defconfig | 2 ++
1 file changed, 2 insertions(+)
diff --git a/configs/am62x_evm_a53_defconfig b/configs/am62x_evm_a53_defconfig
index 0e6c94de538..11af7b517d1 100644
--- a/configs/am62x_evm_a53_defconfig
+++ b/configs/am62x_evm_a53_defconfig
@@ -111,3 +111,5 @@ CONFIG_SPL_SYSRESET=y
CONFIG_SYSRESET_TI_SCI=y
CONFIG_FS_FAT_MAX_CLUSTSIZE=16384
CONFIG_EFI_SET_TIME=y
+CONFIG_EFI_CAPSULE_ON_DISK=y
+CONFIG_EFI_CAPSULE_FIRMWARE_RAW=y
--
2.34.1
^ permalink raw reply related [flat|nested] 30+ messages in thread
* [PATCH v2 15/16] board: beagleboneai64: Define capsule update firmware info
2024-04-08 22:31 [PATCH v2 00/16] EFI: ti: Enable EFI capsule updates Jonathan Humphreys
` (13 preceding siblings ...)
2024-04-08 22:31 ` [PATCH v2 14/16] configs: am62x: Enable EFI capsule update Jonathan Humphreys
@ 2024-04-08 22:31 ` Jonathan Humphreys
2024-04-08 22:31 ` [PATCH v2 16/16] configs: beagleboneai64: Enable EFI capsule update Jonathan Humphreys
15 siblings, 0 replies; 30+ messages in thread
From: Jonathan Humphreys @ 2024-04-08 22:31 UTC (permalink / raw)
To: Mattijs Korpershoek, Kamlesh Gurudasani, Manorit Chawdhry,
Heinrich Schuchardt, Judith Mendez, Christian Gmeiner,
Devarsh Thakkar, Simon Glass, Nikhil M Jain, Neha Malcom Francis,
Andrew Davis, Maxime Ripard, Siddharth Vadapalli, Roger Quadros,
Bryan Brattlof, Vignesh Raghavendra, Robert Nelson,
Nishanth Menon, Tom Rini
Cc: u-boot, Jonathan Humphreys
Signed-off-by: Jonathan Humphreys <j-humphreys@ti.com>
---
board/beagle/beagleboneai64/beagleboneai64.c | 38 ++++++++++++++++++++
1 file changed, 38 insertions(+)
diff --git a/board/beagle/beagleboneai64/beagleboneai64.c b/board/beagle/beagleboneai64/beagleboneai64.c
index c5b4ff7df47..b6ef1c137cb 100644
--- a/board/beagle/beagleboneai64/beagleboneai64.c
+++ b/board/beagle/beagleboneai64/beagleboneai64.c
@@ -7,6 +7,7 @@
* Copyright (C) 2022-2023 Robert Nelson, BeagleBoard.org Foundation
*/
+#include <efi_loader.h>
#include <cpu_func.h>
#include <env.h>
#include <fdt_support.h>
@@ -14,6 +15,43 @@
DECLARE_GLOBAL_DATA_PTR;
+#if IS_ENABLED(CONFIG_EFI_HAVE_CAPSULE_SUPPORT)
+struct efi_fw_image fw_images[] = {
+ {
+ .image_type_id = K3_TIBOOT3_IMAGE_GUID,
+ .fw_name = u"K3_TIBOOT3",
+ .image_index = 1,
+ },
+ {
+ .image_type_id = K3_SPL_IMAGE_GUID,
+ .fw_name = u"K3_SPL",
+ .image_index = 2,
+ },
+ {
+ .image_type_id = K3_UBOOT_IMAGE_GUID,
+ .fw_name = u"K3_UBOOT",
+ .image_index = 3,
+ },
+ {
+ .image_type_id = K3_SYSFW_IMAGE_GUID,
+ .fw_name = u"K3_SYSFW",
+ .image_index = 4,
+ }
+};
+
+struct efi_capsule_update_info update_info = {
+ .dfu_string = "mmc 0=tiboot3.bin raw 0 2000 mmcpart 1;tispl.bin fat 0 1;u-boot.img fat 0 1; sysfw.itb fat 0 1",
+ .num_images = ARRAY_SIZE(fw_images),
+ .images = fw_images,
+};
+
+void set_dfu_alt_info(char *interface, char *devstr)
+{
+ env_set("dfu_alt_info", update_info.dfu_string);
+}
+
+#endif /* EFI_HAVE_CAPSULE_SUPPORT */
+
int board_init(void)
{
return 0;
--
2.34.1
^ permalink raw reply related [flat|nested] 30+ messages in thread
* [PATCH v2 16/16] configs: beagleboneai64: Enable EFI capsule update
2024-04-08 22:31 [PATCH v2 00/16] EFI: ti: Enable EFI capsule updates Jonathan Humphreys
` (14 preceding siblings ...)
2024-04-08 22:31 ` [PATCH v2 15/16] board: beagleboneai64: Define capsule update firmware info Jonathan Humphreys
@ 2024-04-08 22:31 ` Jonathan Humphreys
15 siblings, 0 replies; 30+ messages in thread
From: Jonathan Humphreys @ 2024-04-08 22:31 UTC (permalink / raw)
To: Mattijs Korpershoek, Kamlesh Gurudasani, Manorit Chawdhry,
Heinrich Schuchardt, Judith Mendez, Christian Gmeiner,
Devarsh Thakkar, Simon Glass, Nikhil M Jain, Neha Malcom Francis,
Andrew Davis, Maxime Ripard, Siddharth Vadapalli, Roger Quadros,
Bryan Brattlof, Vignesh Raghavendra, Robert Nelson,
Nishanth Menon, Tom Rini
Cc: u-boot, Jonathan Humphreys
Signed-off-by: Jonathan Humphreys <j-humphreys@ti.com>
---
configs/j721e_beagleboneai64_a72_defconfig | 2 ++
1 file changed, 2 insertions(+)
diff --git a/configs/j721e_beagleboneai64_a72_defconfig b/configs/j721e_beagleboneai64_a72_defconfig
index 3d234bc1a8f..e74ee68e23e 100644
--- a/configs/j721e_beagleboneai64_a72_defconfig
+++ b/configs/j721e_beagleboneai64_a72_defconfig
@@ -172,3 +172,5 @@ CONFIG_USB_GADGET_PRODUCT_NUM=0x6163
CONFIG_SPL_DFU=y
CONFIG_LZO=y
CONFIG_EFI_SET_TIME=y
+CONFIG_EFI_CAPSULE_ON_DISK=y
+CONFIG_EFI_CAPSULE_FIRMWARE_RAW=y
--
2.34.1
^ permalink raw reply related [flat|nested] 30+ messages in thread
* Re: [PATCH v2 01/16] board: Define GUIDs for firmware images
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
0 siblings, 1 reply; 30+ messages in thread
From: Heinrich Schuchardt @ 2024-04-09 3:55 UTC (permalink / raw)
To: Jonathan Humphreys
Cc: u-boot, Mattijs Korpershoek, Kamlesh Gurudasani, Manorit Chawdhry,
Judith Mendez, Christian Gmeiner, Devarsh Thakkar, Simon Glass,
Nikhil M Jain, Neha Malcom Francis, Andrew Davis, Maxime Ripard,
Siddharth Vadapalli, Roger Quadros, Bryan Brattlof,
Vignesh Raghavendra, Robert Nelson, Nishanth Menon, Tom Rini,
Ilias Apalodimas
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
> +#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
^ permalink raw reply [flat|nested] 30+ messages in thread
* Re: [PATCH v2 02/16] board: am64x: Define capsule update firmware info
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
0 siblings, 2 replies; 30+ messages in thread
From: Heinrich Schuchardt @ 2024-04-09 4:31 UTC (permalink / raw)
To: Jonathan Humphreys
Cc: u-boot, Mattijs Korpershoek, Kamlesh Gurudasani, Manorit Chawdhry,
Judith Mendez, Christian Gmeiner, Devarsh Thakkar, Simon Glass,
Nikhil M Jain, Neha Malcom Francis, Andrew Davis, Maxime Ripard,
Siddharth Vadapalli, Roger Quadros, Bryan Brattlof,
Vignesh Raghavendra, Robert Nelson, Nishanth Menon, Tom Rini,
Ilias Apalodimas
On 4/9/24 00:31, Jonathan Humphreys wrote:
> Define the firmwares updatable via EFI capsule update.
Nits:
%s/firmwares/firmware/ (firmware is uncountable).
>
> Signed-off-by: Jonathan Humphreys <j-humphreys@ti.com>
> ---
> board/ti/am64x/evm.c | 33 +++++++++++++++++++++++++++++++++
> 1 file changed, 33 insertions(+)
>
> diff --git a/board/ti/am64x/evm.c b/board/ti/am64x/evm.c
> index b8de69da06c..876c5c25d42 100644
> --- a/board/ti/am64x/evm.c
> +++ b/board/ti/am64x/evm.c
> @@ -7,6 +7,7 @@
> *
> */
>
> +#include <efi_loader.h>
> #include <asm/io.h>
> #include <dm/uclass.h>
> #include <k3-ddrss.h>
> @@ -27,6 +28,38 @@
>
> DECLARE_GLOBAL_DATA_PTR;
>
> +#if IS_ENABLED(CONFIG_EFI_HAVE_CAPSULE_SUPPORT)
> +struct efi_fw_image fw_images[] = {
> + {
> + .image_type_id = K3_TIBOOT3_IMAGE_GUID,
> + .fw_name = u"K3_TIBOOT3",
> + .image_index = 1,
> + },
> + {
> + .image_type_id = K3_SPL_IMAGE_GUID,
> + .fw_name = u"K3_SPL",
> + .image_index = 2,
> + },
> + {
> + .image_type_id = K3_UBOOT_IMAGE_GUID,
> + .fw_name = u"K3_UBOOT",
> + .image_index = 3,
> + }
> +};
> +
> +struct efi_capsule_update_info update_info = {
> + .dfu_string = "sf 0:0=tiboot3.bin raw 0 100000;tispl.bin raw 100000 200000;u-boot.img raw 300000 400000",
Is TI using other addresses than Phytec?
doc/board/phytec/phycore-am64x.rst:
fatload mmc 1 ${loadaddr} tiboot3.bin
sf update $loadaddr 0x0 $filesize
fatload mmc 1 ${loadaddr} tispl.bin
sf update $loadaddr 0x80000 $filesize
fatload mmc 1 ${loadaddr} u-boot.img
sf update $loadaddr 0x280000 $filesize
Please, add documentation in doc/board/ for all boards in the series
specifying the location of the firmware in flash memory and how to
update it(cf. section OSPI in doc/board/ti/am65x_evm.rst).
> + .num_images = ARRAY_SIZE(fw_images),
> + .images = fw_images,
> +};
The series has been assigned to me in Patchwork.
But changes should be tested and reviewed by the respective board
maintainers (Vignesh, Tom for AM64x) as I have no access to TI boards.
Best regards
Heinrich
> +
> +void set_dfu_alt_info(char *interface, char *devstr)
> +{
> + env_set("dfu_alt_info", update_info.dfu_string);
> +}
> +
> +#endif /* EFI_HAVE_CAPSULE_SUPPORT */
> +
> int board_init(void)
> {
> return 0;
^ permalink raw reply [flat|nested] 30+ messages in thread
* Re: [PATCH v2 01/16] board: Define GUIDs for firmware images
2024-04-09 3:55 ` Heinrich Schuchardt
@ 2024-04-09 21:05 ` Jon Humphreys
2024-04-10 8:30 ` Heinrich Schuchardt
0 siblings, 1 reply; 30+ messages in thread
From: Jon Humphreys @ 2024-04-09 21:05 UTC (permalink / raw)
To: Heinrich Schuchardt
Cc: u-boot, Mattijs Korpershoek, Kamlesh Gurudasani, Manorit Chawdhry,
Judith Mendez, Christian Gmeiner, Devarsh Thakkar, Simon Glass,
Nikhil M Jain, Neha Malcom Francis, Andrew Davis, Maxime Ripard,
Siddharth Vadapalli, Roger Quadros, Bryan Brattlof,
Vignesh Raghavendra, Robert Nelson, Nishanth Menon, Tom Rini,
Ilias Apalodimas
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
^ permalink raw reply [flat|nested] 30+ messages in thread
* Re: [PATCH v2 02/16] board: am64x: Define capsule update firmware info
2024-04-09 4:31 ` Heinrich Schuchardt
@ 2024-04-09 21:11 ` Jon Humphreys
2024-04-10 0:44 ` Tom Rini
1 sibling, 0 replies; 30+ messages in thread
From: Jon Humphreys @ 2024-04-09 21:11 UTC (permalink / raw)
To: Heinrich Schuchardt
Cc: u-boot, Mattijs Korpershoek, Kamlesh Gurudasani, Manorit Chawdhry,
Judith Mendez, Christian Gmeiner, Devarsh Thakkar, Simon Glass,
Nikhil M Jain, Neha Malcom Francis, Andrew Davis, Maxime Ripard,
Siddharth Vadapalli, Roger Quadros, Bryan Brattlof,
Vignesh Raghavendra, Robert Nelson, Nishanth Menon, Tom Rini,
Ilias Apalodimas
Heinrich Schuchardt <xypron.glpk@gmx.de> writes:
> On 4/9/24 00:31, Jonathan Humphreys wrote:
>> Define the firmwares updatable via EFI capsule update.
>
> Nits:
>
> %s/firmwares/firmware/ (firmware is uncountable).
>
>>
>> Signed-off-by: Jonathan Humphreys <j-humphreys@ti.com>
>> ---
>> board/ti/am64x/evm.c | 33 +++++++++++++++++++++++++++++++++
>> 1 file changed, 33 insertions(+)
>>
>> diff --git a/board/ti/am64x/evm.c b/board/ti/am64x/evm.c
>> index b8de69da06c..876c5c25d42 100644
>> --- a/board/ti/am64x/evm.c
>> +++ b/board/ti/am64x/evm.c
>> @@ -7,6 +7,7 @@
>> *
>> */
>>
>> +#include <efi_loader.h>
>> #include <asm/io.h>
>> #include <dm/uclass.h>
>> #include <k3-ddrss.h>
>> @@ -27,6 +28,38 @@
>>
>> DECLARE_GLOBAL_DATA_PTR;
>>
>> +#if IS_ENABLED(CONFIG_EFI_HAVE_CAPSULE_SUPPORT)
>> +struct efi_fw_image fw_images[] = {
>> + {
>> + .image_type_id = K3_TIBOOT3_IMAGE_GUID,
>> + .fw_name = u"K3_TIBOOT3",
>> + .image_index = 1,
>> + },
>> + {
>> + .image_type_id = K3_SPL_IMAGE_GUID,
>> + .fw_name = u"K3_SPL",
>> + .image_index = 2,
>> + },
>> + {
>> + .image_type_id = K3_UBOOT_IMAGE_GUID,
>> + .fw_name = u"K3_UBOOT",
>> + .image_index = 3,
>> + }
>> +};
>> +
>> +struct efi_capsule_update_info update_info = {
>> + .dfu_string = "sf 0:0=tiboot3.bin raw 0 100000;tispl.bin raw 100000 200000;u-boot.img raw 300000 400000",
>
> Is TI using other addresses than Phytec?
>
> doc/board/phytec/phycore-am64x.rst:
>
> fatload mmc 1 ${loadaddr} tiboot3.bin
> sf update $loadaddr 0x0 $filesize
> fatload mmc 1 ${loadaddr} tispl.bin
> sf update $loadaddr 0x80000 $filesize
> fatload mmc 1 ${loadaddr} u-boot.img
> sf update $loadaddr 0x280000 $filesize
>
This patch has the correct offsets for am64x, so I guess phycore defined
the offsets differently.
> Please, add documentation in doc/board/ for all boards in the series
> specifying the location of the firmware in flash memory and how to
> update it(cf. section OSPI in doc/board/ti/am65x_evm.rst).
>
Yes, I will add patches to document OSPI layouts where missing.
>> + .num_images = ARRAY_SIZE(fw_images),
>> + .images = fw_images,
>> +};
>
> The series has been assigned to me in Patchwork.
>
> But changes should be tested and reviewed by the respective board
> maintainers (Vignesh, Tom for AM64x) as I have no access to TI boards.
>
> Best regards
>
> Heinrich
>
>> +
>> +void set_dfu_alt_info(char *interface, char *devstr)
>> +{
>> + env_set("dfu_alt_info", update_info.dfu_string);
>> +}
>> +
>> +#endif /* EFI_HAVE_CAPSULE_SUPPORT */
>> +
>> int board_init(void)
>> {
>> return 0;
^ permalink raw reply [flat|nested] 30+ messages in thread
* Re: [PATCH v2 02/16] board: am64x: Define capsule update firmware info
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
1 sibling, 1 reply; 30+ messages in thread
From: Tom Rini @ 2024-04-10 0:44 UTC (permalink / raw)
To: Heinrich Schuchardt
Cc: Jonathan Humphreys, u-boot, Mattijs Korpershoek,
Kamlesh Gurudasani, Manorit Chawdhry, Judith Mendez,
Christian Gmeiner, Devarsh Thakkar, Simon Glass, Nikhil M Jain,
Neha Malcom Francis, Andrew Davis, Maxime Ripard,
Siddharth Vadapalli, Roger Quadros, Bryan Brattlof,
Vignesh Raghavendra, Robert Nelson, Nishanth Menon,
Ilias Apalodimas
[-- Attachment #1: Type: text/plain, Size: 577 bytes --]
On Tue, Apr 09, 2024 at 06:31:02AM +0200, Heinrich Schuchardt wrote:
> On 4/9/24 00:31, Jonathan Humphreys wrote:
[snip]
> The series has been assigned to me in Patchwork.
>
> But changes should be tested and reviewed by the respective board
> maintainers (Vignesh, Tom for AM64x) as I have no access to TI boards.
I'll pick it up once you're happy with the capsule side of things if you
like, but in my mind it's more important to emphasize that this is what
capsule support looks like as it rolls out to more platforms, is
everyone happy with this?
--
Tom
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 659 bytes --]
^ permalink raw reply [flat|nested] 30+ messages in thread
* Re: [PATCH v2 01/16] board: Define GUIDs for firmware images
2024-04-09 21:05 ` Jon Humphreys
@ 2024-04-10 8:30 ` Heinrich Schuchardt
2024-04-10 9:29 ` Ilias Apalodimas
0 siblings, 1 reply; 30+ messages in thread
From: Heinrich Schuchardt @ 2024-04-10 8:30 UTC (permalink / raw)
To: Jon Humphreys
Cc: u-boot, Mattijs Korpershoek, Kamlesh Gurudasani, Manorit Chawdhry,
Judith Mendez, Christian Gmeiner, Devarsh Thakkar, Simon Glass,
Nikhil M Jain, Neha Malcom Francis, Andrew Davis, Maxime Ripard,
Siddharth Vadapalli, Roger Quadros, Bryan Brattlof,
Vignesh Raghavendra, Robert Nelson, Nishanth Menon, Tom Rini,
Ilias Apalodimas
On 09.04.24 23:05, Jon Humphreys wrote:
> 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.
Hello Jon,
Without properly documenting macros we make the live of developers more
difficult. Yes, we still have a lot of missing code documentation. But
we should not follow poor example.
Best regards
Heinrich
>
> 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
^ permalink raw reply [flat|nested] 30+ messages in thread
* Re: [PATCH v2 01/16] board: Define GUIDs for firmware images
2024-04-10 8:30 ` Heinrich Schuchardt
@ 2024-04-10 9:29 ` Ilias Apalodimas
2024-04-12 21:58 ` Jon Humphreys
0 siblings, 1 reply; 30+ messages in thread
From: Ilias Apalodimas @ 2024-04-10 9:29 UTC (permalink / raw)
To: Heinrich Schuchardt
Cc: Jon Humphreys, u-boot, Mattijs Korpershoek, Kamlesh Gurudasani,
Manorit Chawdhry, Judith Mendez, Christian Gmeiner,
Devarsh Thakkar, Simon Glass, Nikhil M Jain, Neha Malcom Francis,
Andrew Davis, Maxime Ripard, Siddharth Vadapalli, Roger Quadros,
Bryan Brattlof, Vignesh Raghavendra, Robert Nelson,
Nishanth Menon, Tom Rini
Hi both
On Wed, 10 Apr 2024 at 10:36, Heinrich Schuchardt <xypron.glpk@gmx.de> wrote:
>
> On 09.04.24 23:05, Jon Humphreys wrote:
> > 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.
> >> */
I'd go one step further tbh. Those GUIDs can be used by OEMs/ODMs
producing capsules for their future products.
Currently, we don't have a documented way to allow users to redefine
this (but Linaro is working on it). If both TI and an OEM use the
same GUID and try to upload the firmware to LVFS, we will have a GUID
clash.
I think we should have that on the comment as well, until we can
properly sort it out
Thanks
/Ilias
> >>
> >> 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.
>
> Hello Jon,
>
> Without properly documenting macros we make the live of developers more
> difficult. Yes, we still have a lot of missing code documentation. But
> we should not follow poor example.
>
> Best regards
>
> Heinrich
>
> >
> > 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
>
^ permalink raw reply [flat|nested] 30+ messages in thread
* Re: [PATCH v2 12/16] arm: dts: k3-am625-sk-u-boot: Add sysreset-controller node
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
0 siblings, 1 reply; 30+ messages in thread
From: Mattijs Korpershoek @ 2024-04-11 7:54 UTC (permalink / raw)
To: Jonathan Humphreys, Kamlesh Gurudasani, Manorit Chawdhry,
Heinrich Schuchardt, Judith Mendez, Christian Gmeiner,
Devarsh Thakkar, Simon Glass, Nikhil M Jain, Neha Malcom Francis,
Andrew Davis, Maxime Ripard, Siddharth Vadapalli, Roger Quadros,
Bryan Brattlof, Vignesh Raghavendra, Robert Nelson,
Nishanth Menon, Tom Rini
Cc: u-boot, Jonathan Humphreys
Hi Jonathan,
Thank you for the patch.
On lun., avril 08, 2024 at 17:31, Jonathan Humphreys <j-humphreys@ti.com> wrote:
> Signed-off-by: Jonathan Humphreys <j-humphreys@ti.com>
Please consider adding a commit message body.
On the TI vendor tree, there is a similar patch with a commit message:
https://git.ti.com/cgit/ti-u-boot/ti-u-boot/commit/?h=ti-u-boot-2023.04&id=c5296d943c2c84dd6dcb3b91305d006ac46f3157
Before patch:
=> reset
resetting ...
System reset not supported on this platform
### ERROR ### Please RESET the board ###
With patch applied:
=> reset
resetting ...
Tested-by: Mattijs Korpershoek <mkorpershoek@baylibre.com> # on am62x sk evm
Andrew also suggested to me that if we are interested by A53 reset only,
we can PSCI reset instead for all k3 architecture:
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -784,6 +784,9 @@ config ARCH_K3
bool "Texas Instruments' K3 Architecture"
select SPL
select SUPPORT_SPL
+ select PSCI_RESET if ARM64
+ select SYSRESET if ARM64
+ select SYSRESET_PSCI if ARM64
select FIT
select REGEX
select FIT_SIGNATURE if ARM64
Has the above been considered?
> ---
> arch/arm/dts/k3-am625-sk-u-boot.dtsi | 9 +++++++++
> 1 file changed, 9 insertions(+)
>
> diff --git a/arch/arm/dts/k3-am625-sk-u-boot.dtsi b/arch/arm/dts/k3-am625-sk-u-boot.dtsi
> index fa778b0ff4c..35bfeae75a0 100644
> --- a/arch/arm/dts/k3-am625-sk-u-boot.dtsi
> +++ b/arch/arm/dts/k3-am625-sk-u-boot.dtsi
> @@ -46,3 +46,12 @@
> &cpsw_port2 {
> status = "disabled";
> };
> +
> +&dmsc {
> + bootph-pre-ram;
> +
> + k3_sysreset: sysreset-controller {
> + compatible = "ti,sci-sysreset";
> + bootph-pre-ram;
> + };
> +};
> --
> 2.34.1
^ permalink raw reply [flat|nested] 30+ messages in thread
* Re: [PATCH v2 12/16] arm: dts: k3-am625-sk-u-boot: Add sysreset-controller node
2024-04-11 7:54 ` Mattijs Korpershoek
@ 2024-04-11 20:30 ` Jon Humphreys
2024-04-16 9:59 ` Mattijs Korpershoek
0 siblings, 1 reply; 30+ messages in thread
From: Jon Humphreys @ 2024-04-11 20:30 UTC (permalink / raw)
To: Mattijs Korpershoek, Kamlesh Gurudasani, Manorit Chawdhry,
Heinrich Schuchardt, Judith Mendez, Christian Gmeiner,
Devarsh Thakkar, Simon Glass, Nikhil M Jain, Neha Malcom Francis,
Andrew Davis, Maxime Ripard, Siddharth Vadapalli, Roger Quadros,
Bryan Brattlof, Vignesh Raghavendra, Robert Nelson,
Nishanth Menon, Tom Rini
Cc: u-boot
Mattijs Korpershoek <mkorpershoek@baylibre.com> writes:
> Hi Jonathan,
>
> Thank you for the patch.
>
> On lun., avril 08, 2024 at 17:31, Jonathan Humphreys <j-humphreys@ti.com> wrote:
>
>> Signed-off-by: Jonathan Humphreys <j-humphreys@ti.com>
>
> Please consider adding a commit message body.
Got it. thanks.
BTW, the next version of this series will drop this patch as Andrew has
submitted another patch removing the need for this one. See
https://lore.kernel.org/r/20240402160908.508974-1-afd@ti.com.
>
> On the TI vendor tree, there is a similar patch with a commit message:
> https://git.ti.com/cgit/ti-u-boot/ti-u-boot/commit/?h=ti-u-boot-2023.04&id=c5296d943c2c84dd6dcb3b91305d006ac46f3157
>
> Before patch:
> => reset
> resetting ...
> System reset not supported on this platform
> ### ERROR ### Please RESET the board ###
>
> With patch applied:
> => reset
> resetting ...
>
> Tested-by: Mattijs Korpershoek <mkorpershoek@baylibre.com> # on am62x sk evm
>
> Andrew also suggested to me that if we are interested by A53 reset only,
> we can PSCI reset instead for all k3 architecture:
>
> --- a/arch/arm/Kconfig
> +++ b/arch/arm/Kconfig
> @@ -784,6 +784,9 @@ config ARCH_K3
> bool "Texas Instruments' K3 Architecture"
> select SPL
> select SUPPORT_SPL
> + select PSCI_RESET if ARM64
> + select SYSRESET if ARM64
> + select SYSRESET_PSCI if ARM64
> select FIT
> select REGEX
> select FIT_SIGNATURE if ARM64
>
> Has the above been considered?
I am not aware. I would think that you want full reset, unless you are
thinking about specifying a reset level?
Jon
>
>
>> ---
>> arch/arm/dts/k3-am625-sk-u-boot.dtsi | 9 +++++++++
>> 1 file changed, 9 insertions(+)
>>
>> diff --git a/arch/arm/dts/k3-am625-sk-u-boot.dtsi b/arch/arm/dts/k3-am625-sk-u-boot.dtsi
>> index fa778b0ff4c..35bfeae75a0 100644
>> --- a/arch/arm/dts/k3-am625-sk-u-boot.dtsi
>> +++ b/arch/arm/dts/k3-am625-sk-u-boot.dtsi
>> @@ -46,3 +46,12 @@
>> &cpsw_port2 {
>> status = "disabled";
>> };
>> +
>> +&dmsc {
>> + bootph-pre-ram;
>> +
>> + k3_sysreset: sysreset-controller {
>> + compatible = "ti,sci-sysreset";
>> + bootph-pre-ram;
>> + };
>> +};
>> --
>> 2.34.1
^ permalink raw reply [flat|nested] 30+ messages in thread
* Re: [PATCH v2 02/16] board: am64x: Define capsule update firmware info
2024-04-10 0:44 ` Tom Rini
@ 2024-04-12 10:42 ` Ilias Apalodimas
0 siblings, 0 replies; 30+ messages in thread
From: Ilias Apalodimas @ 2024-04-12 10:42 UTC (permalink / raw)
To: Tom Rini
Cc: Heinrich Schuchardt, Jonathan Humphreys, u-boot,
Mattijs Korpershoek, Kamlesh Gurudasani, Manorit Chawdhry,
Judith Mendez, Christian Gmeiner, Devarsh Thakkar, Simon Glass,
Nikhil M Jain, Neha Malcom Francis, Andrew Davis, Maxime Ripard,
Siddharth Vadapalli, Roger Quadros, Bryan Brattlof,
Vignesh Raghavendra, Robert Nelson, Nishanth Menon
Hi Tom
From a capsule update POV the patch looks correct
Acked-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
On Wed, 10 Apr 2024 at 02:44, Tom Rini <trini@konsulko.com> wrote:
>
> On Tue, Apr 09, 2024 at 06:31:02AM +0200, Heinrich Schuchardt wrote:
> > On 4/9/24 00:31, Jonathan Humphreys wrote:
> [snip]
> > The series has been assigned to me in Patchwork.
> >
> > But changes should be tested and reviewed by the respective board
> > maintainers (Vignesh, Tom for AM64x) as I have no access to TI boards.
>
> I'll pick it up once you're happy with the capsule side of things if you
> like, but in my mind it's more important to emphasize that this is what
> capsule support looks like as it rolls out to more platforms, is
> everyone happy with this?
>
> --
> Tom
^ permalink raw reply [flat|nested] 30+ messages in thread
* Re: [PATCH v2 01/16] board: Define GUIDs for firmware images
2024-04-10 9:29 ` Ilias Apalodimas
@ 2024-04-12 21:58 ` Jon Humphreys
2024-04-17 10:10 ` Caleb Connolly
0 siblings, 1 reply; 30+ messages in thread
From: Jon Humphreys @ 2024-04-12 21:58 UTC (permalink / raw)
To: Ilias Apalodimas, Heinrich Schuchardt
Cc: u-boot, Mattijs Korpershoek, Kamlesh Gurudasani, Manorit Chawdhry,
Judith Mendez, Christian Gmeiner, Devarsh Thakkar, Simon Glass,
Nikhil M Jain, Neha Malcom Francis, Andrew Davis, Maxime Ripard,
Siddharth Vadapalli, Roger Quadros, Bryan Brattlof,
Vignesh Raghavendra, Robert Nelson, Nishanth Menon, Tom Rini
Ilias Apalodimas <ilias.apalodimas@linaro.org> writes:
> Hi both
>
> On Wed, 10 Apr 2024 at 10:36, Heinrich Schuchardt <xypron.glpk@gmx.de> wrote:
>>
>> On 09.04.24 23:05, Jon Humphreys wrote:
>> > 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.
>> >> */
>
> I'd go one step further tbh. Those GUIDs can be used by OEMs/ODMs
> producing capsules for their future products.
> Currently, we don't have a documented way to allow users to redefine
> this (but Linaro is working on it). If both TI and an OEM use the
> same GUID and try to upload the firmware to LVFS, we will have a GUID
> clash.
> I think we should have that on the comment as well, until we can
> properly sort it out
Ilias, I realized I may have defined the GUID's a bit incorrectly. I
was thinking that the GUID's identify the firmware type (eg, SPL vs
Uboot for TI devices). However, the SPL binary for say am62 will be
different than the SPL binary for say am64, so I should have unique
GUID's per firmware type *per board*. Correct?
If so, I'll need to move these definitions to the board .h files, and my
generic capsule binman nodes will need to have each board override the
image GUID used.
thanks
Jon
>
> Thanks
> /Ilias
>> >>
>> >> 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.
>>
>> Hello Jon,
>>
>> Without properly documenting macros we make the live of developers more
>> difficult. Yes, we still have a lot of missing code documentation. But
>> we should not follow poor example.
>>
>> Best regards
>>
>> Heinrich
>>
>> >
>> > 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
>>
^ permalink raw reply [flat|nested] 30+ messages in thread
* Re: [PATCH v2 12/16] arm: dts: k3-am625-sk-u-boot: Add sysreset-controller node
2024-04-11 20:30 ` Jon Humphreys
@ 2024-04-16 9:59 ` Mattijs Korpershoek
0 siblings, 0 replies; 30+ messages in thread
From: Mattijs Korpershoek @ 2024-04-16 9:59 UTC (permalink / raw)
To: Jon Humphreys, Kamlesh Gurudasani, Manorit Chawdhry,
Heinrich Schuchardt, Judith Mendez, Christian Gmeiner,
Devarsh Thakkar, Simon Glass, Nikhil M Jain, Neha Malcom Francis,
Andrew Davis, Maxime Ripard, Siddharth Vadapalli, Roger Quadros,
Bryan Brattlof, Vignesh Raghavendra, Robert Nelson,
Nishanth Menon, Tom Rini
Cc: u-boot
Hi Jon,
On jeu., avril 11, 2024 at 15:30, Jon Humphreys <j-humphreys@ti.com> wrote:
> Mattijs Korpershoek <mkorpershoek@baylibre.com> writes:
>
>> Hi Jonathan,
>>
>> Thank you for the patch.
>>
>> On lun., avril 08, 2024 at 17:31, Jonathan Humphreys <j-humphreys@ti.com> wrote:
>>
>>> Signed-off-by: Jonathan Humphreys <j-humphreys@ti.com>
>>
>> Please consider adding a commit message body.
>
> Got it. thanks.
>
> BTW, the next version of this series will drop this patch as Andrew has
> submitted another patch removing the need for this one. See
> https://lore.kernel.org/r/20240402160908.508974-1-afd@ti.com.
I was not aware of that one. thank you for pointing it out. That seems
indeed a better solution.
>
>>
>> On the TI vendor tree, there is a similar patch with a commit message:
>> https://git.ti.com/cgit/ti-u-boot/ti-u-boot/commit/?h=ti-u-boot-2023.04&id=c5296d943c2c84dd6dcb3b91305d006ac46f3157
>>
>> Before patch:
>> => reset
>> resetting ...
>> System reset not supported on this platform
>> ### ERROR ### Please RESET the board ###
>>
>> With patch applied:
>> => reset
>> resetting ...
>>
>> Tested-by: Mattijs Korpershoek <mkorpershoek@baylibre.com> # on am62x sk evm
>>
>> Andrew also suggested to me that if we are interested by A53 reset only,
>> we can PSCI reset instead for all k3 architecture:
>>
>> --- a/arch/arm/Kconfig
>> +++ b/arch/arm/Kconfig
>> @@ -784,6 +784,9 @@ config ARCH_K3
>> bool "Texas Instruments' K3 Architecture"
>> select SPL
>> select SUPPORT_SPL
>> + select PSCI_RESET if ARM64
>> + select SYSRESET if ARM64
>> + select SYSRESET_PSCI if ARM64
>> select FIT
>> select REGEX
>> select FIT_SIGNATURE if ARM64
>>
>> Has the above been considered?
>
> I am not aware. I would think that you want full reset, unless you are
> thinking about specifying a reset level?
On my end, I was mostly interested in resetting from the A53 core, but
the solution you linked previously should work for me.
>
> Jon
>
>>
>>
>>> ---
>>> arch/arm/dts/k3-am625-sk-u-boot.dtsi | 9 +++++++++
>>> 1 file changed, 9 insertions(+)
>>>
>>> diff --git a/arch/arm/dts/k3-am625-sk-u-boot.dtsi b/arch/arm/dts/k3-am625-sk-u-boot.dtsi
>>> index fa778b0ff4c..35bfeae75a0 100644
>>> --- a/arch/arm/dts/k3-am625-sk-u-boot.dtsi
>>> +++ b/arch/arm/dts/k3-am625-sk-u-boot.dtsi
>>> @@ -46,3 +46,12 @@
>>> &cpsw_port2 {
>>> status = "disabled";
>>> };
>>> +
>>> +&dmsc {
>>> + bootph-pre-ram;
>>> +
>>> + k3_sysreset: sysreset-controller {
>>> + compatible = "ti,sci-sysreset";
>>> + bootph-pre-ram;
>>> + };
>>> +};
>>> --
>>> 2.34.1
^ permalink raw reply [flat|nested] 30+ messages in thread
* Re: [PATCH v2 01/16] board: Define GUIDs for firmware images
2024-04-12 21:58 ` Jon Humphreys
@ 2024-04-17 10:10 ` Caleb Connolly
0 siblings, 0 replies; 30+ messages in thread
From: Caleb Connolly @ 2024-04-17 10:10 UTC (permalink / raw)
To: Jon Humphreys, Ilias Apalodimas, Heinrich Schuchardt
Cc: u-boot, Mattijs Korpershoek, Kamlesh Gurudasani, Manorit Chawdhry,
Judith Mendez, Christian Gmeiner, Devarsh Thakkar, Simon Glass,
Nikhil M Jain, Neha Malcom Francis, Andrew Davis, Maxime Ripard,
Siddharth Vadapalli, Roger Quadros, Bryan Brattlof,
Vignesh Raghavendra, Robert Nelson, Nishanth Menon, Tom Rini
On 12/04/2024 22:58, Jon Humphreys wrote:
> Ilias Apalodimas <ilias.apalodimas@linaro.org> writes:
>
>> Hi both
>>
>> On Wed, 10 Apr 2024 at 10:36, Heinrich Schuchardt <xypron.glpk@gmx.de> wrote:
>>>
>>> On 09.04.24 23:05, Jon Humphreys wrote:
>>>> 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.
>>>>> */
>>
>> I'd go one step further tbh. Those GUIDs can be used by OEMs/ODMs
>> producing capsules for their future products.
>> Currently, we don't have a documented way to allow users to redefine
>> this (but Linaro is working on it). If both TI and an OEM use the
>> same GUID and try to upload the firmware to LVFS, we will have a GUID
>> clash.
>> I think we should have that on the comment as well, until we can
>> properly sort it out
>
> Ilias, I realized I may have defined the GUID's a bit incorrectly. I
> was thinking that the GUID's identify the firmware type (eg, SPL vs
> Uboot for TI devices). However, the SPL binary for say am62 will be
> different than the SPL binary for say am64, so I should have unique
> GUID's per firmware type *per board*. Correct?
>
> If so, I'll need to move these definitions to the board .h files, and my
> generic capsule binman nodes will need to have each board override the
> image GUID used.
Yes, consider for example if you wanted to maintain community firmware
images on LVFS, for a given image (like U-Boot itself) you would
presumably update it for each board, which requires each board to have
it's own GUID so you can tell them apart.
If one of the payloads is identical for a bunch of boards then it might
make sense to use one GUID for it.
>
> thanks
> Jon
>
>>
>> Thanks
>> /Ilias
>>>>>
>>>>> 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.
>>>
>>> Hello Jon,
>>>
>>> Without properly documenting macros we make the live of developers more
>>> difficult. Yes, we still have a lot of missing code documentation. But
>>> we should not follow poor example.
>>>
>>> Best regards
>>>
>>> Heinrich
>>>
>>>>
>>>> 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
>>>
--
// Caleb (they/them)
^ permalink raw reply [flat|nested] 30+ messages in thread
end of thread, other threads:[~2024-04-17 10:10 UTC | newest]
Thread overview: 30+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox