[PATCH v4 3/3] board: remove capsule update support in set_dfu_alt_info()

2025-02-26 Thread Jonathan Humphreys
remove the function entirely. Fixes: a9e6f01a941f ("efi: Define set_dfu_alt_info() for boards with UEFI capsule update enabled") Signed-off-by: Jonathan Humphreys Signed-off-by: Michal Simek Reviewed-by: Mattijs Korpershoek Reviewed-by: Neil Armstrong # for board/libre-computer/* R

[PATCH v4 0/3] EFI Capsule update explicitly sets dfu_alt_info

2025-02-26 Thread Jonathan Humphreys
1-j-humphr...@ti.com Tested-by: Michal Simek Jonathan Humphreys (2): efi_firmware: set EFI capsule dfu_alt_info env explicitly board: remove capsule update support in set_dfu_alt_info() Michal Simek (1): xilinx: dfu: Fill directly update_info.dfu_string board/beagle/beagleboneai64/beagle

[PATCH v4 2/3] efi_firmware: set EFI capsule dfu_alt_info env explicitly

2025-02-26 Thread Jonathan Humphreys
_alt_info(). Signed-off-by: Jonathan Humphreys Reviewed-by: Mattijs Korpershoek --- lib/efi_loader/efi_firmware.c | 51 --- 1 file changed, 48 insertions(+), 3 deletions(-) diff --git a/lib/efi_loader/efi_firmware.c b/lib/efi_loader/efi_firmware.c index 5a75

[PATCH v4 1/3] xilinx: dfu: Fill directly update_info.dfu_string

2025-02-26 Thread Jonathan Humphreys
From: Michal Simek Directly fill update_info.dfu_string to prepare platforms to switch from using dfu_alt_info variable to dfu_string which contains description for capsule update when switch is done. Signed-off-by: Michal Simek Reviewed-by: Mattijs Korpershoek Acked-by: Ilias Apalodimas ---

[PATCH v3 0/3] EFI Capsule update explicitly sets dfu_alt_info

2025-02-13 Thread Jonathan Humphreys
ilinx boards to set the dfu_string member with the created dfu_alt_info string for capsule updates Link to v2: https://lore.kernel.org/r/20250206154719.3032322-1-j-humphr...@ti.com Jonathan Humphreys (2): efi_firmware: set EFI capsule dfu_alt_info env explicitly board: remove capsule update su

[PATCH v3 1/3] xilinx: dfu: Fill directly update_info.dfu_string

2025-02-13 Thread Jonathan Humphreys
From: Michal Simek Directly fill update_info.dfu_string to prepare platforms to switch from using dfu_alt_info variable to dfu_string which contains description for capsule update when switch is done. Signed-off-by: Michal Simek --- board/xilinx/versal/board.c | 3 +++ board/xilinx/zynq/board

[PATCH v3 3/3] board: remove capsule update support in set_dfu_alt_info()

2025-02-13 Thread Jonathan Humphreys
remove the function entirely. Fixes: a9e6f01a941f ("efi: Define set_dfu_alt_info() for boards with UEFI capsule update enabled") Signed-off-by: Jonathan Humphreys Signed-off-by: Michal Simek Reviewed-by: Mattijs Korpershoek Reviewed-by: Neil Armstrong # for board/libre-computer/*

[PATCH v3 2/3] efi_firmware: set EFI capsule dfu_alt_info env explicitly

2025-02-13 Thread Jonathan Humphreys
_alt_info(). Signed-off-by: Jonathan Humphreys --- lib/efi_loader/efi_firmware.c | 39 --- 1 file changed, 36 insertions(+), 3 deletions(-) diff --git a/lib/efi_loader/efi_firmware.c b/lib/efi_loader/efi_firmware.c index 5a754c9cd03..1a1cf3b55e1 100644

[PATCH v2 0/2] EFI Capsule update explicitly sets dfu_alt_info

2025-02-06 Thread Jonathan Humphreys
n the case of a DFU operation error, restore the dfu_alt_info environment variable to its original value. - return EFI_EXIT based error codes if setting environment variables fails Link to v1: https://lore.kernel.org/r/20250203215351.2840144-1-j-humphr...@ti.com Jonathan Humphreys (2): efi_fir

[PATCH v2 2/2] board: remove capsule update support in set_dfu_alt_info()

2025-02-06 Thread Jonathan Humphreys
remove the function entirely. Fixes: a9e6f01a941f ("efi: Define set_dfu_alt_info() for boards with UEFI capsule update enabled") Signed-off-by: Jonathan Humphreys Reviewed-by: Mattijs Korpershoek --- board/beagle/beagleboneai64/beagleboneai64.c | 8 board/beagle/

[PATCH v2 1/2] efi_firmware: set EFI capsule dfu_alt_info env explicitly

2025-02-06 Thread Jonathan Humphreys
_alt_info(). Signed-off-by: Jonathan Humphreys --- lib/efi_loader/efi_firmware.c | 39 --- 1 file changed, 36 insertions(+), 3 deletions(-) diff --git a/lib/efi_loader/efi_firmware.c b/lib/efi_loader/efi_firmware.c index 5a754c9cd03..1a1cf3b55e1 100644

[PATCH 2/2] board: remove capsule update support in set_dfu_alt_info()

2025-02-03 Thread Jonathan Humphreys
remove the function entirely. Fixes commit a9e6f01a941f ("efi: Define set_dfu_alt_info() for boards with UEFI capsule update enabled") Signed-off-by: Jonathan Humphreys --- board/beagle/beagleboneai64/beagleboneai64.c | 8 board/beagle/beagleplay/beagleplay.c

[PATCH 0/2] EFI Capsule update explicitly sets dfu_alt_info

2025-02-03 Thread Jonathan Humphreys
_info setting in set_dfu_alt_info() is that set_dfu_alt_info() lacks the context of what DFU operation is being performed (eg, capsule update, DFU boot, listing the alt_info, etc) so the capsule update setting was overwriting the setting for other DFU operations. Jonathan Humphreys (2): efi_fir

[PATCH 1/2] efi_firmware: set EFI capsule dfu_alt_info env explicitly

2025-02-03 Thread Jonathan Humphreys
_alt_info(). Signed-off-by: Jonathan Humphreys --- lib/efi_loader/efi_firmware.c | 29 + 1 file changed, 29 insertions(+) diff --git a/lib/efi_loader/efi_firmware.c b/lib/efi_loader/efi_firmware.c index 5a754c9cd03..d8b6d34ccab 100644 --- a/lib/efi_loader/efi_

[PATCH] configs: am62x_evm_*: Set DFU buffer size to 256k

2024-12-20 Thread Jonathan Humphreys
am62x_evm_*: Enable USB and DFU support") Signed-off-by: Jonathan Humphreys --- configs/am62x_a53_usbdfu.config | 2 +- configs/am62x_r5_usbdfu.config | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/configs/am62x_a53_usbdfu.config b/configs/am62x_a53_usbdfu.config in

[PATCH] dfu: Prevent set_dfu_alt_info() from overwriting a previous value

2024-12-17 Thread Jonathan Humphreys
written if CONFIG_SET_DFU_ALT_INFO is enabled. This patch will first check that dfu_alt_info isn't already set before calling set_dfu_alt_info(), when CONFIG_SET_DFU_ALT_INFO is enabled. Signed-off-by: Jonathan Humphreys --- drivers/dfu/dfu.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-

[PATCH v3 4/5] arch: arm: dts: k3-j721e-r5-evm: Add missing fss range

2024-08-09 Thread Jonathan Humphreys
, this patch can be removed. See 0c0e03ec22 (arm64: dts: ti: k3-j721e: Use exact ranges for FSS node) Fixes: 5024a96db8e ("Subtree merge tag 'v6.10-dts' of devicetree-rebasing repo [1] into dts/upstream") Signed-off-by: Jonathan Humphreys --- arch/arm/dts/k3-j721e-r5-commo

[PATCH v3 0/5] arch: arm: dts: ti: Add missing fss range

2024-08-09 Thread Jonathan Humphreys
v2: - Correct fixes tag format - Uppercase FSS in comment Link to v2: https://lore.kernel.org/r/20240809211717.3887859-1-j-humphr...@ti.com Jonathan Humphreys (5): arch: arm: dts: k3-j784s4-r5-evm: Add missing fss range arch: arm: dts: k3-am69-r5-sk: Add missing fss range arch: arm: dts:

[PATCH v3 3/5] arch: arm: dts: k3-j7200-r5-evm: Add missing fss range

2024-08-09 Thread Jonathan Humphreys
, this patch can be removed. See f00e626085 (arm64: dts: ti: k3-j7200: Use exact ranges for FSS node) Fixes: 5024a96db8e ("Subtree merge tag 'v6.10-dts' of devicetree-rebasing repo [1] into dts/upstream") Signed-off-by: Jonathan Humphreys --- arch/arm/dts/k3-j7200-r5-commo

[PATCH v3 5/5] arch: arm: dts: k3-j721e-r5-sk: Add missing fss range

2024-08-09 Thread Jonathan Humphreys
, this patch can be removed. See 0c0e03ec22 (arm64: dts: ti: k3-j721e: Use exact ranges for FSS node) Fixes: 5024a96db8e ("Subtree merge tag 'v6.10-dts' of devicetree-rebasing repo [1] into dts/upstream") Signed-off-by: Jonathan Humphreys --- arch/arm/dts/k3-j721e-r5-sk.dt

[PATCH v3 1/5] arch: arm: dts: k3-j784s4-r5-evm: Add missing fss range

2024-08-09 Thread Jonathan Humphreys
, this patch can be removed. See f062a015f4 (arm64: dts: ti: k3-j784s4: Use exact ranges for FSS node) Fixes: 5024a96db8e ("Subtree merge tag 'v6.10-dts' of devicetree-rebasing repo [1] into dts/upstream") Signed-off-by: Jonathan Humphreys Reviewed-by: Andrew Davis --- arch/

[PATCH v3 2/5] arch: arm: dts: k3-am69-r5-sk: Add missing fss range

2024-08-09 Thread Jonathan Humphreys
, this patch can be removed. See f062a015f4 (arm64: dts: ti: k3-j784s4: Use exact ranges for FSS node) Fixes: 5024a96db8e ("Subtree merge tag 'v6.10-dts' of devicetree-rebasing repo [1] into dts/upstream") Signed-off-by: Jonathan Humphreys --- arch/arm/dts/k3-am69-r5-sk.dt

[PATCH v2 0/5] arch: arm: dts: ti: Add missing fss range

2024-08-09 Thread Jonathan Humphreys
, these patches can be removed. Fixes: 5024a96db8e (Subtree merge tag 'v6.10-dts' of devicetree-rebasing repo [1] into dts/upstream) Changes from v1: - Fixup tab whitespace alignment Link to v1: https://lore.kernel.org/r/20240808212926.3790223-1-j-humphr...@ti.com Jonathan Humphreys (5):

[PATCH v2 2/5] arch: arm: dts: k3-am69-r5-sk: Add missing fss range

2024-08-09 Thread Jonathan Humphreys
, this patch can be removed. See f062a015f4 (arm64: dts: ti: k3-j784s4: Use exact ranges for FSS node) Fixes: 5024a96db8e (Subtree merge tag 'v6.10-dts' of devicetree-rebasing repo [1] into dts/upstream) Signed-off-by: Jonathan Humphreys --- arch/arm/dts/k3-am69-r5-sk.dts | 6

[PATCH v2 5/5] arch: arm: dts: k3-j721e-r5-sk: Add missing fss range

2024-08-09 Thread Jonathan Humphreys
, this patch can be removed. See 0c0e03ec22 (arm64: dts: ti: k3-j721e: Use exact ranges for FSS node) Fixes: 5024a96db8e (Subtree merge tag 'v6.10-dts' of devicetree-rebasing repo [1] into dts/upstream) Signed-off-by: Jonathan Humphreys --- arch/arm/dts/k3-j721e-r5-sk.dts | 6

[PATCH v2 1/5] arch: arm: dts: k3-j784s4-r5-evm: Add missing fss range

2024-08-09 Thread Jonathan Humphreys
, this patch can be removed. See f062a015f4 (arm64: dts: ti: k3-j784s4: Use exact ranges for FSS node) Fixes: 5024a96db8e (Subtree merge tag 'v6.10-dts' of devicetree-rebasing repo [1] into dts/upstream) Signed-off-by: Jonathan Humphreys Reviewed-by: Andrew Davis --- arch/arm/dts/k3

[PATCH v2 4/5] arch: arm: dts: k3-j721e-r5-evm: Add missing fss range

2024-08-09 Thread Jonathan Humphreys
, this patch can be removed. See 0c0e03ec22 (arm64: dts: ti: k3-j721e: Use exact ranges for FSS node) Fixes: 5024a96db8e (Subtree merge tag 'v6.10-dts' of devicetree-rebasing repo [1] into dts/upstream) Signed-off-by: Jonathan Humphreys --- arch/arm/dts/k3-j721e-r5-common-proc-boa

[PATCH v2 3/5] arch: arm: dts: k3-j7200-r5-evm: Add missing fss range

2024-08-09 Thread Jonathan Humphreys
, this patch can be removed. See f00e626085 (arm64: dts: ti: k3-j7200: Use exact ranges for FSS node) Fixes: 5024a96db8e (Subtree merge tag 'v6.10-dts' of devicetree-rebasing repo [1] into dts/upstream) Signed-off-by: Jonathan Humphreys --- arch/arm/dts/k3-j7200-r5-common-proc-boa

[PATCH 2/5] arch: arm: dts: k3-am69-r5-sk: Add missing fss range

2024-08-08 Thread Jonathan Humphreys
, this patch can be removed. See f062a015f4 (arm64: dts: ti: k3-j784s4: Use exact ranges for FSS node) Fixes: 5024a96db8e (Subtree merge tag 'v6.10-dts' of devicetree-rebasing repo [1] into dts/upstream) Signed-off-by: Jonathan Humphreys --- arch/arm/dts/k3-am69-r5-sk.dts | 6

[PATCH 1/5] arch: arm: dts: k3-j784s4-r5-evm: Add missing fss range

2024-08-08 Thread Jonathan Humphreys
, this patch can be removed. See f062a015f4 (arm64: dts: ti: k3-j784s4: Use exact ranges for FSS node) Fixes: 5024a96db8e (Subtree merge tag 'v6.10-dts' of devicetree-rebasing repo [1] into dts/upstream) Signed-off-by: Jonathan Humphreys --- arch/arm/dts/k3-j784s4-r5-evm.dts | 6

[PATCH 5/5] arch: arm: dts: k3-j721e-r5-sk: Add missing fss range

2024-08-08 Thread Jonathan Humphreys
, this patch can be removed. See 0c0e03ec22 (arm64: dts: ti: k3-j721e: Use exact ranges for FSS node) Fixes: 5024a96db8e (Subtree merge tag 'v6.10-dts' of devicetree-rebasing repo [1] into dts/upstream) Signed-off-by: Jonathan Humphreys --- arch/arm/dts/k3-j721e-r5-sk.dts | 6

[PATCH 0/5] arch: arm: dts: ti: Add missing fss range

2024-08-08 Thread Jonathan Humphreys
, these patches can be removed. Fixes: 5024a96db8e (Subtree merge tag 'v6.10-dts' of devicetree-rebasing repo [1] into dts/upstream) Jonathan Humphreys (5): arch: arm: dts: k3-j784s4-r5-evm: Add missing fss range arch: arm: dts: k3-am69-r5-sk: Add missing fss range arch: arm: dts: k

[PATCH 4/5] arch: arm: dts: k3-j721e-r5-evm: Add missing fss range

2024-08-08 Thread Jonathan Humphreys
, this patch can be removed. See 0c0e03ec22 (arm64: dts: ti: k3-j721e: Use exact ranges for FSS node) Fixes: 5024a96db8e (Subtree merge tag 'v6.10-dts' of devicetree-rebasing repo [1] into dts/upstream) Signed-off-by: Jonathan Humphreys --- arch/arm/dts/k3-j721e-r5-common-proc-boa

[PATCH 3/5] arch: arm: dts: k3-j7200-r5-evm: Add missing fss range

2024-08-08 Thread Jonathan Humphreys
, this patch can be removed. See f00e626085 (arm64: dts: ti: k3-j7200: Use exact ranges for FSS node) Fixes: 5024a96db8e (Subtree merge tag 'v6.10-dts' of devicetree-rebasing repo [1] into dts/upstream) Signed-off-by: Jonathan Humphreys --- arch/arm/dts/k3-j7200-r5-common-proc-boa

[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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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] 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] 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] 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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

  1   2   3   >