Add remoteproc support for J784S4 SoCs
cover Add remoteproc support for J784S4 SoCs
Hello All,
This series adds remoteproc support for TI's J784S4 SoCs. The K3 J784S4 SoCs have four dual-core R5F subsystems and four C71x DSP subsystems. Enable the remoteproc drivers in defconfig and set the rproc firmware names to add remoteproc support.
Note: No driver changes are required as J784S4 SoCs have the same data as J721S2 SoCs. Thus, utilize the existing compatible string for driver probe.
Beleswar Padhi (2):
configs: j784s4_evm_a72_defconfig: Enable remoteproc drivers
board: ti: j784s4: j784s4.env: Set remoteproc firmware names
board/ti/j784s4/j784s4.env | 6 ++++++ configs/j784s4_evm_a72_defconfig | 3 +++ 2 files changed, 9 insertions(+)
Signature · 1 line
2.34.1
PATCH 1/2 configs: j784s4_evm_a72_defconfig: Enable remoteproc drivers
The K3 J784S4 SoC has four dual-core R5F subsystems and four C71x DSP subsystems. Set config values to enable the remoteproc functionality with these R5F and DSP subsystems.
--- configs/j784s4_evm_a72_defconfig | 3 +++ 1 file changed, 3 insertions(+)
configs/j784s4_evm_a72_defconfig +3 -0
@@ -59,6 +59,7 @@ CONFIG_CMD_GPT=y CONFIG_CMD_I2C=y CONFIG_CMD_MMC=y CONFIG_CMD_MTD=y +CONFIG_CMD_REMOTEPROC=y CONFIG_CMD_TIME=y CONFIG_CMD_EXT4_WRITE=y CONFIG_OF_CONTROL=y
@@ -134,6 +135,8 @@ CONFIG_DM_REGULATOR_FIXED=y CONFIG_DM_REGULATOR_GPIO=y CONFIG_RAM=y CONFIG_SPL_RAM=y +CONFIG_REMOTEPROC_TI_K3_DSP=y +CONFIG_REMOTEPROC_TI_K3_R5F=y CONFIG_RESET_TI_SCI=y CONFIG_SCSI=y CONFIG_DM_SERIAL=y
Signature · 1 line
2.34.1
PATCH 2/2 board: ti: j784s4: j784s4.env: Set remoteproc firmware names
In reply to Beleswar PadhiInclude k3_rproc.env to access rproc boot commands and specify rproc firmware names for adding remoteproc support in J784S4 SoCs.
--- board/ti/j784s4/j784s4.env | 6 ++++++ 1 file changed, 6 insertions(+)
board/ti/j784s4/j784s4.env +6 -0
@@ -3,6 +3,10 @@ #include <env/ti/ufs.env> #include <env/ti/k3_dfu.env> +#if CONFIG_CMD_REMOTEPROC +#include <env/ti/k3_rproc.env> +#endif + name_kern=Image console=ttyS2,115200n8 args_all=setenv optargs ${optargs} earlycon=ns16550a,mmio32,0x02880000
@@ -15,3 +19,5 @@ mmcdev=1 bootpart=1:2 bootdir=/boot rd_spec=- + +rproc_fw_binaries= 2 /lib/firmware/j784s4-main-r5f0_0-fw 3 /lib/firmware/j784s4-main-r5f0_1-fw 4 /lib/firmware/j784s4-main-r5f1_0-fw 5 /lib/firmware/j784s4-main-r5f1_1-fw 6 /lib/firmware/j784s4-main-r5f2_0-fw 7 /lib/firmware/j784s4-main-r5f2_1-fw 8 /lib/firmware/j784s4-c71_0-fw 9 /lib/firmware/j784s4-c71_1-fw 10 /lib/firmware/j784s4-c71_2-fw 11 /lib/firmware/j784s4-c71_3-fw
Signature · 1 line
2.34.1
Quoted 10 lines · Beleswar Padhi
This series adds remoteproc support for TI's J784S4 SoCs. The K3 J784S4 SoCs have four dual-core R5F subsystems and four C71x DSP subsystems. Enable the remoteproc drivers in defconfig and set the rproc firmware names to add remoteproc support.
Note: No driver changes are required as J784S4 SoCs have the same data as J721S2 SoCs. Thus, utilize the existing compatible string for driver probe.
[...]
Applied to u-boot/next, thanks!
Signature · 1 line
Tom