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

2023-07-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. Reviewed-by: Simon Glass Signed-off-by: Neha Malcom Francis --- tools

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

2023-07-21 Thread Neha Malcom Francis
: Simon Glass [vigne...@ti.com: fixed inconsist cert generation by multiple packing] Signed-off-by: Vignesh Raghavendra Signed-off-by: Neha Malcom Francis --- board/ti/keys/custMpk.pem | 51 board/ti/keys/ti-degenerate-key.pem | 10 + tools/binman/btool

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

2023-07-21 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. Reviewed-by: Simon Glass Signed-off-by: Neha Malcom Francis --- arch/arm/dts

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

2023-07-21 Thread Neha Malcom Francis
off-by: Andrew Davis Signed-off-by: Neha Malcom Francis --- arch/arm/dts/k3-j721e-binman.dtsi | 701 ++ .../k3-j721e-common-proc-board-u-boot.dtsi| 1 + .../arm/dts/k3-j721e-r5-common-proc-board.dts | 1 + arch/arm/dts/k3-j721e-sk-u-boot.dtsi | 1 + bo

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

2023-07-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 | 380 + 4 files

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

2023-07-21 Thread Neha Malcom Francis
bin: * DM * ATF * OP-TEE * A72 SPL * A72 SPL dtbs u-boot.img: * A72 U-Boot * A72 U-Boot dtbs Reviewed-by: Simon Glass [a...@ti.com: changed output binary names appropriately] Signed-off-by: Andrew Davis Signed-off-by: Neha Malcom Francis --- arch/arm/

[PATCH v8 08/23] am65x: yaml: Add AM65x board config files

2023-07-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 | 379 ++ 4 files changed, 2495

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

2023-07-21 Thread Neha Malcom Francis
* ATF * OP-TEE * A53 SPL * A53 SPL dtbs u-boot.img: * A53 U-Boot * A53 U-Boot dtbs Reviewed-by: Simon Glass [a...@ti.com: changed output binary names appropriately] Signed-off-by: Andrew Davis Signed-off-by: Neha Malcom Francis --- arch/arm/dts/k3-am654-base

[PATCH v8 10/23] am64x: yaml: Add board configs for AM64x

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

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

2023-07-21 Thread Neha Malcom Francis
u-boot.img: * A53 U-Boot * A53 U-Boot dtbs Reviewed-by: Simon Glass [a...@ti.com: changed output binary names appropriately] Signed-off-by: Andrew Davis Signed-off-by: Neha Malcom Francis --- arch/arm/dts/k3-am642-evm-u-boot.dtsi | 2 + arch/arm/dts/k3-am642-r5-evm.dts |

[PATCH v8 12/23] j721s2: yaml: Add board configs for J721S2

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

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

2023-07-21 Thread Neha Malcom Francis
SPL * A72 SPL dtbs u-boot.img: * A72 U-Boot * A72 U-Boot dtbs Reviewed-by: Simon Glass [a...@ti.com: changed output binary names appropriately] Signed-off-by: Andrew Davis Signed-off-by: Neha Malcom Francis --- .../arm/dts/k3-am68-sk-base-board-u-boot.dtsi | 2 + arch/arm/

[PATCH v8 14/23] am62: yaml: Add board configs for AM62

2023-07-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 | 379 4 files changed, 1515

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

2023-07-21 Thread Neha Malcom Francis
SPL * A72 SPL dtbs u-boot.img: * A72 U-Boot * A72 U-Boot dtbs Reviewed-by: Simon Glass [a...@ti.com: changed output binary names appropriately] Signed-off-by: Andrew Davis Signed-off-by: Neha Malcom Francis --- arch/arm/dts/k3-am625-r5-sk.dts | 1 + arch/arm/dts/k3-am625

[PATCH v8 16/23] am62a: yaml: Add board configs for AM62ax

2023-07-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 | 379 ++ board/ti/am62ax

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

2023-07-21 Thread Neha Malcom Francis
SPL * A72 SPL dtbs u-boot.img: * A72 U-Boot * A72 U-Boot dtbs Reviewed-by: Simon Glass [a...@ti.com: changed output binary names appropriately] Signed-off-by: Andrew Davis Signed-off-by: Neha Malcom Francis --- arch/arm/dts/k3-am62a-sk-binman.dtsi |

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

2023-07-21 Thread Neha Malcom Francis
: Neha Malcom Francis --- arch/arm/mach-k3/config.mk | 103 --- tools/k3_fit_atf.sh| 123 - tools/k3_gen_x509_cert.sh | 262 - 3 files changed, 488 deletions(-) delete mode 100644 arch/arm/mach-k3/config.mk delete mode 100755

[PATCH v8 18/23] arm: k3-am65x-iot2050: Use binman for tispl.bin for iot2050

2023-07-21 Thread Neha Malcom Francis
Move to using binman to generate tispl.bin which is used to generate the final flash.bin bootloader for iot2050 boards. Cc: Jan Kiszka Reviewed-by: Simon Glass Signed-off-by: Neha Malcom Francis --- arch/arm/dts/k3-am65-iot2050-boot-image.dtsi | 75 +++- 1 file changed, 74

[PATCH v8 20/23] doc: board: ti: Update documentation for binman flow

2023-07-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. Reviewed-by: Simon Glass Signed-off-by: Neha Malcom Francis

[PATCH v8 22/23] buildman: Create a requirements.txt file

2023-07-21 Thread Neha Malcom Francis
From: Tom Rini At this point, buildman requires a few different modules and so we need a requirements.txt to track what modules are needed. Cc: Simon Glass Cc: Neha Malcom Francis Signed-off-by: Tom Rini Reviewed-by: Simon Glass Signed-off-by: Neha Malcom Francis --- tools/buildman

[PATCH v8 21/23] binman: Overwrite symlink if it already exists

2023-07-21 Thread Neha Malcom Francis
From: Andrew Davis Without this re-building will fail with an error when trying to create the symlink for the second time with an already exists error. Signed-off-by: Andrew Davis [n-fran...@ti.com: Added support for test output dir and testcase] Signed-off-by: Neha Malcom Francis --- tools

[PATCH v8 23/23] CI: Make use of buildman requirements.txt

2023-07-21 Thread Neha Malcom Francis
From: Tom Rini Now that buildman has a requirements.txt file we need to make use of it. Signed-off-by: Tom Rini Reviewed-by: Simon Glass [n-fran...@ti.com: Adding missing command from .azure-pipelines.yml] Signed-off-by: Neha Malcom Francis --- .azure-pipelines.yml | 4 .gitlab-ci.yml

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

2023-07-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 | 436 + board/ti/j721e/board-cfg.yaml | 36 + board/ti/j721e/pm

[PATCH] arm: dts: k3-j721e-mcu-wakeup: Add MCU domain ESM instance

2023-10-13 Thread Neha Malcom Francis
accordingly so that errors from main_esm are routed to mcu_esm and handled. [1] https://www.ti.com/lit/zip/spruil1 Signed-off-by: Neha Malcom Francis --- Upstream kernel effort: https://lore.kernel.org/lkml/20230926142810.602384-1-n-fran...@ti.com/ arch/arm/dts/k3-j721e-mcu-wakeup.dtsi | 7 +++ 1

Re: [PATCH 1/6] binman: Reset missing bintools after testing

2023-10-16 Thread Neha Malcom Francis
if invalid: Reviewed-by: Neha Malcom Francis -- Thanking You Neha Malcom Francis

Re: [PATCH 2/6] binman: Don't add compression attribute for uncompressed files

2023-10-16 Thread Neha Malcom Francis
100 %x section 100' % section_size, 'cbfs100 400 cbfs 0', -' u-boot138 4 u-boot38', +' u-boot128 4 u-boot 28', ' u-boot-dtb

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

2023-10-17 Thread Neha Malcom Francis
Hi Simon On 08/10/23 04:39, Simon Glass wrote: Hi Neha, On Fri, 6 Oct 2023 at 04:07, 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 lockste

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

2023-10-17 Thread Neha Malcom Francis
Hi Simon On 18/10/23 09:03, Simon Glass wrote: Hi Neha, On Tue, 17 Oct 2023 at 03:58, Neha Malcom Francis wrote: Hi Simon On 08/10/23 04:39, Simon Glass wrote: Hi Neha, On Fri, 6 Oct 2023 at 04:07, Neha Malcom Francis wrote: According to the TRMs of K3 platform of devices, the ROM

Re: [RESEND PATCH] board: ti: common: board_detect: Fix EEPROM offset read for 1-byte

2023-10-20 Thread Neha Malcom Francis
t dev_addr, rc = dm_i2c_read(dev, 0x1, &offset_test, sizeof(offset_test)); - if (*((u32 *)ep) != (header & 0xFF)) + if (offset_test != ((header >> 8) & 0xFF)) one_byte_addressing = false; /* Corrupted data??? */ Thanks for catching this! Revi

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

2023-10-23 Thread Neha Malcom Francis
Hi Simon On 19/10/23 19:25, Simon Glass wrote: Hi Neha, On Tue, 17 Oct 2023 at 23:20, Neha Malcom Francis wrote: Hi Simon On 18/10/23 09:03, Simon Glass wrote: Hi Neha, On Tue, 17 Oct 2023 at 03:58, Neha Malcom Francis wrote: Hi Simon On 08/10/23 04:39, Simon Glass wrote: Hi Neha

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

2023-10-23 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 v4: - corrected function comments, 0 for lockstep, 2 for split mode Changes in v3: - updated functio

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

2023-10-23 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 v4 0/2] Enable split mode in binman

2023-10-23 Thread Neha Malcom Francis
bootcore_opts to 32 Changes in v2: - 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

Re: [PATCH 1/7] board: ti: Add dependency from TARGET selection to SOC

2023-11-01 Thread Neha Malcom Francis
rdin-am62/Kconfig @@ -5,6 +5,7 @@ choice prompt "Toradex Verdin AM62 based boards" + depends on SOC_K3_AM625 optional config TARGET_VERDIN_AM62_A53 Reviewed-by: Neha Malcom Francis -- Thanking You Neha Malcom Francis

Re: [PATCH 0/6] Attempt to enforce standard extensions for build output

2023-08-24 Thread Neha Malcom Francis
to comment here). 2. Can it be an option to not enforce this, to support users that may make use of the intermediate binaries? Also if we do move forward with this, we will need to sync to make sure that the changes to the affected boards come through as well. -- Thanking You Neha Malcom Francis

Re: [PATCH V4 8/8] doc: board: ti: Add BeaglePlay documentation

2023-08-24 Thread Neha Malcom Francis
e DM binary. The way we structured the filename was that it looks at BINMAN_INDIRS to find ti-dm/ipc_echo_testb_mcu1_0_release_strip.xer5f but I guess this is a confusing way to put it across. Maybe we should rework that. Or not throw an error at all when DM isn't found. -- Thanking You Neha Malcom Francis

Re: [PATCH V4 8/8] doc: board: ti: Add BeaglePlay documentation

2023-08-25 Thread Neha Malcom Francis
Hi Simon, Tom On 24-Aug-23 8:16 PM, Simon Glass wrote: Hi Tom, On Thu, 24 Aug 2023 at 08:44, Tom Rini wrote: On Thu, Aug 24, 2023 at 08:41:23AM -0600, Simon Glass wrote: Hi, On Thu, 24 Aug 2023 at 08:20, Tom Rini wrote: On Thu, Aug 24, 2023 at 06:46:57PM +0530, Neha Malcom Francis

Re: [PATCH v2 2/6] arm: mach-k3: j721s2: Add mcu_timer0 id to the dev list

2023-08-27 Thread Neha Malcom Francis
soc_dev_list[] = { + PSC_DEV(35, &soc_lpsc_list[0]), PSC_DEV(108, &soc_lpsc_list[0]), PSC_DEV(109, &soc_lpsc_list[0]), PSC_DEV(110, &soc_lpsc_list[0]), Reviewed-by: Neha Malcom Francis -- Thanking You Neha Malcom Francis

Re: [PATCH v2 3/6] k3-j721s2: Sync from Linux tag v6.5-rc1

2023-08-27 Thread Neha Malcom Francis
m/dts/k3-j721s2-thermal.dtsi| 101 arch/arm/dts/k3-j721s2.dtsi| 12 +- 8 files changed, 1339 insertions(+), 430 deletions(-) This LGTM, Reviewed-by: Neha Malcom Francis -- Thanking You Neha Malcom Francis

Re: [PATCH v2 4/6] k3-am68: Sync from Linux tag v6.5-rc1

2023-08-27 Thread Neha Malcom Francis
arch/arm/dts/k3-am68-sk-r5-base-board.dts | 143 ++--- arch/arm/dts/k3-am68-sk-som.dtsi | 112 ++- 4 files changed, 300 insertions(+), 413 deletions(-) Reviewed-by: Neha Malcom Francis -- Thanking You Neha Malcom Francis

Re: [PATCH v2 5/6] docs: ti: j721s2_evm: Create documentation from J7200 docs

2023-08-27 Thread Neha Malcom Francis
/j721s2_evm.rst | 263 doc/board/ti/k3.rst | 1 + 2 files changed, 264 insertions(+) Reviewed-by: Neha Malcom Francis -- Thanking You Neha Malcom Francis

Re: [PATCH v2 3/6] k3-j721s2: Sync from Linux tag v6.5-rc1

2023-08-28 Thread Neha Malcom Francis
bootph-pre-ram; }; }; Sorry I didn't catch this earlier before the review tag. But dm_tifs can be moved to the root node, see review comments in [1] /* Now include peripherals from each bus segment */ [1] https://patchwork.ozlabs.org/project/uboot/patch/20230822185725.6718-1-re...@ti.com/ -- Thanking You Neha Malcom Francis

[PATCH v1 0/4] J721E DTS Sync with Kernel v6.5-rc1

2023-08-28 Thread Neha Malcom Francis
https://lore.kernel.org/all/20230809175932.2553156-1-vigne...@ti.com/ [3] https://lore.kernel.org/all/20230810174356.3322583-1-vigne...@ti.com/ Boot logs: https://gist.github.com/nehamalcom/231426b784e0ba96ef3a0da84346e038 Neha Malcom Francis (4): arm: dts: k3-j721e-r5: Clean up inclusion hierarchy

[PATCH v1 1/4] arm: dts: k3-j721e-r5: Clean up inclusion hierarchy

2023-08-28 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/

[PATCH v1 3/4] drivers: misc: k3_avs: Add linux compatible to maintain sync

2023-08-28 Thread Neha Malcom Francis
that their compatibles are in sync. Thus, add ti,j721e-vtm compatible to the AVS driver. Signed-off-by: Neha Malcom Francis --- drivers/misc/k3_avs.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/misc/k3_avs.c b/drivers/misc/k3_avs.c index 840148d090..3008cf9810 100644 --- a/drivers

[PATCH v1 4/4] configs: j721e: Remove HBMC_AM654 config

2023-08-28 Thread Neha Malcom Francis
-by: Neha Malcom Francis --- configs/j721e_evm_a72_defconfig | 1 - configs/j721e_evm_r5_defconfig | 1 - 2 files changed, 2 deletions(-) diff --git a/configs/j721e_evm_a72_defconfig b/configs/j721e_evm_a72_defconfig index 214fa8b2f3..beea948c4e 100644 --- a/configs/j721e_evm_a72_defconfig +++ b

[PATCH] arm: dts: k3-j7*: ddr: Update to 0.10 version of DDR config tool

2023-08-28 Thread Neha Malcom Francis
Update the DDR settings to those generated using 0.10 version of Jacinto 7 DDRSS Register Configuration tool. Signed-off-by: Neha Malcom Francis --- arch/arm/dts/k3-j721e-ddr-evm-lp4-4266.dtsi | 98 ++-- arch/arm/dts/k3-j721s2-ddr-evm-lp4-4266.dtsi | 464 +-- 2 files changed

[PATCH v1 2/4] arm: dts: k3-j721e: Sync with v6.5-rc1

2023-08-28 Thread Neha Malcom Francis
thanks to [3] [1] https://lore.kernel.org/lkml/20230515172137.474626-2-...@ti.com/ [2] https://lore.kernel.org/all/20230513123313.11462-2-vaishna...@ti.com/ [3] https://lore.kernel.org/all/20230722193151.117345-1-rog...@kernel.org/ Signed-off-by: Neha Malcom Francis --- .../k3-j721e

Re: [PATCH v1 2/4] arm: dts: k3-j721e: Sync with v6.5-rc1

2023-08-31 Thread Neha Malcom Francis
Hi Nishanth On 28/08/23 22:39, Nishanth Menon wrote: On 17:01-20230828, Neha Malcom Francis wrote: Sync k3-j721e DTS with kernel.org v6.5-rc1. * pcie_epx nodes have been deleted, they are not needed [1] * use mcu_timer0 instead of the redundant timer1. Also delete

Re: [PATCH v1 2/4] arm: dts: k3-j721e: Sync with v6.5-rc1

2023-08-31 Thread Neha Malcom Francis
Hi Nishanth On 28/08/23 22:59, Nishanth Menon wrote: On 17:01-20230828, Neha Malcom Francis wrote: Sync k3-j721e DTS with kernel.org v6.5-rc1. * pcie_epx nodes have been deleted, they are not needed [1] * use mcu_timer0 instead of the redundant timer1. Also delete

Re: [PATCH v1 0/4] J721E DTS Sync with Kernel v6.5-rc1

2023-08-31 Thread Neha Malcom Francis
Hi Nishanth On 28/08/23 23:03, Nishanth Menon wrote: On 17:01-20230828, Neha Malcom Francis wrote: This series aims to sync kernel.org v6.5-rc1 DTS with that of U-Boot. It also includes cleanups where necessary along with certain changes to ensure boot is unaffected. While it's mainly s

Re: [PATCH v1 0/4] J721E DTS Sync with Kernel v6.5-rc1

2023-08-31 Thread Neha Malcom Francis
Hi Nishanth On 31/08/23 17:05, Nishanth Menon wrote: On 13:56-20230831, Neha Malcom Francis wrote: Hi Nishanth On 28/08/23 23:03, Nishanth Menon wrote: On 17:01-20230828, Neha Malcom Francis wrote: This series aims to sync kernel.org v6.5-rc1 DTS with that of U-Boot. It also includes

Re: [RFC PATCH 1/2] binman: ti-secure: Add support for firewalling entities

2023-09-05 Thread Neha Malcom Francis
ools/binman/etype/x509_cert.py +++ b/tools/binman/etype/x509_cert.py @@ -98,7 +98,8 @@ class Entry_x509_cert(Entry_collection): key_fname=self.key_fname, config_fname=config_fname, sw_rev=self.sw_rev, -req_dist_name_dict=self.req_dist_name) +req_dist_name_dict=self.req_dist_name, +firewall_cert_data=self.firewall_cert_data) elif type == 'rom': stdout = self.openssl.x509_cert_rom( cert_fname=output_fname, For v1: - ti-secure node should contain the documentation of how to use this firewall sub-node, basically whatever you've put in x509_cert_sysfw() - add test(s) for complete test coverage -- Thanking You Neha Malcom Francis

Re: [RFC PATCH 2/2] binman: j721e: Add firewall configurations for atf

2023-09-05 Thread Neha Malcom Francis
n binman IF CONFIG_K3_ATF_LOAD_ADDR and the ATF binary were not only A53/A72 inputs. But since it is, I don't see how that can be implemented. Andrew -- Thanking You Neha Malcom Francis

[PATCH v2 0/7] J721E DTS Sync with Kernel v6.5-rc1

2023-09-07 Thread Neha Malcom Francis
mcu_timer0 (new patch) - push clk_k3 probe to happen before TIFS comes up (new patch) - get TISCI revision only if TIFS/SYSFW is up (new patch) Neha Malcom Francis (7): drivers: misc: k3_avs: Add linux

[PATCH v2 1/7] drivers: misc: k3_avs: Add linux compatible to maintain sync

2023-09-07 Thread Neha Malcom Francis
that their compatibles are in sync. Thus, add ti,j721e-vtm compatible to the AVS driver. Signed-off-by: Neha Malcom Francis --- drivers/misc/k3_avs.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/misc/k3_avs.c b/drivers/misc/k3_avs.c index 840148d090..3008cf9810 100644 --- a/drivers

[PATCH v2 2/7] arm: mach-k3: j721e: dev-data: Add mcu_timer0 ID

2023-09-07 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 --- 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 index 97f017f8af..b0adb1857b

[PATCH v2 3/7] arm: mach-k3: j721e_init: Move clk_k3 probe before loading TIFS

2023-09-07 Thread Neha Malcom Francis
Since we need to configure required clocks before TIFS is loaded, move clk_k3 driver probe before k3_sysfw_loader. 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

[PATCH v2 4/7] drivers: firmware: ti_sci: Get SCI revision only if TIFS/SYSFW is up

2023-09-07 Thread Neha Malcom Francis
after TIFS/SYSFW comes up we run ti_sci_cmd_get_revision again so we print the revision right. Signed-off-by: Neha Malcom Francis --- drivers/firmware/ti_sci.c | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/drivers/firmware/ti_sci.c b/drivers/firmware/ti_sci.c index

[PATCH v2 5/7] configs: j721e: Remove HBMC_AM654 config

2023-09-07 Thread Neha Malcom Francis
Signed-off-by: Neha Malcom Francis --- configs/j721e_evm_a72_defconfig | 1 - configs/j721e_evm_r5_defconfig | 1 - 2 files changed, 2 deletions(-) diff --git a/configs/j721e_evm_a72_defconfig b/configs/j721e_evm_a72_defconfig index 214fa8b2f3..beea948c4e 100644 --- a/configs/j721e_evm_a72_defco

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

2023-09-07 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/

[PATCH v2 7/7] arm: dts: k3-j721e: Sync with v6.5-rc1

2023-09-07 Thread Neha Malcom Francis
Sync k3-j721e DTS with kernel.org v6.5-rc1. Signed-off-by: Neha Malcom Francis --- .../k3-j721e-common-proc-board-u-boot.dtsi| 146 +-- arch/arm/dts/k3-j721e-common-proc-board.dts | 483 ++--- arch/arm/dts/k3-j721e-main.dtsi | 974 -- arch/arm/dts/k3

Re: [PATCH v2 1/7] drivers: misc: k3_avs: Add linux compatible to maintain sync

2023-09-07 Thread Neha Malcom Francis
Hi Reid On 07/09/23 23:39, reidt wrote: On 10:08-20230907, Nishanth Menon wrote: On 19:44-20230907, Neha Malcom Francis wrote: The U-Boot AVS driver works on the VTM (Voltage and Thermal Management) module, also used by the Linux TI Bandgap temperature sensor driver (drivers/thermal

Re: [PATCH v2 3/7] arm: mach-k3: j721e_init: Move clk_k3 probe before loading TIFS

2023-09-07 Thread Neha Malcom Francis
Hi Nishanth On 07/09/23 20:33, Nishanth Menon wrote: On 19:44-20230907, Neha Malcom Francis wrote: Since we need to configure required clocks before TIFS is loaded, move clk_k3 driver probe before k3_sysfw_loader. This needs further elaboration. what kind of clocks are we talking about? what

Re: [PATCH v2 4/7] drivers: firmware: ti_sci: Get SCI revision only if TIFS/SYSFW is up

2023-09-07 Thread Neha Malcom Francis
Hi Nishanth On 07/09/23 20:35, Nishanth Menon wrote: On 19:44-20230907, Neha Malcom Francis wrote: While setting up necessary dependent clocks and power domains, we end up probing the ti_sci driver before TIFS/SYSFW has been loaded in the case of legacy boot flow devices. This leads to panic

Re: [PATCH v2 5/7] configs: j721e: Remove HBMC_AM654 config

2023-09-07 Thread Neha Malcom Francis
Hi Nishanth On 07/09/23 20:37, Nishanth Menon wrote: On 19:44-20230907, Neha Malcom Francis wrote: Remove config as kernel commit d93036b47f35 ("arm64: dts: ti: k3-j721e-mcu-wakeup: Add HyperBus node") is impacting boot. Its dependent patch [1] has not yet been merged to kernel, s

Re: [PATCH v2 4/7] drivers: firmware: ti_sci: Get SCI revision only if TIFS/SYSFW is up

2023-09-07 Thread Neha Malcom Francis
Hi Manorit On 08/09/23 10:47, Manorit Chawdhry wrote: Hi Neha, On 09:04-20230908, Neha Malcom Francis wrote: Hi Nishanth On 07/09/23 20:35, Nishanth Menon wrote: On 19:44-20230907, Neha Malcom Francis wrote: While setting up necessary dependent clocks and power domains, we end up probing

Re: [PATCH v2 7/7] arm: dts: k3-j721e: Sync with v6.5-rc1

2023-09-08 Thread Neha Malcom Francis
Hi Manorit On 08/09/23 13:42, Manorit Chawdhry wrote: Hi Neha, On 19:44-20230907, Neha Malcom Francis wrote: Sync k3-j721e DTS with kernel.org v6.5-rc1. Signed-off-by: Neha Malcom Francis --- .../k3-j721e-common-proc-board-u-boot.dtsi| 146 +-- arch/arm/dts/k3-j721e-common-proc

[PATCH] doc: board: ti: Move documentation from README to .rst

2023-09-08 Thread Neha Malcom Francis
Make the conversion for all existing TI documentation from README to .rst Signed-off-by: Neha Malcom Francis --- board/ti/dra7xx/README| 26 -- board/ti/ks2_evm/README | 194 - doc/README.ti-secure | 226 --- doc/SPI

Re: [PATCH v2 7/7] arm: dts: k3-j721e: Sync with v6.5-rc1

2023-09-11 Thread Neha Malcom Francis
Hi Nishanth On 11/09/23 16:53, Nishanth Menon wrote: On 19:44-20230907, Neha Malcom Francis wrote: Sync k3-j721e DTS with kernel.org v6.5-rc1. Signed-off-by: Neha Malcom Francis --- .../k3-j721e-common-proc-board-u-boot.dtsi| 146 +-- arch/arm/dts/k3-j721e-common-proc-board.dts

Re: [RESEND PATCH] spi: cadence_qspi: Select flash subnode at runtime

2023-09-12 Thread Neha Malcom Francis
udevice *dev); +ofnode cadence_qspi_get_subnode(struct udevice *dev); void cadence_qspi_apb_enable_linear_mode(bool enable); #endif /* __CADENCE_QSPI_H__ */ But otherwise Reviewed-by: Neha Malcom Francis -- Thanking You Neha Malcom Francis

Re: [PATCH v2 7/7] arm: dts: k3-j721e: Sync with v6.5-rc1

2023-09-12 Thread Neha Malcom Francis
Hi Nishanth On 11/09/23 16:53, Nishanth Menon wrote: On 19:44-20230907, Neha Malcom Francis wrote: Sync k3-j721e DTS with kernel.org v6.5-rc1. Signed-off-by: Neha Malcom Francis [...] This file has: * tps659413 -> Should come in from upstream kernel please. [...] we h

WIP: Signing TI x509 certificates using binman

2023-03-24 Thread Neha Malcom Francis
7896b#diff-efb03d61a324724c4f86bf42b45c4e4e614cab18e1b3184f63721d62280a11b5 [2] https://patchwork.ozlabs.org/project/uboot/patch/20230224120340.587786-1-n-fran...@ti.com/ -- Thanking You Neha Malcom Francis

Re: WIP: Signing TI x509 certificates using binman

2023-03-31 Thread Neha Malcom Francis
Hi Simon On 31/03/23 02:01, Simon Glass wrote: Hi Neha, On Fri, 24 Mar 2023 at 22:28, Neha Malcom Francis wrote: Hi Simon, Before I roll out the entire series that works for packaging K3 bootloader images, wanted to get some reviews and comments regarding the implementation of the signing

Re: WIP: Signing TI x509 certificates using binman

2023-04-02 Thread Neha Malcom Francis
Hi Simon On 01/04/23 12:02, Simon Glass wrote: Hi Neha, On Sat, 1 Apr 2023 at 00:14, Neha Malcom Francis wrote: Hi Simon On 31/03/23 02:01, Simon Glass wrote: Hi Neha, On Fri, 24 Mar 2023 at 22:28, Neha Malcom Francis wrote: Hi Simon, Before I roll out the entire series that works

Re: WIP: Signing TI x509 certificates using binman

2023-04-02 Thread Neha Malcom Francis
Hi Simon On 02/04/23 18:00, Neha Malcom Francis wrote: Hi Simon On 01/04/23 12:02, Simon Glass wrote: Hi Neha, On Sat, 1 Apr 2023 at 00:14, Neha Malcom Francis wrote: Hi Simon On 31/03/23 02:01, Simon Glass wrote: Hi Neha, On Fri, 24 Mar 2023 at 22:28, Neha Malcom Francis wrote

Re: WIP: Signing TI x509 certificates using binman

2023-04-03 Thread Neha Malcom Francis
Hi Simon On 03/04/23 00:16, Simon Glass wrote: Hi Neha, On Mon, 3 Apr 2023 at 02:19, Neha Malcom Francis wrote: Hi Simon On 02/04/23 18:00, Neha Malcom Francis wrote: Hi Simon On 01/04/23 12:02, Simon Glass wrote: Hi Neha, On Sat, 1 Apr 2023 at 00:14, Neha Malcom Francis wrote: Hi

[PATCH v2 00/18] Migration to using binman to generate

2023-04-04 Thread Neha Malcom Francis
certificate generation - dropped Makefile changes to obtain external binary components, moving to using BINMAN_INDIRS to achieve the same Neha Malcom Francis (18): binman: Add support for generating TI Board config binaries binman: ti-secure: Add support for TI signing ti: sysfw

[PATCH v2 01/18] binman: Add support for generating TI Board config binaries

2023-04-04 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 generated binaries to be packed into the final system firmware images. Signed-off-by: Neha Malcom Francis --- tools/binman/entries.rst

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

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

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

2023-04-04 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 | 25 ++ tools/binman/etype/ti_secure.py

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

2023-04-04 Thread Neha Malcom Francis
SPL dtbs * TIFS * board-cfg * pm-cfg * sec-cfg * rm-cfg 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

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

2023-04-04 Thread Neha Malcom Francis
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 | 634 ++ .../k3-j721e-common-proc-board-u-boot.dtsi| 1 + .../arm/dts/k3-j721e-r5-common-proc-board.dts | 1 + arch/arm

[PATCH v2 06/18] j7200: yaml: Add J7200 board config files

2023-04-04 Thread Neha Malcom Francis
Added YAML config 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 v2 09/18] am65: dts: binman: Package tiboot3.bin, sysfw.itb, tispl.bin, u-boot.img

2023-04-04 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 v2 08/18] am65x: yaml: Add AM65x board config files

2023-04-04 Thread Neha Malcom Francis
Added YAML config 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 v2 17/18] am62a: dts: binman: Package tiboot3.bin, tispl.bin, u-boot.img

2023-04-04 Thread Neha Malcom Francis
* R5 SPL dtbs * TIFS * board-cfg * pm-cfg * sec-cfg * rm-cfg 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

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

2023-04-04 Thread Neha Malcom Francis
* 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 --- arch/arm/dts/k3-am642-evm-u

[PATCH v2 12/18] j721s2: yaml: Add board config for J721S2

2023-04-04 Thread Neha Malcom Francis
Added YAML config 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 v2 16/18] am62a: yaml: Add board config for AM62ax

2023-04-04 Thread Neha Malcom Francis
Added YAML config 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 v2 18/18] k3: tools: config.mk: Update makefile and remove scripts

2023-04-04 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 v2 10/18] config: am64x: Add board config for AM64x

2023-04-04 Thread Neha Malcom Francis
Added YAML config 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 v2 13/18] j721s2: dts: binman: Package tiboot3.bin, tispl.bin and u-boot.img

2023-04-04 Thread Neha Malcom Francis
SPL dtbs * TIFS * board-cfg * pm-cfg * sec-cfg * rm-cfg 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

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

2023-04-04 Thread Neha Malcom Francis
dtbs * TIFS * board-cfg * pm-cfg * sec-cfg * rm-cfg 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

[PATCH v2 14/18] am62: yaml: Add board config for AM62

2023-04-04 Thread Neha Malcom Francis
Added YAML config 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 v2 04/18] j721e: schema: yaml: Add general schema and J721E board config files

2023-04-04 Thread Neha Malcom Francis
binaries to package system firmware. Added YAML config 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 v2 02/18] binman: ti-secure: Add support for TI signing

2023-04-04 Thread Neha Malcom Francis
Hi Andrew, On 04/04/23 22:41, Andrew Davis wrote: On 4/4/23 7:13 AM, 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 be booted by ROM

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

2023-04-04 Thread Neha Malcom Francis
Hi Andrew On 04/04/23 22:50, Andrew Davis wrote: On 4/4/23 7:13 AM, Neha Malcom Francis wrote: By providing entries in the binman node of the device tree, binman will be able to find and package board config artifacts generated by TIBoardConfig with sysfw.bin and generate the final image

Re: [PATCH v2 00/18] Migration to using binman to generate

2023-04-05 Thread Neha Malcom Francis
Hi Andrew, On 05/04/23 00:27, Andrew Davis wrote: On 4/4/23 7:13 AM, Neha Malcom Francis wrote: This series aims to eliminate the use of additional custom repositories such as k3-image-gen (K3 Image Generation) repo that was plumbed into the U-Boot build flow to generate boot images for TI K3

[PATCH] k3: pmic: Clear ESM masks

2023-04-05 Thread Neha Malcom Francis
Malcom Francis --- drivers/misc/esm_pmic.c | 9 + 1 file changed, 9 insertions(+) diff --git a/drivers/misc/esm_pmic.c b/drivers/misc/esm_pmic.c index a195dc5eb1d..b971f32f6a1 100644 --- a/drivers/misc/esm_pmic.c +++ b/drivers/misc/esm_pmic.c @@ -26,6 +26,9 @@ #define ESM_MCU_EN

<    1   2   3   4   5   6   7   8   >