[PATCH] tools: logos: Rename TI logo files

2023-09-01 Thread Nikhil M Jain
Change the file name from ti.gz and ti.bmp to ti_logos_414x97_32bpp to help user understand the resolution and identify the logo files when placed in the boot partition and update the splashfile name with the same in .env file. Signed-off-by: Nikhil M Jain --- board/ti/am62x/am62x.env

Re: [PATCH 5/9] board_f: Fix corruption of relocaddr

2023-07-28 Thread Nikhil M Jain
On 28/07/23 14:05, Nikhil M Jain wrote: Hi Simon, On 27/07/23 23:31, Simon Glass wrote: Hi Nikhil, On Wed, 26 Jul 2023 at 23:22, Nikhil M Jain wrote: Hi Simon, On 27/07/23 06:23, Simon Glass wrote: Hi Devarsh, On Wed, 26 Jul 2023 at 05:09, Devarsh Thakkar wrote: Hi Simon, On 26

Re: [PATCH 5/9] board_f: Fix corruption of relocaddr

2023-07-28 Thread Nikhil M Jain
Hi Simon, On 27/07/23 23:31, Simon Glass wrote: Hi Nikhil, On Wed, 26 Jul 2023 at 23:22, Nikhil M Jain wrote: Hi Simon, On 27/07/23 06:23, Simon Glass wrote: Hi Devarsh, On Wed, 26 Jul 2023 at 05:09, Devarsh Thakkar wrote: Hi Simon, On 26/07/23 02:58, Simon Glass wrote: Hi Devarsh

[PATCH 1/2] drivers: video: tidss: tidss_drv: Change remove method

2023-07-26 Thread Nikhil M Jain
Change remove method of DSS video driver to disable video port instead of performing a soft reset, as soft reset takes longer duration. Video port is disabled by setting enable bit of video port to 0. Signed-off-by: Nikhil M Jain --- drivers/video/tidss/tidss_drv.c | 12 +--- 1 file

[PATCH 2/2] drivers: video: tidss: tidss_drv: Use kconfig VIDEO_REMOVE to remove video

2023-07-26 Thread Nikhil M Jain
ash screen stays intact until kernel boots up. Signed-off-by: Nikhil M Jain --- drivers/video/tidss/tidss_drv.c | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/drivers/video/tidss/tidss_drv.c b/drivers/video/tidss/tidss_drv.c index 623bf4cf31..e285f255d7 100644 ---

[PATCH 0/2] Update remove method for DSS driver

2023-07-26 Thread Nikhil M Jain
This patch series aims at updating the remove method for DSS video driver. Nikhil M Jain (2): drivers: video: tidss: tidss_drv: Change remove method drivers: video: tidss: tidss_drv: Use kconfig VIDEO_REMOVE to remove video drivers/video/tidss/tidss_drv.c | 18 +++--- 1 file

Re: [PATCH 5/9] board_f: Fix corruption of relocaddr

2023-07-26 Thread Nikhil M Jain
Hi Simon, On 27/07/23 06:23, Simon Glass wrote: Hi Devarsh, On Wed, 26 Jul 2023 at 05:09, Devarsh Thakkar wrote: Hi Simon, On 26/07/23 02:58, Simon Glass wrote: Hi Devarsh, On Tue, 25 Jul 2023 at 03:21, Devarsh Thakkar wrote: Hi Simon, On 24/07/23 20:22, Simon Glass wrote: When the v

Re: [EXTERNAL] [PATCH 2/9] video: Tidy up Makefile rule for video

2023-07-25 Thread Nikhil M Jain
On 24/07/23 20:21, Simon Glass wrote: Drop the duplication and add a single rule which can handle SPL as well. Signed-off-by: Simon Glass --- drivers/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions Reviewed-by: Nikhil M Jain

Re: [PATCH 4/5] env: ti: mmc.env: Fix overlays directory path

2023-07-25 Thread Nikhil M Jain
insertion(+), 1 deletion(-) Reviewed-by: Nikhil M Jain

Re: [PATCH 3/5] env: ti: mmc.env: Move mmc related args to common place

2023-07-25 Thread Nikhil M Jain
insertions(+), 74 deletions(-) Reviewed-by: Nikhil M Jain

Re: [PATCH 1/5] configs: am62x: add SPL_MAX_SIZE back

2023-07-25 Thread Nikhil M Jain
configs/am62x_evm_a53_defconfig | 1 + 1 file changed, 1 insertion(+) Tested-by: Nikhil M Jain

Re: [PATCH 01/18] arch: mach-k3: security: fix the check for authentication

2023-07-25 Thread Nikhil M Jain
Hi Manorit, On 24/07/23 20:27, Tom Rini wrote: On Fri, Jul 14, 2023 at 11:22:24AM +0530, Manorit Chawdhry wrote: Fix regression occurred during refactoring for the mentioned commit. Fixes: bd6a24759374 ("arm: mach-k3: security: separate out validating binary logic") Signed-off-by: Manorit C

Re: [PATCH V2 0/2] Fix warnings occurred during compilation

2023-07-19 Thread Nikhil M Jain
Hi Tom, On 19/07/23 18:48, Tom Rini wrote: On Wed, Jul 19, 2023 at 06:44:18PM +0530, Nikhil M Jain wrote: Hi Tom, On 19/07/23 17:28, Tom Rini wrote: On Wed, Jul 19, 2023 at 04:44:36PM +0530, Nikhil M Jain wrote: Hi Tom, Seems like this series fell through the cracks, so a gentle reminder

Re: [EXTERNAL] Re: [PATCH V2 0/2] Fix warnings occurred during compilation

2023-07-19 Thread Nikhil M Jain
Hi Tom, On 19/07/23 17:28, Tom Rini wrote: On Wed, Jul 19, 2023 at 04:44:36PM +0530, Nikhil M Jain wrote: Hi Tom, Seems like this series fell through the cracks, so a gentle reminder on this. On 21/06/23 16:29, Nikhil M Jain wrote: This patch series aims at fixing warnings which occur

Re: [PATCH V2 0/2] Fix warnings occurred during compilation

2023-07-19 Thread Nikhil M Jain
Hi Tom, Seems like this series fell through the cracks, so a gentle reminder on this. On 21/06/23 16:29, Nikhil M Jain wrote: This patch series aims at fixing warnings which occur during compilation, by including required header files and using appropriate types for variables which are

[PATCH V6 10/10] common: Kconfig: Fix CMD_BMP/BMP dependency

2023-07-18 Thread Nikhil M Jain
uel Dionne-Riel Signed-off-by: Nikhil M Jain --- V6 (patch introduced): - Fix CMD_BMP/BMP dependency. cmd/Kconfig| 1 + common/Kconfig | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/Kconfig b/cmd/Kconfig index c1941849f9..de7a27a86a 100644 --- a/cmd/Kconfig +++ b/c

[PATCH V6 04/10] include: video: Reserve video using blob

2023-07-18 Thread Nikhil M Jain
Add method to reserve video framebuffer information using blob, received from previous stage. Signed-off-by: Nikhil M Jain Reviewed-by: Simon Glass --- V6: - No change. V5: - No change. V4: - No change. V3: - Add Reviewed-by tag. V2: - Remove #if CONFIG_IS_ENABLED(VIDEO) in

[PATCH V6 09/10] doc: board: ti: am62x_sk: Add A53 SPL DDR layout

2023-07-18 Thread Nikhil M Jain
To understand usage of DDR in A53 SPL stage, add a table showing region and space used by major components of SPL. Signed-off-by: Nikhil M Jain Reviewed-by: Tom Rini --- V6: - Add Reviewed-by tag. V5: - Change the layout of A53 SPL DDR into tabular format. V4(patch introduced): - Document A53

[PATCH V6 08/10] configs: am62x_evm_a53: Add bloblist address

2023-07-18 Thread Nikhil M Jain
Set bloblist address to 0x80D0. Signed-off-by: Nikhil M Jain Reviewed-by: Devarsh Thakkar --- V6: - No change. V5: - No change. V4: - Remove the link to SPL DDR memory layout and add a new patch. V3: - Add link to updated memory map. V2: - Add Reviewed-by tag. configs

[PATCH V6 07/10] common: spl: spl: Remove video driver

2023-07-18 Thread Nikhil M Jain
Use config SPL_VIDEO_REMOVE to remove video driver at SPL stage before jumping to next stage, in place of CONFIG_SPL_VIDEO, to allow user to remove video if required. Signed-off-by: Nikhil M Jain Reviewed-by: Devarsh Thakkar --- V6: - No change. V5: - No change. V4: - No change. V3

[PATCH V6 06/10] drivers: video: Kconfig: Add config remove video

2023-07-18 Thread Nikhil M Jain
This is required since user may want to either call the remove method of video driver and reset the display or not call the remove method to continue displaying until next stage. Signed-off-by: Nikhil M Jain Reviewed-by: Devarsh Thakkar Reviewed-by: Tom Rini --- V6: - No change. V5: - No

[PATCH V6 03/10] board: ti: am62x: evm: Update function calls for splash screen

2023-07-18 Thread Nikhil M Jain
functions are called. Check for CONFIG_SPL_SPLASH_SCREEN and CONFIG_SPL_BMP before calling splash_display to avoid compilation failure. Signed-off-by: Nikhil M Jain --- V6: - No change. V5: - No change. V4: - Update commit message as per comments. V3: - No change. V2: - Use CONFIG_SPL_VIDEO

[PATCH V6 05/10] common: board_f: Pass frame buffer info from SPL to u-boot

2023-07-18 Thread Nikhil M Jain
proper, if in u-boot proper CONFIG_VIDEO is defined. Signed-off-by: Nikhil M Jain Reviewed-by: Devarsh Thakkar Reviewed-by: Simon Glass --- V6: - No change. V5: - No change. V4: - Add Reviewed-by tag. V3: - Clean up errors appeared in checkpatch. V2: - Fix commit message. - Revert use of #if

[PATCH V6 02/10] arch: arm: mach-k3: common: Return a pointer after setting page table

2023-07-18 Thread Nikhil M Jain
In spl_dcache_enable after setting up page table, set gd->relocaddr pointer to tlb_addr, to get next location to reserve memory. Align tlb_addr with 64KB address. Signed-off-by: Nikhil M Jain Reviewed-by: Devarsh Thakkar --- V6: - No change. V5: - No change. V4: - Add Reviewed-by tag.

[PATCH V6 01/10] common: spl: spl: Update stack pointer address

2023-07-18 Thread Nikhil M Jain
At SPL stage when stack is relocated, the stack pointer needs to be updated, the stack pointer may point to stack in on chip memory even though stack is relocated. Signed-off-by: Nikhil M Jain Reviewed-by: Tom Rini --- V6: - No change. V5: - No change. V4: - No change. V3: - Add Reviewed-by

[PATCH V6 00/10] Update SPL splashscreen framework for AM62x

2023-07-18 Thread Nikhil M Jain
message. [1]: https://patchwork.ozlabs.org/project/uboot/patch/20230709231810.633044-1-sam...@dionne-riel.com/ Nikhil M Jain (9): common: spl: spl: Update stack pointer address arch: arm: mach-k3: common: Return a pointer after setting page table board: ti: am62x: evm: Update function calls

Re: [PATCH 08/18] environment: ti: Make get_fdt_mmc common

2023-07-17 Thread Nikhil M Jain
Hi Manorit, On 14/07/23 11:22, Manorit Chawdhry wrote: From: Andrew Davis Since get_fdt_mmc is common, factor it out into mmc.env and remove it from each platform env file along with changing the directory path to reflect the standards. Use it in mmcloados but keep loadfdt defined in case it i

Re: [PATCH 07/18] environment: ti: Prefix ARM64 DTB names with directory

2023-07-17 Thread Nikhil M Jain
board/ti/j721s2/j721s2.env | 6 +++--- include/configs/am62ax_evm.h | 2 +- 7 files changed, 13 insertions(+), 13 deletions(-) Reviewed-by: Nikhil M Jain

Re: [PATCH 13/18] configs: k3: make consistent bootcmd across all k3 socs

2023-07-17 Thread Nikhil M Jain
Hi Manorit, On 14/07/23 11:22, Manorit Chawdhry wrote: From: Kamlesh Gurudasani Default to common bootcmd that is set across all k3 devices. Signed-off-by: Manorit Chawdhry Signed-off-by: Kamlesh Gurudasani --- configs/am62ax_evm_a53_defconfig | 1 + configs/am62x_evm_a53_defconfig | 3

Re: [PATCH 13/18] configs: k3: make consistent bootcmd across all k3 socs

2023-07-17 Thread Nikhil M Jain
Hi Manorit, On 14/07/23 11:22, Manorit Chawdhry wrote: From: Kamlesh Gurudasani Default to common bootcmd that is set across all k3 devices. Signed-off-by: Manorit Chawdhry Signed-off-by: Kamlesh Gurudasani --- configs/am62ax_evm_a53_defconfig | 1 + configs/am62x_evm_a53_defconfig | 3

Re: [PATCH 03/18] board: ti: am64x: am64x.env: set fdtfile env variable

2023-07-17 Thread Nikhil M Jain
On 14/07/23 11:22, Manorit Chawdhry wrote: From: Kamlesh Gurudasani Set fdtfile env variable similar to other k3 socs. Signed-off-by: Kamlesh Gurudasani Signed-off-by: Manorit Chawdhry --- board/ti/am64x/am64x.env | 1 + 1 file changed, 1 insertion(+) Reviewed-by: Nikhil M Jain

Re: [EXTERNAL] Re: [PATCH] common: Kconfig: Fix CMD_BMP/BMP dependency

2023-07-14 Thread Nikhil M Jain
On 10/07/23 20:36, Tom Rini wrote: On Sun, Jul 09, 2023 at 07:18:10PM -0400, Samuel Dionne-Riel wrote: Using `default y` will not select BMP when CMD_BMP has been enabled, if it was already configured. By using `select`, if `CMD_BMP` is turned on, it will force the presence of `BMP`. Fixes

Re: [PATCH V5 0/9] Update SPL splashscreen framework for AM62x

2023-07-05 Thread Nikhil M Jain
Hi Tom, Gentle reminder On 21/06/23 15:51, Nikhil M Jain wrote: This patch series aims at updating SPL splashscreen framework for AM62x. This patch series depends on https://lore.kernel.org/u-boot/20230504225829.2537050-1-...@chromium.org/ This series: - Fixes compilation issues in case

Re: [EXTERNAL] Re: [PATCH] arch: arm: dts: k3-am625-sk: Update timings node name for panel-lvds

2023-06-25 Thread Nikhil M Jain
Hi Tom, On 23/06/23 22:26, Tom Rini wrote: On Fri, Jun 23, 2023 at 06:11:52PM +0530, Nikhil M Jain wrote: Update the name of timing parameter node to panel-timing from panel-timngs. Signed-off-by: Nikhil M Jain --- arch/arm/dts/k3-am625-sk.dts | 2 +- 1 file changed, 1 insertion(+), 1

[PATCH] arch: arm: dts: k3-am625-sk: Update timings node name for panel-lvds

2023-06-23 Thread Nikhil M Jain
Update the name of timing parameter node to panel-timing from panel-timngs. Signed-off-by: Nikhil M Jain --- arch/arm/dts/k3-am625-sk.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/dts/k3-am625-sk.dts b/arch/arm/dts/k3-am625-sk.dts index 73dec8781c..a87b48bfed

[PATCH V2 2/2] common: splash_source: Fix type casting errors

2023-06-21 Thread Nikhil M Jain
, internal_splash_size); The above warnings are generated if CONFIG_FIT is enabled. Signed-off-by: Nikhil M Jain --- V2: - Type cast bmp_load_addr to uintptr_t at places necessary instead of changing argument type for splash_load_fit as done in splash_load_raw. common/splash_source.c | 6 +++--- 1

[PATCH V2 1/2] board: ti: am62x: evm: Include necessary header files

2023-06-21 Thread Nikhil M Jain
-declaration] 90 | enable_caches(); Signed-off-by: Nikhil M Jain --- V2: - No change. board/ti/am62x/evm.c | 1 + 1 file changed, 1 insertion(+) diff --git a/board/ti/am62x/evm.c b/board/ti/am62x/evm.c index d3c1786cd9..ad93908840 100644 --- a/board/ti/am62x/evm.c +++ b/board/ti/am62x/evm.c

[PATCH V2 0/2] Fix warnings occurred during compilation

2023-06-21 Thread Nikhil M Jain
This patch series aims at fixing warnings which occur during compilation, by including required header files and using appropriate types for variables which are typecasted. Changes in V2: - Type cast bmp_load_addr to uintptr_t at places necessary rather than changing argument type. Nikhil M

[PATCH V5 8/9] configs: am62x_evm_a53: Add bloblist address

2023-06-21 Thread Nikhil M Jain
Set bloblist address to 0x80D0. Signed-off-by: Nikhil M Jain Reviewed-by: Devarsh Thakkar --- V5: - No change. V4: - Remove the link to SPL DDR memory layout and add a new patch. V3: - Add link to updated memory map. V2: - Add Reviewed-by tag. configs/am62x_evm_a53_defconfig | 1 + 1

[PATCH V5 9/9] doc: board: ti: am62x_sk: Add A53 SPL DDR layout

2023-06-21 Thread Nikhil M Jain
To understand usage of DDR in A53 SPL stage, add a table showing region and space used by major components of SPL. Signed-off-by: Nikhil M Jain --- V5: - Change the layout of A53 SPL DDR into tabular format. V4(patch introduced): - Document A53 SPL DDR memory layout. doc/board/ti/am62x_sk.rst

[PATCH V5 6/9] drivers: video: Kconfig: Add config remove video

2023-06-21 Thread Nikhil M Jain
This is required since user may want to either call the remove method of video driver and reset the display or not call the remove method to continue displaying until next stage. Signed-off-by: Nikhil M Jain Reviewed-by: Devarsh Thakkar Reviewed-by: Tom Rini --- V5: - No change. V4: - Add

[PATCH V5 7/9] common: spl: spl: Remove video driver

2023-06-21 Thread Nikhil M Jain
Use config SPL_VIDEO_REMOVE to remove video driver at SPL stage before jumping to next stage, in place of CONFIG_SPL_VIDEO, to allow user to remove video if required. Signed-off-by: Nikhil M Jain Reviewed-by: Devarsh Thakkar --- V5: - No change. V4: - No change. V3: - Replace #if defined

[PATCH V5 5/9] common: board_f: Pass frame buffer info from SPL to u-boot

2023-06-21 Thread Nikhil M Jain
proper, if in u-boot proper CONFIG_VIDEO is defined. Signed-off-by: Nikhil M Jain Reviewed-by: Devarsh Thakkar Reviewed-by: Simon Glass --- V5: - No change. V4: - Add Reviewed-by tag. V3: - Clean up errors appeared in checkpatch. V2: - Fix commit message. - Revert use of #if. common/board_f.c

[PATCH V5 4/9] include: video: Reserve video using blob

2023-06-21 Thread Nikhil M Jain
Add method to reserve video framebuffer information using blob, received from previous stage. Signed-off-by: Nikhil M Jain Reviewed-by: Simon Glass --- V5: - No change. V4: - No change. V3: - Add Reviewed-by tag. V2: - Remove #if CONFIG_IS_ENABLED(VIDEO) in video_reserve_from_blob. drivers

[PATCH V5 3/9] board: ti: am62x: evm: Update function calls for splash screen

2023-06-21 Thread Nikhil M Jain
functions are called. Check for CONFIG_SPL_SPLASH_SCREEN and CONFIG_SPL_BMP before calling splash_display to avoid compilation failure. Signed-off-by: Nikhil M Jain --- V5: - No change. V4: - Update commit message as per comments. V3: - No change. V2: - Use CONFIG_SPL_VIDEO in place of

[PATCH V5 2/9] arch: arm: mach-k3: common: Return a pointer after setting page table

2023-06-21 Thread Nikhil M Jain
In spl_dcache_enable after setting up page table, set gd->relocaddr pointer to tlb_addr, to get next location to reserve memory. Align tlb_addr with 64KB address. Signed-off-by: Nikhil M Jain Reviewed-by: Devarsh Thakkar --- V5: - No change. V4: - Add Reviewed-by tag. V3: - No change.

[PATCH V5 1/9] common: spl: spl: Update stack pointer address

2023-06-21 Thread Nikhil M Jain
At SPL stage when stack is relocated, the stack pointer needs to be updated, the stack pointer may point to stack in on chip memory even though stack is relocated. Signed-off-by: Nikhil M Jain Reviewed-by: Tom Rini --- V5: - No change. V4: - No change. V3: - Add Reviewed-by tag. V2: - No

[PATCH V5 0/9] Update SPL splashscreen framework for AM62x

2023-06-21 Thread Nikhil M Jain
SPL. - Add Reviewed-by tags. V3: - Fix spacing issues. - Add Reviewed-by tag. - Replace #if with if in patch common: spl: spl: Remove video driver - Add link to updated memory map. V2: - Update cover letter. - Fix commit message. Nikhil M Jain (9): common: spl: spl: Update stack pointer address

Re: [EXTERNAL] Re: [PATCH 0/2] Mitigate warnings occurred during compilation

2023-06-20 Thread Nikhil M Jain
Hi Tom, On 19/06/23 18:48, Tom Rini wrote: On Mon, Jun 19, 2023 at 03:14:01PM +0530, Nikhil M Jain wrote: This patch series aims at mitigating warnings occurred during compilation by including required header files and using appropriate types for variables which are typecasted. Nikhil M Jain

[PATCH 2/2] common: splash_source: Fix type casting errors.

2023-06-19 Thread Nikhil M Jain
, internal_splash_size); Signed-off-by: Nikhil M Jain --- common/splash_source.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/splash_source.c b/common/splash_source.c index a260137619..53f2c7034b 100644 --- a/common/splash_source.c +++ b/common/splash_source.c

[PATCH 1/2] board: ti: am62x: evm: Include necessary header files

2023-06-19 Thread Nikhil M Jain
-declaration] 90 | enable_caches(); Signed-off-by: Nikhil M Jain --- board/ti/am62x/evm.c | 1 + 1 file changed, 1 insertion(+) diff --git a/board/ti/am62x/evm.c b/board/ti/am62x/evm.c index d3c1786cd9..ad93908840 100644 --- a/board/ti/am62x/evm.c +++ b/board/ti/am62x/evm.c @@ -12,6 +12,7

[PATCH 0/2] Mitigate warnings occurred during compilation

2023-06-19 Thread Nikhil M Jain
This patch series aims at mitigating warnings occurred during compilation by including required header files and using appropriate types for variables which are typecasted. Nikhil M Jain (2): board: ti: am62x: evm: Include necessary header files common: splash_source: Fix type casting errors

Re: [PATCH V4 9/9] doc: board: ti: am62x_sk: Add A53 SPL DDR layout

2023-06-19 Thread Nikhil M Jain
Hi Tom, On 16/06/23 20:24, Tom Rini wrote: On Fri, Jun 16, 2023 at 04:22:38PM +0530, Nikhil M Jain wrote: To understand usage of DDR in A53 SPL stage, add a table showing region and space used by major components of SPL. Signed-off-by: Nikhil M Jain --- V4(patch introduced): - Document A53

[PATCH V4 9/9] doc: board: ti: am62x_sk: Add A53 SPL DDR layout

2023-06-16 Thread Nikhil M Jain
To understand usage of DDR in A53 SPL stage, add a table showing region and space used by major components of SPL. Signed-off-by: Nikhil M Jain --- V4(patch introduced): - Document A53 SPL DDR memory layout. doc/board/ti/am62x_sk.rst | 53 +++ 1 file changed

[PATCH V4 8/9] configs: am62x_evm_a53: Add bloblist address

2023-06-16 Thread Nikhil M Jain
Set bloblist address to 0x80D0. Signed-off-by: Nikhil M Jain Reviewed-by: Devarsh Thakkar --- V4: - Remove the link to SPL DDR memory layout and add a new patch. V3: - Add link to updated memory map. V2: - Add Reviewed-by tag. configs/am62x_evm_a53_defconfig | 1 + 1 file changed, 1

[PATCH V4 7/9] common: spl: spl: Remove video driver

2023-06-16 Thread Nikhil M Jain
Use config SPL_VIDEO_REMOVE to remove video driver at SPL stage before jumping to next stage, in place of CONFIG_SPL_VIDEO, to allow user to remove video if required. Signed-off-by: Nikhil M Jain Reviewed-by: Devarsh Thakkar --- V4: - No change. V3: - Replace #if defined

[PATCH V4 6/9] drivers: video: Kconfig: Add config remove video

2023-06-16 Thread Nikhil M Jain
This is required since user may want to either call the remove method of video driver and reset the display or not call the remove method to continue displaying until next stage. Signed-off-by: Nikhil M Jain Reviewed-by: Devarsh Thakkar Reviewed-by: Tom Rini --- V4: - Add Reviewed-by tag. V3

[PATCH V4 5/9] common: board_f: Pass frame buffer info from SPL to u-boot

2023-06-16 Thread Nikhil M Jain
proper, if in u-boot proper CONFIG_VIDEO is defined. Signed-off-by: Nikhil M Jain Reviewed-by: Devarsh Thakkar Reviewed-by: Simon Glass --- V4: - Add Reviewed-by tag. V3: - Clean up errors appeared in checkpatch. V2: - Fix commit message. - Revert use of #if. common/board_f.c | 11

[PATCH V4 4/9] include: video: Reserve video using blob

2023-06-16 Thread Nikhil M Jain
Add method to reserve video framebuffer information using blob, received from previous stage. Signed-off-by: Nikhil M Jain Reviewed-by: Simon Glass --- V4: - No change. V3: - Add Reviewed-by tag. V2: - Remove #if CONFIG_IS_ENABLED(VIDEO) in video_reserve_from_blob. drivers/video/video

[PATCH V4 3/9] board: ti: am62x: evm: Update function calls for splash screen

2023-06-16 Thread Nikhil M Jain
video related functions are called. Check for CONFIG_SPL_SPLASH_SCREEN and CONFIG_SPL_BMP before calling splash_display to avoid compilation failure. Signed-off-by: Nikhil M Jain --- V4: - Update commit message as per comments. V3: - No change. V2: - Use CONFIG_SPL_VIDEO in place of

[PATCH V4 2/9] arch: arm: mach-k3: common: Return a pointer after setting page table

2023-06-16 Thread Nikhil M Jain
In spl_dcache_enable after setting up page table, set gd->relocaddr pointer to tlb_addr, to get next location to reserve memory. Align tlb_addr with 64KB address. Signed-off-by: Nikhil M Jain Reviewed-by: Devarsh Thakkar --- V4: - Add Reviewed-by tag. V3: - No change. V2: - Perform 6

[PATCH V4 1/9] common: spl: spl: Update stack pointer address

2023-06-16 Thread Nikhil M Jain
At SPL stage when stack is relocated, the stack pointer needs to be updated, the stack pointer may point to stack in on chip memory even though stack is relocated. Signed-off-by: Nikhil M Jain Reviewed-by: Tom Rini --- V4: - No change. V3: - Add Reviewed-by tag. V2: - No change. common/spl

[PATCH V4 0/9] Update SPL splashscreen framework for AM62x

2023-06-16 Thread Nikhil M Jain
-by tag. - Replace #if with if in patch common: spl: spl: Remove video driver - Add link to updated memory map. V2: - Update cover letter. - Fix commit message. Nikhil M Jain (9): common: spl: spl: Update stack pointer address arch: arm: mach-k3: common: Return a pointer after setting page

[PATCH V3 7/8] common: spl: spl: Remove video driver

2023-06-14 Thread Nikhil M Jain
Use config SPL_VIDEO_REMOVE to remove video driver at SPL stage before jumping to next stage, in place of CONFIG_SPL_VIDEO, to allow user to remove video if required. Signed-off-by: Nikhil M Jain Reviewed-by: Devarsh Thakkar --- V3: - Replace #if defined(CONFIG_SPL_VIDEO_REMOVE) with if

[PATCH V3 8/8] configs: am62x_evm_a53: Add bloblist address

2023-06-14 Thread Nikhil M Jain
Set bloblist address to 0x80D0. Below is the link to updated memory map: Link: https://gist.github.com/NikMJain/5686f7f976c18a359762b52d474dc07b#file-am62x-a53_spl_memory_map-rst Signed-off-by: Nikhil M Jain Reviewed-by: Devarsh Thakkar --- V3: - Add link to updated memory map. V2

[PATCH V3 5/8] common: board_f: Pass frame buffer info from SPL to u-boot

2023-06-14 Thread Nikhil M Jain
proper, if in u-boot proper CONFIG_VIDEO is defined. Signed-off-by: Nikhil M Jain --- V3: - Clean up errors appeared in checkpatch. V2: - Fix commit message. - Revert use of #if. common/board_f.c | 11 ++- drivers/video/video-uclass.c | 12 2 files changed, 22

[PATCH V3 4/8] include: video: Reserve video using blob

2023-06-14 Thread Nikhil M Jain
Add method to reserve video framebuffer information using blob, received from previous stage. Signed-off-by: Nikhil M Jain Reviewed-by: Simon Glass --- V3: - Add Reviewed-by tag. V2: - Remove #if CONFIG_IS_ENABLED(VIDEO) in video_reserve_from_blob. drivers/video/video-uclass.c | 11

[PATCH V3 6/8] drivers: video: Kconfig: Add config remove video

2023-06-14 Thread Nikhil M Jain
This is required since user may want to either call the remove method of video driver and reset the display or not call the remove method to continue displaying until next stage. Signed-off-by: Nikhil M Jain Reviewed-by: Devarsh Thakkar --- V3: - No change. V2: - Add Reviewed-by tag. drivers

[PATCH V3 3/8] board: ti: am62x: evm: Update function calls for splash screen

2023-06-14 Thread Nikhil M Jain
Use spl_dcache_enable, in place of setup_dram, arch_reserve_mmu to set up pagetable, initialise DRAM and enable Dcache. Signed-off-by: Nikhil M Jain --- V3: - No change. V2: - Use CONFIG_SPL_VIDEO in place of CONFIG_SPL_VIDEO_TIDSS to reserve video and call splash at SPL. - Check

[PATCH V3 2/8] arch: arm: mach-k3: common: Return a pointer after setting page table

2023-06-14 Thread Nikhil M Jain
In spl_dcache_enable after setting up page table, set gd->relocaddr pointer to tlb_addr, to get next location to reserve memory. Align tlb_addr with 64KB address. Signed-off-by: Nikhil M Jain --- V3: - No change. V2: - Perform 64KB alignment on tlb_addr. arch/arm/mach-k3/common.c | 2 ++

[PATCH V3 1/8] common: spl: spl: Update stack pointer address

2023-06-14 Thread Nikhil M Jain
At SPL stage when stack is relocated, the stack pointer needs to be updated, the stack pointer may point to stack in on chip memory even though stack is relocated. Signed-off-by: Nikhil M Jain Reviewed-by: Tom Rini --- V3: - Add Reviewed-by tag. V2: - No change. common/spl/spl.c | 1 + 1

[PATCH V3 0/8] Update SPL splashscreen framework for AM62x

2023-06-14 Thread Nikhil M Jain
memory map. V2: - Update cover letter. - Fix commit message. Nikhil M Jain (8): common: spl: spl: Update stack pointer address arch: arm: mach-k3: common: Return a pointer after setting page table board: ti: am62x: evm: Update function calls for splash screen include: video: Reserve video

[PATCH V2 8/8] configs: am62x_evm_a53: Add bloblist address

2023-06-09 Thread Nikhil M Jain
2.999MB │ │ │ │ │ 0x8100└─┘FIT Image load address Signed-off-by: Nikhil M Jain Reviewed-by: Devarsh Thakkar --- V2: - Add Reviewed-by tag. configs/am62x_evm_a53_defconfig | 1 + 1 file

[PATCH V2 3/8] board: ti: am62x: evm: Update function calls for splash screen

2023-06-09 Thread Nikhil M Jain
Use spl_dcache_enable, in place of setup_dram, arch_reserve_mmu to set up pagetable, initialise DRAM and enable Dcache. Signed-off-by: Nikhil M Jain --- V2: - Use CONFIG_SPL_VIDEO in place of CONFIG_SPL_VIDEO_TIDSS to reserve video and call splash at SPL. - Check SPL_SPLASH_SCREEN and SPL_BMP

[PATCH V2 6/8] drivers: video: Kconfig: Add config remove video

2023-06-09 Thread Nikhil M Jain
This is required since user may want to either call the remove method of video driver and reset the display or not call the remove method to continue displaying until next stage. Signed-off-by: Nikhil M Jain Reviewed-by: Devarsh Thakkar --- V2: - Add Reviewed-by tag. drivers/video/Kconfig

[PATCH V2 5/8] common: board_f: Pass frame buffer info from SPL to u-boot

2023-06-09 Thread Nikhil M Jain
proper, if in u-boot proper CONFIG_VIDEO is defined. Signed-off-by: Nikhil M Jain --- V2: - Fix commit message. - Revert use of #if. common/board_f.c | 12 +++- drivers/video/video-uclass.c | 12 2 files changed, 23 insertions(+), 1 deletion(-) diff --git a/common

[PATCH V2 7/8] common: spl: spl: Remove video driver

2023-06-09 Thread Nikhil M Jain
Use config SPL_VIDEO_REMOVE to remove video driver at SPL stage before jumping to next stage, in place of CONFIG_SPL_VIDEO, to allow user to remove video if required. Signed-off-by: Nikhil M Jain Reviewed-by: Devarsh Thakkar --- v2: - Add Reviewed-by tag. common/spl/spl.c | 2 +- 1 file

[PATCH V2 2/8] arch: arm: mach-k3: common: Return a pointer after setting page table

2023-06-09 Thread Nikhil M Jain
In spl_dcache_enable after setting up page table, set gd->relocaddr pointer to tlb_addr, to get next location to reserve memory. Align tlb_addr with 64KB address. Signed-off-by: Nikhil M Jain --- V2: - Perform 64KB alignment on tlb_addr. arch/arm/mach-k3/common.c | 2 ++ 1 file changed

[PATCH V2 1/8] common: spl: spl: Update stack pointer address

2023-06-09 Thread Nikhil M Jain
At SPL stage when stack is relocated, the stack pointer needs to be updated, the stack pointer may point to stack in on chip memory even though stack is relocated. Signed-off-by: Nikhil M Jain --- V2: - No change. common/spl/spl.c | 1 + 1 file changed, 1 insertion(+) diff --git a/common/spl

[PATCH V2 4/8] include: video: Reserve video using blob

2023-06-09 Thread Nikhil M Jain
Add method to reserve video framebuffer information using blob, recieved from previous stage. Signed-off-by: Nikhil M Jain --- V2: - Remove #if CONFIG_IS_ENABLED(VIDEO) in video_reserve_from_blob. drivers/video/video-uclass.c | 11 +++ include/video.h | 9 + 2

[PATCH V2 0/8] Update SPL splashscreen framework for AM62x

2023-06-09 Thread Nikhil M Jain
, dram initialisation and dcache enabling in one function call spl_enable_dcache. - Allows passing of framebuffer from spl to u-boot, eliminating flicker. V2: - Update cover letter. - Fix commit message. Nikhil M Jain (8): common: spl: spl: Update stack pointer address arch: arm: mach-k3

Re: [PATCH 1/8] common: spl: spl: Update stack pointer address

2023-06-08 Thread Nikhil M Jain
Hi Devarsh, On 12/05/23 13:39, Devarsh Thakkar wrote: Hi Nikhil, Vignesh, Tom, Nikhil, Thanks for the patch. On 11/05/23 15:29, Nikhil M Jain wrote: I think more apt subject would be "Update stack pointer after relocation" At SPL stage when stack is relocated, the stack pointer n

Re: [EXTERNAL] Re: [PATCH 0/8] Updats SPL splashscreen framework for AM62x

2023-06-01 Thread Nikhil M Jain
Hi Tom, On 02/06/23 10:09, Nikhil M Jain wrote: Hi Tom, On 01/06/23 22:10, Tom Rini wrote: On Thu, May 11, 2023 at 03:29:50PM +0530, Nikhil M Jain wrote: This patch series aims at updating SPL splashscreen framework for AM62x. Nikhil M Jain (8):    common: spl: spl: Update stack pointer

Re: [EXTERNAL] Re: [PATCH 0/8] Updats SPL splashscreen framework for AM62x

2023-06-01 Thread Nikhil M Jain
Hi Tom, On 01/06/23 22:10, Tom Rini wrote: On Thu, May 11, 2023 at 03:29:50PM +0530, Nikhil M Jain wrote: This patch series aims at updating SPL splashscreen framework for AM62x. Nikhil M Jain (8): common: spl: spl: Update stack pointer address arch: arm: mach-k3: common: Return a

[PATCH 8/8] configs: am62x_evm_a53: Add bloblist address

2023-05-11 Thread Nikhil M Jain
Define bloblist address. Signed-off-by: Nikhil M Jain --- configs/am62x_evm_a53_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/am62x_evm_a53_defconfig b/configs/am62x_evm_a53_defconfig index 7c3bc184cf..5c572dfb33 100644 --- a/configs/am62x_evm_a53_defconfig +++ b/configs

[PATCH 7/8] common: spl: spl: Remove video driver

2023-05-11 Thread Nikhil M Jain
Use config SPL_VIDEO_REMOVE to remove video driver at SPL stage before jumping to next stage, in place of CONFIG_SPL_VIDEO, to allow user to remove video if required. Signed-off-by: Nikhil M Jain --- common/spl/spl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/spl

[PATCH 5/8] common: board_f: Pass frame buffer info from SPL to u-boot

2023-05-11 Thread Nikhil M Jain
CONFIG_VIDEO is defined. Signed-off-by: Nikhil M Jain --- common/board_f.c | 13 - drivers/video/video-uclass.c | 12 2 files changed, 24 insertions(+), 1 deletion(-) diff --git a/common/board_f.c b/common/board_f.c index 1688e27071..02730ec3a4 100644 --- a/common

[PATCH 4/8] include: video: Reserve video using blob

2023-05-11 Thread Nikhil M Jain
Add method to reserve video using blob. Signed-off-by: Nikhil M Jain --- drivers/video/video-uclass.c | 12 include/video.h | 9 + 2 files changed, 21 insertions(+) diff --git a/drivers/video/video-uclass.c b/drivers/video/video-uclass.c index 8396bdfb11

[PATCH 6/8] drivers: video: Kconfig: Add config remove video

2023-05-11 Thread Nikhil M Jain
Add VIDEO_REMOVE configs to allow user to control removing of video driver, in between stages. Signed-off-by: Nikhil M Jain --- drivers/video/Kconfig | 12 1 file changed, 12 insertions(+) diff --git a/drivers/video/Kconfig b/drivers/video/Kconfig index fcc0e85d2e..c5863f4dd5

[PATCH 2/8] arch: arm: mach-k3: common: Return a pointer after setting page table

2023-05-11 Thread Nikhil M Jain
In spl_dcache_enable after setting up page table, set gd->relocaddr pointer with 64KB alignment, to get next location to reserve memory. Signed-off-by: Nikhil M Jain --- arch/arm/mach-k3/common.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/mach-k3/common.c b/arch/arm/mach

[PATCH 3/8] board: ti: am62x: evm: Update function calls for splash screen

2023-05-11 Thread Nikhil M Jain
Use spl_dcache_enable, in place of setup_dram, arch_reserve_mmu to set up pagetable, initialise DRAM and enable Dcache. Signed-off-by: Nikhil M Jain --- arch/arm/mach-k3/am625_init.c | 1 + board/ti/am62x/evm.c | 46 ++- 2 files changed, 19 insertions

[PATCH 1/8] common: spl: spl: Update stack pointer address

2023-05-11 Thread Nikhil M Jain
At SPL stage when stack is relocated, the stack pointer needs to be updated, the stack pointer may point to stack in on chip memory even though stack is relocated. Signed-off-by: Nikhil M Jain --- common/spl/spl.c | 1 + 1 file changed, 1 insertion(+) diff --git a/common/spl/spl.c b/common/spl

[PATCH 0/8] Updats SPL splashscreen framework for AM62x

2023-05-11 Thread Nikhil M Jain
This patch series aims at updating SPL splashscreen framework for AM62x. Nikhil M Jain (8): common: spl: spl: Update stack pointer address arch: arm: mach-k3: common: Return a pointer after setting page table board: ti: am62x: evm: Update function calls for splash screen include: video

[PATCH V3 10/10] board: ti: am62x: am62x: Update splashimage as per new memory map

2023-05-09 Thread Nikhil M Jain
Update splashimage address, to load splash image at a lower address than stack. Signed-off-by: Nikhil M Jain --- V3: - Keep splashsource as mmc. V2: - No change. board/ti/am62x/am62x.env | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/ti/am62x/am62x.env b/board/ti

[PATCH V3 09/10] configs: am62x_evm_a53_defconfig: Changes in memory to support SPL splash screen

2023-05-09 Thread Nikhil M Jain
+-+ | Blobs 1KB | 0x80D00400+-+ | | | Empty 2.999MB | | | | | 0x8100+-+FIT Image load address Signed-off-by: Nikhil M Jain --- V3: - Add bloblist

[PATCH V3 08/10] common: spl: spl: Remove video driver before u-boot proper

2023-05-09 Thread Nikhil M Jain
Add method to remove video driver before loading u-boot proper, when there is no bloblist passed to next stage, to avoid displaying of artifacts in the next stage, if video is not defined in that stage. Signed-off-by: Nikhil M Jain --- V3 (patch introduced): - Remove video only if

[PATCH V3 07/10] drivers: video: Kconfig: Add config remove video

2023-05-09 Thread Nikhil M Jain
Add VIDEO_REMOVE configs to allow user to control removing of video driver, in between stages. Signed-off-by: Nikhil M Jain --- V3 (patch introduced): - Add config to remove video. drivers/video/Kconfig | 12 1 file changed, 12 insertions(+) diff --git a/drivers/video/Kconfig b

[PATCH V3 06/10] common: board_f: Pass frame buffer info from SPL to u-boot

2023-05-09 Thread Nikhil M Jain
CONFIG_VIDEO is defined. Signed-off-by: Nikhil M Jain --- V3 (patch introduced): - Pass video buffer info from SPL to U-boot. This patch depends on a patch sent by Simon Glass https://lore.kernel.org/u-boot/20230504165823.v3.25.Ieb0824a81d8ad4109fa501c9497b01b8749f913a@changeid/ common/board_f.c

[PATCH V3 05/10] include: video: Reserve video using blob

2023-05-09 Thread Nikhil M Jain
Add method to reserve video using blob. Signed-off-by: Nikhil M Jain --- V3 (patch introduced): - Add method to reserve video using blob. This patch depends on a patch sent by Simon Glass https://lore.kernel.org/u-boot/20230504165823.v3.25.Ieb0824a81d8ad4109fa501c9497b01b8749f913a@changeid

[PATCH V3 04/10] board: ti: am62x: evm: Add necessary functions to call splash screen

2023-05-09 Thread Nikhil M Jain
To enable splash screen at SPL, call methods to reserve memory for video and enable cache, and splash_display to display bmp image. Signed-off-by: Nikhil M Jain --- V3: - Remove function call for dram setup and set pagetable. - Call splash display only if SPLASH_SCREEN is defined. V2: - No

  1   2   3   >