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

2023-05-18 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 v4 10/23] am64x: yaml: Add board configs for AM64x

2023-05-18 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 v4 13/23] j721s2: dts: binman: Package tiboot3.bin, tispl.bin and 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-j721s2-binman.dtsi| 545 ++ .../k3-j721s2-common-proc-board-u-boot.dtsi | 2 + .../dts/k3-j721s2-r5-common-proc-board.dts| 1 + board/ti/j721s2/Kconfig

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

2023-05-18 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 v4 14/23] am62: yaml: Add board configs for AM62

2023-05-18 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 4 files changed, 1511

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

2023-05-18 Thread Neha Malcom Francis
-Boot dtbs Signed-off-by: Neha Malcom Francis Reviewed-by: Simon Glass --- arch/arm/dts/k3-am625-r5-sk.dts | 1 + arch/arm/dts/k3-am625-sk-binman.dtsi | 462 +++ arch/arm/dts/k3-am625-sk-u-boot.dtsi | 2 + board/ti/am62x/Kconfig | 2 + 4 files

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

2023-05-18 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 v4 18/23] arm: k3-am65x-iot2050: Use binman for tispl.bin for iot2050

2023-05-18 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. Signed-off-by: Neha Malcom Francis Cc: Jan Kiszka --- arch/arm/dts/k3-am65-iot2050-boot-image.dtsi | 76 +++- 1 file changed, 74 insertions(+), 2 deletions

[PATCH v4 17/23] am62a: 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-am62a-sk-binman.dtsi | 461 +++ arch/arm/dts/k3-am62a7-r5-sk.dts | 1 + arch/arm/dts/k3-am62a7-sk.dts| 1 + board/ti/am62ax/Kconfig | 2 + 4

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

2023-05-18 Thread Neha Malcom Francis
Since binman is used to package bootloader images for all K3 devices, we do not have to rely on the earlier methods to package them. Scripts that were used to generate x509 certificate for tiboot3.bin and generate tispl.bin, u-boot.img have been removed. Signed-off-by: Neha Malcom Francis

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

2023-05-18 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 Reviewed-by: Simon Glass

[PATCH v4 21/23] buildman: Create a requirements.txt file

2023-05-18 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 v4 23/23] configs: am64x: Enable TI_SECURE_DEV options

2023-05-18 Thread Neha Malcom Francis
Malcom Francis --- configs/am64x_evm_a53_defconfig | 1 + configs/am64x_evm_r5_defconfig | 1 + 2 files changed, 2 insertions(+) diff --git a/configs/am64x_evm_a53_defconfig b/configs/am64x_evm_a53_defconfig index 4589624e96..09037ecd0f 100644 --- a/configs/am64x_evm_a53_defconfig +++ b/configs

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

2023-05-18 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

Re: [PATCH v4 23/23] configs: am64x: Enable TI_SECURE_DEV options

2023-05-18 Thread Neha Malcom Francis
Hi Andrew On 18/05/23 22:09, Andrew Davis wrote: On 5/18/23 9:27 AM, Neha Malcom Francis wrote: From: Kamlesh Gurudasani AM64x family of SoCs by default will have some level of security enforcement checking. Enable CONFIG_TI_SECURE_DEVICE by default so all levels of secure SoCs will boot

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

2023-05-18 Thread Neha Malcom Francis
Hi Andrew On 18/05/23 22:05, Andrew Davis wrote: On 5/18/23 9:26 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

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

2023-05-19 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

[PATCH 0/4] ESM support for J721E and J7200

2023-05-23 Thread Neha Malcom Francis
ESM support board: ti: j721e: initialize ESM support for J7200 SOM Neha Malcom Francis (2): arm: dts: k3-j721e: Refine MAIN domain ESM support configs: j7200_evm_r5: Add ESM config for J7200 arch/arm/dts/k3-j7200-main.dtsi| 7 +++ arch/arm/dts/k3-j7200.dtsi

[PATCH 1/4] arm: dts: k3-j721e: Refine MAIN domain ESM support

2023-05-23 Thread Neha Malcom Francis
MAIN domain ESM support was already added for J721E to configure main domain watchdog interrupts to generate ESM pin events. Move the main_esm node to be in sync with kernel dts. Also add register mapping for ESM in J721E. Signed-off-by: Neha Malcom Francis --- arch/arm/dts/k3-j721e-main.dtsi

[PATCH 2/4] arm: dts: k3-j7200: Add Main domain ESM support

2023-05-23 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 3/4] board: ti: j721e: initialize ESM support for J7200 SOM

2023-05-23 Thread Neha Malcom Francis
From: Gowtham Tammana ESM 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 --- board/ti/j721e/evm.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/board/ti/j721e/evm.c b

[PATCH 4/4] configs: j7200_evm_r5: Add ESM config for J7200

2023-05-23 Thread Neha Malcom Francis
Add CONFIG_ESM_K3 to enable ESM initialization in J7200. Signed-off-by: Neha Malcom Francis --- configs/j7200_evm_r5_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/j7200_evm_r5_defconfig b/configs/j7200_evm_r5_defconfig index e149ccb9a4..b846f830c5 100644 --- a/configs

[PATCH] arm: dts: k3-j721e: Remove ti,strobe-sel

2023-05-23 Thread Neha Malcom Francis
com/lit/er/sprz455/sprz455.pdf Fixes: e64665fa727e ("arm: dts: k3-j721e-main: Update the speed modes supported and their itap delay values for MMCSD subsystems") Signed-off-by: Bhavya Kapoor Signed-off-by: Neha Malcom Francis --- arch/arm/dts/k3-j721e-main.dtsi | 1 - 1 file changed, 1 del

Re: [PATCH] doc: ti: Clarify required file names for K3 platforms

2023-07-25 Thread Neha Malcom Francis
Hi Tom, Thanks for the patch! On 25/07/23 22:14, Tom Rini wrote: Now that we are using binman in all cases on these platforms, reword things to be clearer that for filesystem booting we need to use a specific name for each component. Signed-off-by: Tom Rini --- Cc: Neha Malcom Francis Cc

Re: [PATCH 01/16] doc: board: ti: Optimize sources references

2023-07-27 Thread Neha Malcom Francis
mware +.. k3_rst_include_end_boot_sources + Build Procedure --- Reviewed-by: Neha Malcom Francis -- Thanking You Neha Malcom Francis

Re: [PATCH 02/16] doc: board: ti: am62x/j7200: Update with common boot flow diagram

2023-07-27 Thread Neha Malcom Francis
the critical services. R5/A72 requests DMSC to get these services done as shown in the above diagram. Reviewed-by: Neha Malcom Francis -- Thanking You Neha Malcom Francis

Re: [PATCH 03/16] doc: board: ti: am65x: Update with boot flow diagram

2023-07-27 Thread Neha Malcom Francis
(+), 70 deletions(-) create mode 100644 doc/board/ti/img/boot_diagram_am65.svg [...] + id="text78456">Text is not SVG - cannot display + + + Reviewed-by: Neha Malcom Francis -- Thanking You Neha Malcom Francis

Re: [PATCH 04/16] doc: board: ti: j721e: Update with boot flow diagram

2023-07-27 Thread Neha Malcom Francis
to get these services done as shown in the above diagram. Reviewed-by: Neha Malcom Francis -- Thanking You Neha Malcom Francis

Re: [PATCH 05/16] doc: board: ti: k3: Reuse build instructions

2023-07-27 Thread Neha Malcom Francis
initialize both the wakeup and main domain and to boot to the U-Boot prompt -- Thanking You Neha Malcom Francis

Re: [PATCH 06/16] doc: board: ti: j7200: Convert the image format to svg

2023-07-27 Thread Neha Malcom Francis
enter; justify-content: unsafe center; width: 158px; height: 1px; padding-top: 105px; margin-left: 41px;"> + + TFA s/TFA/TF-A, same for [PATCH 08/16] + + + + [...] Switch Setting for Boot Mode -- Thanking You Neha Malcom Francis

Re: [PATCH 02/16] doc: board: ti: am62x/j7200: Update with common boot flow diagram

2023-07-27 Thread Neha Malcom Francis
Hi Nishanth On 27/07/23 15:10, Neha Malcom Francis wrote: These look nice! On 27/07/23 13:30, Nishanth Menon wrote: Update the bootflow svg diagram and reuse across the platforms as they are common. Signed-off-by: Nishanth Menon ---   doc/board/ti/am62x_sk.rst    |   68

Re: [PATCH 02/16] doc: board: ti: am62x/j7200: Update with common boot flow diagram

2023-07-27 Thread Neha Malcom Francis
On 27/07/23 15:32, Neha Malcom Francis wrote: Hi Nishanth On 27/07/23 15:10, Neha Malcom Francis wrote: These look nice! On 27/07/23 13:30, Nishanth Menon wrote: Update the bootflow svg diagram and reuse across the platforms as they are common. Signed-off-by: Nishanth Menon ---   doc/board

Re: [PATCH 06/16] doc: board: ti: j7200: Convert the image format to svg

2023-07-27 Thread Neha Malcom Francis
show board configs are present here and not in detail, removing the FIT Header part will be sufficient. -- Thanking You Neha Malcom Francis

[PATCH RFC 0/3] Extending FIT generator node

2023-07-27 Thread Neha Malcom Francis
all pointers are welcome, may be I'm trying to reinvent the wheel. Neha Malcom Francis (3): tools: binman: Enable getting file from specific directory WIP: getting signing nodes to work in FIT generator node arm: dts: k3-j721e-binman: Example of using FIT generator arch/arm/dts/k3-

[PATCH RFC 1/3] tools: binman: Enable getting file from specific directory

2023-07-27 Thread Neha Malcom Francis
ively with the same DTB name. Maybe running binman twice could also solve this issue, but this seems like a valid implementation. Signed-off-by: Neha Malcom Francis --- tools/binman/etype/blob.py | 12 ++-- tools/binman/etype/fit.py | 15 ++- tools/u_boot_pylib/tools.py

[PATCH RFC 3/3] arm: dts: k3-j721e-binman: Example of using FIT generator

2023-07-27 Thread Neha Malcom Francis
To show what is the end goal of this patch series. While u-boot.img_unsigned and tispl.bin_unsigned are generated as expected, nodes with signing within aren't. Signed-off-by: Neha Malcom Francis --- arch/arm/dts/k3-j721e-binman.dtsi | 155 ++ 1 file change

[PATCH RFC 2/3] WIP: getting signing nodes to work in FIT generator node

2023-07-27 Thread Neha Malcom Francis
They need to get the contents of the FIT section beforehand, process them and prepend the signing certificate to the FIT contents Signed-off-by: Neha Malcom Francis --- tools/binman/etype/collection.py | 38 +++- tools/binman/etype/fit.py| 1 + tools/binman

Re: [PATCH RFC 1/3] tools: binman: Enable getting file from specific directory

2023-07-28 Thread Neha Malcom Francis
Hi Simon On 28/07/23 08:05, Simon Glass wrote: Hi Neha, On Thu, 27 Jul 2023 at 06:12, Neha Malcom Francis wrote: While we have the option of using '-a to grab a file from a specific directory, this is problematic when searching for a filename shared by multiple files across directorie

Re: [PATCH RFC 2/3] WIP: getting signing nodes to work in FIT generator node

2023-07-28 Thread Neha Malcom Francis
Hi Simon On 28/07/23 08:05, Simon Glass wrote: Hi Neha, On Thu, 27 Jul 2023 at 06:12, Neha Malcom Francis wrote: They need to get the contents of the FIT section beforehand, process them and prepend the signing certificate to the FIT contents Signed-off-by: Neha Malcom Francis --- tools

Re: [PATCH V2] doc: board: ti: k3: Add a guide to debugging with OpenOCD

2023-08-01 Thread Neha Malcom Francis
s s/integrated/Integrated + xds110 inbuilt, there is typically an evm board support added and a + cfg file will be available. [...] + +At the time of this writing openOCD does not support tracing for K3 +platforms. Tracing function could be very useful if the bug in code +occurs deep within nested function and can optionally save developers +major trouble of stepping through large quantity of code. But overall this patch is looking extremely helpful! Thanks! -- Thanking You Neha Malcom Francis

Re: [PATCH v4 3/3] board: toradex: add verdin am62 support

2023-08-03 Thread Neha Malcom Francis
func(MMC, mmc, 0) \ + func(DHCP, dhcp, na) +#include +#else /* CONFIG_TARGET_VERDIN_AM62_A53 */ +#define BOOTENV \ + "" +#endif /* CONFIG_TARGET_VERDIN_AM62_A53 */ + +/* Incorporate settings into the U-Boot environment */ +#define CFG_EXTRA_ENV_SETTINGS \ + BOOTENV \ + MEM_LAYOUT_ENV_SETTINGS \ + "boot_scripts=boot.scr\0" \ + "boot_script_dhcp=boot.scr\0" \ + "console=ttyS2\0" \ + "fdt_board=dev\0" \ + "setup=setenv setupargs console=tty1 console=${console},${baudrate} " \ + "consoleblank=0 earlycon=ns16550a,mmio32,0x0280\0" \ + "update_uboot=askenv confirm Did you load flash.bin (y/N)?; " \ + "if test \"$confirm\" = \"y\"; then " \ + "setexpr blkcnt ${filesize} + 0x1ff && setexpr blkcnt " \ + "${blkcnt} / 0x200; mmc dev 0 1; mmc write ${loadaddr} 0x0 " \ + "${blkcnt}; fi\0" + +#endif /* __VERDIN_AM62_H */ -- Thanking You Neha Malcom Francis

Re: [PATCH v5 3/3] board: toradex: add verdin am62 support

2023-08-03 Thread Neha Malcom Francis
/ + +/* Incorporate settings into the U-Boot environment */ +#define CFG_EXTRA_ENV_SETTINGS \ + BOOTENV \ + MEM_LAYOUT_ENV_SETTINGS \ + "boot_scripts=boot.scr\0" \ + "boot_script_dhcp=boot.scr\0" \ + "console=ttyS2\0" \ + "fdt_board=dev\0" \ + "setup=setenv setupargs console=tty1 console=${console},${baudrate} " \ + "consoleblank=0 earlycon=ns16550a,mmio32,0x0280\0" \ + "update_uboot=askenv confirm Did you load flash.bin (y/N)?; " \ + "if test \"$confirm\" = \"y\"; then " \ + "setexpr blkcnt ${filesize} + 0x1ff && setexpr blkcnt " \ + "${blkcnt} / 0x200; mmc dev 0 1; mmc write ${loadaddr} 0x0 " \ + "${blkcnt}; fi\0" + +#endif /* __VERDIN_AM62_H */ -- Thanking You Neha Malcom Francis

Re: [PATCH v5 3/3] board: toradex: add verdin am62 support

2023-08-04 Thread Neha Malcom Francis
Hi Francesco On 04/08/23 13:24, Francesco Dolcini wrote: On Fri, Aug 04, 2023 at 12:04:59PM +0530, Neha Malcom Francis wrote: On 03/08/23 19:30, Marcel Ziswiler wrote: + combined-sysfw-cfg { + filename = "combined-sysfw-cfg.bin"; + ti-bo

Re: [PATCH v5 3/3] board: toradex: add verdin am62 support

2023-08-04 Thread Neha Malcom Francis
Hi Marcel On 04/08/23 15:13, Marcel Ziswiler wrote: Hi Neha On Fri, 2023-08-04 at 12:04 +0530, Neha Malcom Francis wrote: Hi Marcel Repeating my comments from v4, as I missed seeing this version. On 03/08/23 19:30, Marcel Ziswiler wrote: From: Marcel Ziswiler This adds initial support

Re: [PATCH v6 3/4] arm: dts: k3-binman: fix rcfg_yaml and pcfg_yaml labels

2023-08-04 Thread Neha Malcom Francis
aml"; }; - rm-cfg { + rcfg_yaml_sysfw: rm-cfg { config = "rm-cfg.yaml"; schema = "../common/schema.yaml"; }; Reviewed-by: Neha Malcom Francis -- Thanking You Neha Malcom Francis

Re: [PATCH v6 4/4] board: toradex: add verdin am62 support

2023-08-04 Thread Neha Malcom Francis
per (u-boot.img) Signed-off-by: Marcel Ziswiler Reviewed-by: Neha Malcom Francis -- Thanking You Neha Malcom Francis

Re: [PATCH 17/17] MAINTAINERS: Update UFS maintainer

2023-08-16 Thread Neha Malcom Francis
patches. If all seems okay, I can send a MAINTAINERS patch adding both Bhupesh and me. -- Thanking You Neha Malcom Francis

[PATCH] MAINTAINERS: Update UFS maintainer

2023-08-17 Thread Neha Malcom Francis
/MAINTAINERS index 77a8b0ac21..d19e1fd60b 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -1585,7 +1585,8 @@ T:git https://source.denx.de/u-boot/custodians/u-boot-ubi.git F: drivers/mtd/ubi/ UFS -M: Faiz Abbas +M: Bhupesh Sharma +M: Neha Malcom Francis S: Maintained F

Re: [PATCH 17/17] MAINTAINERS: Update UFS maintainer

2023-08-17 Thread Neha Malcom Francis
Hi all, On 17/08/23 17:03, Nishanth Menon wrote: On 15:40-20230817, Bhupesh Sharma wrote: Hi Neha, On Thu, 17 Aug 2023 at 10:26, Neha Malcom Francis wrote: Hi Bhupesh, Marek On 16/08/23 02:16, Marek Vasut wrote: On 8/15/23 19:48, Bhupesh Sharma wrote: On Tue, 15 Aug 2023 at 04:01, Marek

Re: [PATCH] MAINTAINERS: Update UFS maintainer

2023-08-17 Thread Neha Malcom Francis
Hi Marek On 18/08/23 00:10, Marek Vasut wrote: On 8/17/23 14:09, Neha Malcom Francis wrote: Dropping Faiz Abbas from the UFS maintainer list as his e-mail ID is no longer valid. Adding Bhupesh Sharma who has been using this framework working on Qualcomm Snapdragon SoCs as well as sending out

Re: [PATCH] MAINTAINERS: Update UFS maintainer

2023-08-17 Thread Neha Malcom Francis
Hi Nishanth On 17/08/23 21:27, Nishanth Menon wrote: On 17:39-20230817, Neha Malcom Francis wrote: Dropping Faiz Abbas from the UFS maintainer list as his e-mail ID is no longer valid. Adding Bhupesh Sharma who has been using this framework working on Qualcomm Snapdragon SoCs as well as

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

2022-12-12 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: [PATCH V3 08/12] board: ti: j721s2: Add board_init and support for selecting DT based on EEPROM

2023-01-03 Thread Neha Malcom Francis
} + } +} +#endif + +#ifdef CONFIG_SPL_BUILD +void board_init_f(ulong dummy) +{ + k3_spl_init(); +#ifdef CONFIG_SPL_OF_LIST This may just be a case of formality but we'd need "if defined(CONFIG_TI_I2C_BOARD_DETECT)" here as well right? + do_dt_magic();

Re: [PATCH V4 06/12] board: ti: j721s2: Add support for detecting multiple device trees

2023-01-04 Thread Neha Malcom Francis
_TI_I2C_BOARD_DETECT)) { -- Thanking You Neha Malcom Francis

[PATCH] configs: Increase malloc size after relocation

2023-01-10 Thread Neha Malcom Francis
it default for all. Signed-off-by: Neha Malcom Francis --- common/spl/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/common/spl/Kconfig b/common/spl/Kconfig index a25d8fd2e0..d8c78ddb76 100644 --- a/common/spl/Kconfig +++ b/common/spl/Kconfig @@ -385,6 +385,7 @@ config

Re: [PATCH] configs: Increase malloc size after relocation

2023-01-11 Thread Neha Malcom Francis
Hi Vignesh, On 11/01/23 14:55, Vignesh Raghavendra wrote: On 11/01/23 11:34, Neha Malcom Francis wrote: Current default size of 0x10 is not capable of getting the FIT buffer during boot when transitioning to using binman generated boot images for certain K3 devices, so increase it to

[PATCH v2] configs: Increase malloc size after relocation

2023-01-11 Thread Neha Malcom Francis
it default for all. Signed-off-by: Neha Malcom Francis --- Changes since v1: - added ARM64 to conditions to default to 0x40 common/spl/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/common/spl/Kconfig b/common/spl/Kconfig index a25d8fd2e0..3c2af453ab 100644 --- a/common

Re: [PATCH 3/3] doc: board: ti: k3: Mention TI_DM argument

2023-12-04 Thread Neha Malcom Francis
Hi Andrew On 04/12/23 20:36, Andrew Davis wrote: On 12/4/23 5:21 AM, Neha Malcom Francis wrote: Mention TI_DM argument can be used to fetch a custom DM binary in the A72 build instructions for K3 devices. Signed-off-by: Neha Malcom Francis ---   doc/board/ti/k3.rst | 7 +++   1 file

[PATCH v2 0/3] binman: Add support for TI_DM entry

2023-12-05 Thread Neha Malcom Francis
change Neha Malcom Francis (3): binman: etype: dm: Add entry type for TI DM arm: dts: k3-*-binman: Move to using ti-dm entry type doc: board: ti: k3: Mention TI_DM argument Makefile | 1 + arch/arm/dts/k3-am625-sk-binman.dtsi | 4 ++-- .../dts/k3

[PATCH v2 1/3] binman: etype: dm: Add entry type for TI DM

2023-12-05 Thread Neha Malcom Francis
ng of tispl.bin by binman along with ATF and TEE. Signed-off-by: Neha Malcom Francis Reviewed-by: Andrew Davis --- Makefile| 1 + tools/binman/entries.rst| 14 ++ tools/binman/etype/ti_dm.py | 22 ++ tools/binman/ftest.py

[PATCH v2 2/3] arm: dts: k3-*-binman: Move to using ti-dm entry type

2023-12-05 Thread Neha Malcom Francis
Move the DM entry in tispl.bin FIT image from default fetching an external blob entry to fetching using ti-dm entry type. This way, the DM entry will be populated by the TI_DM pathname if provided. Else it will resort to the ti-dm.bin file. Signed-off-by: Neha Malcom Francis Reviewed-by: Andrew

[PATCH v2 3/3] doc: board: ti: k3: Mention TI_DM argument

2023-12-05 Thread Neha Malcom Francis
Mention TI_DM argument can be used to fetch a custom DM binary in the A72 build instructions for K3 devices. Signed-off-by: Neha Malcom Francis Reviewed-by: Andrew Davis --- doc/board/ti/k3.rst | 7 +++ 1 file changed, 7 insertions(+) diff --git a/doc/board/ti/k3.rst b/doc/board/ti/k3.rst

Re: [PATCH v2 1/3] binman: etype: dm: Add entry type for TI DM

2023-12-05 Thread Neha Malcom Francis
Hi Simon, On 06/12/23 09:24, Simon Glass wrote: On Tue, 5 Dec 2023 at 02:42, Neha Malcom Francis wrote: K3 devices introduces the concept of centralized power, resource and security management to System Firmware. This is to overcome challenges by the traditional approach that implements

Re: [PATCH v6 03/17] arm: mach-k3: Add basic support for J784S4 SoC definition

2023-12-06 Thread Neha Malcom Francis
class_get_device_by_name(UCLASS_MISC, "msmc", &dev); + if (ret) + panic("Probe of msmc failed: %d\n", ret); + + ret = uclass_get_device(UCLASS_RAM, 0, &dev); + if (ret) + pani

[PATCH] arm: dts: k3-j721e-binman: Add support for HS-SE 2.0

2023-12-20 Thread Neha Malcom Francis
Add support for J721E HS-SE 2.0 device. Make use of the existing templates and override the phandles for sysfw.itb so that builds do not fail. Signed-off-by: Neha Malcom Francis --- Boot log: https://gist.github.com/nehamalcom/44082b0c94059737e8d5d1ab16b2f55f arch/arm/dts/k3-j721e-binman.dtsi

Re: [PATCH 01/14] arm: mach-k3: Sort CONFIG_SOC* and K3_SOC_ID entries

2024-05-29 Thread Neha Malcom Francis
C_ID(am62px, AM62PX) +K3_SOC_ID(am64x, AM64X) +K3_SOC_ID(am65x, AM65X) +K3_SOC_ID(j7200, J7200) +K3_SOC_ID(j721e, J721E) +K3_SOC_ID(j721s2, J721S2) #define K3_SEC_MGR_SYS_STATUS 0x44234100 #define SYS_STATUS_DEV_TYPE_SHIFT 0 Reviewed-by: Neha Malcom Francis -- Thanking You Neha Malcom Francis

Re: [PATCH 02/14] soc: ti: k3-socinfo: Fix SOC JTAG entry order

2024-05-29 Thread Neha Malcom Francis
; case JTAG_ID_PARTNO_J784S4: family = "J784S4"; break; - case JTAG_ID_PARTNO_AM62PX: - family = "AM62PX"; - break; default: family = "Unknown Silicon"; }; Reviewed-by: Neha Malcom Francis -- Thanking You Neha Malcom Francis

Re: [PATCH 05/14] power: domain: ti: Fix the order for platform data entries

2024-05-29 Thread Neha Malcom Francis
.data = &j784s4_pd_platdata, }, -#endif -#if IS_ENABLED(CONFIG_SOC_K3_AM62P5) - { - .family = "AM62PX", - .data = &am62px_pd_platdata, - }, #endif { /* sentinel */ } }; Reviewed-by: Neha Malcom Francis -- Thanking You Neha Malcom Francis

Re: [PATCH 06/14] arm: mach-k3: r5: Makefile: Fix the order for entries

2024-05-29 Thread Neha Malcom Francis
) += am62px/ obj-y += common.o obj-y += lowlevel_init.o Reviewed-by: Neha Malcom Francis -- Thanking You Neha Malcom Francis

Re: [PATCH 08/14] ram: k3-ddrss: Enable the am62ax's DDR controller for J722S

2024-05-29 Thread Neha Malcom Francis
pport" Reviewed-by: Neha Malcom Francis -- Thanking You Neha Malcom Francis

Re: [PATCH 09/14] arch: mach-k3: Introduce basic files to support J722S SoC family

2024-05-29 Thread Neha Malcom Francis
ss pinctrl for the serial0 a.k.a. WKUP_UART0 module and continue [...] -- Thanking You Neha Malcom Francis

Re: [PATCH 14/14] doc: board: ti: Add J722S-EVM documentation

2024-05-29 Thread Neha Malcom Francis
oard/ti/k3.rst index a1c01d1cf0..eba0f0e3e4 100644 --- a/doc/board/ti/k3.rst +++ b/doc/board/ti/k3.rst @@ -42,6 +42,7 @@ K3 Based SoCs ../beagle/j721e_beagleboneai64 j721e_evm j721s2_evm + j722s_evm j784s4_evm Boot Flow Overview Reviewed-by: Neha Malcom Francis -- Than

Re: [PATCH] ufs: core: remove link_startup_again logic

2024-06-04 Thread Neha Malcom Francis
--- base-commit: 7e52d6ccfb76e2afc2d183b357abe2a2e2f948cf change-id: 20240528-topic-sm8x50-ufs-core-link-startup-again-bc2cf907c164 Best regards, -- Thanking You Neha Malcom Francis

Re: [PATCH] arm: dts: k3-am625-beagleplay: Package TIFS Stub

2024-06-14 Thread Neha Malcom Francis
"tee", "dm", "spl"; + loadables = "tee", "dm", "spl", + "tifsstub-gp"; fdt = "fdt-0"; }; }; Acked-by: Neha Malcom Francis -- Thanking You Neha Malcom Francis

[RESEND PATCH] soc: ti: k3-socinfo: Add support for J721E SR2.0

2024-07-15 Thread Neha Malcom Francis
Add support for identifying J721E SR2.0 Signed-off-by: Neha Malcom Francis --- Resending as it was not sent to the mailing-list earlier, sorry for the spam. Boot logs: https://gist.github.com/nehamalcom/e5c3884961c3eb70464321aa4bfbcf78 drivers/soc/soc_ti_k3.c | 2 +- 1 file changed, 1

Re: [PATCH 02/20] binman: Correct an error in the FIT-template example

2024-07-29 Thread Neha Malcom Francis
t-template = <&fit>; +insert-template = <&common_part>; /* things specific to MMC follow */ footer { Reviewed-by: Neha Malcom Francis -- Thanking You Neha Malcom Francis

Re: [PATCH 03/20] binman: Tidy up bintool docs

2024-07-29 Thread Neha Malcom Francis
or -bootgen based on the passed arguments. The output is a bootable, -authenticated `boot.bin` file. Reviewed-by: Neha Malcom Francis -- Thanking You Neha Malcom Francis

Re: [PATCH 06/20] binman: elf: Add more debugging to LookupAndWriteSymbols()

2024-07-29 Thread Neha Malcom Francis
is_elf: -tout.debug('LookupAndWriteSymbols: no base') +tout.debug(f'LookupAndWriteSymbols: no base: elf_fname={elf_fname}, base_sym={base_sym}, is_elf={is_elf}') return 0 base_addr = 0 if is_elf else base.address count = 0 Reviewed-by:

Re: [PATCH 07/20] binman: Write the compressed output to a file

2024-07-29 Thread Neha Malcom Francis
ng_bintool(self.comp_bintool) data = tools.get_bytes(0, 1024) Reviewed-by: Neha Malcom Francis -- Thanking You Neha Malcom Francis

Re: [PATCH 15/20] binman: Add support for alternative FDTs

2024-07-29 Thread Neha Malcom Francis
nman/test/alt_dts/model1.dts new file mode 100644 index 0000000..01e95e8fabe --- /dev/null +++ b/tools/binman/test/alt_dts/model1.dts @@ -0,0 +1,24 @@ +// SPDX-License-Identifier: GPL-2.0+ +// Copyright 2024 Google LLC +// Written by Simon Glass + +/dts-v1/; + +/ { + model = "Model One"; + compatible = "u-boot,model-one"; + + /* this node remains due to bootph-pre-sram tag */ + node { + some-prop; + prop-to-remove; + another-prop-to-get-rid-of; + not-a-prop-to-remove; + bootph-pre-sram; + + /* this node get removed by fdtgrep */ + other-node { + another-prop; + }; + }; +}; diff --git a/tools/binman/test/alt_dts/model2.dts b/tools/binman/test/alt_dts/model2.dts new file mode 100644 index 000..7829c519772 --- /dev/null +++ b/tools/binman/test/alt_dts/model2.dts @@ -0,0 +1,24 @@ +// SPDX-License-Identifier: GPL-2.0+ +// Copyright 2024 Google LLC +// Written by Simon Glass + +/dts-v1/; + +/ { + model = "Model Two"; + compatible = "u-boot,model-two"; + + /* this node remains due to bootph-pre-sram tag */ + node { + some-prop; + prop-to-remove; + another-prop-to-get-rid-of; + not-a-prop-to-remove; + bootph-pre-sram; + + /* this node get removed by fdtgrep */ + other-node { + another-prop; + }; + }; +}; -- Thanking You Neha Malcom Francis

Re: [PATCH v7 09/17] board: ti: j748s4: Add board config yaml files

2024-01-03 Thread Neha Malcom Francis
s for noticing this, will target a quick clean up patch. Ref - I used yamllint 1.26.3 -- Thanking You Neha Malcom Francis

[PATCH 0/2] binman: ti_board_cfg: Add yamllint support

2024-01-03 Thread Neha Malcom Francis
/20240103173637.fdhfwgmsmqrfpzdp@manmade/ Neha Malcom Francis (2): board: ti: *-cfg.yaml: Adhere to yamllint rules tools: binman: ti_board_cfg: Check for linting problems board/ti/am62ax/board-cfg.yaml | 20 +- board/ti/am62ax/pm-cfg.yaml |4 +- board/ti/am62ax

[PATCH 2/2] tools: binman: ti_board_cfg: Check for linting problems

2024-01-03 Thread Neha Malcom Francis
Use yamllint for checking whether YAML configuration files are adhering to default yamllint rules. Signed-off-by: Neha Malcom Francis Suggested-by: Nishanth Menon --- tools/binman/etype/ti_board_config.py| 5 + tools/binman/ftest.py| 6 ++ tools/binman

Re: [PATCH 2/2] tools: binman: ti_board_cfg: Check for linting problems

2024-01-04 Thread Neha Malcom Francis
Hi Nishanth On 04/01/24 20:51, Nishanth Menon wrote: On 13:23-20240104, Neha Malcom Francis wrote: Use yamllint for checking whether YAML configuration files are adhering to default yamllint rules. Signed-off-by: Neha Malcom Francis Suggested-by: Nishanth Menon --- tools/binman/etype

[PATCH v2 0/2] binman: ti_board_cfg: Add yamllint support

2024-01-05 Thread Neha Malcom Francis
/20240103173637.fdhfwgmsmqrfpzdp@manmade/ Changes since v1: https://patchwork.ozlabs.org/project/uboot/cover/20240104075357.638983-1-n-fran...@ti.com/ - add yamllint to requirements.txt (Nishanth) - boot logs unchanged since no affecting change Neha Malcom Francis (2): board: ti

[PATCH v2 2/2] tools: binman: ti_board_cfg: Check for linting problems

2024-01-05 Thread Neha Malcom Francis
Use yamllint for checking whether YAML configuration files are adhering to default yamllint rules. Signed-off-by: Neha Malcom Francis Suggested-by: Nishanth Menon --- Changes since v1: - add yamllint to requirements.txt (Nishanth) tools/binman/etype/ti_board_config.py| 5

[PATCH] arm: mach-k3: j721s2_init: Support less than max DDR controllers

2024-01-29 Thread Neha Malcom Francis
UCLASS_RAM nodes present. Signed-off-by: Neha Malcom Francis --- Boot logs: https://gist.github.com/nehamalcom/07fedf4aa173590214b5cef6e1688fa1 This was also parallely proposed in [1] on the mailing-list for J784S4. [1] https://lore.kernel.org/all/3a7c817b-de29-463a-b4b6-d62c0df66...@ti.com/ arch

Re: [PATCH] arm: mach-k3: j721s2_init: Support less than max DDR controllers

2024-01-30 Thread Neha Malcom Francis
Hi Udit On 30/01/24 13:53, Kumar, Udit wrote: On 1/30/2024 1:11 PM, Neha Malcom Francis wrote: The number of DDR controllers to be initialised and used should depend on the device tree with the constraint of the maximum number of controllers the device supports. Since J721S2 has multiple (2

[PATCH v2] arm: mach-k3: j721s2_init: Support less than max DDR controllers

2024-01-30 Thread Neha Malcom Francis
UCLASS_RAM nodes present. Signed-off-by: Neha Malcom Francis --- Changes since v1: https://lore.kernel.org/all/20240130074139.2627793-1-n-fran...@ti.com/ - Moved away from using loop since J721S2 has only two controllers (Udit) Boot logs: https://gist.github.com/nehamalcom

Re: [PATCH v2] arm: mach-k3: j721s2_init: Support less than max DDR controllers

2024-01-30 Thread Neha Malcom Francis
Hi all On 30/01/24 15:12, Neha Malcom Francis wrote: The number of DDR controllers to be initialised and used should depend on the device tree with the constraint of the maximum number of controllers the device supports. Since J721S2 has multiple (2) controllers, instead of hardcoding the

[RESEND PATCH v2] arm: mach-k3: j721s2_init: Support less than max DDR controllers

2024-01-30 Thread Neha Malcom Francis
UCLASS_RAM nodes present. Signed-off-by: Neha Malcom Francis --- Changes since v1: https://lore.kernel.org/all/20240130074139.2627793-1-n-fran...@ti.com/ - Moved away from using loop since J721S2 has only two controllers (Udit) Boot logs: https://gist.github.com/nehamalcom

Re: [PATCH V2 2/4] board: beagle: Add BeagleBone AI-64 support

2023-11-06 Thread Neha Malcom Francis
0644 board/beagle/beagleboneai64/pm-cfg.yaml   create mode 100644 board/beagle/beagleboneai64/rm-cfg.yaml   create mode 100644 board/beagle/beagleboneai64/sec-cfg.yaml [...] -- Thanking You Neha Malcom Francis

Re: [PATCH V2 01/12] board: ti: j721e: evm: Drop unused headers

2023-11-06 Thread Neha Malcom Francis
"../common/board_detect.h" Reviewed-by: Neha Malcom Francis -- Thanking You Neha Malcom Francis

Re: [PATCH V2 02/12] board: ti: j721e: evm: Drop board check for ESM

2023-11-06 Thread Neha Malcom Francis
1E_A72_EVM)) && IS_ENABLED(CONFIG_HBMC_AM654)) { struct udevice *dev; Reviewed-by: Neha Malcom Francis -- Thanking You Neha Malcom Francis

Re: [PATCH V2 03/12] board: ti: j721e: evm: Switch to using IS_ENABLED

2023-11-06 Thread Neha Malcom Francis
verlays", name_overlays); + } return 0; } Reviewed-by: Neha Malcom Francis -- Thanking You Neha Malcom Francis

Re: [PATCH V2 04/12] board: ti: j721e: j721e.env: Add explicit boot_targets

2023-11-06 Thread Neha Malcom Francis
Reviewed-by: Neha Malcom Francis -- Thanking You Neha Malcom Francis

Re: [PATCH V2 05/12] configs: j721e_evm_a72_defconfig: Switch to bootstd

2023-11-06 Thread Neha Malcom Francis
MMAND="run envboot; bootflow scan -lb" CONFIG_LOGLEVEL=7 CONFIG_SPL_MAX_SIZE=0xc CONFIG_SPL_HAS_BSS_LINKER_SECTION=y Reviewed-by: Neha Malcom Francis -- Thanking You Neha Malcom Francis

Re: [PATCH V2 10/12] configs: j7200: Remove HBMC_AM654 config

2023-11-06 Thread Neha Malcom Francis
H_USE_BUFFER_WRITE=y CONFIG_FLASH_CFI_MTD=y CONFIG_SYS_FLASH_CFI=y -CONFIG_HBMC_AM654=y CONFIG_SYS_MAX_FLASH_BANKS_DETECT=y CONFIG_DM_SPI_FLASH=y CONFIG_SPI_FLASH_SFDP_SUPPORT=y Reviewed-by: Neha Malcom Francis -- Thanking You Neha Malcom Francis

Re: [PATCH V2 11/12] configs: j7200_evm_a72_defconfig: Switch to bootstd

2023-11-06 Thread Neha Malcom Francis
MMAND="run envboot; bootflow scan -lb" CONFIG_LOGLEVEL=7 CONFIG_SPL_MAX_SIZE=0xc CONFIG_SPL_HAS_BSS_LINKER_SECTION=y Reviewed-by: Neha Malcom Francis -- Thanking You Neha Malcom Francis

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

2023-11-07 Thread Neha Malcom Francis
+ if (offset_test != ((header >> 8) & 0xFF)) one_byte_addressing = false; /* Corrupted data??? */ Reviewed-by: Neha Malcom Francis -- Thanking You Neha Malcom Francis

<    1   2   3   4   5   6   7   8   >