Hyperflash boot fixes for j721e/j7200
Subsystems (2)
v4 cover Hyperflash boot fixes for j721e/j7200
Hi all,
This series introdues a couple of small fixes that involves enabling hyperflash at R5 SPL and u-boot proper stage and Kconfig changes that are required for HBMC boot on j721e/j7200
Test logs:
https://gist.github.com/anuragdutta731/0f56e8d9bdf0cfe3d221c69d09a58704
Changelog: v4:
1. Removed fixes tag from commit message
2. Added configs for j7200 as well
Link to v3:
https://lore.kernel.org/all/[email protected]/
Changelog : v3 :
1. Modified commit messages and added correct fixes tag
Link to v2:
https://lore.kernel.org/all/[email protected]/
Changelog : v2 :
1. Modified commit messages according to review comments
2. Added configs for r5 spl for j721e for hbmc boot
Link to v1 :
https://lore.kernel.org/all/[email protected]/
P.S.: We have cross-checked the generated .config file to verify whether the configurations added in this series are actually reflected. And Yes, they are. So, please include this series in the 2025.10 master.
Anurag Dutta (4):
mtd: Kconfig: Add SPL_MUX_MMIO dependency to HBMC driver
configs: j721e_evm_r5: Enable HBMC and MUX_MMIO at SPL
configs: j7200_evm_*_defconfig: Enable HBMC and MUX_MMIO at SPL
arm: dts: k3-j721e-r5-common-proc-board: Enable HBMC in R5 SPL stage
arch/arm/dts/k3-j721e-r5-common-proc-board.dts | 1 + configs/j7200_evm_a72_defconfig | 1 + configs/j7200_evm_r5_defconfig | 2 ++ configs/j721e_evm_r5_defconfig | 2 ++ drivers/mtd/Kconfig | 2 +- 5 files changed, 7 insertions(+), 1 deletion(-)
Signature · 1 line
2.34.1
PATCH v4 1/4 mtd: Kconfig: Add SPL_MUX_MMIO dependency to HBMC driver
MUX_MMIO is needed by HBMC in SPL stage. Enable it at SPL as well as u-boot proper stage.
--- drivers/mtd/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/mtd/Kconfig +1 -1
@@ -202,7 +202,7 @@ config RENESAS_RPC_HF config HBMC_AM654 bool "HyperBus controller driver for AM65x SoC" - depends on MULTIPLEXER && MUX_MMIO + depends on MULTIPLEXER && (MUX_MMIO || SPL_MUX_MMIO) help This is the driver for HyperBus controller on TI's AM65x and other SoCs
Signature · 1 line
2.34.1
PATCH v4 2/4 configs: j721e_evm_r5: Enable HBMC and MUX_MMIO at SPL
In reply to Anurag DuttaAdd the HBMC and MUX_MMIO configs in the R5 SPL stage for successful HBMC boot.
--- configs/j721e_evm_r5_defconfig | 2 ++ 1 file changed, 2 insertions(+)
configs/j721e_evm_r5_defconfig +2 -0
@@ -124,6 +124,7 @@ CONFIG_CFI_FLASH=y CONFIG_SYS_FLASH_USE_BUFFER_WRITE=y CONFIG_FLASH_CFI_MTD=y CONFIG_SYS_FLASH_CFI=y +CONFIG_HBMC_AM654=y CONFIG_DM_SPI_FLASH=y CONFIG_SPI_FLASH_SFDP_SUPPORT=y CONFIG_SPI_FLASH_SOFT_RESET=y
@@ -133,6 +134,7 @@ CONFIG_SPI_FLASH_S28HX_T=y CONFIG_SPI_FLASH_STMICRO=y CONFIG_SPI_FLASH_MT35XU=y CONFIG_MULTIPLEXER=y +CONFIG_SPL_MUX_MMIO=y CONFIG_PINCTRL=y # CONFIG_PINCTRL_GENERIC is not set CONFIG_SPL_PINCTRL=y
Signature · 1 line
2.34.1
PATCH v4 3/4 configs: j7200_evm_*_defconfig: Enable HBMC and MUX_MMIO at SPL
In reply to Anurag DuttaAdd the HBMC and MUX_MMIO configs in the SPL and u-boot proper stage for successful HBMC boot.
--- configs/j7200_evm_a72_defconfig | 1 + configs/j7200_evm_r5_defconfig | 2 ++ 2 files changed, 3 insertions(+)
configs/j7200_evm_a72_defconfig +1 -0
@@ -132,6 +132,7 @@ CONFIG_CFI_FLASH=y CONFIG_SYS_FLASH_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
configs/j7200_evm_r5_defconfig +2 -0
@@ -116,6 +116,7 @@ CONFIG_CFI_FLASH=y CONFIG_SYS_FLASH_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
@@ -124,6 +125,7 @@ CONFIG_SPI_FLASH_SOFT_RESET_ON_BOOT=y CONFIG_SPI_FLASH_SPANSION=y CONFIG_SPI_FLASH_S28HX_T=y CONFIG_MULTIPLEXER=y +CONFIG_SPL_MUX_MMIO=y CONFIG_PINCTRL=y # CONFIG_PINCTRL_GENERIC is not set CONFIG_SPL_PINCTRL=y
Signature · 1 line
2.34.1
PATCH v4 4/4 arm: dts: k3-j721e-r5-common-proc-board: Enable HBMC in R5 SPL stage
In reply to Anurag DuttaEnable HBMC in the R5 SPL stage
--- arch/arm/dts/k3-j721e-r5-common-proc-board.dts | 1 + 1 file changed, 1 insertion(+)
arch/arm/dts/k3-j721e-r5-common-proc-board.dts +1 -0
@@ -52,6 +52,7 @@ }; &hbmc { + status = "okay"; reg = <0x0 0x47040000 0x0 0x100>, <0x0 0x50000000 0x0 0x8000000>; ranges = <0x0 0x0 0x0 0x50000000 0x4000000>,
Signature · 1 line
2.34.1
Quoted 8 lines · Anurag Dutta
This series introdues a couple of small fixes that involves enabling hyperflash at R5 SPL and u-boot proper stage and
Kconfigchanges that are required for HBMC boot on j721e/j7200Test logs:
https://gist.github.com/anuragdutta731/0f56e8d9bdf0cfe3d221c69d09a58704[...]
Applied to u-boot/master, thanks!
[1/4] mtd: Kconfig: Add SPL_MUX_MMIO dependency to HBMC driver
commit: dd4039e380db3558319866e5f03a3949d88af9bd
[2/4] configs: j721e_evm_r5: Enable HBMC and MUX_MMIO at SPL
commit: 96cbe36c0bad28fadfdd34e52b8ba87c7918c5dc
[3/4] configs: j7200_evm_*_defconfig: Enable HBMC and MUX_MMIO at SPL
commit: 517744041f37751de094ddef3efcf7a1c5fe1e71
[4/4] arm: dts: k3-j721e-r5-common-proc-board: Enable HBMC in R5 SPL stage
commit: 6d4320d7612b6bbb907b2f157c503ad9175a8d43Signature · 1 line
Tom