[PATCH 0/8] Add ESM support for J721E and J7200

2023-04-10 Thread Neha Malcom Francis
Add support for ESM (Error Signalling Module) in J721E and J7200. The ESM error pin output is routed to the PMIC (Power Management IC) which can reset the board. The dts nodes for SoC and PMIC ESM modules are added (if not already) to enable them. Gowtham Tammana (6): arm: dts: k3-j7200: Add Mai

[PATCH 1/8] arm: mach-k3: j721e_init: initialize ESM support

2023-04-10 Thread Neha Malcom Francis
From: Tero Kristo Initialize both ESM and ESM_PMIC support if available for the board. If support is not available for either, a warning is printed out. Signed-off-by: Tero Kristo Signed-off-by: Gowtham Tammana Signed-off-by: Neha Malcom Francis --- arch/arm/mach-k3/j721e_init.c | 23

[PATCH 2/8] arm: dts: k3-k721e: Add Main domain ESM support

2023-04-10 Thread Neha Malcom Francis
From: Tero Kristo Main domain ESM support is needed to configure main domain watchdogs to generate ESM pin events by default. On J7 processor board these propagate to the PMIC to generate a reset when watchdog expires. Signed-off-by: Tero Kristo Signed-off-by: Neha Malcom Francis --- arch

[PATCH 3/8] arm: dts: k3-j7200: Add Main domain ESM support

2023-04-10 Thread Neha Malcom Francis
From: Gowtham Tammana Main domain ESM support is needed to configure main domain watchdog interrupts to generate ESM pin events. On J7200 boards ESM error pin output is propagated to PMIC to generate reset. Signed-off-by: Gowtham Tammana Signed-off-by: Neha Malcom Francis --- arch/arm/dts/k3

[PATCH 4/8] arm: dts: k3-j7200-r5-common: Add pmic node for esm

2023-04-10 Thread Neha Malcom Francis
From: Gowtham Tammana Add pmic tps659413 node needed for ESM error event handling. Signed-off-by: Gowtham Tammana Signed-off-by: Neha Malcom Francis --- arch/arm/dts/k3-j7200-r5-common-proc-board.dts | 13 ++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/arch/arm

[PATCH 5/8] arm: dts: k3-j7200: Add ESM PMIC support for tps659413

2023-04-10 Thread Neha Malcom Francis
From: Gowtham Tammana On J7200 processor board MCU_SAFETY_ERROR signal is routed to PMIC for ESM error handling. The PMIC resets the board on receipt of the signal. Enable the support for the board by adding ESM PMIC node. Signed-off-by: Gowtham Tammana Signed-off-by: Neha Malcom Francis

[PATCH 7/8] power: pmic: tps65491: Dont fail on master node

2023-04-10 Thread Neha Malcom Francis
From: Gowtham Tammana TPS65941 can have child only ESM nodes with no regulators, so dont fail on regulator probe failure. Signed-off-by: Gowtham Tammana Signed-off-by: Neha Malcom Francis --- drivers/power/pmic/tps65941.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/power/pmic

[PATCH 6/8] j721e_init: initialize ESM support for J7200 SOM

2023-04-10 Thread Neha Malcom Francis
From: Gowtham Tammana ESM and ESM PMIC support is available for J7200X-PM2-SOM board, as such enable support for it. Signed-off-by: Gowtham Tammana Signed-off-by: Neha Malcom Francis --- arch/arm/mach-k3/j721e_init.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a

[PATCH 8/8] configs: j7200_evm_r5_defconfig: Enable ESM modules

2023-04-10 Thread Neha Malcom Francis
From: Gowtham Tammana Enable ESM modules for both PMIC and SoC for watchdog error intterupt handling on the board. Signed-off-by: Gowtham Tammana Signed-off-by: Neha Malcom Francis --- configs/j7200_evm_r5_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configs

Re: [PATCH 0/8] Add ESM support for J721E and J7200

2023-04-11 Thread Neha Malcom Francis
Hi Bryan On 10/04/23 20:09, Bryan Brattlof wrote: Hi Neha! On April 10, 2023 thus sayeth Neha Malcom Francis: Add support for ESM (Error Signalling Module) in J721E and J7200. The ESM error pin output is routed to the PMIC (Power Management IC) which can reset the board. The dts nodes for SoC

Re: [PATCH 0/8] Add ESM support for J721E and J7200

2023-04-11 Thread Neha Malcom Francis
Hi Andrew, On 11/04/23 21:00, Andrew Davis wrote: On 4/11/23 4:21 AM, Neha Malcom Francis wrote: Hi Bryan On 10/04/23 20:09, Bryan Brattlof wrote: Hi Neha! On April 10, 2023 thus sayeth Neha Malcom Francis: Add support for ESM (Error Signalling Module) in J721E and J7200. The ESM error pin

Re: [PATCH v2 02/18] binman: ti-secure: Add support for TI signing

2023-04-12 Thread Neha Malcom Francis
Hi Simon On 06/04/23 00:07, Simon Glass wrote: kHi Neha, On Wed, 5 Apr 2023 at 00:13, Neha Malcom Francis wrote: The ti-secure entry contains certificate for binaries that will be loaded or booted by system firmware whereas the ti-secure-rom entry contains certificate for binaries that will

[PATCH 1/3] dt-bindings: misc: esm: Add ESM support for TI K3 devices

2023-04-14 Thread Neha Malcom Francis
Document the binding for TI K3 ESM (Error Signaling Module) block. Signed-off-by: Neha Malcom Francis --- .../devicetree/bindings/misc/esm-k3.yaml | 54 +++ 1 file changed, 54 insertions(+) create mode 100644 Documentation/devicetree/bindings/misc/esm-k3.yaml diff --git a

[PATCH 2/3] arm64: dts: ti: k3-j721e: Add ESM support

2023-04-14 Thread Neha Malcom Francis
Add address entry mapping ESM on J721E. Signed-off-by: Neha Malcom Francis --- arch/arm64/boot/dts/ti/k3-j721e.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/ti/k3-j721e.dtsi b/arch/arm64/boot/dts/ti/k3-j721e.dtsi index b912143b6a11..52bcde601eb8 100644 --- a/arch

[PATCH 0/3] Add support for ESM

2023-04-14 Thread Neha Malcom Francis
well as ensuring completeness of hardware description in devicetree. Neha Malcom Francis (3): dt-bindings: misc: esm: Add ESM support for TI K3 devices arm64: dts: ti: k3-j721e: Add ESM support arm64: dts: ti: k3-j7200: Add ESM support .../devicetree/bindings/misc/esm-k3.yaml | 54

[PATCH 3/3] arm64: dts: ti: k3-j7200: Add ESM support

2023-04-14 Thread Neha Malcom Francis
Add address entry mapping ESM on J7200. Signed-off-by: Neha Malcom Francis --- arch/arm64/boot/dts/ti/k3-j7200-main.dtsi | 6 ++ arch/arm64/boot/dts/ti/k3-j7200.dtsi | 1 + 2 files changed, 7 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3-j7200-main.dtsi b/arch/arm64/boot/dts

Re: [PATCH 0/3] Add support for ESM

2023-04-14 Thread Neha Malcom Francis
Please ignore following patches, send by mistake. Sorry for the spam! On 14/04/23 16:22, Neha Malcom Francis wrote: ESM (Error Signaling Module) is a fundamental IP responsible for handling safety events. The driver currently present in U-Boot is responsible for configuring ESM. This patch

[PATCH] include: configs: j721e_evm: Fix name_fdt for J7200

2023-04-14 Thread Neha Malcom Francis
Currently, name_fdt is not set for J7200, fix this so right DTB is picked during boot. Signed-off-by: Neha Malcom Francis --- board/ti/j721e/j721e.env | 2 ++ 1 file changed, 2 insertions(+) diff --git a/board/ti/j721e/j721e.env b/board/ti/j721e/j721e.env index 446395adfa..222b5b12dd 100644

Re: [PATCH v6 2/4] configs: j721e: Merge the HS and non-HS defconfigs

2023-04-16 Thread Neha Malcom Francis
CONFIG_USB_GADGET_MANUFACTURER="Texas Instruments" -CONFIG_USB_GADGET_VENDOR_NUM=0x0451 -CONFIG_USB_GADGET_PRODUCT_NUM=0x6163 -CONFIG_USB_GADGET_DOWNLOAD=y -CONFIG_FS_EXT4=y -CONFIG_FS_FAT_MAX_CLUSTSIZE=16384 -CONFIG_LIB_RATIONAL=y -CONFIG_SPL_LIB_RATIONAL=y Reviewed-by: Neha Malcom Francis -- Thanking You Neha Malcom Francis

Re: [PATCH 1/3] dt-bindings: misc: esm: Add ESM support for TI K3 devices

2023-04-17 Thread Neha Malcom Francis
Hi Krzysztof On 14/04/23 17:10, Krzysztof Kozlowski wrote: On 14/04/2023 12:52, Neha Malcom Francis wrote: Document the binding for TI K3 ESM (Error Signaling Module) block. Signed-off-by: Neha Malcom Francis --- .../devicetree/bindings/misc/esm-k3.yaml | 54 +++ 1

Re: [PATCH 1/3] dt-bindings: misc: esm: Add ESM support for TI K3 devices

2023-04-19 Thread Neha Malcom Francis
Hi Krzysztof On 18/04/23 21:40, Krzysztof Kozlowski wrote: On 17/04/2023 10:56, Neha Malcom Francis wrote: Hi Krzysztof On 14/04/23 17:10, Krzysztof Kozlowski wrote: On 14/04/2023 12:52, Neha Malcom Francis wrote: Document the binding for TI K3 ESM (Error Signaling Module) block. Signed

Re: [Question] TI's u-boot.img is built twice

2023-09-21 Thread Neha Malcom Francis
u-boot and dt are embedded. $ fdtdump u-boot.img.backup => u-boot and dt are appended after the FIT structure -- Thanking You Neha Malcom Francis

Re: [Question] TI's u-boot.img is built twice

2023-09-22 Thread Neha Malcom Francis
Hi Masahiro On 22/09/23 12:48, Masahiro Yamada wrote: On Fri, Sep 22, 2023 at 2:27 PM Neha Malcom Francis wrote: Hi Masahiro On 21/09/23 21:06, Masahiro Yamada wrote: Hi. Since the TI platform migrated to binman, u-boot.img is built twice. It is created by "mkimage -E", then o

[PATCH] binman: openssl: x509: ti_secure_rom: Add support for bootcore_opts

2023-09-22 Thread Neha Malcom Francis
lso modify existing test case for ensuring future coverage. Signed-off-by: Neha Malcom Francis --- tools/binman/btool/openssl.py | 6 -- tools/binman/etype/ti_secure_rom.py | 12 ++-- tools/binman/etype/x509_cert.py | 3 ++- tools/binman/test/297_ti_secure_rom.dts

[PATCH v3 0/6] [PATCH v3 0/6] J721E DTS Sync with Kernel v6.6-rc1

2023-09-22 Thread Neha Malcom Francis
dts - drop all /delete Neha Malcom Francis (6): arm: mach-k3: j721e: dev-data: Add mcu_timer0 ID arm: mach-k3: j721e_init: Move clk_k3 probe before loading TIFS drivers: firmware: ti_sci: Get SCI revision only if TIFS/SYSFW is up configs: j721e: Remove HBMC_AM654 config arm

[PATCH v3 1/6] arm: mach-k3: j721e: dev-data: Add mcu_timer0 ID

2023-09-22 Thread Neha Malcom Francis
U-Boot uses mcu_timer0 as the tick-timer, so add it to device list. Signed-off-by: Neha Malcom Francis Reviewed-by: Manorit Chawdhry --- arch/arm/mach-k3/j721e/dev-data.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach-k3/j721e/dev-data.c b/arch/arm/mach-k3/j721e/dev-data.c

[PATCH v3 2/6] arm: mach-k3: j721e_init: Move clk_k3 probe before loading TIFS

2023-09-22 Thread Neha Malcom Francis
k3_sysfw_loader to ensure we have all necessary clocks set up before. Signed-off-by: Neha Malcom Francis --- arch/arm/mach-k3/j721e_init.c | 24 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/arch/arm/mach-k3/j721e_init.c b/arch/arm/mach-k3/j721e_init.c index

[PATCH v3 3/6] drivers: firmware: ti_sci: Get SCI revision only if TIFS/SYSFW is up

2023-09-22 Thread Neha Malcom Francis
both legacy and combined boot flows. Before doing this, it is important to go through whether any sync points exist where revision is needed before ti_sci_get_handle_from_sysfw is invoked. Going through the code along with boot tests on both flows ensures that there are none. Signed-off-by: Neha M

[PATCH v3 4/6] configs: j721e: Remove HBMC_AM654 config

2023-09-22 Thread Neha Malcom Francis
probe that happens in board/ti/j721e/evm.c will not take place and lead to boot failure. [1] https://lore.kernel.org/all/20230424184810.29453-1-...@ti.com/ Signed-off-by: Neha Malcom Francis --- configs/j721e_evm_a72_defconfig | 1 - configs/j721e_evm_r5_defconfig | 1 - 2 files changed, 2 deletion

[PATCH v3 5/6] arm: dts: k3-j721e-r5: Clean up inclusion hierarchy

2023-09-22 Thread Neha Malcom Francis
without "phandlepart" property. Signed-off-by: Neha Malcom Francis --- .../k3-j721e-r5-common-proc-board-u-boot.dtsi | 29 .../arm/dts/k3-j721e-r5-common-proc-board.dts | 38 +++ arch/arm/dts/k3-j721e-r5-sk-u-boot.dtsi | 31 arch/arm/dts/

Re: [PATCH v3 6/6] arm: dts: k3-j721e: Sync with v6.6-rc1

2023-09-26 Thread Neha Malcom Francis
Hi Nishanth On 25-Sep-23 7:32 PM, Nishanth Menon wrote: On 16:09-20230922, Neha Malcom Francis wrote: Sync k3-j721e DTS with kernel.org v6.6-rc1. Give a summary of changes here - for example hbmc was disabled. Signed-off-by: Neha Malcom Francis --- .../k3-j721e-common-proc-board-u

[PATCH v2 0/2] Enable split mode in binman

2023-09-26 Thread Neha Malcom Francis
: - Udit: - included TRM link in commit message - added DONOTMERGE patch showing example Neha Malcom Francis (2): binman: openssl: x509: ti_secure_rom: Add support for bootcore_opts DONOTMERGE: arm: dts: k3-j7200-binman: Enable split mode for MCU R5 arch

[PATCH v2 1/2] binman: openssl: x509: ti_secure_rom: Add support for bootcore_opts

2023-09-26 Thread Neha Malcom Francis
sting test case for ensuring future coverage. Signed-off-by: Neha Malcom Francis --- Link to J721E TRM: https://www.ti.com/lit/zip/spruil1 Section 4.5.4.1 Boot Info tools/binman/btool/openssl.py | 6 -- tools/binman/etype/ti_secure_rom.py | 12 ++-- tools/bi

[PATCH v2 2/2] DONOTMERGE: arm: dts: k3-j7200-binman: Enable split mode for MCU R5

2023-09-26 Thread Neha Malcom Francis
Set boot core-opts to enable split mode for MCU R5 cluster by default. This patch serves to demonstrate how this can be done. Signed-off-by: Neha Malcom Francis --- arch/arm/dts/k3-j7200-binman.dtsi | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/dts/k3-j7200-binman.dtsi b/arch

Re: [PATCH v3 6/6] arm: dts: k3-j721e: Sync with v6.6-rc1

2023-09-26 Thread Neha Malcom Francis
Hi Manorit On 27/09/23 09:45, Manorit Chawdhry wrote: Hi Neha, On 19:03-20230926, Neha Malcom Francis wrote: Hi Nishanth [..] diff --git a/arch/arm/dts/k3-j721e-r5-sk.dts b/arch/arm/dts/k3-j721e-r5-sk.dts index 1cc64d07f7..0274465fa4 100644 --- a/arch/arm/dts/k3-j721e-r5-sk.dts +++ b/arch

[PATCH v4 0/6] J721E DTS Sync with Kernel v6.6-rc1

2023-09-27 Thread Neha Malcom Francis
- drop repeated nodes and properties in U-Boot dts - drop nodes and properties not related to U-Boot from U-Boot dts - drop all /delete Neha Malcom Francis (6): arm: mach-k3: j721e: dev-data: Add mcu_timer0 ID arm: mach-k3: j721e_init: Move clk_k3

[PATCH v4 1/6] arm: mach-k3: j721e: dev-data: Add mcu_timer0 ID

2023-09-27 Thread Neha Malcom Francis
U-Boot uses mcu_timer0 as the tick-timer, so add it to device list. Signed-off-by: Neha Malcom Francis Reviewed-by: Manorit Chawdhry Reviewed-by: Nishanth Menon --- arch/arm/mach-k3/j721e/dev-data.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach-k3/j721e/dev-data.c b/arch

[PATCH v4 2/6] arm: mach-k3: j721e_init: Move clk_k3 probe before loading TIFS

2023-09-27 Thread Neha Malcom Francis
k3_sysfw_loader to ensure we have all necessary clocks set up before. Signed-off-by: Neha Malcom Francis Reviewed-by: Nishanth Menon --- arch/arm/mach-k3/j721e_init.c | 24 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/arch/arm/mach-k3/j721e_init.c b/arch/arm/mach

[PATCH v4 3/6] drivers: firmware: ti_sci: Get SCI revision only if TIFS/SYSFW is up

2023-09-27 Thread Neha Malcom Francis
both legacy and combined boot flows. Before doing this, it is important to go through whether any sync points exist where revision is needed before ti_sci_get_handle_from_sysfw is invoked. Going through the code along with boot tests on both flows ensures that there are none. Signed-off-by: Neha M

[PATCH v4 4/6] configs: j721e: Remove HBMC_AM654 config

2023-09-27 Thread Neha Malcom Francis
probe that happens in board/ti/j721e/evm.c will not take place and lead to boot failure. [1] https://lore.kernel.org/all/20230424184810.29453-1-...@ti.com/ Signed-off-by: Neha Malcom Francis --- configs/j721e_evm_a72_defconfig | 1 - configs/j721e_evm_r5_defconfig | 1 - 2 files changed, 2 deletion

[PATCH v4 5/6] arm: dts: k3-j721e-r5: Clean up inclusion hierarchy

2023-09-27 Thread Neha Malcom Francis
without "phandlepart" property. Signed-off-by: Neha Malcom Francis --- .../k3-j721e-r5-common-proc-board-u-boot.dtsi | 29 .../arm/dts/k3-j721e-r5-common-proc-board.dts | 38 +++ arch/arm/dts/k3-j721e-r5-sk-u-boot.dtsi | 31 arch/arm/dts/

Re: [PATCH v2 1/2] binman: openssl: x509: ti_secure_rom: Add support for bootcore_opts

2023-10-02 Thread Neha Malcom Francis
Hi Simon On 02/10/23 06:46, Simon Glass wrote: Hi Neha, On Tue, 26 Sept 2023 at 22:08, Neha Malcom Francis wrote: According to the TRMs of K3 platform of devices, the ROM boot image format specifies a "Core Options Field" that provides the capability to set the boot core in loc

Re: [PATCH] arm: dts: k3-j721e-sk/common-proc-board: Fix boot

2023-10-05 Thread Neha Malcom Francis
relocation. To fix this we mark all nodes in u-boot.dtsi as 'bootph-all'. Fixes: 69b19ca67bcb ("arm: dts: k3-j721e: Sync with v6.6-rc1") Cc: Neha Francis Signed-off-by: Nishanth Menon Thanks for this patch! Tested-by: Neha Malcom Francis (Tested on J721E-EVM and J721E-sk) -- Thanking You Neha Malcom Francis

Re: [PATCH] arm: mach-k3: Remove secure device makefile

2023-10-06 Thread Neha Malcom Francis
Hi Andrew On 05/10/23 19:51, Andrew Davis wrote: This is now done using binman but this file was leftover and is now unused, remove it. Signed-off-by: Andrew Davis Reviewed-by: Neha Malcom Francis --- MAINTAINERS | 1 - arch/arm/mach-k3/config_secure.mk | 44

Re: [PATCH v2 1/2] binman: openssl: x509: ti_secure_rom: Add support for bootcore_opts

2023-10-06 Thread Neha Malcom Francis
Hi Simon On 02/10/23 06:46, Simon Glass wrote: Hi Neha, On Tue, 26 Sept 2023 at 22:08, Neha Malcom Francis wrote: According to the TRMs of K3 platform of devices, the ROM boot image format specifies a "Core Options Field" that provides the capability to set the boot core in loc

[PATCH v3 0/2] Enable split mode in binman

2023-10-06 Thread Neha Malcom Francis
showing example Neha Malcom Francis (2): binman: openssl: x509: ti_secure_rom: Add support for bootcore_opts DONOTMERGE: arm: dts: k3-j7200-binman: Enable split mode for MCU R5 arch/arm/dts/k3-j7200-binman.dtsi | 3 +++ tools/binman/btool/openssl.py | 6 -- tools/binman

[PATCH v3 1/2] binman: openssl: x509: ti_secure_rom: Add support for bootcore_opts

2023-10-06 Thread Neha Malcom Francis
sting test case for ensuring future coverage. Signed-off-by: Neha Malcom Francis --- Link to J721E TRM: https://www.ti.com/lit/zip/spruil1 Section 4.5.4.1 Boot Info Changes in v3: - updated function comments - removed inconsistency in setting bootcore_opts to 32 Cha

[PATCH v3 2/2] DONOTMERGE: arm: dts: k3-j7200-binman: Enable split mode for MCU R5

2023-10-06 Thread Neha Malcom Francis
Set boot core-opts to enable split mode for MCU R5 cluster by default. This patch serves to demonstrate how this can be done. Signed-off-by: Neha Malcom Francis --- No change since v2 arch/arm/dts/k3-j7200-binman.dtsi | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/dts/k3-j7200

[PATCH v3 00/19] Migration to using binman for bootloader

2023-04-21 Thread Neha Malcom Francis
, moving to using BINMAN_INDIRS to achieve the same v1: https://patchwork.ozlabs.org/project/uboot/cover/20230120101903.179959-1-n-fran...@ti.com/ v2: https://patchwork.ozlabs.org/project/uboot/cover/20230404121342.446935-1-n-fran...@ti.com/ Neha Malcom Francis (19): binman: ti-board

[PATCH v3 01/19] binman: ti-board-config: Add support for TI board config binaries

2023-04-21 Thread Neha Malcom Francis
The ti-board-config entry loads and validates a given YAML config file against a given schema, and generates the board config binary. K3 devices require these binaries to be packed into the final system firmware images. Signed-off-by: Neha Malcom Francis --- tools/binman/entries.rst

[PATCH v3 03/19] ti: sysfw: tiboot3: Add support for packaging sysfw.itb and tiboot3.bin

2023-04-21 Thread Neha Malcom Francis
package tiboot3.bin. Modify config.mk to generate all the board configuration binaries needed. Signed-off-by: Neha Malcom Francis --- arch/arm/mach-k3/config.mk | 50 ++ 1 file changed, 50 insertions(+) diff --git a/arch/arm/mach-k3/config.mk b/arch/arm/mach

[PATCH v3 02/19] binman: ti-secure: Add support for TI signing

2023-04-21 Thread Neha Malcom Francis
: Neha Malcom Francis --- board/ti/keys/custMpk.pem | 51 board/ti/keys/ti-degenerate-key.pem | 10 + tools/binman/btool/openssl.py | 244 + tools/binman/entries.rst | 65 + tools/binman/etype/ti_secure.py

[PATCH v3 05/19] j721e: dts: binman: Package tiboot3.bin, sysfw.itb, tispl.bin, u-boot.img

2023-04-21 Thread Neha Malcom Francis
tispl.bin: * DM * ATF * OPTEE * A72 SPL * A72 SPL dtbs u-boot.img: * A72 U-Boot * A72 U-Boot dtbs Signed-off-by: Neha Malcom Francis --- arch/arm/dts/k3-j721e-binman.dtsi | 732 ++ .../k3-j721e-common-proc-board

[PATCH v3 07/19] j7200: dts: binman: Package tiboot3.bin, tispl.bin, u-boot.img

2023-04-21 Thread Neha Malcom Francis
* A72 U-Boot dtbs Signed-off-by: Neha Malcom Francis --- arch/arm/dts/k3-j7200-binman.dtsi | 529 ++ .../k3-j7200-common-proc-board-u-boot.dtsi| 2 + board/ti/j721e/Kconfig| 2 + 3 files changed, 533 insertions(+) create mode 100644 arch

[PATCH v3 06/19] j7200: yaml: Add J7200 board config files

2023-04-21 Thread Neha Malcom Francis
Added YAML configs for J7200 Signed-off-by: Neha Malcom Francis --- board/ti/j721e/board-cfg_j7200.yaml | 36 + board/ti/j721e/pm-cfg_j7200.yaml| 12 + board/ti/j721e/rm-cfg_j7200.yaml| 2065 +++ board/ti/j721e/sec-cfg_j7200.yaml | 378 + 4 files

[PATCH v3 09/19] am65: dts: binman: Package tiboot3.bin, sysfw.itb, tispl.bin, u-boot.img

2023-04-21 Thread Neha Malcom Francis
* R5 SPL dtbs sysfw.itb: * sysfw * board-cfg * pm-cfg * sec-cfg * rm-cfg tispl.bin: * ATF * OPTEE * A53 SPL * A53 SPL dtbs u-boot.img: * A53 U-Boot * A53 U-Boot dtbs Signed-off-by: Neha Malcom Francis

[PATCH v3 08/19] am65x: yaml: Add AM65x board config files

2023-04-21 Thread Neha Malcom Francis
Added YAML configs for AM65x Signed-off-by: Neha Malcom Francis --- board/ti/am65x/board-cfg.yaml | 36 + board/ti/am65x/pm-cfg.yaml| 12 + board/ti/am65x/rm-cfg.yaml| 2068 + board/ti/am65x/sec-cfg.yaml | 375 ++ 4 files changed, 2491

[PATCH v3 10/19] am64x: yaml: Add board configs for AM64x

2023-04-21 Thread Neha Malcom Francis
Added YAML configs for AM64xx Signed-off-by: Neha Malcom Francis --- board/ti/am64x/board-cfg.yaml | 37 + board/ti/am64x/pm-cfg.yaml| 12 + board/ti/am64x/rm-cfg.yaml| 1400 + board/ti/am64x/sec-cfg.yaml | 378 + 4 files changed, 1827

[PATCH v3 11/19] am64x: dts: binman: Package tiboot3.bin, tispl.bin u-boot.img

2023-04-21 Thread Neha Malcom Francis
-by: Neha Malcom Francis --- arch/arm/dts/k3-am642-evm-u-boot.dtsi | 2 + arch/arm/dts/k3-am642-r5-evm.dts | 1 + arch/arm/dts/k3-am64x-binman.dtsi | 569 ++ board/ti/am64x/Kconfig| 2 + 4 files changed, 574 insertions(+) create mode 100644

[PATCH v3 13/19] j721s2: dts: binman: Package tiboot3.bin, tispl.bin and u-boot.img

2023-04-21 Thread Neha Malcom Francis
* A72 U-Boot dtbs Signed-off-by: Neha Malcom Francis --- arch/arm/dts/k3-j721s2-binman.dtsi| 613 ++ .../k3-j721s2-common-proc-board-u-boot.dtsi | 2 + .../dts/k3-j721s2-r5-common-proc-board.dts| 1 + board/ti/j721s2/Kconfig | 2 + 4 files

[PATCH v3 12/19] j721s2: yaml: Add board configs for J721S2

2023-04-21 Thread Neha Malcom Francis
Added YAML configs for J721S2 Signed-off-by: Neha Malcom Francis --- board/ti/j721s2/board-cfg.yaml | 37 + board/ti/j721s2/pm-cfg.yaml| 12 + board/ti/j721s2/rm-cfg.yaml| 2901 board/ti/j721s2/sec-cfg.yaml | 375 + 4 files changed, 3325

[PATCH v3 14/19] am62: yaml: Add board configs for AM62

2023-04-21 Thread Neha Malcom Francis
Added YAML configs for AM62 Signed-off-by: Neha Malcom Francis --- board/ti/am62x/board-cfg.yaml | 36 ++ board/ti/am62x/pm-cfg.yaml| 12 + board/ti/am62x/rm-cfg.yaml| 1088 + board/ti/am62x/sec-cfg.yaml | 375 board/ti/am65x/rm

[PATCH v3 17/19] am62a: dts: binman: Package tiboot3.bin, tispl.bin, u-boot.img

2023-04-21 Thread Neha Malcom Francis
* A72 U-Boot dtbs Signed-off-by: Neha Malcom Francis --- arch/arm/dts/k3-am62a-sk-binman.dtsi | 528 +++ arch/arm/dts/k3-am62a7-r5-sk.dts | 1 + arch/arm/dts/k3-am62a7-sk.dts| 1 + board/ti/am62ax/Kconfig | 2 + 4 files changed, 532 insertions

[PATCH v3 16/19] am62a: yaml: Add board configs for AM62ax

2023-04-21 Thread Neha Malcom Francis
Added YAML configs for AM62ax Signed-off-by: Neha Malcom Francis --- board/ti/am62ax/board-cfg.yaml | 36 + board/ti/am62ax/pm-cfg.yaml| 12 + board/ti/am62ax/rm-cfg.yaml| 1151 board/ti/am62ax/sec-cfg.yaml | 375 +++ 4 files changed, 1574

[PATCH v3 19/19] doc: board: ti: Update documentation for binman flow

2023-04-21 Thread Neha Malcom Francis
Earlier documentation specified builds for generating bootloader images using an external TI repository k3-image-gen and core-secdev-k3. Modify this to using the binman flow so that user understands how to build the final boot images. Signed-off-by: Neha Malcom Francis --- doc/board/ti

[PATCH v3 15/19] am625: dts: binman: Package tiboot3.bin, tispl.bin and u-boot.img

2023-04-21 Thread Neha Malcom Francis
-Boot dtbs Signed-off-by: Neha Malcom Francis --- arch/arm/dts/k3-am625-r5-sk.dts | 1 + arch/arm/dts/k3-am625-sk-binman.dtsi | 529 +++ arch/arm/dts/k3-am625-sk-u-boot.dtsi | 2 + board/ti/am62x/Kconfig | 2 + 4 files changed, 534 insertions

[PATCH v3 18/19] k3: tools: config.mk: Update makefile and remove scripts

2023-04-21 Thread Neha Malcom Francis
have also been removed. Signed-off-by: Neha Malcom Francis --- arch/arm/mach-k3/config.mk | 92 - tools/k3_fit_atf.sh| 123 - tools/k3_gen_x509_cert.sh | 262 - 3 files changed, 477 deletions(-) delete mode 100755 tools

[PATCH v3 04/19] j721e: schema: yaml: Add general schema and J721E board config files

2023-04-21 Thread Neha Malcom Francis
binaries to package system firmware. Added YAML configs for J721E in particular. Signed-off-by: Tarun Sahu [n-fran...@ti.com: prepared patch for upstreaming] Signed-off-by: Neha Malcom Francis --- board/ti/common/schema.yaml | 355 + board/ti/j721e/board-cfg.yaml | 37 + board/ti/j721e/pm

Re: [PATCH v3 19/19] doc: board: ti: Update documentation for binman flow

2023-04-24 Thread Neha Malcom Francis
Hi Simon On 25/04/23 01:12, Simon Glass wrote: Hi Neha, On Fri, 21 Apr 2023 at 06:33, Neha Malcom Francis wrote: Earlier documentation specified builds for generating bootloader images using an external TI repository k3-image-gen and core-secdev-k3. Modify this to using the binman flow so

Re: [PATCH v3 01/19] binman: ti-board-config: Add support for TI board config binaries

2023-04-24 Thread Neha Malcom Francis
Hi Simon On 25/04/23 01:12, Simon Glass wrote: Hi Neha, On Fri, 21 Apr 2023 at 06:32, Neha Malcom Francis wrote: The ti-board-config entry loads and validates a given YAML config file against a given schema, and generates the board config binary. K3 devices require these binaries to be

Re: [PATCH v3 03/19] ti: sysfw: tiboot3: Add support for packaging sysfw.itb and tiboot3.bin

2023-04-25 Thread Neha Malcom Francis
Hi Simon On 25/04/23 01:12, Simon Glass wrote: Hi Neha, On Fri, 21 Apr 2023 at 06:32, Neha Malcom Francis wrote: Board config binary artifacts must be populated in the R5 output directory to be used by binman to package sysfw.itb and tiboot3.bin. For devices that follow combined flow

Re: [PATCH v3 09/19] am65: dts: binman: Package tiboot3.bin, sysfw.itb, tispl.bin, u-boot.img

2023-04-25 Thread Neha Malcom Francis
Hi Simon, On 25/04/23 01:12, Simon Glass wrote: Hi Neha, On Fri, 21 Apr 2023 at 06:32, Neha Malcom Francis wrote: Support added for HS and GP boot binaries for AM65x. tiboot3.bin, sysfw.itb, tispl.bin and u-boot.img: For HS devices tiboot3.bin_unsigned, sysfw.itb, tispl.bin_unsigned, u

Re: [PATCH v3 11/19] am64x: dts: binman: Package tiboot3.bin, tispl.bin u-boot.img

2023-04-25 Thread Neha Malcom Francis
Hi Simon On 25/04/23 01:12, Simon Glass wrote: Hi Neha, On Fri, 21 Apr 2023 at 06:32, Neha Malcom Francis wrote: Support added for HS and GP boot binaries for AM64x. tiboot3.bin, tispl.bin and u-boot.img: For HS-SE devices tiboot3.bin_fs, tispl.bin and u-boot.img: For HS-FS devices tiboot3

Re: [PATCH v3 19/19] doc: board: ti: Update documentation for binman flow

2023-04-25 Thread Neha Malcom Francis
Hi Heinrich On 25/04/23 11:08, Heinrich Schuchardt wrote: On 4/24/23 22:49, Tom Rini wrote: On Mon, Apr 24, 2023 at 01:42:17PM -0600, Simon Glass wrote: Hi Neha, On Fri, 21 Apr 2023 at 06:33, Neha Malcom Francis wrote: Earlier documentation specified builds for generating bootloader

[PATCH 0/2] Update DDR configs to latest tested version

2023-04-25 Thread Neha Malcom Francis
. Thus it is best to update to that version for each instead of: A. sticking with the current old version or B. updating to the very latest version that hasn't been tested on U-Boot. Neha Malcom Francis (2): arm: dts: k3-j721e: ddr: Update to 0.9.1 version of DDR config tool arm: dts: k3-

[PATCH 1/2] arm: dts: k3-j721e: ddr: Update to 0.9.1 version of DDR config tool

2023-04-25 Thread Neha Malcom Francis
Update the DDR settings to those generated using 0.9.1 version of Jacinto 7 DDRSS Register Configuration tool. Signed-off-by: Neha Malcom Francis --- arch/arm/dts/k3-j721e-ddr-evm-lp4-4266.dtsi | 149 ++-- 1 file changed, 75 insertions(+), 74 deletions(-) diff --git a/arch/arm

[PATCH 2/2] arm: dts: k3-j7200: ddr: Update to 0.6 version of DDR config tool

2023-04-25 Thread Neha Malcom Francis
Update the DDR settings to those generated using 0.6 version of Jacinto 7 DDRSS Register Configuration tool. Signed-off-by: Neha Malcom Francis --- arch/arm/dts/k3-j7200-ddr-evm-lp4-2666.dtsi | 120 ++-- 1 file changed, 60 insertions(+), 60 deletions(-) diff --git a/arch/arm

Re: [PATCH v2] arch: arm: mach-k3: Delete tifs node in DT fixup

2023-04-26 Thread Neha Malcom Francis
ting subnode %d\n", __func__, subnode); Reviewed-by: Neha Malcom Francis I do have a general doubt; why do we have only atf-sram sub-node in msmc_sram in all other devices (j721e, j7200 and am65) except j721s2? -- Thanking You Neha Malcom Francis

Re: [PATCH v2] arch: arm: mach-k3: Delete tifs node in DT fixup

2023-04-26 Thread Neha Malcom Francis
Hi Udit, On 26/04/23 15:35, Kumar, Udit wrote: Hi Neha On 4/26/2023 2:56 PM, Neha Malcom Francis wrote: Hi Udit On 20/04/23 13:41, Udit Kumar wrote: This patch deletes tifs DT node as part of fixup. TISCI API reported msmc_size, does not include 64KB reserved size for tifs aka MSMC comms

Re: [PATCH v2] arch: arm: mach-k3: Delete tifs node in DT fixup

2023-04-26 Thread Neha Malcom Francis
j721e, j7200 and am65? Thanking You Neha Malcom Francis -- Thanking You Neha Malcom Francis

Re: [PATCH v2] arch: arm: mach-k3: Delete tifs node in DT fixup

2023-05-02 Thread Neha Malcom Francis
Hi Andrew On 01/05/23 20:16, Andrew Davis wrote: On 4/26/23 9:13 AM, Kumar, Udit wrote: Hi Neha, On 4/26/2023 5:31 PM, Neha Malcom Francis wrote: Hi Udit On 26/04/23 16:09, Kumar, Udit wrote: Hi Neha, Hi Udit, [..] I do have a general doubt; why do we have only atf-sram sub-node in

Re: [PATCH 2/2] CI: Make use of buildman requirements.txt

2023-05-02 Thread Neha Malcom Francis
7a3b-5b46-f057-c1c62fd89ba1&j=22dc4ac5-ae35-5978-08ac-5f386151834e&t=fae48c67-4bb5-5f06-119f-00d23f780e3c -- Thanking You Neha Malcom Francis

Re: [PATCH v3 00/19] Migration to using binman for bootloader

2023-05-03 Thread Neha Malcom Francis
Hi Tom On 27/04/23 04:07, Tom Rini wrote: On Fri, Apr 21, 2023 at 06:01:44PM +0530, Neha Malcom Francis wrote: This series aims to eliminate the use of additional custom repositories such as k3-image-gen (K3 Image Generation) repo and core-secdev-k3 (K3 Security Development Tools) that was

Re: [PATCH v3 00/19] Migration to using binman for bootloader

2023-05-03 Thread Neha Malcom Francis
Hi Jan, On 03/05/23 12:57, Neha Malcom Francis wrote: Hi Tom On 27/04/23 04:07, Tom Rini wrote: On Fri, Apr 21, 2023 at 06:01:44PM +0530, Neha Malcom Francis wrote: This series aims to eliminate the use of additional custom repositories such as k3-image-gen (K3 Image Generation) repo and

Re: [PATCH 2/2] CI: Make use of buildman requirements.txt

2023-05-03 Thread Neha Malcom Francis
Hi Tom, On 03/05/23 18:34, Tom Rini wrote: On Wed, May 03, 2023 at 11:27:20AM +0530, Neha Malcom Francis wrote: Hi Tom Thanks for these patches! On 27/04/23 01:14, Tom Rini wrote: Now that buildman has a requirements.txt file we need to make use of it. Signed-off-by: Tom Rini

Re: [PATCH v3 00/19] Migration to using binman for bootloader

2023-05-03 Thread Neha Malcom Francis
Hi Jan, On 03/05/23 22:04, Jan Kiszka wrote: On 03.05.23 14:56, Neha Malcom Francis wrote: Hi Jan, On 03/05/23 12:57, Neha Malcom Francis wrote: Hi Tom On 27/04/23 04:07, Tom Rini wrote: On Fri, Apr 21, 2023 at 06:01:44PM +0530, Neha Malcom Francis wrote: This series aims to eliminate

Re: [PATCH v3 00/19] Migration to using binman for bootloader

2023-05-03 Thread Neha Malcom Francis
Hi Jan On 04/05/23 10:13, Neha Malcom Francis wrote: Hi Jan, On 03/05/23 22:04, Jan Kiszka wrote: On 03.05.23 14:56, Neha Malcom Francis wrote: Hi Jan, On 03/05/23 12:57, Neha Malcom Francis wrote: Hi Tom On 27/04/23 04:07, Tom Rini wrote: On Fri, Apr 21, 2023 at 06:01:44PM +0530, Neha

Re: [PATCH v3 00/19] Migration to using binman for bootloader

2023-05-04 Thread Neha Malcom Francis
tispl.bin might be a future action. I am not completely sure of the HSM flow though, pinging Andrew to comment further on this. [1] https://lore.kernel.org/all/0b2a8709-eb49-b866-5733-21bee021d...@ti.com/ -- Thanking You Neha Malcom Francis

Re: [PATCH 2/2] CI: Make use of buildman requirements.txt

2023-05-04 Thread Neha Malcom Francis
Hi Tom On 04/05/23 18:32, Tom Rini wrote: On Thu, May 04, 2023 at 09:42:54AM +0530, Neha Malcom Francis wrote: Hi Tom, On 03/05/23 18:34, Tom Rini wrote: On Wed, May 03, 2023 at 11:27:20AM +0530, Neha Malcom Francis wrote: Hi Tom Thanks for these patches! On 27/04/23 01:14, Tom Rini wrote

Re: [PATCH v3 00/19] Migration to using binman for bootloader

2023-05-07 Thread Neha Malcom Francis
Hi Jan, On 07/05/23 17:41, Jan Kiszka wrote: On 04.05.23 08:13, Neha Malcom Francis wrote: Hi Jan On 04/05/23 10:13, Neha Malcom Francis wrote: Hi Jan, On 03/05/23 22:04, Jan Kiszka wrote: On 03.05.23 14:56, Neha Malcom Francis wrote: Hi Jan, On 03/05/23 12:57, Neha Malcom Francis wrote

Re: [PATCH v3 00/19] Migration to using binman for bootloader

2023-05-15 Thread Neha Malcom Francis
Hi Tom On 04/05/23 11:10, Manorit Chawdhry wrote: On 09:57-20230503, Tom Rini wrote: On Wed, May 03, 2023 at 12:57:13PM +0530, Neha Malcom Francis wrote: Hi Tom On 27/04/23 04:07, Tom Rini wrote: On Fri, Apr 21, 2023 at 06:01:44PM +0530, Neha Malcom Francis wrote: This series aims to

[PATCH v4 00/23] Migration to using binman for bootloader

2023-05-18 Thread Neha Malcom Francis
...@ti.com/ [1] https://github.com/u-boot/u-boot/pull/291 Kamlesh Gurudasani (1): configs: am64x: Enable TI_SECURE_DEV options Neha Malcom Francis (20): binman: ti-board-config: Add support for TI board config binaries binman: ti-secure: Add support for TI signing arm: dts: k3: Add support

[PATCH v4 01/23] binman: ti-board-config: Add support for TI board config binaries

2023-05-18 Thread Neha Malcom Francis
The ti-board-config entry loads and validates a given YAML config file against a given schema, and generates the board config binary. K3 devices require these binaries to be packed into the final system firmware images. Signed-off-by: Neha Malcom Francis Reviewed-by: Simon Glass --- tools

[PATCH v4 02/23] binman: ti-secure: Add support for TI signing

2023-05-18 Thread Neha Malcom Francis
: Neha Malcom Francis Reviewed-by: Simon Glass --- board/ti/keys/custMpk.pem | 51 board/ti/keys/ti-degenerate-key.pem | 10 + tools/binman/btool/openssl.py | 244 + tools/binman/entries.rst | 65 + tools

[PATCH v4 03/23] arm: dts: k3: Add support for packaging sysfw.itb and tiboot3.bin

2023-05-18 Thread Neha Malcom Francis
tiboot3.bin. Add common k3-binman.dtsi to generate all the board configuration binaries needed. Also add custMpk.pem and ti-degenerate-key.pem needed for signing GP and HS bootloader images common to all K3 devices. Signed-off-by: Neha Malcom Francis --- arch/arm/dts/k3-binman.dtsi | 116

[PATCH v4 05/23] j721e: dts: binman: Package tiboot3.bin, sysfw.itb, tispl.bin, u-boot.img

2023-05-18 Thread Neha Malcom Francis
tispl.bin: * DM * ATF * OPTEE * A72 SPL * A72 SPL dtbs u-boot.img: * A72 U-Boot * A72 U-Boot dtbs Signed-off-by: Neha Malcom Francis Reviewed-by: Simon Glass --- arch/arm/dts/k3-j721e-binman.dtsi | 700

[PATCH v4 07/23] j7200: dts: binman: Package tiboot3.bin, tispl.bin, u-boot.img

2023-05-18 Thread Neha Malcom Francis
* A72 U-Boot dtbs Signed-off-by: Neha Malcom Francis Reviewed-by: Simon Glass --- arch/arm/dts/k3-j7200-binman.dtsi | 501 ++ .../k3-j7200-common-proc-board-u-boot.dtsi| 2 + board/ti/j721e/Kconfig| 2 + 3 files changed, 505 insertions

[PATCH v4 06/23] j7200: yaml: Add J7200 board config files

2023-05-18 Thread Neha Malcom Francis
Added YAML configs for J7200 Signed-off-by: Neha Malcom Francis --- board/ti/j721e/board-cfg_j7200.yaml | 36 + board/ti/j721e/pm-cfg_j7200.yaml| 12 + board/ti/j721e/rm-cfg_j7200.yaml| 2065 +++ board/ti/j721e/sec-cfg_j7200.yaml | 378 + 4 files

[PATCH v4 09/23] am65: dts: binman: Package tiboot3.bin, sysfw.itb, tispl.bin, u-boot.img

2023-05-18 Thread Neha Malcom Francis
* R5 SPL dtbs sysfw.itb: * sysfw * board-cfg * pm-cfg * sec-cfg * rm-cfg tispl.bin: * ATF * OPTEE * A53 SPL * A53 SPL dtbs u-boot.img: * A53 U-Boot * A53 U-Boot dtbs Signed-off-by: Neha Malcom Francis

[PATCH v4 11/23] am64x: dts: binman: Package tiboot3.bin, tispl.bin u-boot.img

2023-05-18 Thread Neha Malcom Francis
-by: Neha Malcom Francis Reviewed-by: Simon Glass --- arch/arm/dts/k3-am642-evm-u-boot.dtsi | 2 + arch/arm/dts/k3-am642-r5-evm.dts | 1 + arch/arm/dts/k3-am64x-binman.dtsi | 514 ++ board/ti/am64x/Kconfig| 2 + 4 files changed, 519 insertions

<    1   2   3   4   5   6   7   8   >