[PATCH 0/8] Hyperflash Boot fixes for J7200/J721E

2024-11-29 Thread Anurag Dutta
https://gist.github.com/anuragdutta731/50aae6fec707a3ffad6d985de6757fe4 2) j7200-evm hyperflash boot test: https://gist.github.com/anuragdutta731/c3a4d60f8bfd9c425d6c44b36eb7322b Anurag Dutta (3): mux: Makefile: Add config for mux drivers mtd: HBMC-AM654: Changed syscon API to mux APIs mtd: Kc

[PATCH 1/8] mux: Makefile: Add config for mux drivers

2024-11-29 Thread Anurag Dutta
Add config required to build mmio-mux driver and dependencies. Signed-off-by: Anurag Dutta --- drivers/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/Makefile b/drivers/Makefile index 9440af1b09..0e1f58c515 100644 --- a/drivers/Makefile +++ b/drivers/Makefile @@ -21,6

[PATCH 3/8] arm: dts: k3-j7200-r5-common: Add HBMC overrides for R5 SPL

2024-11-29 Thread Anurag Dutta
From: Vaishnav Achath Add 32-bit address overrides for Hyper Bus Memory Controller for Hyperflash to be functional in R5 SPL. Signed-off-by: Vaishnav Achath Signed-off-by: Anurag Dutta --- arch/arm/dts/k3-j7200-r5-common-proc-board.dts | 7 +++ 1 file changed, 7 insertions(+) diff --git

[PATCH 2/8] mtd: HBMC-AM654: Changed syscon API to mux APIs

2024-11-29 Thread Anurag Dutta
: Anurag Dutta --- drivers/mtd/hbmc-am654.c | 10 +++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/drivers/mtd/hbmc-am654.c b/drivers/mtd/hbmc-am654.c index 599beda30d..98988a8e24 100644 --- a/drivers/mtd/hbmc-am654.c +++ b/drivers/mtd/hbmc-am654.c @@ -5,8 +5,8 @@ #include

[PATCH 4/8] arm: dts: k3-j721e-r5-common: Add HBMC overrides for R5 SPL

2024-11-29 Thread Anurag Dutta
From: Vaishnav Achath Add 32-bit address overrides for Hyper Bus Memory Controller for Hyperflash to be functional in R5 SPL. Signed-off-by: Vaishnav Achath Signed-off-by: Anurag Dutta --- arch/arm/dts/k3-j721e-r5-common-proc-board.dts | 7 +++ 1 file changed, 7 insertions(+) diff --git

[PATCH 5/8] configs: j721e_evm_*_defconfig: Add configs for Hyperflash boot

2024-11-29 Thread Anurag Dutta
From: Vaishnav Achath Kernel commit 5b2671594b80 ("configs: j721e: Remove HBMC_AM654 config") removed the HBMC_AM654 config because hbmc was broken in u-boot. Hence, add the missing configs necessary to re-enable Hyperflash boot. Signed-off-by: Vaishnav Achath Signed-off-by: An

[PATCH 6/8] include: configs: j721e_evm: Increase memory offset for tiboot3.bin in HyperFlash

2024-11-29 Thread Anurag Dutta
J7200. Fixes: cf1d6867f774 ("board: ti: j7200: Introduce support for j7200 build targets") Signed-off-by: Aswath Govindraju Signed-off-by: Vaishnav Achath Signed-off-by: Anurag Dutta --- include/configs/j721e_evm.h | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) di

[PATCH 7/8] configs: j7200_evm_*_defconfig: Add configs for Hyperflash boot

2024-11-29 Thread Anurag Dutta
From: Vaishnav Achath Kernel commit dbb124cf6888 ("configs: j7200: Remove HBMC_AM654 config") removed the HBMC_AM654 config because hbmc was broken in u-boot. Hence, add the missing configs necessary to re-enable Hyperflash boot. Signed-off-by: Vaishnav Achath Signed-off-by: An

[PATCH 8/8] mtd: Kconfig: Change HBMC driver's dependency to MULTIPLEXER and MUX_MMIO

2024-11-29 Thread Anurag Dutta
The HBMC_AM654 driver was dependent on SYSCON because syscon APIs were being used to select the multiplexer state. Change the dependency to MULTIPLEXER and MUX_MMIO because mux APIs are now being used to select mux state. Signed-off-by: Anurag Dutta --- drivers/mtd/Kconfig | 2 +- 1 file

[PATCH 0/2] Remove "saveenv" functionality from am57xx evms

2025-02-07 Thread Anurag Dutta
/b253ddb0a5538ab6588a3535d7bbecf7 Anurag Dutta (2): configs: am57xx_hs: Remove saved environments configs: am57xx: Remove saved environments configs/am57xx_evm_defconfig| 4 +--- configs/am57xx_hs_evm_defconfig | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) -- 2.34.1

[PATCH 2/2] configs: am57xx: Remove saved environments

2025-02-07 Thread Anurag Dutta
Saved environments lead to inconsistencies leading to conflicts with the default environment that U-boot should update during development. Remove the previously saved environment so that the default environment is always loaded. Signed-off-by: Anurag Dutta --- configs/am57xx_evm_defconfig | 4

[PATCH 1/2] configs: am57xx_hs: Remove saved environments

2025-02-07 Thread Anurag Dutta
Saved environments cause inconsistencies leading to conflicts with the default environment that U-boot should update during development. Remove the previously saved environment so that the default environment is always loaded. Signed-off-by: Anurag Dutta --- configs/am57xx_hs_evm_defconfig | 4

[RESEND PATCH 0/3] FIT Image Boot Fixes for am57xx_hs_evm

2025-02-11 Thread Anurag Dutta
The u-boot is unable to load the FIT image due to incorrect boot arguments in case of am57_hs evm as can be seen in [1]. This series introduces multiple changes pertaining to several environment variables and overlays that are responsible for successful [2] loading of kernel image. Test links: [1]

[RESEND PATCH 3/3] include: configs: omap5: Add support for FDT overlay

2025-02-11 Thread Anurag Dutta
From: Sinthu Raja As AM57x uses overlays for display and camera interfaces, add support to load DT overlay files to MMC boot. Signed-off-by: Sinthu Raja Signed-off-by: Anurag Dutta --- include/configs/ti_omap5_common.h | 11 +++ include/env/ti/mmc.h | 1 + 2 files

[RESEND PATCH 1/3] include: configs: Override get_fit_config to get FIT config for AM57x

2025-02-11 Thread Anurag Dutta
7_common.h is common for both K3 and AM57xx platforms. AM57xx platforms' fdtfile name does not have '/' and "conf-" prefix so the setexpr command fails and boot hangs. Override the get_fit_config in AM57x specific config header to get the correct FIT config name. Sign

[RESEND PATCH 2/3] configs: omap5: Enable custom mmc boot to distroboot for AM57x

2025-02-11 Thread Anurag Dutta
boot Signed-off-by: Sinthu Raja Signed-off-by: Anurag Dutta --- include/configs/ti_omap5_common.h | 15 +++ 1 file changed, 15 insertions(+) diff --git a/include/configs/ti_omap5_common.h b/include/configs/ti_omap5_common.h index d315a52f36f..ef97711e644 100644 --- a/include/configs

[uU PATCH 3/3] include: configs: omap5: Add support for FDT overlay

2025-02-11 Thread Anurag Dutta
From: Sinthu Raja As AM57x uses overlays for display and camera interfaces, add support to load DT overlay files to MMC boot. Signed-off-by: Sinthu Raja Signed-off-by: Anurag Dutta --- include/configs/ti_omap5_common.h | 11 +++ include/env/ti/mmc.h | 1 + 2 files

[uU PATCH 2/3] configs: omap5: Enable custom mmc boot to distroboot for AM57x

2025-02-11 Thread Anurag Dutta
boot Signed-off-by: Sinthu Raja Signed-off-by: Anurag Dutta --- include/configs/ti_omap5_common.h | 15 +++ 1 file changed, 15 insertions(+) diff --git a/include/configs/ti_omap5_common.h b/include/configs/ti_omap5_common.h index d315a52f36f..ef97711e644 100644 --- a/include/configs

[uU PATCH 1/3] include: configs: Override get_fit_config to get FIT config for AM57x

2025-02-11 Thread Anurag Dutta
7_common.h is common for both K3 and AM57xx platforms. AM57xx platforms' fdtfile name does not have '/' and "conf-" prefix so the setexpr command fails and boot hangs. Override the get_fit_config in AM57x specific config header to get the correct FIT config name. Sign

[uU PATCH 0/3] FIT Image Boot Fixes for am57xx_hs_evm

2025-02-11 Thread Anurag Dutta
The u-boot is unable to load the FIT image due to incorrect boot arguments in case of am57_hs evm as can be seen in [1]. This series introduces multiple changes pertaining to several environment variables and overlays that are responsible for successful [2] loading of kernel image. Test links: [1]

[PATCH 2/3] configs: j7200_evm_a72_defconfig: Enable MUX_MMIO at SPL

2025-03-19 Thread Anurag Dutta
MUX_MMIO is required in SPL stage in order to boot hyperflash successfully. Add configs to enable MUX_MMIO in SPL stage. Signed-off-by: Anurag Dutta --- configs/j7200_evm_a72_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/j7200_evm_a72_defconfig b/configs

[PATCH 3/3] configs: j721e_evm_a72_defconfig: Enable MUX_MMIO at SPL

2025-03-19 Thread Anurag Dutta
MUX_MMIO is required in SPL stage in order to boot hyperflash successfully. Add configs to enable MUX_MMIO in SPL stage. Signed-off-by: Anurag Dutta --- configs/j721e_evm_a72_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/j721e_evm_a72_defconfig b/configs

[PATCH 1/3] mux: Kconfig: Add Kconfig options for MUX_MMIO

2025-03-19 Thread Anurag Dutta
Add Kconfig options for MUX_MMIO so that it can be enabled in SPL stage. Signed-off-by: Anurag Dutta --- drivers/mux/Kconfig | 10 ++ 1 file changed, 10 insertions(+) diff --git a/drivers/mux/Kconfig b/drivers/mux/Kconfig index f15ee4f833f..2b95eb02177 100644 --- a/drivers/mux/Kconfig

[PATCH 0/3] Enable MUX_MMIO at SPL stage

2025-03-20 Thread Anurag Dutta
This series enables MUX_MMIO at SPL stage for j7200 and j721e as it is required for successful hyperflash boot. Test logs : https://gist.github.com/anuragdutta731/b4c79ef8da56d8c50b38d953c9da4d45 Anurag Dutta (3): mux: Kconfig: Add Kconfig options for MUX_MMIO configs

[PATCH 2/2] arm: dts: k3-j721e-r5-common-proc-board: Enable HBMC in R5 SPL stage

2025-04-15 Thread Anurag Dutta
Enable HBMC in the R5 SPL stage Signed-off-by: Anurag Dutta --- arch/arm/dts/k3-j721e-r5-common-proc-board.dts | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/dts/k3-j721e-r5-common-proc-board.dts b/arch/arm/dts/k3-j721e-r5-common-proc-board.dts index c775432505b..e4f799dfb27

[PATCH 1/2] mtd: Kconfig: Add SPL_MUX_MMIO dependency to HBMC driver

2025-04-15 Thread Anurag Dutta
The MUX_MMIO is enabled both in SPL as well as U-Boot proper. Hence, add SPL_MUX_MMIO dependency from HBMC driver. Signed-off-by: Anurag Dutta --- drivers/mtd/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mtd/Kconfig b/drivers/mtd/Kconfig index 2b7f5e5ed7b

[PATCH 0/2] Hyperflash boot fixes for j721e

2025-04-15 Thread Anurag Dutta
This series introdues a couple of small fixes that involves enabling hyperflash at R5 SPL stage and Kconfig changes that are required for HBMC boot on j721e Test logs : https://gist.github.com/anuragdutta731/103e84e84f013093fa089803719d997d Anurag Dutta (2): mtd: Kconfig: Add SPL_MUX_MMIO

[PATCH 2/2] board: ti: am57xx: Set fdtfile from C code instead of findfdt script

2025-04-24 Thread Anurag Dutta
We now can provide a map and have the standard fdtfile variable set from code itself. This allows for bootstd to "just work". While at this, replace findfdt in environment with a warning as it is no longer needed. Signed-off-by: Anurag Dutta --- board/ti/am57xx/board.c

[PATCH 0/2] AM57 Boot fixes

2025-04-24 Thread Anurag Dutta
The directory structure for omap has changed to /boot/dtb/ti/omap/. This results in "Failed to load '/boot/' error". Do relevant changes so that the fdtfile can be set from C code. Logs: https://gist.github.com/anuragdutta731/3b58f48f7ddc07b7b8a98ca436a06e3a Anurag Dutta (2)

[PATCH 1/2] include: env: ti: mmc.h: Find DTB files in dtb directory for AM57xx

2025-04-24 Thread Anurag Dutta
Add dtb/ to the DTB search path. Signed-off-by: Anurag Dutta --- include/env/ti/mmc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/env/ti/mmc.h b/include/env/ti/mmc.h index dbb0e3559ea..968d6ec03dc 100644 --- a/include/env/ti/mmc.h +++ b/include/env/ti/mmc.h