[PATCH RFC v3 01/11] j721e_evm: schema: yaml: Add general schema and J721E board config files

2022-06-15 Thread Neha Malcom Francis
. 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/config.yaml | 3162 +++ 2 files changed, 3517 insertions(+) create mode 100644 board/ti

Re: [PATCH RFC v3 08/11] ti: j721e: Exclude makefile tispl.bin target for J721E

2022-06-16 Thread Neha Malcom Francis
Hi Roger, On 15/06/22 19:14, Roger Quadros wrote: Hi Neha, On 15/06/2022 09:48, Neha Malcom Francis wrote: tispl.bin is to be packaged (with ATF, OPTEE, DM and A72 SPL) using binman. The tispl.bin target from the makefile is no longer needed for J721E. Signed-off-by: Neha Malcom Francis

Re: [PATCH RFC v3 03/11] ti: etype: sysfw: Add entry type for sysfw

2022-06-16 Thread Neha Malcom Francis
Hi Andrew, On 15/06/22 21:07, Andrew Davis wrote: On 6/15/22 1:47 AM, Neha Malcom Francis wrote: For K3 devices that require a sysfw image, add entry for SYSFW. It can contain system firmware image that can be packaged into sysfw.itb by binman. HS devices do this very differently, even an

[PATCH] binman: Add support for symlinking images

2022-10-10 Thread Neha Malcom Francis
Adding support to symlink an image packaged using binman. Signed-off-by: Neha Malcom Francis --- tools/binman/image.py | 6 ++ 1 file changed, 6 insertions(+) diff --git a/tools/binman/image.py b/tools/binman/image.py index afc4b4d643..191d121d88 100644 --- a/tools/binman/image.py +++ b

Re: [PATCH] binman: Add support for symlinking images

2022-10-10 Thread Neha Malcom Francis
Hi Simon, On 11/10/22 05:19, Simon Glass wrote: Hi Neha, On Mon, 10 Oct 2022 at 05:07, Neha Malcom Francis wrote: Adding support to symlink an image packaged using binman. Signed-off-by: Neha Malcom Francis --- tools/binman/image.py | 6 ++ 1 file changed, 6 insertions(+) This

[PATCH v2] binman: Add support for symlinking images

2022-10-17 Thread Neha Malcom Francis
Adding support to symlink an image packaged using binman. Signed-off-by: Neha Malcom Francis --- Changes in v2: - added testing for symlink support - moved from tools.Run('ln',...) to os.symlink() tools/binman/binman.rst | 3 +++ tools/binma

Binman entry 'u-boot-any' not found in list

2022-10-28 Thread Neha Malcom Francis
is function since it's not necessary in our use-case, the build was successful (https://github.com/nehamalcom/u-boot/commit/5666721860e1d2f759440a00c4aee8b6e89b54b3) Why is binman not picking up on the "any" and choosing u-boot-spl-nodtb from the list? -- Thanking You Neha Malcom Francis

Re: Binman entry 'u-boot-any' not found in list

2022-10-30 Thread Neha Malcom Francis
Hi Simon, On 30/10/22 07:13, Simon Glass wrote: Hi Neha, On Fri, 28 Oct 2022 at 04:58, Fabio Estevam wrote: [Adding Alper - binmam maintainer and Oliver, who faced the same issue on imx8] On Fri, Oct 28, 2022 at 7:56 AM Neha Malcom Francis wrote: Hi! U-Boot build for J721E with binman

Re: Binman entry 'u-boot-any' not found in list

2022-10-31 Thread Neha Malcom Francis
Hi Roger, Alper, Thank you for the help! On 31/10/22 21:16, Alper Nebi Yasak wrote: On 31/10/2022 15:56, Roger Quadros wrote:> On 31/10/2022 05:40, Neha Malcom Francis wrote: On 30/10/22 07:13, Simon Glass wrote: On Fri, 28 Oct 2022 at 04:58, Fabio Estevam wrote: [Adding Alper - bin

Re: [RESEND, RFC 2/8] binman: etype: sysfw: Add entry type for sysfw

2022-04-18 Thread Neha Malcom Francis
On 19/04/22 01:26, Alper Nebi Yasak wrote: On 06/04/2022 15:29, Neha Malcom Francis wrote: For K3 devices that require a sysfw image, add entry for SYSFW. It can contain system firmware image that can be packaged into sysfw.itb by binman. The method ReadBlobContents in sysfw.py runs the TI K3

Re: [RESEND, RFC 1/8] tools: config: yaml: Add board config class to generate config binaries

2022-04-18 Thread Neha Malcom Francis
On 19/04/22 01:25, Alper Nebi Yasak wrote: On 06/04/2022 15:29, Neha Malcom Francis wrote: For validating config files and generating binary config artifacts, here board specific config class is added. Add function cfgBinaryGen() in tibcfg_gen.py. It uses TIBoardConfig class to load given

[PATCH RFC v2 00/11] Integration of sysfw, tispl and tiboot3

2022-05-05 Thread Neha Malcom Francis
sfw - Reformatted and re-arranged patches - Removed k3_fit_atf.sh and k3_gen_x509_cert.sh as their functionality is provided by binman now Neha Malcom Francis (11): j721e_evm: schema: yaml: Add general schema and J721E board config files ti: tools: config: Add board config class to gener

[PATCH RFC v2 02/11] ti: tools: config: Add board config class to generate config binaries

2022-05-05 Thread Neha Malcom Francis
[n-fran...@ti.com: prepared patch for upstreaming] Signed-off-by: Neha Malcom Francis --- test/py/requirements.txt | 1 + tools/tibcfg_gen.py | 114 +++ 2 files changed, 115 insertions(+) create mode 100644 tools/tibcfg_gen.py diff --git a/test/py

[PATCH RFC v2 03/11] ti: etype: sysfw: Add entry type for sysfw

2022-05-05 Thread Neha Malcom Francis
For K3 devices that require a sysfw image, add entry for SYSFW. It can contain system firmware image that can be packaged into sysfw.itb by binman. Signed-off-by: Tarun Sahu [n-fran...@ti.com: added tests for addition of etype] Signed-off-by: Neha Malcom Francis --- Makefile

[PATCH RFC v2 06/11] ti: sysfw: Add support for packaging sysfw.itb

2022-05-05 Thread Neha Malcom Francis
For devices that require sysfw.itb, board config binary artifacts must be populated in the R5 output directory. These can be used by binman to package sysfw.itb. config.mk for mach-k3 updated to generate the required binaries using tibcfg_gen.py. Signed-off-by: Neha Malcom Francis --- arch/arm

[PATCH RFC v2 05/11] ti: etype: x509: Add etype for x509 certificate for K3 devices

2022-05-05 Thread Neha Malcom Francis
K3 devices x509 certificate added to certain binaries that allows ROM to validate the integrity of the image. Etype that generates an x509 certificate depending on boot flow added. Signed-off-by: Neha Malcom Francis --- tools/binman/entries.rst| 15 ++ tools/binman/etype

[PATCH RFC v2 04/11] ti: etype: dm: Add entry type for TI DM

2022-05-05 Thread Neha Malcom Francis
ng of tispl.bin by binman along with ATF and TEE. Signed-off-by: Neha Malcom Francis --- Makefile| 1 + tools/binman/entries.rst| 10 ++ tools/binman/etype/ti_dm.py | 23 +++ tools/binman/ftest.py | 7 +++ tools/binman

[PATCH RFC v2 07/11] ti: tiboot3.bin: Remove tiboot3.bin target from makefile

2022-05-05 Thread Neha Malcom Francis
with the etype x509_cert. Signed-off-by: Neha Malcom Francis --- arch/arm/mach-k3/config.mk | 19 --- 1 file changed, 19 deletions(-) diff --git a/arch/arm/mach-k3/config.mk b/arch/arm/mach-k3/config.mk index e6c13c1800..49f80ae79b 100644 --- a/arch/arm/mach-k3/config.mk +++ b

[PATCH RFC v2 08/11] ti: tispl.bin: Removed script that packages tispl.bin

2022-05-05 Thread Neha Malcom Francis
As tispl.bin is to be packaged (with ATF, OPTEE, DM and A72 SPL) using binman, the shell script k3_fit_atf.sh is no longer needed. Removing this file. Signed-off-by: Neha Malcom Francis --- tools/k3_fit_atf.sh | 123 1 file changed, 123 deletions

[PATCH RFC v2 09/11] ti: x509: Remove shell script used for signing

2022-05-05 Thread Neha Malcom Francis
Earlier the k3_gen_x509_cert.sh was used for signing binaries with the x509 certificate for Texas Instruments K3 architecture devices. Since the signing process is handled by x509 etype now, there is no more requirement for this script, hence removing it. Signed-off-by: Neha Malcom Francis

[PATCH RFC v2 10/11] ti: dtsi: j721e: Use binman to package sysfw.itb and tiboot3.bin

2022-05-05 Thread Neha Malcom Francis
then be include by files that require it like k3-j721e-r5-common-proc-board-u-boot.dtsi. Signed-off-by: Tarun Sahu [n-fran...@ti.com: prepared patch for upstreaming] Signed-off-by: Neha Malcom Francis --- arch/arm/dts/k3-j721e-r5-binman.dtsi | 88 +++ .../k3-j721e-r5

[PATCH RFC v2 11/11] ti: dtsi: j721e: Use binman to package tispl.bin

2022-05-05 Thread Neha Malcom Francis
time. Signed-off-by: Tarun Sahu [n-fran...@ti.com: prepared patch for upstreaming] Signed-off-by: Neha Malcom Francis --- arch/arm/dts/k3-j721e-a72-binman.dtsi | 86 +++ .../k3-j721e-common-proc-board-u-boot.dtsi| 1 + arch/arm/mach-k3/config.mk

[PATCH RFC v2 01/11] j721e_evm: schema: yaml: Add general schema and J721E board config files

2022-05-06 Thread Neha Malcom Francis
. 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/config.yaml | 3162 +++ 2 files changed, 3517 insertions(+) create mode 100644 board/ti

[uU PATCH 0/8] Integration of sysfw and tispl with U-Boot build

2022-04-01 Thread Neha Malcom Francis
series is intended for only J721E and future work is to expand to the remaining K3 devices as well. The errors that come are mainly due to the boards other than J721E trying to generate tispl.bin. Error logs of the CI test is located here: https://pastebin.ubuntu.com/p/rpMrWzH7tv/ Neha Malcom Francis

[uU PATCH 1/8] tools: config: yaml: Add board config class to generate config binaries

2022-04-01 Thread Neha Malcom Francis
[n-fran...@ti.com: prepared patch for upstreaming] Signed-off-by: Neha Malcom Francis --- test/py/requirements.txt | 1 + tools/tibcfg_gen.py | 116 +++ 2 files changed, 117 insertions(+) create mode 100644 tools/tibcfg_gen.py diff --git a/test/py

[uU PATCH 2/8] binman: etype: sysfw: Add entry type for sysfw

2022-04-01 Thread Neha Malcom Francis
by binman into sysfw.bin. Signed-off-by: Tarun Sahu [n-fran...@ti.com: added tests for addition of etype] Signed-off-by: Neha Malcom Francis --- tools/binman/entries.rst| 11 ++ tools/binman/etype/sysfw.py | 60 + tools/binman/ftest.py

[uU PATCH 3/8] schema: yaml: Add board config schema

2022-04-01 Thread Neha Malcom Francis
Malcom Francis --- board/ti/common/schema.yaml | 355 1 file changed, 355 insertions(+) create mode 100644 board/ti/common/schema.yaml diff --git a/board/ti/common/schema.yaml b/board/ti/common/schema.yaml new file mode 100644 index 00..070ff797e0

[uU PATCH 4/8] config: yaml: j721e_evm: Add board config for J721E EVM

2022-04-01 Thread Neha Malcom Francis
be packaged into sysfw.itb along with u-boot.img. It also requires DM, ATF, OPTEE packaged into tispl.bin. Signed-off-by: Tarun Sahu [n-fran...@ti.com: prepared patch for upstreaming] Signed-off-by: Neha Malcom Francis --- board/ti/j721e/config.yaml | 3162 1

[uU PATCH 5/8] binman: sysfw: Add support for packaging tiboot3.bin and sysfw.itb

2022-04-01 Thread Neha Malcom Francis
remove hardcoding of the certificate signing script. Signed-off-by: Neha Malcom Francis --- arch/arm/mach-k3/config.mk | 21 - 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/arch/arm/mach-k3/config.mk b/arch/arm/mach-k3/config.mk index da458bcfb2..5491fc4dc8

[uU PATCH 6/8] binman: dtsi: sysfw: j721e: Use binman to package sysfw.itb

2022-04-01 Thread Neha Malcom Francis
be include by files that require it like k3-j721e-r5-common-proc-board-u-boot.dtsi. Signed-off-by: Tarun Sahu [n-fran...@ti.com: prepared patch for upstreaming] Signed-off-by: Neha Malcom Francis --- arch/arm/dts/j721e-r5-binman.dtsi | 75 +++ .../k3-j721e-r5-common

[uU PATCH 7/8] binman: etype: dm: Add entry type for TI DM

2022-04-01 Thread Neha Malcom Francis
ng of tispl.bin by binman along with ATF and TEE. Signed-off-by: Neha Malcom Francis --- Makefile| 1 + tools/binman/entries.rst| 10 ++ tools/binman/etype/ti_dm.py | 22 ++ tools/binman/ftest.py | 7 +++ tools/binman

[uU PATCH 8/8] binman: dtsi: tispl: j721e: Use binman to package tispl.bin

2022-04-01 Thread Neha Malcom Francis
time. Signed-off-by: Tarun Sahu [n-fran...@ti.com: prepared patch for upstreaming] Signed-off-by: Neha Malcom Francis --- arch/arm/dts/j721e-a72-binman.dtsi| 92 +++ .../k3-j721e-common-proc-board-u-boot.dtsi| 1 + arch/arm/mach-k3/config.mk| 33

[RESEND, RFC 0/8] Integration of sysfw and tispl with U-Boot

2022-04-06 Thread Neha Malcom Francis
: https://pastebin.ubuntu.com/p/rpMrWzH7tv/ Neha Malcom Francis (8): tools: config: yaml: Add board config class to generate config binaries binman: etype: sysfw: Add entry type for sysfw schema: yaml: Add board config schema config: yaml: j721e_evm: Add board config for J721E EVM

[RESEND, RFC 1/8] tools: config: yaml: Add board config class to generate config binaries

2022-04-06 Thread Neha Malcom Francis
[n-fran...@ti.com: prepared patch for upstreaming] Signed-off-by: Neha Malcom Francis --- test/py/requirements.txt | 1 + tools/tibcfg_gen.py | 116 +++ 2 files changed, 117 insertions(+) create mode 100644 tools/tibcfg_gen.py diff --git a/test/py

[RESEND, RFC 2/8] binman: etype: sysfw: Add entry type for sysfw

2022-04-06 Thread Neha Malcom Francis
by binman into sysfw.bin. Signed-off-by: Tarun Sahu [n-fran...@ti.com: added tests for addition of etype] Signed-off-by: Neha Malcom Francis --- tools/binman/entries.rst| 11 ++ tools/binman/etype/sysfw.py | 60 + tools/binman/ftest.py

[RESEND, RFC 3/8] schema: yaml: Add board config schema

2022-04-06 Thread Neha Malcom Francis
Malcom Francis --- board/ti/common/schema.yaml | 355 1 file changed, 355 insertions(+) create mode 100644 board/ti/common/schema.yaml diff --git a/board/ti/common/schema.yaml b/board/ti/common/schema.yaml new file mode 100644 index 00..070ff797e0

[RESEND, RFC 5/8] binman: sysfw: Add support for packaging tiboot3.bin and sysfw.itb

2022-04-06 Thread Neha Malcom Francis
remove hardcoding of the certificate signing script. Signed-off-by: Neha Malcom Francis --- arch/arm/mach-k3/config.mk | 21 - 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/arch/arm/mach-k3/config.mk b/arch/arm/mach-k3/config.mk index da458bcfb2..5491fc4dc8

[RESEND, RFC 7/8] binman: etype: dm: Add entry type for TI DM

2022-04-06 Thread Neha Malcom Francis
ng of tispl.bin by binman along with ATF and TEE. Signed-off-by: Neha Malcom Francis --- Makefile| 1 + tools/binman/entries.rst| 10 ++ tools/binman/etype/ti_dm.py | 22 ++ tools/binman/ftest.py | 7 +++ tools/binman

[RESEND, RFC 6/8] binman: dtsi: sysfw: j721e: Use binman to package sysfw.itb

2022-04-06 Thread Neha Malcom Francis
be include by files that require it like k3-j721e-r5-common-proc-board-u-boot.dtsi. Signed-off-by: Tarun Sahu [n-fran...@ti.com: prepared patch for upstreaming] Signed-off-by: Neha Malcom Francis --- arch/arm/dts/j721e-r5-binman.dtsi | 75 +++ .../k3-j721e-r5-common

[RESEND, RFC 8/8] binman: dtsi: tispl: j721e: Use binman to package tispl.bin

2022-04-06 Thread Neha Malcom Francis
time. Signed-off-by: Tarun Sahu [n-fran...@ti.com: prepared patch for upstreaming] Signed-off-by: Neha Malcom Francis --- arch/arm/dts/j721e-a72-binman.dtsi| 92 +++ .../k3-j721e-common-proc-board-u-boot.dtsi| 1 + arch/arm/mach-k3/config.mk| 33

[RESEND, RFC 4/8] config: yaml: j721e_evm: Add board config for J721E EVM

2022-04-06 Thread Neha Malcom Francis
be packaged into sysfw.itb along with u-boot.img. It also requires DM, ATF, OPTEE packaged into tispl.bin. Signed-off-by: Tarun Sahu [n-fran...@ti.com: prepared patch for upstreaming] Signed-off-by: Neha Malcom Francis --- board/ti/j721e/config.yaml | 3162 1

[PATCH] binman: bintool: Add support for tool directories

2023-02-16 Thread Neha Malcom Francis
Currently, bintool supports external compilable tools as single executable files. Adding support for git repos that can be used to run non-compilable scripting tools that cannot otherwise be present in binman. Signed-off-by: Neha Malcom Francis --- tools/binman/bintool.py | 42

[PATCH v2] binman: bintool: Add support for tool directories

2023-02-17 Thread Neha Malcom Francis
Currently, bintool supports external compilable tools as single executable files. Adding support for git repos that can be used to run non-compilable scripting tools that cannot otherwise be present in binman. Signed-off-by: Neha Malcom Francis --- Changes in v2: - added parameter to

[RFC PATCH] board: ti: common: board_detect: Fix EEPROM read quirk for 2-byte

2022-11-28 Thread Neha Malcom Francis
addressing. A more generic solution is introduced here to solve this issue: 1-byte read without offset and 1-byte read with offset. If both passes, it follows 1-byte addressing else we proceed with 2-byte addressing check. Tested on J721E, J7200, DRA7xx, AM64x Signed-off-by: Neha Malcom Francis

Re: [RFC PATCH] board: ti: common: board_detect: Fix EEPROM read quirk for 2-byte

2022-11-29 Thread Neha Malcom Francis
Hi Matwey On 29/11/22 17:40, Matwey V. Kornilov wrote: вт, 29 нояб. 2022 г. в 09:50, Neha Malcom Francis : EEPROM detection logic in ti_i2c_eeprom_get() involves figuring out whether addressing is 1-byte or 2-byte. There are currently different behaviours seen across boards as documented in

Re: [RFC PATCH] board: ti: common: board_detect: Fix EEPROM read quirk for 2-byte

2022-11-29 Thread Neha Malcom Francis
Hi Tom On 29/11/22 19:01, Tom Rini wrote: On Tue, Nov 29, 2022 at 03:10:12PM +0300, Matwey V. Kornilov wrote: вт, 29 нояб. 2022 г. в 09:50, Neha Malcom Francis : EEPROM detection logic in ti_i2c_eeprom_get() involves figuring out whether addressing is 1-byte or 2-byte. There are currently

Re: [PATCH RFC v2 00/11] Integration of sysfw, tispl and tiboot3

2022-05-31 Thread Neha Malcom Francis
Hi Roger, On 31/05/22 13:51, Roger Quadros wrote: Hi, On 06/05/2022 07:37, Neha Malcom Francis wrote: Devices that belong to the K3 architecture require SYSFW which is a FIT image consisting of a signed system firmware image and board config binaries. Board config binaries are needed to

Re: [PATCH RFC v2 03/11] ti: etype: sysfw: Add entry type for sysfw

2022-05-31 Thread Neha Malcom Francis
Hi Roger, On 31/05/22 14:14, Roger Quadros wrote: On 06/05/2022 07:37, Neha Malcom Francis wrote: For K3 devices that require a sysfw image, add entry for SYSFW. It can 'can' or 'should'? For binman, 'sysfw' and 'dm' (added in patch 4) are just b

Re: [PATCH RFC v2 05/11] ti: etype: x509: Add etype for x509 certificate for K3 devices

2022-05-31 Thread Neha Malcom Francis
Hi Roger, On 31/05/22 14:50, Roger Quadros wrote: On 06/05/2022 07:37, Neha Malcom Francis wrote: K3 devices x509 certificate added to certain binaries that allows ROM to what binaries? validate the integrity of the image. Etype that generates an x509 certificate depending on boot flow

Re: [PATCH RFC v2 11/11] ti: dtsi: j721e: Use binman to package tispl.bin

2022-05-31 Thread Neha Malcom Francis
Hi Roger, On 31/05/22 16:32, Roger Quadros wrote: On 06/05/2022 07:37, Neha Malcom Francis wrote: Explicit make commands were earlier used to generate tispl.bin image, now it is replaced using binman. Binman picks up and packages entries according to the description of entries given in the

Re: [PATCH RFC v2 03/11] ti: etype: sysfw: Add entry type for sysfw

2022-06-01 Thread Neha Malcom Francis
Hi Roger, On 01/06/22 11:28, Neha Malcom Francis wrote: Hi Roger, On 31/05/22 14:14, Roger Quadros wrote: On 06/05/2022 07:37, Neha Malcom Francis wrote: For K3 devices that require a sysfw image, add entry for SYSFW. It can 'can' or 'should'? For binman, '

Re: [PATCH RFC v2 05/11] ti: etype: x509: Add etype for x509 certificate for K3 devices

2022-06-01 Thread Neha Malcom Francis
Hi Roger, On 01/06/22 14:54, Roger Quadros wrote: On 01/06/2022 09:02, Neha Malcom Francis wrote: Hi Roger, On 31/05/22 14:50, Roger Quadros wrote: On 06/05/2022 07:37, Neha Malcom Francis wrote: K3 devices x509 certificate added to certain binaries that allows ROM to what binaries

Re: [PATCH RFC v2 11/11] ti: dtsi: j721e: Use binman to package tispl.bin

2022-06-01 Thread Neha Malcom Francis
Hi Roger, On 01/06/22 14:53, Roger Quadros wrote: Hi, On 01/06/2022 09:08, Neha Malcom Francis wrote: Hi Roger, On 31/05/22 16:32, Roger Quadros wrote: On 06/05/2022 07:37, Neha Malcom Francis wrote: Explicit make commands were earlier used to generate tispl.bin image, now it is replaced

Re: [PATCH RFC v2 05/11] ti: etype: x509: Add etype for x509 certificate for K3 devices

2022-06-01 Thread Neha Malcom Francis
Hi Roger, On 01/06/22 16:18, Roger Quadros wrote: Neha, On 01/06/2022 12:48, Neha Malcom Francis wrote: Hi Roger, On 01/06/22 14:54, Roger Quadros wrote: On 01/06/2022 09:02, Neha Malcom Francis wrote: Hi Roger, On 31/05/22 14:50, Roger Quadros wrote: On 06/05/2022 07:37, Neha Malcom

[PATCH 0/4] Cleanup K3 binman templating

2024-03-22 Thread Neha Malcom Francis
...@ti.com/ - cleaned out FDT descriptions and blobs using macros (Manorit) - modified J721E defconfigs to include missed out configs (Andrew) Boot logs: https://gist.github.com/nehamalcom/07dc7f95173f0bb67a8a26a6b3ab2b00 Neha Malcom Francis (4): configs: j721e_sk: Move to separate

[PATCH 1/4] configs: j721e_sk: Move to separate defconfig for J721E SK board

2024-03-22 Thread Neha Malcom Francis
Add defconfig for J721E SK R5 and A72 configuration. This includes and modifies the J721E EVM defconfigs: j721e_evm_r5_defconfig -> j721e_sk_r5_defconfig j721e_evm_a72_defconfig -> j721e_sk_a72_defconfig Signed-off-by: Neha Malcom Francis --- board/ti/j721e/MAINTAINERS | 2 ++ c

[PATCH 2/4] tools: binman: control.py: Delete template nodes after parsing

2024-03-22 Thread Neha Malcom Francis
Dynamically going through the subnode array and deleting leads to templates being skipped from deletion when templates are consecutive in the subnode list. Prevent this from happening by first parsing the DT and then deleting the nodes. Signed-off-by: Neha Malcom Francis --- tools/binman

[PATCH 3/4] arm: dts: k3-*-binman.dtsi: Clean up and templatize boot binaries

2024-03-22 Thread Neha Malcom Francis
can be built from the templates in the boards' respective -u-boot.dtsi file (or k3--binman.dtsi if it exists). This allows clear distinction between the SoC common stuff vs. what is additionally needed to boot up a specific board. Signed-off-by: Neha Malcom Francis --- arch/arm/dts/k3-

Re: [PATCH 3/4] arm: dts: k3-*-binman.dtsi: Clean up and templatize boot binaries

2024-03-24 Thread Neha Malcom Francis
Hi Andrew On 23/03/24 21:37, Andrew Davis wrote: On 3/22/24 8:10 AM, Neha Malcom Francis wrote: Clean up templatized boot binaries for all K3 boards. This includes modifying the k3-binman.dtsi to use SPL_BOARD_DTB, BOARD_DESCRIPTION and UBOOT_BOARD_DESCRIPTION from the files that include it to

Re: [PATCH 3/4] arm: dts: k3-*-binman.dtsi: Clean up and templatize boot binaries

2024-03-25 Thread Neha Malcom Francis
Hi Manorit On 25/03/24 14:50, Manorit Chawdhry wrote: Hi Neha, On 18:40-20240322, Neha Malcom Francis wrote: Clean up templatized boot binaries for all K3 boards. This includes modifying the k3-binman.dtsi to use SPL_BOARD_DTB, BOARD_DESCRIPTION and UBOOT_BOARD_DESCRIPTION from the files that

Re: [PATCH] binman: ti-secure: Enable debug extension for combined boot

2024-03-26 Thread Neha Malcom Francis
change-id: 20240326-b4-upstream-jtag-debug-unlock-6fc21e344cfb Best regards, Reviewed-by: Neha Malcom Francis -- Thanking You Neha Malcom Francis

Re: [PATCH] tools: binman: ti_board_cfg: improve error message

2024-03-26 Thread Neha Malcom Francis
(self.file_yaml, self.schema_yaml) except Exception as e: Reviewed-by: Neha Malcom Francis -- Thanking You Neha Malcom Francis

Re: [PATCH 3/4] arm: dts: k3-*-binman.dtsi: Clean up and templatize boot binaries

2024-03-26 Thread Neha Malcom Francis
Hi Nishanth On 26/03/24 17:57, Nishanth Menon wrote: On 18:40-20240322, Neha Malcom Francis wrote: Clean up templatized boot binaries for all K3 boards. This includes modifying the k3-binman.dtsi to use SPL_BOARD_DTB, BOARD_DESCRIPTION and UBOOT_BOARD_DESCRIPTION from the files that include it

Re: [PATCH 3/4] arm: dts: k3-*-binman.dtsi: Clean up and templatize boot binaries

2024-03-27 Thread Neha Malcom Francis
Hi Michael On 26/03/24 19:18, Michael Walle wrote: Hi, On Fri Mar 22, 2024 at 2:10 PM CET, Neha Malcom Francis wrote: Clean up templatized boot binaries for all K3 boards. This includes modifying the k3-binman.dtsi to use SPL_BOARD_DTB, BOARD_DESCRIPTION and UBOOT_BOARD_DESCRIPTION from the

[PATCH 00/21] Migration to using binman to generate bootloader

2023-01-20 Thread Neha Malcom Francis
take over the packaging and signing for the R5 bootloader images tiboot3.bin (and sysfw.itb, for non-combined boot flow) instead of k3-image-gen. Series also packages the A72/A53 bootloader images (tispl.bin and u-boot.img) using ATF, OPTEE and DM (Device Manager) Neha Malcom Francis (21): ti

[PATCH 01/21] ti: tools: config: Add board config class to generate config binaries

2023-01-20 Thread Neha Malcom Francis
[n-fran...@ti.com: prepared patch for upstreaming] Signed-off-by: Neha Malcom Francis --- test/py/requirements.txt | 1 + tools/tibcfg_gen.py | 117 +++ 2 files changed, 118 insertions(+) create mode 100644 tools/tibcfg_gen.py diff --git a/test/py

[PATCH 02/21] tools: sysfw: Add script for generating configuration blobs

2023-01-20 Thread Neha Malcom Francis
Certain devices in the K3 architecture such as AM64x require board configuration binaries packed along with their descriptions into a sysfw_data binary. The final binary is required to be packed into the final system firmware images. Signed-off-by: Neha Malcom Francis --- tools

[PATCH 03/21] tools: binman: add ti-secure entry type

2023-01-20 Thread Neha Malcom Francis
TI_SECURE_DEV_PKG environment variable to secure the binaries. Signed-off-by: Roger Quadros [n-fran...@ti.com: enabled signing for all K3 boot binaries for all different boot flows] Signed-off-by: Neha Malcom Francis --- Makefile| 1 + tools/binman/entries.rst| 15 tools

[PATCH 04/21] ti: sysfw: tiboot3: Add support for packaging sysfw.itb and tiboot3.bin

2023-01-20 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 | 31 +++ 1 file changed, 31 insertions(+) diff --git a/arch/arm/mach-k3

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

2023-01-20 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 | 605 ++ .../k3-j721e-common-proc-board-u-boot.dtsi| 1 + .../arm/dts/k3-j721e-r5-common-proc-board.dts | 1 + arch/arm

[PATCH 08/21] j7200: dts: binman: Package tiboot3.bin, tispl.bin, u-boot.img

2023-01-20 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 07/21] j7200: yaml: Add J7200 board config files

2023-01-20 Thread Neha Malcom Francis
Added YAML config for J7200 Signed-off-by: Neha Malcom Francis --- arch/arm/mach-k3/config.mk |5 + board/ti/j721e/config_j7200.yaml | 2467 ++ 2 files changed, 2472 insertions(+) create mode 100644 board/ti/j721e/config_j7200.yaml diff --git a/arch/arm

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

2023-01-20 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 12/21] am64x: dts: binman: Package tiboot3.bin, tispl.bin u-boot.img

2023-01-20 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 09/21] am65x: yaml: Add AM65x board config files

2023-01-20 Thread Neha Malcom Francis
Added YAML config for AM65x Signed-off-by: Neha Malcom Francis --- board/ti/am65x/config.yaml | 2469 1 file changed, 2469 insertions(+) create mode 100644 board/ti/am65x/config.yaml diff --git a/board/ti/am65x/config.yaml b/board/ti/am65x/config.yaml new

[PATCH 11/21] config: am64x: Add board config for AM64x

2023-01-20 Thread Neha Malcom Francis
Added YAML config for AM64xx Signed-off-by: Neha Malcom Francis --- board/ti/am64x/config.yaml | 1805 1 file changed, 1805 insertions(+) create mode 100644 board/ti/am64x/config.yaml diff --git a/board/ti/am64x/config.yaml b/board/ti/am64x/config.yaml new

[PATCH 13/21] Makefile: Add DM, SYSFW_PATH, SYSFW_HS_INNER_CERT_PATH to BINMAN_INDIRS

2023-01-20 Thread Neha Malcom Francis
existing build command does not change even though we migrate to using binman. Signed-off-by: Neha Malcom Francis --- Makefile | 16 1 file changed, 16 insertions(+) diff --git a/Makefile b/Makefile index c568a6e59a..218cb675fc 100644 --- a/Makefile +++ b/Makefile @@ -1317,6 +1317,22

[PATCH 15/21] j721s2: dts: binman: Package tiboot3.bin, tispl.bin and u-boot.img

2023-01-20 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 18/21] am62a: yaml: Add board config for AM62ax

2023-01-20 Thread Neha Malcom Francis
Added YAML config for AM62ax Signed-off-by: Neha Malcom Francis --- board/ti/am62ax/config.yaml | 1553 +++ 1 file changed, 1553 insertions(+) create mode 100644 board/ti/am62ax/config.yaml diff --git a/board/ti/am62ax/config.yaml b/board/ti/am62ax/config.yaml

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

2023-01-20 Thread Neha Malcom Francis
Earlier documentation specified builds for generating bootloader images using an external TI repository k3-image-gen and shell scripts within U-Boot. 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

[PATCH 17/21] am625: dts: binman: Package tiboot3.bin, tispl.bin and u-boot.img

2023-01-20 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 16/21] am62: yaml: Add board config for AM62

2023-01-20 Thread Neha Malcom Francis
Added YAML config for AM62 Signed-off-by: Neha Malcom Francis --- board/ti/am62x/config.yaml | 1490 board/ti/am65x/config.yaml | 144 ++-- 2 files changed, 1562 insertions(+), 72 deletions(-) create mode 100644 board/ti/am62x/config.yaml diff --git a

[PATCH 14/21] j721s2: yaml: Add board config for J721S2

2023-01-20 Thread Neha Malcom Francis
Added YAML config for J721S2 Signed-off-by: Neha Malcom Francis --- board/ti/j721s2/config.yaml | 3303 +++ 1 file changed, 3303 insertions(+) create mode 100644 board/ti/j721s2/config.yaml diff --git a/board/ti/j721s2/config.yaml b/board/ti/j721s2/config.yaml

[PATCH 20/21] k3: tools: config.mk: Update makefile and remove scripts

2023-01-20 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 19/21] am62a: dts: binman: Package tiboot3.bin, tispl.bin, u-boot.img

2023-01-20 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 05/21] j721e: schema: yaml: Add general schema and J721E board config files

2023-01-20 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/config.yaml | 3162

Re: [PATCH 00/21] Migration to using binman to generate bootloader

2023-01-23 Thread Neha Malcom Francis
Hi Simon On 21/01/23 01:16, Simon Glass wrote: Hi Neha, On Fri, 20 Jan 2023 at 03:19, 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

Re: [PATCH 02/21] tools: sysfw: Add script for generating configuration blobs

2023-01-23 Thread Neha Malcom Francis
Hi Simon, On 20/01/23 15:48, Neha Malcom Francis wrote: Certain devices in the K3 architecture such as AM64x require board configuration binaries packed along with their descriptions into a sysfw_data binary. The final binary is required to be packed into the final system firmware images

Re: [PATCH 02/21] tools: sysfw: Add script for generating configuration blobs

2023-01-24 Thread Neha Malcom Francis
Hi Simon, On 24/01/23 00:12, Simon Glass wrote: Hi Neha, On Mon, 23 Jan 2023 at 07:19, Neha Malcom Francis wrote: Hi Simon, On 20/01/23 15:48, Neha Malcom Francis wrote: Certain devices in the K3 architecture such as AM64x require board configuration binaries packed along with their

Re: [PATCH 02/88] treewide: Correct invalid Kconfig syntax and warnings

2023-01-27 Thread Neha Malcom Francis
/crypto/Kconfig" +source "lib/crypt/Kconfig" config TPM bool "Trusted Platform Module (TPM) Support" @@ -1001,9 +1001,9 @@ config SMBIOS_PARSER help A simple parser for SMBIOS data. -source lib/efi/Kconfig -source lib/efi_loader/Kconfig -source lib/optee/Kconfig +source "lib/efi/Kconfig" +source "lib/efi_loader/Kconfig" +source "lib/optee/Kconfig" config TEST_FDTDEC bool "enable fdtdec test" @@ -1071,6 +1071,6 @@ endmenu menu "FWU Multi Bank Updates" -source lib/fwu_updates/Kconfig +source "lib/fwu_updates/Kconfig" endmenu -- Thanking You Neha Malcom Francis

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

2023-05-26 Thread Neha Malcom Francis
Hi Simon, Tom Please keep this series on hold for v5, for a few board configuration fixes. On 18/05/23 19:56, 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

Re: [PATCH] arm: dts: keystone: Move to OF_UPSTREAM

2024-08-07 Thread Neha Malcom Francis
/keystone-k2l-netcp.dtsi delete mode 100644 arch/arm/dts/keystone-k2l.dtsi delete mode 100644 arch/arm/dts/keystone.dtsi Acked-by: Neha Malcom Francis -- Thanking You Neha Malcom Francis

[RFC PATCH 0/6] Add support for K3 BIST

2024-09-03 Thread Neha Malcom Francis
1e/modules/pbist.html#introduction [2] https://software-dl.ti.com/jacinto7/esd/processor-sdk-rtos-jacinto7/latest/exports/docs/sdl/sdl_docs/userguide/j721e/modules/lbist.html#introduction Neha Malcom Francis (6): arm: mach-k3: j784s4: Add clk and power support for MAIN_R5_2_x PBIST arm: dts: k3-j

[RFC PATCH 1/6] arm: mach-k3: j784s4: Add clk and power support for MAIN_R5_2_x PBIST

2024-09-03 Thread Neha Malcom Francis
Add clock and power domains for MAIN_R5_2_0, MAIN_R5_2_1 and PBIST_14. Signed-off-by: Neha Malcom Francis --- arch/arm/mach-k3/r5/j784s4/clk-data.c | 13 + arch/arm/mach-k3/r5/j784s4/dev-data.c | 7 +++ 2 files changed, 20 insertions(+) diff --git a/arch/arm/mach-k3/r5/j784s4

[RFC PATCH 2/6] arm: dts: k3-j784s4-main: Add PBIST_14 node

2024-09-03 Thread Neha Malcom Francis
Add DT node for PBIST_14 that is responsible for triggering the BIST self-tests for the MAIN_R5_2_x cores. Signed-off-by: Neha Malcom Francis --- dts/upstream/src/arm64/ti/k3-j784s4-main.dtsi | 10 ++ 1 file changed, 10 insertions(+) diff --git a/dts/upstream/src/arm64/ti/k3-j784s4

[RFC PATCH 3/6] arm: dts: k3-j784s4-main: Add clock and power domains for MAIN_R5_2_x

2024-09-03 Thread Neha Malcom Francis
Add bootph-pre-ram as well as the clocks and power-domains for MAIN_R5_2_x. This ensures that LPSC sets the appropriate power and clock and allows for BIST to turn the cores on and off for running the self-test at R5 SPL stage. Signed-off-by: Neha Malcom Francis --- dts/upstream/src/arm64/ti/k3

[RFC PATCH 4/6] drivers: misc: k3_bist: Add K3 BIST driver

2024-09-03 Thread Neha Malcom Francis
Add a driver for the BIST module which currently includes support for BIST IPs that trigger PBIST (Memory BIST). Signed-off-by: Neha Malcom Francis --- drivers/misc/Kconfig | 8 + drivers/misc/Makefile | 1 + drivers/misc/k3_bist.c | 507

[RFC PATCH 5/6] arm: mach-k3: j784s4_init: Trigger BIST

2024-09-03 Thread Neha Malcom Francis
Trigger BIST on MAIN_R5_2_x cores from R5 SPL on J784S4. Signed-off-by: Neha Malcom Francis --- arch/arm/mach-k3/j784s4/j784s4_init.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/arch/arm/mach-k3/j784s4/j784s4_init.c b/arch/arm/mach-k3/j784s4/j784s4_init.c index 07b5d7d7504

[RFC PATCH 6/6] configs: j784s4_evm_r5_defconfig: Enable BIST

2024-09-03 Thread Neha Malcom Francis
Enable both the BIST driver and the R5 remoteproc to be able to successfully probe and trigger BIST tests on MAIN_R5 cores. Signed-off-by: Neha Malcom Francis --- configs/j784s4_evm_r5_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configs/j784s4_evm_r5_defconfig b/configs

Re: [RFC PATCH 1/6] arm: mach-k3: j784s4: Add clk and power support for MAIN_R5_2_x PBIST

2024-09-05 Thread Neha Malcom Francis
Hi Udit, On 04/09/24 09:49, Kumar, Udit wrote: On 9/3/2024 5:13 PM, Neha Malcom Francis wrote: Add clock and power domains for MAIN_R5_2_0, MAIN_R5_2_1 and PBIST_14. Please keep provision for other R core as well, BIST may be needed in future on those I was thinking of having this in a

<    1   2   3   4   5   6   7   8   >