[PATCH v5 04/23] configs: am64x: Enable EFI capsule update

2024-05-31 Thread Jonathan Humphreys
Enable on disk, raw capsule update. Signed-off-by: Jonathan Humphreys --- 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 e000549d6d0..c9bdd7b54cc 100644 --- a/configs

[PATCH v5 18/23] board: beagleboneai64: Define capsule update firmware info

2024-05-31 Thread Jonathan Humphreys
ned-off-by: Jonathan Humphreys --- board/beagle/beagleboneai64/Kconfig | 4 +- board/beagle/beagleboneai64/beagleboneai64.c | 39 ++ include/configs/beagleboneai64.h | 55 3 files changed, 96 insertions(+), 2 deletions(-) create mode 100644 inclu

[PATCH v5 00/23] EFI: ti: Enable EFI capsule updates

2024-05-31 Thread Jonathan Humphreys
: https://lore.kernel.org/r/20240509164123.1753050-1-j-humphr...@ti.com Jonathan Humphreys (23): doc: uefi: capsules: Add Capsule Update porting section doc: ti: k3: Correct spelling mistakes and improve clarity board: am64x: Define capsule update firmware info configs: am64x: Enable EFI

[PATCH v5 19/23] configs: beagleboneai64: Enable EFI capsule update

2024-05-31 Thread Jonathan Humphreys
Enable on disk, raw capsule update. Signed-off-by: Jonathan Humphreys --- 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 a354876f8c2..ead1d8389c6

[PATCH v5 07/23] configs: j721e: Enable EFI capsule update

2024-05-31 Thread Jonathan Humphreys
Enable on disk, raw capsule update. Signed-off-by: Jonathan Humphreys --- 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 3d8e9391987..e2c2ad27ef8 100644 --- a/configs

[PATCH v5 01/23] doc: uefi: capsules: Add Capsule Update porting section

2024-05-31 Thread Jonathan Humphreys
Created a capsule update porting section in the documentation that outlines the steps a board developer must do when porting from an existing reference board implementation. In particular, added a big warning that new capsule GUID's need to be defined. Signed-off-by: Jonathan Humphreys ---

[PATCH v5 12/23] board: am62x: Define capsule update firmware info

2024-05-31 Thread Jonathan Humphreys
Define the firmware components updatable via EFI capsule update, including defining capsule GUIDs for the various firmware components for the AM62x SK. Signed-off-by: Jonathan Humphreys --- board/ti/am62x/evm.c| 34 ++ include/configs/am62x_evm.h | 24

[PATCH v5 11/23] configs: beagleplay: Enable EFI capsule update

2024-05-31 Thread Jonathan Humphreys
Enable on disk, raw capsule update. Signed-off-by: Jonathan Humphreys --- 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 dbdbaf98348..e2e3032cb7f 100644 --- a

[PATCH v5 09/23] board: beagleplay: Define capsule update firmware info

2024-05-31 Thread Jonathan Humphreys
Define the firmware components updatable via EFI capsule update, including defining capsule GUIDs for the various firmware components for the BeaglePlay. Note this involved creating BeaglePlay's own beagleplay.h board header file instead of reusing am62_evm's. Signed-off-by: Jonathan

[PATCH v5 06/23] board: j721e: Define capsule update firmware info

2024-05-31 Thread Jonathan Humphreys
Define the firmware components updatable via EFI capsule update, including defining capsule GUIDs for the various firmware components for the SK-TDA4VM. Signed-off-by: Jonathan Humphreys --- board/ti/j721e/evm.c| 40 + include/configs/j721e_evm.h | 29

[PATCH v5 02/23] doc: ti: k3: Correct spelling mistakes and improve clarity

2024-05-31 Thread Jonathan Humphreys
Few cosmetic fixes for clarity and spelling mistakes. Signed-off-by: Jonathan Humphreys --- doc/board/ti/k3.rst | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/doc/board/ti/k3.rst b/doc/board/ti/k3.rst index a1c01d1cf02..927f3976d34 100644 --- a/doc/board/ti/k3

[PATCH v5 21/23] board: sk-am69: Define capsule update firmware info

2024-05-31 Thread Jonathan Humphreys
e doc to show sk defconfig when building Signed-off-by: Jonathan Humphreys --- board/ti/j784s4/evm.c| 34 ++ include/configs/j784s4_evm.h | 24 2 files changed, 58 insertions(+) diff --git a/board/ti/j784s4/evm.c b/board/ti/j784s4/

[PATCH v5 10/23] configs: beagleplay: Enable DFU for MMC

2024-05-31 Thread Jonathan Humphreys
MMC DFU is required for capsule updates. Signed-off-by: Jonathan Humphreys --- 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 ec62670d55d..dbdbaf98348 100644

[PATCH v5 16/23] configs: am62px: Enable EFI capsule update

2024-05-31 Thread Jonathan Humphreys
Enable on disk, raw capsule update. Signed-off-by: Jonathan Humphreys --- 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 9f40c9a0b3c..7494148c88b 100644 --- a/configs

[PATCH v5 14/23] doc: board: ti: am62x: document OSPI layout

2024-05-31 Thread Jonathan Humphreys
Added OSPI flash layout diagram, as well as example commands to flash firmware to it. Signed-off-by: Jonathan Humphreys --- doc/board/ti/am62x_sk.rst| 24 + doc/board/ti/img/ospi_sysfw2.svg | 802 +++ 2 files changed, 826 insertions(+) create mode 100644

[PATCH v5 03/23] board: am64x: Define capsule update firmware info

2024-05-31 Thread Jonathan Humphreys
Define the firmware components updatable via EFI capsule update, including defining capsule GUIDs for the various firmware components for the AM64x SK. Signed-off-by: Jonathan Humphreys --- board/ti/am64x/evm.c| 34 ++ include/configs/am64x_evm.h | 24

[PATCH v5 13/23] configs: am62x: Enable EFI capsule update

2024-05-31 Thread Jonathan Humphreys
Enable on disk, raw capsule update. Signed-off-by: Jonathan Humphreys --- 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 16294a6a794..f44e2bcf3d3 100644 --- a/configs

[PATCH v5 15/23] board: am62px: Define capsule update firmware info

2024-05-31 Thread Jonathan Humphreys
Define the firmware components updatable via EFI capsule update, including defining capsule GUIDs for the various firmware components for the AM62px SK. Signed-off-by: Jonathan Humphreys --- board/ti/am62px/evm.c| 34 ++ include/configs/am62px_evm.h | 24

[PATCH v5 23/23] doc: board: ti: j784s4: document OSPI NOR layout

2024-05-31 Thread Jonathan Humphreys
Added OSPI NOR flash layout diagram, as well as example commands to flash firmware to it. Added OSPI boot mode pin setting. Signed-off-by: Jonathan Humphreys --- doc/board/ti/img/ospi_sysfw3.svg | 802 +++ doc/board/ti/j784s4_evm.rst | 28 ++ 2 files changed

[PATCH v5 20/23] configs: j784s4_evm: Enable serial flash DFU support

2024-05-31 Thread Jonathan Humphreys
Enable serial flash DFU support for capsule update of firmware. Signed-off-by: Jonathan Humphreys --- configs/j784s4_evm_a72_defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configs/j784s4_evm_a72_defconfig b/configs/j784s4_evm_a72_defconfig index e999a25319d..d7709f554fd 100644

[PATCH v5 22/23] configs: j784s4: Enable EFI capsule update

2024-05-31 Thread Jonathan Humphreys
Enable on disk, raw capsule update. Signed-off-by: Jonathan Humphreys --- configs/j784s4_evm_a72_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configs/j784s4_evm_a72_defconfig b/configs/j784s4_evm_a72_defconfig index d7709f554fd..9cf1352cf7b 100644 --- a/configs

[PATCH v5 17/23] doc: board: ti: am62px: document OSPI layout

2024-05-31 Thread Jonathan Humphreys
Added OSPI flash layout diagram, as well as example commands to flash firmware to it. Signed-off-by: Jonathan Humphreys --- doc/board/ti/am62px_sk.rst | 24 1 file changed, 24 insertions(+) diff --git a/doc/board/ti/am62px_sk.rst b/doc/board/ti/am62px_sk.rst index

[PATCH v5 08/23] doc: board: ti: j721e: document OSPI layout

2024-05-31 Thread Jonathan Humphreys
Updated OSPI flash layout diagram. Signed-off-by: Jonathan Humphreys --- doc/board/ti/img/ospi_sysfw.svg | 1464 +-- doc/board/ti/j721e_evm.rst | 58 +- 2 files changed, 847 insertions(+), 675 deletions(-) diff --git a/doc/board/ti/img/ospi_sysfw.svg b/doc

[PATCH v5 05/23] doc: board: ti: am64x: document OSPI layout

2024-05-31 Thread Jonathan Humphreys
Added OSPI flash layout diagram, as well as example commands to flash firmware to it. Signed-off-by: Jonathan Humphreys --- doc/board/ti/am64x_evm.rst | 24 + doc/board/ti/img/ospi_sysfw-am64.svg | 802 +++ 2 files changed, 826 insertions(+) create mode

[PATCH] configs: j784s4: Enable basic EFI CMD support

2024-05-31 Thread Jonathan Humphreys
Enable basic configs for EFI CMD support. Signed-off-by: Jonathan Humphreys --- configs/j784s4_evm_a72_defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configs/j784s4_evm_a72_defconfig b/configs/j784s4_evm_a72_defconfig index bb9603bef0f..665aa39a6bf 100644 --- a/configs

[PATCH] configs: j784s4: Enable RTC emulation

2024-05-31 Thread Jonathan Humphreys
Enable RTC emulation for System Ready IR tests. Signed-off-by: Jonathan Humphreys --- configs/j784s4_evm_a72_defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configs/j784s4_evm_a72_defconfig b/configs/j784s4_evm_a72_defconfig index 665aa39a6bf..8ef50f690fb 100644 --- a/configs

[PATCH] configs: j784s4: Enable OSPI NOR boot

2024-05-31 Thread Jonathan Humphreys
Set necessary configs to enable the j784s4 device to boot from OSPI NOR flash. Signed-off-by: Jonathan Humphreys --- configs/j784s4_evm_a72_defconfig | 2 ++ configs/j784s4_evm_r5_defconfig | 2 ++ 2 files changed, 4 insertions(+) diff --git a/configs/j784s4_evm_a72_defconfig b/configs

[PATCH v3 4/9] dts: j721e: binman: Include firmware capsules binman nodes

2024-05-31 Thread Jonathan Humphreys
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 --- arch/arm/dts/k3-j721e-binman.dtsi | 49 +++ 1 file changed, 49 insertions(+) diff --git a/arch/

[PATCH v3 1/9] tools: Build mkeficapsule tool by default if EFI_LOADER is set

2024-05-31 Thread Jonathan Humphreys
when a capsule may need to be generated. Signed-off-by: Jonathan Humphreys --- tools/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/Kconfig b/tools/Kconfig index 667807b3317..5c75af48fe3 100644 --- a/tools/Kconfig +++ b/tools/Kconfig @@ -98,7 +98,7 @@ config

[PATCH v3 9/9] dts: j784s4: binman: Include firmware capsules binman nodes

2024-05-31 Thread Jonathan Humphreys
Fill in the AM69 SK's capsule GUID properties of the base binman capsule nodes. Signed-off-by: Jonathan Humphreys --- arch/arm/dts/k3-j784s4-binman.dtsi | 35 ++ 1 file changed, 35 insertions(+) diff --git a/arch/arm/dts/k3-j784s4-binman.dtsi b/arch/arm/d

[PATCH v3 6/9] dts: am62px: binman: Include firmware capsules binman nodes

2024-05-31 Thread Jonathan Humphreys
Fill in the am62px SK's capsule GUID properties of the base binman capsule nodes. Signed-off-by: Jonathan Humphreys --- arch/arm/dts/k3-am62p-sk-binman.dtsi | 29 1 file changed, 29 insertions(+) diff --git a/arch/arm/dts/k3-am62p-sk-binman.dtsi b/arch/arm/d

[PATCH v3 5/9] dts: beagleplay: binman: Include firmware capsules binman nodes

2024-05-31 Thread Jonathan Humphreys
Fill in the BeaglePlay's capsule GUID properties of the base binman capsule nodes. Signed-off-by: Jonathan Humphreys --- arch/arm/dts/k3-am625-beagleplay-u-boot.dtsi | 27 arch/arm/dts/k3-am625-r5-beagleplay.dts | 15 +++ 2 files changed, 42 insertions(+)

[PATCH v3 0/9] binman: ti: create binman nodes for EFI capsules

2024-05-31 Thread Jonathan Humphreys
org/r/20240419212819.170033-1-j-humphr...@ti.com Jonathan Humphreys (9): tools: Build mkeficapsule tool by default if EFI_LOADER is set dts: ti: binman: Add base K3 firmware capsule nodes dts: am64x: binman: Include firmware capsules binman nodes dts: j721e: binman: Include firmware capsules binman

[PATCH v3 7/9] dts: am62x: binman: Include firmware capsules binman nodes

2024-05-31 Thread Jonathan Humphreys
Fill in the am62x SK's capsule GUID properties of the base binman capsule nodes. Signed-off-by: Jonathan Humphreys --- arch/arm/dts/k3-am625-sk-binman.dtsi | 30 1 file changed, 30 insertions(+) diff --git a/arch/arm/dts/k3-am625-sk-binman.dtsi b/arch/arm/d

[PATCH v3 8/9] dts: beagleboneai64: binman: Include firmware capsules binman nodes

2024-05-31 Thread Jonathan Humphreys
Fill in the BeagleBoneAI64's capsule GUID properties of the base binman capsule nodes. Also add it's SYSFW binman capsule node. Signed-off-by: Jonathan Humphreys --- .../dts/k3-j721e-beagleboneai64-u-boot.dtsi | 23 +++ arch/arm/dts/k3-j721e-r5-beagleboneai64.

[PATCH v3 3/9] dts: am64x: binman: Include firmware capsules binman nodes

2024-05-31 Thread Jonathan Humphreys
Fill in the am64x SK's capsule GUID properties of the base binman capsule nodes. Signed-off-by: Jonathan Humphreys --- arch/arm/dts/k3-am64x-binman.dtsi | 30 ++ 1 file changed, 30 insertions(+) diff --git a/arch/arm/dts/k3-am64x-binman.dtsi b/arch/arm/dts/k3-

[PATCH v3 2/9] dts: ti: binman: Add base K3 firmware capsule nodes

2024-05-31 Thread Jonathan Humphreys
Create capsule files for tiboot3.bin, tispl.bin, and u-boot.img. Signed-off-by: Jonathan Humphreys --- arch/arm/dts/k3-binman-capsule-r5.dtsi | 21 ++ arch/arm/dts/k3-binman-capsule.dtsi| 38 ++ 2 files changed, 59 insertions(+) create mode 100644 arch

[PATCH v6 02/24] doc: ti: k3: Correct spelling mistakes and improve clarity

2024-06-07 Thread Jonathan Humphreys
Few cosmetic fixes for clarity and spelling mistakes. Signed-off-by: Jonathan Humphreys --- doc/board/ti/k3.rst | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/doc/board/ti/k3.rst b/doc/board/ti/k3.rst index a1c01d1cf02..927f3976d34 100644 --- a/doc/board/ti/k3

[PATCH v6 00/24] EFI: ti: Enable EFI capsule updates

2024-06-07 Thread Jonathan Humphreys
: - Created an EFI capsule base config for TI boards, making adding additional capsule features on TI boards more scalable. Link to v5: https://lore.kernel.org/r/20240531222118.2618041-1-j-humphr...@ti.com Jonathan Humphreys (24): doc: uefi: capsules: Add Capsule Update porting section doc: ti: k3

[PATCH v6 11/24] configs: beagleplay: Enable DFU for MMC

2024-06-07 Thread Jonathan Humphreys
MMC DFU is required for capsule updates. Signed-off-by: Jonathan Humphreys --- 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 ec62670d55d..dbdbaf98348 100644

[PATCH v6 01/24] doc: uefi: capsules: Add Capsule Update porting section

2024-06-07 Thread Jonathan Humphreys
Created a capsule update porting section in the documentation that outlines the steps a board developer must do when porting from an existing reference board implementation. In particular, added a big warning that new capsule GUID's need to be defined. Signed-off-by: Jonathan Humphreys ---

[PATCH v6 07/24] board: j721e: Define capsule update firmware info

2024-06-07 Thread Jonathan Humphreys
Define the firmware components updatable via EFI capsule update, including defining capsule GUIDs for the various firmware components for the SK-TDA4VM. Signed-off-by: Jonathan Humphreys --- board/ti/j721e/evm.c| 40 + include/configs/j721e_evm.h | 29

[PATCH v6 21/24] configs: j784s4_evm: Enable serial flash DFU support

2024-06-07 Thread Jonathan Humphreys
Enable serial flash DFU support for capsule update of firmware. Signed-off-by: Jonathan Humphreys --- configs/j784s4_evm_a72_defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configs/j784s4_evm_a72_defconfig b/configs/j784s4_evm_a72_defconfig index e999a25319d..d7709f554fd 100644

[PATCH v6 14/24] configs: am62x: Enable EFI capsule update

2024-06-07 Thread Jonathan Humphreys
Enable on disk, raw capsule update. Signed-off-by: Jonathan Humphreys --- 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 16294a6a794..aea9aa205c9 100644 --- a/configs

[PATCH v6 20/24] configs: beagleboneai64: Enable EFI capsule update

2024-06-07 Thread Jonathan Humphreys
Enable on disk, raw capsule update. Signed-off-by: Jonathan Humphreys --- 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 a354876f8c2..86c565a9211

[PATCH v6 17/24] configs: am62px: Enable EFI capsule update

2024-06-07 Thread Jonathan Humphreys
Enable on disk, raw capsule update. Signed-off-by: Jonathan Humphreys --- 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 9f40c9a0b3c..e1c9c8535e4 100644 --- a/configs

[PATCH v6 23/24] configs: j784s4: Enable EFI capsule update

2024-06-07 Thread Jonathan Humphreys
Enable on disk, raw capsule update. Signed-off-by: Jonathan Humphreys --- configs/j784s4_evm_a72_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configs/j784s4_evm_a72_defconfig b/configs/j784s4_evm_a72_defconfig index d7709f554fd..c14765163f8 100644 --- a/configs

[PATCH v6 18/24] doc: board: ti: am62px: document OSPI layout

2024-06-07 Thread Jonathan Humphreys
Added OSPI flash layout diagram, as well as example commands to flash firmware to it. Signed-off-by: Jonathan Humphreys --- doc/board/ti/am62px_sk.rst | 24 1 file changed, 24 insertions(+) diff --git a/doc/board/ti/am62px_sk.rst b/doc/board/ti/am62px_sk.rst index

[PATCH v6 10/24] board: beagleplay: Define capsule update firmware info

2024-06-07 Thread Jonathan Humphreys
Define the firmware components updatable via EFI capsule update, including defining capsule GUIDs for the various firmware components for the BeaglePlay. Note this involved creating BeaglePlay's own beagleplay.h board header file instead of reusing am62_evm's. Signed-off-by: Jonathan

[PATCH v6 08/24] configs: j721e: Enable EFI capsule update

2024-06-07 Thread Jonathan Humphreys
Enable on disk, raw capsule update. Signed-off-by: Jonathan Humphreys --- 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 3d8e9391987..c15e11b554f 100644 --- a/configs

[PATCH v6 12/24] configs: beagleplay: Enable EFI capsule update

2024-06-07 Thread Jonathan Humphreys
Enable on disk, raw capsule update. Signed-off-by: Jonathan Humphreys --- configs/am62x_beagleplay_a53_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/am62x_beagleplay_a53_defconfig b/configs/am62x_beagleplay_a53_defconfig index dbdbaf98348..18f6f8865b5 100644 --- a

[PATCH v6 15/24] doc: board: ti: am62x: document OSPI layout

2024-06-07 Thread Jonathan Humphreys
Added OSPI flash layout diagram, as well as example commands to flash firmware to it. Signed-off-by: Jonathan Humphreys --- doc/board/ti/am62x_sk.rst| 24 + doc/board/ti/img/ospi_sysfw2.svg | 802 +++ 2 files changed, 826 insertions(+) create mode 100644

[PATCH v6 22/24] board: sk-am69: Define capsule update firmware info

2024-06-07 Thread Jonathan Humphreys
e doc to show sk defconfig when building Signed-off-by: Jonathan Humphreys --- board/ti/j784s4/evm.c| 34 ++ include/configs/j784s4_evm.h | 24 2 files changed, 58 insertions(+) diff --git a/board/ti/j784s4/evm.c b/board/ti/j784s4/

[PATCH v6 13/24] board: am62x: Define capsule update firmware info

2024-06-07 Thread Jonathan Humphreys
Define the firmware components updatable via EFI capsule update, including defining capsule GUIDs for the various firmware components for the AM62x SK. Signed-off-by: Jonathan Humphreys --- board/ti/am62x/evm.c| 34 ++ include/configs/am62x_evm.h | 24

[PATCH v6 03/24] configs: ti: Create base EFI capsule configs for TI K3 devices

2024-06-07 Thread Jonathan Humphreys
To better scale with the number of boards, separate TI K3 EFI capsule configs into its own file that can be shared across TI K3 boards. This will allow any platform level config changes to be done once. Signed-off-by: Jonathan Humphreys --- configs/k3_efi_capsule.config | 2 ++ 1 file changed

[PATCH v6 04/24] board: am64x: Define capsule update firmware info

2024-06-07 Thread Jonathan Humphreys
Define the firmware components updatable via EFI capsule update, including defining capsule GUIDs for the various firmware components for the AM64x SK. Signed-off-by: Jonathan Humphreys --- board/ti/am64x/evm.c| 34 ++ include/configs/am64x_evm.h | 24

[PATCH v6 19/24] board: beagleboneai64: Define capsule update firmware info

2024-06-07 Thread Jonathan Humphreys
ned-off-by: Jonathan Humphreys --- board/beagle/beagleboneai64/Kconfig | 4 +- board/beagle/beagleboneai64/beagleboneai64.c | 39 ++ include/configs/beagleboneai64.h | 55 3 files changed, 96 insertions(+), 2 deletions(-) create mode 100644 inclu

[PATCH v6 05/24] configs: am64x: Enable EFI capsule update

2024-06-07 Thread Jonathan Humphreys
Enable on disk, raw capsule update. Signed-off-by: Jonathan Humphreys --- 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 e000549d6d0..44c22458ab2 100644 --- a/configs

[PATCH v6 06/24] doc: board: ti: am64x: document OSPI layout

2024-06-07 Thread Jonathan Humphreys
Added OSPI flash layout diagram, as well as example commands to flash firmware to it. Signed-off-by: Jonathan Humphreys --- doc/board/ti/am64x_evm.rst | 24 + doc/board/ti/img/ospi_sysfw-am64.svg | 802 +++ 2 files changed, 826 insertions(+) create mode

[PATCH v6 16/24] board: am62px: Define capsule update firmware info

2024-06-07 Thread Jonathan Humphreys
Define the firmware components updatable via EFI capsule update, including defining capsule GUIDs for the various firmware components for the AM62px SK. Signed-off-by: Jonathan Humphreys --- board/ti/am62px/evm.c| 34 ++ include/configs/am62px_evm.h | 24

[PATCH v6 24/24] doc: board: ti: j784s4: document OSPI NOR layout

2024-06-07 Thread Jonathan Humphreys
Added OSPI NOR flash layout diagram, as well as example commands to flash firmware to it. Added OSPI boot mode pin setting. Signed-off-by: Jonathan Humphreys --- doc/board/ti/img/ospi_sysfw3.svg | 802 +++ doc/board/ti/j784s4_evm.rst | 28 ++ 2 files changed

[PATCH v6 09/24] doc: board: ti: j721e: document OSPI layout

2024-06-07 Thread Jonathan Humphreys
Updated OSPI flash layout diagram. Signed-off-by: Jonathan Humphreys --- doc/board/ti/img/ospi_sysfw.svg | 1464 +-- doc/board/ti/j721e_evm.rst | 58 +- 2 files changed, 847 insertions(+), 675 deletions(-) diff --git a/doc/board/ti/img/ospi_sysfw.svg b/doc

[PATCH] scripts/Makefile.lib: EFI: Use capsule CRT instead of ESL file

2024-06-07 Thread Jonathan Humphreys
device using this, so removed its ESL file and set the (new) CONFIG_EFI_CAPSULE_CRT_FILE config to point to its public key certificate. Signed-off-by: Jonathan Humphreys --- board/sandbox/capsule_pub_esl_good.esl | Bin 831 -> 0 bytes configs/sandbox_defconfig | 2 +- conf

[PATCH] efi: capsule: Improve capsule update porting to new boards

2024-06-07 Thread Jonathan Humphreys
: Jonathan Humphreys --- doc/develop/uefi/uefi.rst| 30 +++--- lib/efi_loader/Kconfig | 13 + lib/efi_loader/efi_capsule.c | 5 + 3 files changed, 41 insertions(+), 7 deletions(-) diff --git a/doc/develop/uefi/uefi.rst b/doc/develop/uefi/uefi.rst

[PATCH] configs: k3: Enable capsule authentication

2024-06-07 Thread Jonathan Humphreys
boards [0] as well as using capsule certificates directly [1]. [0] https://lore.kernel.org/r/20240607223858.1971290-1-j-humphr...@ti.com [1] https://lore.kernel.org/r/20240607225915.1985514-1-j-humphr...@ti.com Signed-off-by: Jonathan Humphreys --- configs/k3_efi_capsule.config | 2 ++ 1 file changed

[PATCH v2 1/2] scripts/Makefile.lib: fixes: Embed capsule public key in platform's dtb

2024-06-13 Thread Jonathan Humphreys
The call to cmd_capsule_esl_gen was made directly rather than using the "cmd,xxx" syntax. Fixes: c7d4dfcd ("scripts/Makefile.lib: Embed capsule public key in platform's dtb") Signed-off-by: Jonathan Humphreys --- scripts/Makefile.lib | 2 +- 1 file changed, 1 insertio

[PATCH v2 0/2] scripts/Makefile.lib: EFI: Use capsule CRT instead of ESL

2024-06-13 Thread Jonathan Humphreys
g the ESL file for proper makefile dependency tracking. v1 had combined creating the ESL file and generating the .dtsi include in a single command. Jonathan Humphreys (2): scripts/Makefile.lib: fixes: Embed capsule public key in platform's dtb scripts/Makefile.lib: EFI: Use c

[PATCH v2 2/2] scripts/Makefile.lib: EFI: Use capsule CRT instead of ESL file

2024-06-13 Thread Jonathan Humphreys
device using this, so removed its ESL file and set the (new) CONFIG_EFI_CAPSULE_CRT_FILE config to point to its public key certificate. Signed-off-by: Jonathan Humphreys --- board/sandbox/capsule_pub_esl_good.esl | Bin 831 -> 0 bytes configs/sandbox_defconfig | 2 +- conf

[PATCH v2] configs: j784s4: Enable RTC emulation

2024-06-14 Thread Jonathan Humphreys
Enable RTC emulation for System Ready IR tests. Signed-off-by: Jonathan Humphreys --- Changes from v1: - Rebased on latest -next Link to v1: https://lore.kernel.org/r/20240531223057.2619261-1-j-humphr...@ti.com configs/j784s4_evm_a72_defconfig | 3 +++ 1 file changed, 3 insertions(+) diff

[PATCH v2] configs: j784s4: Enable basic EFI CMD support

2024-06-14 Thread Jonathan Humphreys
Enable basic configs for EFI CMD support. Signed-off-by: Jonathan Humphreys --- Changes from v1: - Rebased on latest -next Link to v1: https://lore.kernel.org/r/20240531223057.2619261-1-j-humphr...@ti.com configs/j784s4_evm_a72_defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git

[PATCH v7 04/24] board: am64x: Define capsule update firmware info

2024-06-14 Thread Jonathan Humphreys
Define the firmware components updatable via EFI capsule update, including defining capsule GUIDs for the various firmware components for the AM64x SK. Signed-off-by: Jonathan Humphreys Acked-by: Ilias Apalodimas Reviewed-by: Tom Rini --- board/ti/am64x/evm.c| 34

[PATCH v7 05/24] configs: am64x: Enable EFI capsule update

2024-06-14 Thread Jonathan Humphreys
Enable on disk, raw capsule update. Signed-off-by: Jonathan Humphreys --- 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 e000549d6d0..44c22458ab2 100644 --- a/configs

[PATCH v7 23/24] configs: j784s4: Enable EFI capsule update

2024-06-14 Thread Jonathan Humphreys
Enable on disk, raw capsule update. Signed-off-by: Jonathan Humphreys --- configs/j784s4_evm_a72_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configs/j784s4_evm_a72_defconfig b/configs/j784s4_evm_a72_defconfig index 141f2e0e156..3cfa006f86b 100644 --- a/configs

[PATCH v7 03/24] configs: ti: Create base EFI capsule configs for TI K3 devices

2024-06-14 Thread Jonathan Humphreys
To better scale with the number of boards, separate TI K3 EFI capsule configs into its own file that can be shared across TI K3 boards. This will allow any platform level config changes to be done once. Signed-off-by: Jonathan Humphreys --- configs/k3_efi_capsule.config | 2 ++ 1 file changed

[PATCH v7 11/24] configs: beagleplay: Enable DFU for MMC

2024-06-14 Thread Jonathan Humphreys
MMC DFU is required for capsule updates. Signed-off-by: Jonathan Humphreys --- 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 ec62670d55d..dbdbaf98348 100644

[PATCH v7 18/24] doc: board: ti: am62px: document OSPI layout

2024-06-14 Thread Jonathan Humphreys
Added OSPI flash layout diagram, as well as example commands to flash firmware to it. Signed-off-by: Jonathan Humphreys Reviewed-by: Tom Rini --- doc/board/ti/am62px_sk.rst | 24 1 file changed, 24 insertions(+) diff --git a/doc/board/ti/am62px_sk.rst b/doc/board/ti

[PATCH v7 01/24] doc: uefi: capsules: Add Capsule Update porting section

2024-06-14 Thread Jonathan Humphreys
Created a capsule update porting section in the documentation that outlines the steps a board developer must do when porting from an existing reference board implementation. In particular, added a big warning that new capsule GUID's need to be defined. Signed-off-by: Jonathan Humphreys Ack

[PATCH v7 13/24] board: am62x: Define capsule update firmware info

2024-06-14 Thread Jonathan Humphreys
Define the firmware components updatable via EFI capsule update, including defining capsule GUIDs for the various firmware components for the AM62x SK. Signed-off-by: Jonathan Humphreys Acked-by: Ilias Apalodimas --- board/ti/am62x/evm.c| 34 ++ include

[PATCH v7 21/24] configs: j784s4_evm: Enable serial flash DFU support

2024-06-14 Thread Jonathan Humphreys
Enable serial flash DFU support for capsule update of firmware. Signed-off-by: Jonathan Humphreys --- configs/j784s4_evm_a72_defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configs/j784s4_evm_a72_defconfig b/configs/j784s4_evm_a72_defconfig index 2aa16eb7270..141f2e0e156 100644

[PATCH v7 14/24] configs: am62x: Enable EFI capsule update

2024-06-14 Thread Jonathan Humphreys
Enable on disk, raw capsule update. Signed-off-by: Jonathan Humphreys --- 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 16294a6a794..aea9aa205c9 100644 --- a/configs

[PATCH v7 16/24] board: am62px: Define capsule update firmware info

2024-06-14 Thread Jonathan Humphreys
Define the firmware components updatable via EFI capsule update, including defining capsule GUIDs for the various firmware components for the AM62px SK. Signed-off-by: Jonathan Humphreys Acked-by: Ilias Apalodimas --- board/ti/am62px/evm.c| 34

[PATCH v7 22/24] board: sk-am69: Define capsule update firmware info

2024-06-14 Thread Jonathan Humphreys
e doc to show sk defconfig when building Signed-off-by: Jonathan Humphreys Acked-by: Ilias Apalodimas --- board/ti/j784s4/evm.c| 34 ++ include/configs/j784s4_evm.h | 24 2 files changed, 58 insertions(+) diff --git a/board/ti/j

[PATCH v7 02/24] doc: ti: k3: Correct spelling mistakes and improve clarity

2024-06-14 Thread Jonathan Humphreys
Few cosmetic fixes for clarity and spelling mistakes. Signed-off-by: Jonathan Humphreys Reviewed-by: Mattijs Korpershoek --- doc/board/ti/k3.rst | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/doc/board/ti/k3.rst b/doc/board/ti/k3.rst index a1c01d1cf02

[PATCH v7 07/24] board: j721e: Define capsule update firmware info

2024-06-14 Thread Jonathan Humphreys
Define the firmware components updatable via EFI capsule update, including defining capsule GUIDs for the various firmware components for the SK-TDA4VM. Signed-off-by: Jonathan Humphreys Acked-by: Ilias Apalodimas --- board/ti/j721e/evm.c| 40

[PATCH v7 00/24] EFI: ti: Enable EFI capsule updates

2024-06-14 Thread Jonathan Humphreys
/20240607223858.1971290-1-j-humphr...@ti.com Jonathan Humphreys (24): doc: uefi: capsules: Add Capsule Update porting section doc: ti: k3: Correct spelling mistakes and improve clarity configs: ti: Create base EFI capsule configs for TI K3 devices board: am64x: Define capsule update firmware

[PATCH v7 17/24] configs: am62px: Enable EFI capsule update

2024-06-14 Thread Jonathan Humphreys
Enable on disk, raw capsule update. Signed-off-by: Jonathan Humphreys --- 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 9f40c9a0b3c..e1c9c8535e4 100644 --- a/configs

[PATCH v7 19/24] board: beagleboneai64: Define capsule update firmware info

2024-06-14 Thread Jonathan Humphreys
ned-off-by: Jonathan Humphreys --- board/beagle/beagleboneai64/Kconfig | 4 +- board/beagle/beagleboneai64/beagleboneai64.c | 39 ++ include/configs/beagleboneai64.h | 55 3 files changed, 96 insertions(+), 2 deletions(-) create mode 100644 inclu

[PATCH v7 10/24] board: beagleplay: Define capsule update firmware info

2024-06-14 Thread Jonathan Humphreys
Define the firmware components updatable via EFI capsule update, including defining capsule GUIDs for the various firmware components for the BeaglePlay. Note this involved creating BeaglePlay's own beagleplay.h board header file instead of reusing am62_evm's. Signed-off-by: Jonathan

[PATCH v7 20/24] configs: beagleboneai64: Enable EFI capsule update

2024-06-14 Thread Jonathan Humphreys
Enable on disk, raw capsule update. Signed-off-by: Jonathan Humphreys --- 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 a354876f8c2..86c565a9211

[PATCH v7 12/24] configs: beagleplay: Enable EFI capsule update

2024-06-14 Thread Jonathan Humphreys
Enable on disk, raw capsule update. Signed-off-by: Jonathan Humphreys --- configs/am62x_beagleplay_a53_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/am62x_beagleplay_a53_defconfig b/configs/am62x_beagleplay_a53_defconfig index dbdbaf98348..18f6f8865b5 100644 --- a

[PATCH v7 08/24] configs: j721e: Enable EFI capsule update

2024-06-14 Thread Jonathan Humphreys
Enable on disk, raw capsule update. Signed-off-by: Jonathan Humphreys --- 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 451a6a91c4f..f99315789c7 100644 --- a/configs

[PATCH v7 15/24] doc: board: ti: am62x: document OSPI layout

2024-06-14 Thread Jonathan Humphreys
Added OSPI flash layout diagram, as well as example commands to flash firmware to it. Signed-off-by: Jonathan Humphreys Reviewed-by: Tom Rini --- doc/board/ti/am62x_sk.rst| 24 + doc/board/ti/img/ospi_sysfw2.svg | 802 +++ 2 files changed, 826 insertions

[PATCH v7 24/24] doc: board: ti: j784s4: document OSPI NOR layout

2024-06-14 Thread Jonathan Humphreys
Added OSPI NOR flash layout diagram, as well as example commands to flash firmware to it. Added OSPI boot mode pin setting. Signed-off-by: Jonathan Humphreys --- doc/board/ti/img/ospi_sysfw3.svg | 802 +++ doc/board/ti/j784s4_evm.rst | 28 ++ 2 files changed

[PATCH v7 06/24] doc: board: ti: am64x: document OSPI layout

2024-06-14 Thread Jonathan Humphreys
Added OSPI flash layout diagram, as well as example commands to flash firmware to it. Signed-off-by: Jonathan Humphreys --- doc/board/ti/am64x_evm.rst | 24 + doc/board/ti/img/ospi_sysfw-am64.svg | 802 +++ 2 files changed, 826 insertions(+) create mode

[PATCH v7 09/24] doc: board: ti: j721e: document OSPI layout

2024-06-14 Thread Jonathan Humphreys
Updated OSPI flash layout diagram. Signed-off-by: Jonathan Humphreys Reviewed-by: Tom Rini --- doc/board/ti/img/ospi_sysfw.svg | 1464 +-- doc/board/ti/j721e_evm.rst | 58 +- 2 files changed, 847 insertions(+), 675 deletions(-) diff --git a/doc/board/ti/img

[PATCH] doc: board: ti: Add capsule documentation for TI K3 devices

2024-06-21 Thread Jonathan Humphreys
boards. https://lore.kernel.org/r/20240618145058.552eapp5iiz772ej@hardcore Signed-off-by: Jonathan Humphreys --- doc/board/ti/k3.rst | 29 + 1 file changed, 29 insertions(+) diff --git a/doc/board/ti/k3.rst b/doc/board/ti/k3.rst index 76375473185..67b066a07d3 100644 --- a

[PATCH v4 16/19] configs: am62px: Enable EFI capsule update

2024-05-09 Thread Jonathan Humphreys
Enable on disk, raw capsule update. Signed-off-by: Jonathan Humphreys --- 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 9f40c9a0b3c..7494148c88b 100644 --- a/configs

[PATCH v4 13/19] configs: am62x: Enable EFI capsule update

2024-05-09 Thread Jonathan Humphreys
Enable on disk, raw capsule update. Signed-off-by: Jonathan Humphreys --- 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 515f23c2bcc..1bc219666c1 100644 --- a/configs

[PATCH v4 11/19] configs: am62x: Enable serial flash DFU

2024-05-09 Thread Jonathan Humphreys
Serial flash DFU is required by capsule updates. Signed-off-by: Jonathan Humphreys --- 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 6c708dcb052..515f23c2bcc 100644 --- a/configs

[PATCH v4 17/19] doc: board: ti: am62px: document OSPI layout

2024-05-09 Thread Jonathan Humphreys
Added OSPI flash layout diagram, as well as example commands to flash firmware to it. Signed-off-by: Jonathan Humphreys --- doc/board/ti/am62px_sk.rst | 24 1 file changed, 24 insertions(+) diff --git a/doc/board/ti/am62px_sk.rst b/doc/board/ti/am62px_sk.rst index

  1   2   3   >