Skip to contentSkip to conversation

configs: phycore_am64x_a53_defconfig: Enable remoteproc cmd

PATCH In review Daniel Schultz 3 participants 7 messages Mar 28, 2025 – Apr 11, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/3 configs: phycore_am64x_a53_defconfig: Enable remoteproc cmd

This enables the 'rproc' command, allowing users to start, stop, and manage co-processors as well as load firmware images.

Useful for systems with auxiliary cores, such as M4 or R5 cores in the AM64x soc.

---
 configs/phycore_am64x_a53_defconfig | 1 +
 1 file changed, 1 insertion(+)
configs/phycore_am64x_a53_defconfig +1 -0
index 4ee1bd829a3..72936865132 100644
@@ -77,6 +77,7 @@ CONFIG_CMD_GPT=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_MMC=y
 CONFIG_CMD_MTD=y
+CONFIG_CMD_REMOTEPROC=y
 CONFIG_CMD_USB=y
 CONFIG_CMD_CACHE=y
 CONFIG_CMD_EFIDEBUG=y
Signature · 1 line
2.25.1
#1 lore raw

PATCH 2/3 configs: phycore_am62x_a53_defconfig: Enable remoteproc cmd

This enables the 'rproc' command, allowing users to start, stop, and manage co-processors as well as load firmware images.

Useful for systems with auxiliary cores, such as the M4 core in the AM62x soc.

---
 configs/phycore_am62x_a53_defconfig | 1 +
 1 file changed, 1 insertion(+)
configs/phycore_am62x_a53_defconfig +1 -0
index 03d4618df38..c1a46bc40a9 100644
@@ -76,6 +76,7 @@ CONFIG_CMD_DFU=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_MMC=y
 CONFIG_CMD_MTD=y
+CONFIG_CMD_REMOTEPROC=y
 CONFIG_CMD_USB=y
 CONFIG_CMD_CACHE=y
 CONFIG_CMD_EFIDEBUG=y
Signature · 1 line
2.25.1
#3 lore raw

PATCH 3/3 configs: phycore_am62x_a53_defconfig: Enable gpio

In reply to Daniel Schultz

The AM62x uses the DA8XX (DaVinci) GPIO controller. Enable CONFIG_DA8XX_GPIO to support GPIO access from the Cortex-A53.

Also enable the 'gpio' command to allow users to interact with GPIOs from the U-Boot shell.

---
 configs/phycore_am62x_a53_defconfig | 4 ++++
 1 file changed, 4 insertions(+)
configs/phycore_am62x_a53_defconfig +4 -0
index c1a46bc40a9..3622e1a7cf2 100644
@@ -3,6 +3,7 @@ CONFIG_ARM_SMCCC=y
 CONFIG_ARCH_K3=y
 CONFIG_SYS_MALLOC_LEN=0x2000000
 CONFIG_SYS_MALLOC_F_LEN=0x8000
+CONFIG_SPL_GPIO=y
 CONFIG_SPL_LIBCOMMON_SUPPORT=y
 CONFIG_SPL_LIBGENERIC_SUPPORT=y
 CONFIG_SOC_K3_AM625=y
@@ -14,6 +15,7 @@ CONFIG_SF_DEFAULT_SPEED=25000000
 CONFIG_ENV_SIZE=0x20000
 CONFIG_ENV_OFFSET=0x680000
 CONFIG_ENV_SECT_SIZE=0x20000
+CONFIG_DM_GPIO=y
 CONFIG_SPL_DM_SPI=y
 CONFIG_DEFAULT_DEVICE_TREE="ti/k3-am625-phyboard-lyra-rdk"
 CONFIG_OF_LIBFDT_OVERLAY=y
@@ -73,6 +75,7 @@ CONFIG_SPL_YMODEM_SUPPORT=y
 CONFIG_CMD_BOOTEFI_SELFTEST=y
 CONFIG_CMD_NVEDIT_EFI=y
 CONFIG_CMD_DFU=y
+CONFIG_CMD_GPIO=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_MMC=y
 CONFIG_CMD_MTD=y
@@ -112,6 +115,7 @@ CONFIG_SYS_DFU_MAX_FILE_SIZE=0x800000
 CONFIG_DMA_CHANNELS=y
 CONFIG_TI_K3_NAVSS_UDMA=y
 CONFIG_TI_SCI_PROTOCOL=y
+CONFIG_DA8XX_GPIO=y
 CONFIG_DM_I2C=y
 CONFIG_SYS_I2C_OMAP24XX=y
 CONFIG_DM_MAILBOX=y
Signature · 1 line
2.25.1
Reviewed-by on v1 1/3
#5 lore raw
In reply to Daniel Schultz

Hi Daniel,

Thank you for the patch.

Quoted 8 lines · Daniel Schultz

This enables the 'rproc' command, allowing users to start, stop, and manage co-processors as well as load firmware images.

Useful for systems with auxiliary cores, such as M4 or R5 cores in the AM64x soc.

Quoted 18 lines
---
 configs/phycore_am64x_a53_defconfig | 1 +
 1 file changed, 1 insertion(+)
configs/phycore_am64x_a53_defconfig +1 -0
index 4ee1bd829a3..72936865132 100644
@@ -77,6 +77,7 @@ CONFIG_CMD_GPT=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_MMC=y
 CONFIG_CMD_MTD=y
+CONFIG_CMD_REMOTEPROC=y
 CONFIG_CMD_USB=y
 CONFIG_CMD_CACHE=y
 CONFIG_CMD_EFIDEBUG=y
Signature · 1 line
2.25.1
Reviewed-by on v1 2/3
#2 lore raw

Re: [PATCH 2/3] configs: phycore_am62x_a53_defconfig: Enable remoteproc cmd

In reply to Daniel Schultz

Hi Daniel,

Thank you for the patch.

Quoted 8 lines · Daniel Schultz

This enables the 'rproc' command, allowing users to start, stop, and manage co-processors as well as load firmware images.

Useful for systems with auxiliary cores, such as the M4 core in the AM62x soc.

Quoted 18 lines
---
 configs/phycore_am62x_a53_defconfig | 1 +
 1 file changed, 1 insertion(+)
configs/phycore_am62x_a53_defconfig +1 -0
index 03d4618df38..c1a46bc40a9 100644
@@ -76,6 +76,7 @@ CONFIG_CMD_DFU=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_MMC=y
 CONFIG_CMD_MTD=y
+CONFIG_CMD_REMOTEPROC=y
 CONFIG_CMD_USB=y
 CONFIG_CMD_CACHE=y
 CONFIG_CMD_EFIDEBUG=y
Signature · 1 line
2.25.1
Reviewed-by on v1 3/3
#4 lore raw

Re: [PATCH 3/3] configs: phycore_am62x_a53_defconfig: Enable gpio

In reply to Daniel Schultz

Hi Daniel,

Thank you for the patch.

Quoted 7 lines · Daniel Schultz

The AM62x uses the DA8XX (DaVinci) GPIO controller. Enable CONFIG_DA8XX_GPIO to support GPIO access from the Cortex-A53.

Also enable the 'gpio' command to allow users to interact with GPIOs from the U-Boot shell.

Quoted 42 lines
---
 configs/phycore_am62x_a53_defconfig | 4 ++++
 1 file changed, 4 insertions(+)
configs/phycore_am62x_a53_defconfig +4 -0
index c1a46bc40a9..3622e1a7cf2 100644
@@ -3,6 +3,7 @@ CONFIG_ARM_SMCCC=y
 CONFIG_ARCH_K3=y
 CONFIG_SYS_MALLOC_LEN=0x2000000
 CONFIG_SYS_MALLOC_F_LEN=0x8000
+CONFIG_SPL_GPIO=y
 CONFIG_SPL_LIBCOMMON_SUPPORT=y
 CONFIG_SPL_LIBGENERIC_SUPPORT=y
 CONFIG_SOC_K3_AM625=y
@@ -14,6 +15,7 @@ CONFIG_SF_DEFAULT_SPEED=25000000
 CONFIG_ENV_SIZE=0x20000
 CONFIG_ENV_OFFSET=0x680000
 CONFIG_ENV_SECT_SIZE=0x20000
+CONFIG_DM_GPIO=y
 CONFIG_SPL_DM_SPI=y
 CONFIG_DEFAULT_DEVICE_TREE="ti/k3-am625-phyboard-lyra-rdk"
 CONFIG_OF_LIBFDT_OVERLAY=y
@@ -73,6 +75,7 @@ CONFIG_SPL_YMODEM_SUPPORT=y
 CONFIG_CMD_BOOTEFI_SELFTEST=y
 CONFIG_CMD_NVEDIT_EFI=y
 CONFIG_CMD_DFU=y
+CONFIG_CMD_GPIO=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_MMC=y
 CONFIG_CMD_MTD=y
@@ -112,6 +115,7 @@ CONFIG_SYS_DFU_MAX_FILE_SIZE=0x800000
 CONFIG_DMA_CHANNELS=y
 CONFIG_TI_K3_NAVSS_UDMA=y
 CONFIG_TI_SCI_PROTOCOL=y
+CONFIG_DA8XX_GPIO=y
 CONFIG_DM_I2C=y
 CONFIG_SYS_I2C_OMAP24XX=y
 CONFIG_DM_MAILBOX=y
Signature · 1 line
2.25.1
#6 lore raw
In reply to Daniel Schultz
Quoted 8 lines · Daniel Schultz

This enables the 'rproc' command, allowing users to start, stop, and manage co-processors as well as load firmware images.

Useful for systems with auxiliary cores, such as M4 or R5 cores in the AM64x soc.

[...]

Applied to u-boot/master, thanks!

[1/3] configs: phycore_am64x_a53_defconfig: Enable remoteproc cmd

      commit: 0819316de97ed57cb094f2ac50a5b4ab138f6e7a
[2/3] configs: phycore_am62x_a53_defconfig: Enable remoteproc cmd
      commit: a8ec1f11322286263d24e7cf931728557ccbe4ea
[3/3] configs: phycore_am62x_a53_defconfig: Enable gpio
      commit: 6d4d4ee519f4dfc799c1851f13e8be0634ec7911
Signature · 1 line
Tom