[PATCH v4 03/19] configs: am64x: Enable EFI capsule update

2024-05-09 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 v4 02/19] board: am64x: Define capsule update firmware info

2024-05-09 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| 32 include/configs/am64x_evm.h | 24

[PATCH v4 07/19] doc: board: ti: j721e: document OSPI layout

2024-05-09 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 v4 12/19] board: am62x: Define capsule update firmware info

2024-05-09 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| 32 include/configs/am62x_evm.h | 24

[PATCH v4 04/19] doc: board: ti: am64x: 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/am64x_evm.rst | 24 + doc/board/ti/img/ospi_sysfw-am64.svg | 802 +++ 2 files changed, 826 insertions(+) create mode

[PATCH v4 14/19] doc: board: ti: am62x: 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/am62x_sk.rst| 24 + doc/board/ti/img/ospi_sysfw2.svg | 802 +++ 2 files changed, 826 insertions(+) create mode 100644

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

2024-05-09 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 v4 06/19] configs: j721e: Enable EFI capsule update

2024-05-09 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 v4 01/19] doc: uefi: capsules: Add Capsule Update porting section

2024-05-09 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 --- doc

[PATCH v4 18/19] board: beagleboneai64: Define capsule update firmware info

2024-05-09 Thread Jonathan Humphreys
-by: Jonathan Humphreys --- board/beagle/beagleboneai64/Kconfig | 4 +- board/beagle/beagleboneai64/beagleboneai64.c | 37 + include/configs/beagleboneai64.h | 55 3 files changed, 94 insertions(+), 2 deletions(-) create mode 100644 include/configs

[PATCH v4 08/19] board: beagleplay: Define capsule update firmware info

2024-05-09 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 Humphreys

[PATCH v4 05/19] board: j721e: Define capsule update firmware info

2024-05-09 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| 38 + include/configs/j721e_evm.h | 29

[PATCH v4 10/19] configs: beagleplay: Enable EFI capsule update

2024-05-09 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 933baba9211..ef7d81b5379 100644

[PATCH v4 09/19] configs: beagleplay: Enable DFU for MMC

2024-05-09 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 4f1be1df593..933baba9211 100644

[PATCH v4 00/19] EFI: ti: Enable EFI capsule updates

2024-05-09 Thread Jonathan Humphreys
diagram to svg format Link to v3: https://lore.kernel.org/r/20240419205701.163821-1-j-humphr...@ti.com Jonathan Humphreys (19): doc: uefi: capsules: Add Capsule Update porting section board: am64x: Define capsule update firmware info configs: am64x: Enable EFI capsule update doc: board: ti: am64x

[PATCH v4 15/19] board: am62px: Define capsule update firmware info

2024-05-09 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| 32 include/configs/am62px_evm.h | 24

[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

[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 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 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 v2 6/7] dts: am62x: binman: Include firmware capsules binman nodes

2024-04-19 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/dts/k3

[PATCH v2 4/7] dts: beagleplay: binman: Include firmware capsules binman nodes

2024-04-19 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(+) diff

[PATCH v2 0/7] binman: ti: create binman nodes for EFI capsules

2024-04-19 Thread Jonathan Humphreys
in capsules where available - Insert board specific capsule GUIDs into the capsule node's image-guid. Jonathan Humphreys (7): dts: ti: binman: Add base K3 firmware capsule nodes dts: am64x: binman: Include firmware capsules binman nodes dts: j721e: binman: Include firmware capsules binman nodes dts

[PATCH v2 2/7] dts: am64x: binman: Include firmware capsules binman nodes

2024-04-19 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-am64x

[PATCH v2 5/7] dts: am62px: binman: Include firmware capsules binman nodes

2024-04-19 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/dts/k3

[PATCH v2 1/7] dts: ti: binman: Add base K3 firmware capsule nodes

2024-04-19 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 v2 7/7] dts: beagleboneai64: binman: Include firmware capsules binman nodes

2024-04-19 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.dts | 29

[PATCH v2 3/7] dts: j721e: binman: Include firmware capsules binman nodes

2024-04-19 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/arm/dts/k3

[PATCH v3 00/19] EFI: ti: Enable EFI capsule updates

2024-04-19 Thread Jonathan Humphreys
unique capsule GUIDs and put definitions in board specific files - Added a Capsule Update porting section to the documentation Jonathan Humphreys (19): doc: uefi: capsules: Start Capsule Update porting section board: am64x: Define capsule update firmware info configs: am64x: Enable EFI capsule

[PATCH v3 05/19] board: j721e: Define capsule update firmware info

2024-04-19 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| 38 + include/configs/j721e_evm.h | 29

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

2024-04-19 Thread Jonathan Humphreys
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 3d234bc1a8f..e74ee68e23e 100644 --- a/configs

[PATCH v3 04/19] doc: board: ti: am64x: document OSPI layout

2024-04-19 Thread Jonathan Humphreys
Signed-off-by: Jonathan Humphreys --- doc/board/ti/am64x_evm.rst | 48 ++ 1 file changed, 48 insertions(+) diff --git a/doc/board/ti/am64x_evm.rst b/doc/board/ti/am64x_evm.rst index 6ae35b3fee3..a7468fbd254 100644 --- a/doc/board/ti/am64x_evm.rst +++ b/doc

[PATCH v3 03/19] configs: am64x: Enable EFI capsule update

2024-04-19 Thread Jonathan Humphreys
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/am64x_evm_a53_defconfig +++ b/configs

[PATCH v3 14/19] configs: am62x: Enable serial flash DFU

2024-04-19 Thread Jonathan Humphreys
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 6b37f8b4791..cc397f72d2c 100644 --- a/configs/am62x_evm_a53_defconfig +++ b/configs

[PATCH v3 11/19] board: am62px: Define capsule update firmware info

2024-04-19 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| 32 include/configs/am62px_evm.h | 24

[PATCH v3 07/19] doc: board: ti: j721e: document OSPI layout

2024-04-19 Thread Jonathan Humphreys
Signed-off-by: Jonathan Humphreys --- doc/board/ti/j721e_evm.rst | 85 +- 1 file changed, 56 insertions(+), 29 deletions(-) diff --git a/doc/board/ti/j721e_evm.rst b/doc/board/ti/j721e_evm.rst index a422a9bf1a0..a0fc37ab6d7 100644 --- a/doc/board/ti

[PATCH v3 02/19] board: am64x: Define capsule update firmware info

2024-04-19 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| 33 + include/configs/am64x_evm.h | 24

[PATCH v3 17/19] doc: board: ti: am62x: document OSPI layout

2024-04-19 Thread Jonathan Humphreys
Signed-off-by: Jonathan Humphreys --- doc/board/ti/am62x_sk.rst | 48 +++ 1 file changed, 48 insertions(+) diff --git a/doc/board/ti/am62x_sk.rst b/doc/board/ti/am62x_sk.rst index b12dc85f06b..bf7ea754e32 100644 --- a/doc/board/ti/am62x_sk.rst +++ b/doc/board

[PATCH v3 10/19] configs: beagleplay: Enable EFI capsule update

2024-04-19 Thread Jonathan Humphreys
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 68e103f58dc..23b9c466248 100644 --- a/configs/am62x_beagleplay_a53_defconfig

[PATCH v3 18/19] board: beagleboneai64: Define capsule update firmware info

2024-04-19 Thread Jonathan Humphreys
-by: Jonathan Humphreys --- board/beagle/beagleboneai64/Kconfig | 4 +- board/beagle/beagleboneai64/beagleboneai64.c | 38 ++ include/configs/beagleboneai64.h | 55 3 files changed, 95 insertions(+), 2 deletions(-) create mode 100644 include/configs

[PATCH v3 01/19] doc: uefi: capsules: Start Capsule Update porting section

2024-04-19 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 --- doc

[PATCH v3 16/19] configs: am62x: Enable EFI capsule update

2024-04-19 Thread Jonathan Humphreys
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 cc397f72d2c..d628535a4ed 100644 --- a/configs/am62x_evm_a53_defconfig +++ b/configs

[PATCH v3 12/19] configs: am62px: Enable EFI capsule update

2024-04-19 Thread Jonathan Humphreys
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 638d2e90a6b..02500e205d1 100644 --- a/configs/am62px_evm_a53_defconfig +++ b/configs

[PATCH v3 08/19] board: beagleplay: Define capsule update firmware info

2024-04-19 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 Humphreys

[PATCH v3 13/19] doc: board: ti: am62px: document OSPI layout

2024-04-19 Thread Jonathan Humphreys
Signed-off-by: Jonathan Humphreys --- doc/board/ti/am62px_sk.rst | 48 ++ 1 file changed, 48 insertions(+) diff --git a/doc/board/ti/am62px_sk.rst b/doc/board/ti/am62px_sk.rst index 1f2982c36f9..7ff20fbf8e6 100644 --- a/doc/board/ti/am62px_sk.rst +++ b/doc

[PATCH v3 09/19] configs: beagleplay: Enable DFU for MMC

2024-04-19 Thread Jonathan Humphreys
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 147967d3c11..68e103f58dc 100644 --- a/configs/am62x_beagleplay_a53_defconfig

[PATCH v3 06/19] configs: j721e: Enable EFI capsule update

2024-04-19 Thread Jonathan Humphreys
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 077bf508328..b8840a556e1 100644 --- a/configs/j721e_evm_a72_defconfig +++ b/configs

[PATCH v3 15/19] board: am62x: Define capsule update firmware info

2024-04-19 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| 32 include/configs/am62x_evm.h | 24

[PATCH v2 01/16] board: Define GUIDs for firmware images

2024-04-08 Thread Jonathan Humphreys
Define GUIDs for the different firmware images (tiboot3.bin, tispl.bin, u-boot.img, sysfw). Signed-off-by: Jonathan Humphreys --- include/configs/ti_armv7_common.h | 17 + 1 file changed, 17 insertions(+) diff --git a/include/configs/ti_armv7_common.h b/include/configs

[PATCH v2 15/16] board: beagleboneai64: Define capsule update firmware info

2024-04-08 Thread Jonathan Humphreys
Signed-off-by: Jonathan Humphreys --- 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

[PATCH v2 11/16] configs: am62x: Enable serial flash DFU

2024-04-08 Thread Jonathan Humphreys
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 d650b8575b6..0e6c94de538 100644 --- a/configs/am62x_evm_a53_defconfig +++ b/configs

[PATCH v2 06/16] board: beagleplay: Define capsule update firmware info

2024-04-08 Thread Jonathan Humphreys
Signed-off-by: Jonathan Humphreys --- 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

[PATCH v2 16/16] configs: beagleboneai64: Enable EFI capsule update

2024-04-08 Thread Jonathan Humphreys
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 3d234bc1a8f..e74ee68e23e 100644 --- a/configs

[PATCH v2 05/16] configs: j721e: Enable EFI capsule update

2024-04-08 Thread Jonathan Humphreys
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 077bf508328..b8840a556e1 100644 --- a/configs/j721e_evm_a72_defconfig +++ b/configs

[PATCH v2 13/16] board: am62x: Define capsule update firmware info

2024-04-08 Thread Jonathan Humphreys
Define the firmwares updatable via EFI capsule update. Signed-off-by: Jonathan Humphreys --- 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

[PATCH v2 09/16] board: am62px: Define capsule update firmware info

2024-04-08 Thread Jonathan Humphreys
Define the firmwares updatable via EFI capsule update. Signed-off-by: Jonathan Humphreys --- 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

[PATCH v2 03/16] configs: am64x: Enable EFI capsule update

2024-04-08 Thread Jonathan Humphreys
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 61b498b49a6..8ba17ea89f9 100644 --- a/configs/am64x_evm_a53_defconfig +++ b/configs

[PATCH v2 02/16] board: am64x: Define capsule update firmware info

2024-04-08 Thread Jonathan Humphreys
Define the firmwares updatable via EFI capsule update. Signed-off-by: Jonathan Humphreys --- 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

[PATCH v2 04/16] board: j721e: Define capsule update firmware info

2024-04-08 Thread Jonathan Humphreys
Signed-off-by: Jonathan Humphreys --- 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

[PATCH v2 07/16] configs: beagleplay: Enable DFU for MMC

2024-04-08 Thread Jonathan Humphreys
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 147967d3c11..68e103f58dc 100644 --- a/configs/am62x_beagleplay_a53_defconfig

[PATCH v2 08/16] configs: beagleplay: Enable EFI capsule update

2024-04-08 Thread Jonathan Humphreys
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 68e103f58dc..23b9c466248 100644 --- a/configs/am62x_beagleplay_a53_defconfig

[PATCH v2 10/16] configs: am62px: Enable EFI capsule update

2024-04-08 Thread Jonathan Humphreys
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 65dfda19f18..15ba1079760 100644 --- a/configs/am62px_evm_a53_defconfig +++ b/configs

[PATCH v2 14/16] configs: am62x: Enable EFI capsule update

2024-04-08 Thread Jonathan Humphreys
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 0e6c94de538..11af7b517d1 100644 --- a/configs/am62x_evm_a53_defconfig +++ b/configs

[PATCH v2 00/16] EFI: ti: Enable EFI capsule updates

2024-04-08 Thread Jonathan Humphreys
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

[PATCH v2 12/16] arm: dts: k3-am625-sk-u-boot: Add sysreset-controller node

2024-04-08 Thread Jonathan Humphreys
Signed-off-by: Jonathan Humphreys --- 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

[PATCH 4/7] dts: beagleplay: binman: Include firmware capsules binman nodes

2024-04-08 Thread Jonathan Humphreys
Signed-off-by: Jonathan Humphreys --- arch/arm/dts/k3-am625-beagleplay-u-boot.dtsi | 9 + arch/arm/dts/k3-am625-r5-beagleplay.dts | 5 + 2 files changed, 14 insertions(+) diff --git a/arch/arm/dts/k3-am625-beagleplay-u-boot.dtsi b/arch/arm/dts/k3-am625-beagleplay-u-boot.dtsi

[PATCH 5/7] dts: am62px: binman: Include base K3 firmware capsule binman nodes

2024-04-08 Thread Jonathan Humphreys
Signed-off-by: Jonathan Humphreys --- arch/arm/dts/k3-am62p-sk-binman.dtsi | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/dts/k3-am62p-sk-binman.dtsi b/arch/arm/dts/k3-am62p-sk-binman.dtsi index dea14945bf5..9b27c879f79 100644 --- a/arch/arm/dts/k3-am62p-sk-binman.dtsi +++ b

[PATCH 1/7] dts: ti: binman: Add base K3 firmware capsule nodes

2024-04-08 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 | 24 +++ arch/arm/dts/k3-binman-capsule.dtsi| 42 ++ 2 files changed, 66 insertions(+) create mode 100644 arch

[PATCH 3/7] dts: j721e: binman: Include firmware capsules binman nodes

2024-04-08 Thread Jonathan Humphreys
Signed-off-by: Jonathan Humphreys --- arch/arm/dts/k3-j721e-binman.dtsi | 32 +++ 1 file changed, 32 insertions(+) diff --git a/arch/arm/dts/k3-j721e-binman.dtsi b/arch/arm/dts/k3-j721e-binman.dtsi index 75a6e9599b9..9169551c422 100644 --- a/arch/arm/dts/k3-j721e

[PATCH 6/7] dts: am62x: binman: Include base K3 firmware capsule binman nodes

2024-04-08 Thread Jonathan Humphreys
Signed-off-by: Jonathan Humphreys --- arch/arm/dts/k3-am625-sk-binman.dtsi | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/dts/k3-am625-sk-binman.dtsi b/arch/arm/dts/k3-am625-sk-binman.dtsi index 5b058bd03a0..921c2bdcc5e 100644 --- a/arch/arm/dts/k3-am625-sk-binman.dtsi +++ b

[PATCH 2/7] dts: am64x: binman: Include base K3 firmware capsule binman nodes

2024-04-08 Thread Jonathan Humphreys
Signed-off-by: Jonathan Humphreys --- arch/arm/dts/k3-am64x-binman.dtsi | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/dts/k3-am64x-binman.dtsi b/arch/arm/dts/k3-am64x-binman.dtsi index 37817ba60d2..89cf048db1f 100644 --- a/arch/arm/dts/k3-am64x-binman.dtsi +++ b/arch/arm/dts

[PATCH 7/7] dts: beagleboneai64: binman: Include firmware capsules binman nodes

2024-04-08 Thread Jonathan Humphreys
Signed-off-by: Jonathan Humphreys --- .../dts/k3-j721e-beagleboneai64-u-boot.dtsi | 9 arch/arm/dts/k3-j721e-r5-beagleboneai64.dts | 22 +++ 2 files changed, 31 insertions(+) diff --git a/arch/arm/dts/k3-j721e-beagleboneai64-u-boot.dtsi b/arch/arm/dts/k3-j721e

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

2024-04-08 Thread Jonathan Humphreys
Add binman nodes for EFI capsules of firmware components. This is enabled for several TI SoC based platforms: AM64, AM62, AM62p, BeaglePlay, J7, and BeagleboneAI. Jonathan Humphreys (7): dts: ti: binman: Add base K3 firmware capsule nodes dts: am64x: binman: Include base K3 firmware capsule

[PATCH 05/13] configs: j721e: Enable capsule authentication

2024-04-08 Thread Jonathan Humphreys
Signed-off-by: Jonathan Humphreys --- configs/j721e_evm_a72_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/j721e_evm_a72_defconfig b/configs/j721e_evm_a72_defconfig index 83bc0576821..c522d8cc9ee 100644 --- a/configs/j721e_evm_a72_defconfig +++ b/configs

[PATCH 13/13] configs: beagleboneai64: Enable capsule authentication

2024-04-08 Thread Jonathan Humphreys
Signed-off-by: Jonathan Humphreys --- configs/j721e_beagleboneai64_a72_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/j721e_beagleboneai64_a72_defconfig b/configs/j721e_beagleboneai64_a72_defconfig index 5aeb4c08d31..c1d30b3db68 100644 --- a/configs

[PATCH 08/13] configs: am62px: Set capsule update signature list file

2024-04-08 Thread Jonathan Humphreys
Signed-off-by: Jonathan Humphreys --- configs/am62px_evm_a53_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/am62px_evm_a53_defconfig b/configs/am62px_evm_a53_defconfig index 15ba1079760..ea72eaf2d42 100644 --- a/configs/am62px_evm_a53_defconfig +++ b/configs

[PATCH 10/13] configs: am62x: Set capsule update signature list file

2024-04-08 Thread Jonathan Humphreys
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 11af7b517d1..1accae81564 100644 --- a/configs/am62x_evm_a53_defconfig +++ b/configs

[PATCH 03/13] configs: am64x: Enable capsule authentication

2024-04-08 Thread Jonathan Humphreys
Signed-off-by: Jonathan Humphreys --- configs/am64x_evm_a53_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/am64x_evm_a53_defconfig b/configs/am64x_evm_a53_defconfig index 5594d26844e..8490d4e36a8 100644 --- a/configs/am64x_evm_a53_defconfig +++ b/configs

[PATCH 11/13] configs: am62x: Enable capsule authentication

2024-04-08 Thread Jonathan Humphreys
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 1accae81564..772a6551ff2 100644 --- a/configs/am62x_evm_a53_defconfig +++ b/configs

[PATCH 06/13] configs: beagleplay: Set capsule update signature list file

2024-04-08 Thread Jonathan Humphreys
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 23b9c466248..4e0dcf70b25 100644 --- a/configs/am62x_beagleplay_a53_defconfig

[PATCH 07/13] configs: beagleplay: Enable capsule authentication

2024-04-08 Thread Jonathan Humphreys
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 4e0dcf70b25..99258804f92 100644 --- a/configs/am62x_beagleplay_a53_defconfig

[PATCH 09/13] configs: am62px: Enable capsule authentication

2024-04-08 Thread Jonathan Humphreys
Signed-off-by: Jonathan Humphreys --- configs/am62px_evm_a53_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/am62px_evm_a53_defconfig b/configs/am62px_evm_a53_defconfig index ea72eaf2d42..9e633293d49 100644 --- a/configs/am62px_evm_a53_defconfig +++ b/configs

[PATCH 12/13] configs: beagleboneai64: Set capsule update signature list file

2024-04-08 Thread Jonathan Humphreys
Signed-off-by: Jonathan Humphreys --- configs/j721e_beagleboneai64_a72_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/j721e_beagleboneai64_a72_defconfig b/configs/j721e_beagleboneai64_a72_defconfig index e74ee68e23e..5aeb4c08d31 100644 --- a/configs

[PATCH 02/13] configs: am64x: Set capsule update signature list file

2024-04-08 Thread Jonathan Humphreys
Signed-off-by: Jonathan Humphreys --- configs/am64x_evm_a53_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/am64x_evm_a53_defconfig b/configs/am64x_evm_a53_defconfig index 8ba17ea89f9..5594d26844e 100644 --- a/configs/am64x_evm_a53_defconfig +++ b/configs

[PATCH 00/13] EFI: capsule: ti: enable authenticated capsules

2024-04-08 Thread Jonathan Humphreys
Create an EFI signature list (.esl) file based on the TI dummy key. Enable capsule authentication for several TI SoC based platforms: AM64, AM62, AM62p, BeaglePlay, J7, and BeagleboneAI. Jonathan Humphreys (13): ti:keys Add EFI signature list configs: am64x: Set capsule update signature list

[PATCH 01/13] ti:keys Add EFI signature list

2024-04-08 Thread Jonathan Humphreys
EFI signature list using TI dummy keys. Signed-off-by: Jonathan Humphreys --- arch/arm/mach-k3/keys/custMpk.esl | Bin 0 -> 1523 bytes 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 arch/arm/mach-k3/keys/custMpk.esl diff --git a/arch/arm/mach-k3/keys/custMpk.esl b/a

[PATCH 04/13] configs: j721e: Set capsule update signature list file

2024-04-08 Thread Jonathan Humphreys
Signed-off-by: Jonathan Humphreys --- configs/j721e_evm_a72_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/j721e_evm_a72_defconfig b/configs/j721e_evm_a72_defconfig index b8840a556e1..83bc0576821 100644 --- a/configs/j721e_evm_a72_defconfig +++ b/configs

[PATCH] Makefile.lib: find capsule ESL dtsi file with CONFIG_OF_UPSTREAM

2024-04-08 Thread Jonathan Humphreys
the #include inserted in the DTS file is local to the current directory. Update Makefile to have the DT preprocessing of #includes search in the parent (dts top level) directory too. Signed-off-by: Jonathan Humphreys --- scripts/Makefile.lib | 2 +- 1 file changed, 1 insertion(+), 1 deletion

[PATCH 05/16] configs: j721e: Enable EFI capsule update

2024-04-08 Thread Jonathan Humphreys
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 077bf508328..b8840a556e1 100644 --- a/configs/j721e_evm_a72_defconfig +++ b/configs

[PATCH 07/16] configs: beagleplay: Enable DFU for MMC

2024-04-08 Thread Jonathan Humphreys
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 147967d3c11..68e103f58dc 100644 --- a/configs/am62x_beagleplay_a53_defconfig

[PATCH 02/16] board: am64x: Define capsule update firmware info

2024-04-08 Thread Jonathan Humphreys
Define the firmwares updatable via EFI capsule update. Signed-off-by: Jonathan Humphreys --- 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..a151023bb7e 100644 --- a/board

[PATCH 04/16] board: j721e: Define capsule update firmware info

2024-04-08 Thread Jonathan Humphreys
Signed-off-by: Jonathan Humphreys --- 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..b8702b83547 100644 --- a/board/ti/j721e/evm.c +++ b/board/ti/j721e/evm.c @@ -7,6

[PATCH 01/16] board: Define GUIDs for firmware images

2024-04-08 Thread Jonathan Humphreys
Define GUIDs for the different firmware images (tiboot3.bin, tispl.bin, u-boot.img, sysfw). Signed-off-by: Jonathan Humphreys --- include/configs/ti_armv7_common.h | 17 + 1 file changed, 17 insertions(+) diff --git a/include/configs/ti_armv7_common.h b/include/configs

[PATCH 00/16] EFI: ti: Enable EFI capsule updates

2024-04-08 Thread Jonathan Humphreys
flash DFU for AM62 and MMC DFU for beagleplay, and adding the sysreset controller node for AM62 to enable system reset. Jonathan Humphreys (16): board: Define GUIDs for firmware images board: am64x: Define capsule update firmware info configs: am64x: Enable EFI capsule update board: j721e

[PATCH 08/16] configs: beagleplay: Enable EFI capsule update

2024-04-08 Thread Jonathan Humphreys
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 68e103f58dc..23b9c466248 100644 --- a/configs/am62x_beagleplay_a53_defconfig

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

2024-04-08 Thread Jonathan Humphreys
Define the firmwares updatable via EFI capsule update. Signed-off-by: Jonathan Humphreys --- 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..595c98982bb 100644 --- a/board

[PATCH 12/16] arm: dts: k3-am625-sk-u-boot: Add sysreset-controller node

2024-04-08 Thread Jonathan Humphreys
Signed-off-by: Jonathan Humphreys --- 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

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

2024-04-08 Thread Jonathan Humphreys
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 d650b8575b6..0e6c94de538 100644 --- a/configs/am62x_evm_a53_defconfig +++ b/configs

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

2024-04-08 Thread Jonathan Humphreys
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 0e6c94de538..11af7b517d1 100644 --- a/configs/am62x_evm_a53_defconfig +++ b/configs

[PATCH 16/16] configs: beagleboneai64: Enable EFI capsule update

2024-04-08 Thread Jonathan Humphreys
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 3d234bc1a8f..e74ee68e23e 100644 --- a/configs

  1   2   >