U-Boot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/3] configs: phycore_am64x_a53_defconfig: Enable remoteproc cmd
@ 2025-03-28  5:58 Daniel Schultz
  2025-03-28  5:58 ` [PATCH 2/3] configs: phycore_am62x_a53_defconfig: " Daniel Schultz
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Daniel Schultz @ 2025-03-28  5:58 UTC (permalink / raw)
  To: w.egorov, trini, u-boot; +Cc: mkorpershoek, B.Hahn, upstream, 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.

Signed-off-by: Daniel Schultz <d.schultz@phytec.de>
---
 configs/phycore_am64x_a53_defconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/configs/phycore_am64x_a53_defconfig b/configs/phycore_am64x_a53_defconfig
index 4ee1bd829a3..72936865132 100644
--- a/configs/phycore_am64x_a53_defconfig
+++ b/configs/phycore_am64x_a53_defconfig
@@ -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
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [PATCH 2/3] configs: phycore_am62x_a53_defconfig: Enable remoteproc cmd
  2025-03-28  5:58 [PATCH 1/3] configs: phycore_am64x_a53_defconfig: Enable remoteproc cmd Daniel Schultz
@ 2025-03-28  5:58 ` Daniel Schultz
  2025-03-31  8:52   ` Mattijs Korpershoek
  2025-03-28  5:58 ` [PATCH 3/3] configs: phycore_am62x_a53_defconfig: Enable gpio Daniel Schultz
                   ` (2 subsequent siblings)
  3 siblings, 1 reply; 7+ messages in thread
From: Daniel Schultz @ 2025-03-28  5:58 UTC (permalink / raw)
  To: w.egorov, trini, u-boot; +Cc: mkorpershoek, B.Hahn, upstream, 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.

Signed-off-by: Daniel Schultz <d.schultz@phytec.de>
---
 configs/phycore_am62x_a53_defconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/configs/phycore_am62x_a53_defconfig b/configs/phycore_am62x_a53_defconfig
index 03d4618df38..c1a46bc40a9 100644
--- a/configs/phycore_am62x_a53_defconfig
+++ b/configs/phycore_am62x_a53_defconfig
@@ -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
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [PATCH 3/3] configs: phycore_am62x_a53_defconfig: Enable gpio
  2025-03-28  5:58 [PATCH 1/3] configs: phycore_am64x_a53_defconfig: Enable remoteproc cmd Daniel Schultz
  2025-03-28  5:58 ` [PATCH 2/3] configs: phycore_am62x_a53_defconfig: " Daniel Schultz
@ 2025-03-28  5:58 ` Daniel Schultz
  2025-03-31  8:53   ` Mattijs Korpershoek
  2025-03-31  8:52 ` [PATCH 1/3] configs: phycore_am64x_a53_defconfig: Enable remoteproc cmd Mattijs Korpershoek
  2025-04-11 19:16 ` Tom Rini
  3 siblings, 1 reply; 7+ messages in thread
From: Daniel Schultz @ 2025-03-28  5:58 UTC (permalink / raw)
  To: w.egorov, trini, u-boot; +Cc: mkorpershoek, B.Hahn, upstream, 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.

Signed-off-by: Daniel Schultz <d.schultz@phytec.de>
---
 configs/phycore_am62x_a53_defconfig | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/configs/phycore_am62x_a53_defconfig b/configs/phycore_am62x_a53_defconfig
index c1a46bc40a9..3622e1a7cf2 100644
--- a/configs/phycore_am62x_a53_defconfig
+++ b/configs/phycore_am62x_a53_defconfig
@@ -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
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* Re: [PATCH 1/3] configs: phycore_am64x_a53_defconfig: Enable remoteproc cmd
  2025-03-28  5:58 [PATCH 1/3] configs: phycore_am64x_a53_defconfig: Enable remoteproc cmd Daniel Schultz
  2025-03-28  5:58 ` [PATCH 2/3] configs: phycore_am62x_a53_defconfig: " Daniel Schultz
  2025-03-28  5:58 ` [PATCH 3/3] configs: phycore_am62x_a53_defconfig: Enable gpio Daniel Schultz
@ 2025-03-31  8:52 ` Mattijs Korpershoek
  2025-04-11 19:16 ` Tom Rini
  3 siblings, 0 replies; 7+ messages in thread
From: Mattijs Korpershoek @ 2025-03-31  8:52 UTC (permalink / raw)
  To: Daniel Schultz, w.egorov, trini, u-boot; +Cc: B.Hahn, upstream, Daniel Schultz

Hi Daniel,

Thank you for the patch.

On jeu., mars 27, 2025 at 22:58, Daniel Schultz <d.schultz@phytec.de> wrote:

> 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.
>
> Signed-off-by: Daniel Schultz <d.schultz@phytec.de>

Reviewed-by: Mattijs Korpershoek <mkorpershoek@baylibre.com>

> ---
>  configs/phycore_am64x_a53_defconfig | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/configs/phycore_am64x_a53_defconfig b/configs/phycore_am64x_a53_defconfig
> index 4ee1bd829a3..72936865132 100644
> --- a/configs/phycore_am64x_a53_defconfig
> +++ b/configs/phycore_am64x_a53_defconfig
> @@ -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
> -- 
> 2.25.1

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH 2/3] configs: phycore_am62x_a53_defconfig: Enable remoteproc cmd
  2025-03-28  5:58 ` [PATCH 2/3] configs: phycore_am62x_a53_defconfig: " Daniel Schultz
@ 2025-03-31  8:52   ` Mattijs Korpershoek
  0 siblings, 0 replies; 7+ messages in thread
From: Mattijs Korpershoek @ 2025-03-31  8:52 UTC (permalink / raw)
  To: Daniel Schultz, w.egorov, trini, u-boot; +Cc: B.Hahn, upstream, Daniel Schultz

Hi Daniel,

Thank you for the patch.

On jeu., mars 27, 2025 at 22:58, Daniel Schultz <d.schultz@phytec.de> wrote:

> 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.
>
> Signed-off-by: Daniel Schultz <d.schultz@phytec.de>

Reviewed-by: Mattijs Korpershoek <mkorpershoek@baylibre.com>

> ---
>  configs/phycore_am62x_a53_defconfig | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/configs/phycore_am62x_a53_defconfig b/configs/phycore_am62x_a53_defconfig
> index 03d4618df38..c1a46bc40a9 100644
> --- a/configs/phycore_am62x_a53_defconfig
> +++ b/configs/phycore_am62x_a53_defconfig
> @@ -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
> -- 
> 2.25.1

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH 3/3] configs: phycore_am62x_a53_defconfig: Enable gpio
  2025-03-28  5:58 ` [PATCH 3/3] configs: phycore_am62x_a53_defconfig: Enable gpio Daniel Schultz
@ 2025-03-31  8:53   ` Mattijs Korpershoek
  0 siblings, 0 replies; 7+ messages in thread
From: Mattijs Korpershoek @ 2025-03-31  8:53 UTC (permalink / raw)
  To: Daniel Schultz, w.egorov, trini, u-boot; +Cc: B.Hahn, upstream, Daniel Schultz

Hi Daniel,

Thank you for the patch.

On jeu., mars 27, 2025 at 22:58, Daniel Schultz <d.schultz@phytec.de> wrote:

> 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.
>
> Signed-off-by: Daniel Schultz <d.schultz@phytec.de>

Reviewed-by: Mattijs Korpershoek <mkorpershoek@baylibre.com>

> ---
>  configs/phycore_am62x_a53_defconfig | 4 ++++
>  1 file changed, 4 insertions(+)
>
> diff --git a/configs/phycore_am62x_a53_defconfig b/configs/phycore_am62x_a53_defconfig
> index c1a46bc40a9..3622e1a7cf2 100644
> --- a/configs/phycore_am62x_a53_defconfig
> +++ b/configs/phycore_am62x_a53_defconfig
> @@ -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
> -- 
> 2.25.1

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH 1/3] configs: phycore_am64x_a53_defconfig: Enable remoteproc cmd
  2025-03-28  5:58 [PATCH 1/3] configs: phycore_am64x_a53_defconfig: Enable remoteproc cmd Daniel Schultz
                   ` (2 preceding siblings ...)
  2025-03-31  8:52 ` [PATCH 1/3] configs: phycore_am64x_a53_defconfig: Enable remoteproc cmd Mattijs Korpershoek
@ 2025-04-11 19:16 ` Tom Rini
  3 siblings, 0 replies; 7+ messages in thread
From: Tom Rini @ 2025-04-11 19:16 UTC (permalink / raw)
  To: w.egorov, u-boot, Daniel Schultz; +Cc: B.Hahn, upstream, Mattijs Korpershoek

On Thu, 27 Mar 2025 22:58:22 -0700, Daniel Schultz wrote:

> 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
-- 
Tom



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2025-04-11 19:17 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-28  5:58 [PATCH 1/3] configs: phycore_am64x_a53_defconfig: Enable remoteproc cmd Daniel Schultz
2025-03-28  5:58 ` [PATCH 2/3] configs: phycore_am62x_a53_defconfig: " Daniel Schultz
2025-03-31  8:52   ` Mattijs Korpershoek
2025-03-28  5:58 ` [PATCH 3/3] configs: phycore_am62x_a53_defconfig: Enable gpio Daniel Schultz
2025-03-31  8:53   ` Mattijs Korpershoek
2025-03-31  8:52 ` [PATCH 1/3] configs: phycore_am64x_a53_defconfig: Enable remoteproc cmd Mattijs Korpershoek
2025-04-11 19:16 ` Tom Rini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox