* [PATCH 1/4] configs: phycore_am62x_a53: Add more commands
@ 2024-07-01 6:20 Daniel Schultz
2024-07-01 6:20 ` [PATCH 2/4] configs: phycore_am64x_a53: " Daniel Schultz
` (4 more replies)
0 siblings, 5 replies; 6+ messages in thread
From: Daniel Schultz @ 2024-07-01 6:20 UTC (permalink / raw)
To: u-boot, upstream
Cc: w.egorov, trini, d-gole, mkorpershoek, nm, Daniel Schultz
Add i2c and rtc commands with all dependencies which are
required for testing.
Additionally, add smc and cache commands to boot Zephyr on the A53.
Signed-off-by: Daniel Schultz <d.schultz@phytec.de>
---
configs/phycore_am62x_a53_defconfig | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/configs/phycore_am62x_a53_defconfig b/configs/phycore_am62x_a53_defconfig
index 56302383c0f..06b8834e074 100644
--- a/configs/phycore_am62x_a53_defconfig
+++ b/configs/phycore_am62x_a53_defconfig
@@ -1,4 +1,5 @@
CONFIG_ARM=y
+CONFIG_ARM_SMCCC=y
CONFIG_ARCH_K3=y
CONFIG_SYS_MALLOC_LEN=0x2000000
CONFIG_SYS_MALLOC_F_LEN=0x8000
@@ -63,9 +64,13 @@ CONFIG_SPL_SPI_LOAD=y
CONFIG_SYS_SPI_U_BOOT_OFFS=0x280000
CONFIG_SPL_YMODEM_SUPPORT=y
CONFIG_CMD_DFU=y
+CONFIG_CMD_I2C=y
CONFIG_CMD_MMC=y
CONFIG_CMD_MTD=y
CONFIG_CMD_USB=y
+CONFIG_CMD_CACHE=y
+CONFIG_CMD_RTC=y
+CONFIG_CMD_SMC=y
CONFIG_OF_CONTROL=y
CONFIG_SPL_OF_CONTROL=y
CONFIG_MULTI_DTB_FIT=y
@@ -123,6 +128,8 @@ CONFIG_TI_SCI_POWER_DOMAIN=y
CONFIG_K3_SYSTEM_CONTROLLER=y
CONFIG_REMOTEPROC_TI_K3_ARM64=y
CONFIG_RESET_TI_SCI=y
+CONFIG_DM_RTC=y
+CONFIG_RTC_RV3028=y
CONFIG_DM_SERIAL=y
CONFIG_SOC_DEVICE=y
CONFIG_SOC_DEVICE_TI_K3=y
--
2.25.1
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [PATCH 2/4] configs: phycore_am64x_a53: Add more commands
2024-07-01 6:20 [PATCH 1/4] configs: phycore_am62x_a53: Add more commands Daniel Schultz
@ 2024-07-01 6:20 ` Daniel Schultz
2024-07-01 6:20 ` [PATCH 3/4] board: phytec: phycore_am62x: Move earlycon into own variable Daniel Schultz
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: Daniel Schultz @ 2024-07-01 6:20 UTC (permalink / raw)
To: u-boot, upstream
Cc: w.egorov, trini, d-gole, mkorpershoek, nm, Daniel Schultz
Add the rtc command for testing this device. Additionally, add smc
and cache commands to boot non-Linux firmwares on the A53.
Signed-off-by: Daniel Schultz <d.schultz@phytec.de>
---
configs/phycore_am64x_a53_defconfig | 3 +++
1 file changed, 3 insertions(+)
diff --git a/configs/phycore_am64x_a53_defconfig b/configs/phycore_am64x_a53_defconfig
index dac82f99a1a..fe09f79796d 100644
--- a/configs/phycore_am64x_a53_defconfig
+++ b/configs/phycore_am64x_a53_defconfig
@@ -70,7 +70,10 @@ CONFIG_CMD_I2C=y
CONFIG_CMD_MMC=y
CONFIG_CMD_MTD=y
CONFIG_CMD_USB=y
+CONFIG_CMD_CACHE=y
+CONFIG_CMD_RTC=y
CONFIG_CMD_TIME=y
+CONFIG_CMD_SMC=y
CONFIG_OF_CONTROL=y
CONFIG_SPL_OF_CONTROL=y
CONFIG_MULTI_DTB_FIT=y
--
2.25.1
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [PATCH 3/4] board: phytec: phycore_am62x: Move earlycon into own variable
2024-07-01 6:20 [PATCH 1/4] configs: phycore_am62x_a53: Add more commands Daniel Schultz
2024-07-01 6:20 ` [PATCH 2/4] configs: phycore_am64x_a53: " Daniel Schultz
@ 2024-07-01 6:20 ` Daniel Schultz
2024-07-01 6:20 ` [PATCH 4/4] board: phytec: phycore_am64x: " Daniel Schultz
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: Daniel Schultz @ 2024-07-01 6:20 UTC (permalink / raw)
To: u-boot, upstream
Cc: w.egorov, trini, d-gole, mkorpershoek, nm, Daniel Schultz
By moving the earlycon definition into a dedicated variable, it's
easier to change these values in case the kernel should print on
a different serial interface.
Signed-off-by: Daniel Schultz <d.schultz@phytec.de>
---
board/phytec/phycore_am62x/phycore_am62x.env | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/board/phytec/phycore_am62x/phycore_am62x.env b/board/phytec/phycore_am62x/phycore_am62x.env
index 42db26a5990..2d6475d408f 100644
--- a/board/phytec/phycore_am62x/phycore_am62x.env
+++ b/board/phytec/phycore_am62x/phycore_am62x.env
@@ -13,7 +13,8 @@ mmcdev=1
mmcroot=2
mmcpart=1
console=ttyS2,115200n8
-mmcargs=setenv bootargs console=${console} earlycon=ns16550a,mmio32,0x02800000
+earlycon=ns16550a,mmio32,0x02800000
+mmcargs=setenv bootargs console=${console} earlycon=${earlycon}
root=/dev/mmcblk${mmcdev}p${mmcroot} rootwait rw
loadimage=load mmc ${mmcdev}:${mmcpart} ${loadaddr} Image
loadfdt=load mmc ${mmcdev}:${mmcpart} ${fdtaddr} ${fdtfile}
--
2.25.1
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [PATCH 4/4] board: phytec: phycore_am64x: Move earlycon into own variable
2024-07-01 6:20 [PATCH 1/4] configs: phycore_am62x_a53: Add more commands Daniel Schultz
2024-07-01 6:20 ` [PATCH 2/4] configs: phycore_am64x_a53: " Daniel Schultz
2024-07-01 6:20 ` [PATCH 3/4] board: phytec: phycore_am62x: Move earlycon into own variable Daniel Schultz
@ 2024-07-01 6:20 ` Daniel Schultz
2024-07-09 7:37 ` [PATCH 1/4] configs: phycore_am62x_a53: Add more commands Wadim Egorov
2024-07-16 23:00 ` Tom Rini
4 siblings, 0 replies; 6+ messages in thread
From: Daniel Schultz @ 2024-07-01 6:20 UTC (permalink / raw)
To: u-boot, upstream
Cc: w.egorov, trini, d-gole, mkorpershoek, nm, Daniel Schultz
By moving the earlycon definition into a dedicated variable, it's
easier to change these values in case the kernel should print on
a different serial interface.
Signed-off-by: Daniel Schultz <d.schultz@phytec.de>
---
board/phytec/phycore_am64x/phycore_am64x.env | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/board/phytec/phycore_am64x/phycore_am64x.env b/board/phytec/phycore_am64x/phycore_am64x.env
index ada3a9233be..e24a958f51d 100644
--- a/board/phytec/phycore_am64x/phycore_am64x.env
+++ b/board/phytec/phycore_am64x/phycore_am64x.env
@@ -11,7 +11,8 @@ mmcdev=1
mmcroot=2
mmcpart=1
console=ttyS2,115200n8
-mmcargs=setenv bootargs console=${console} earlycon=ns16550a,mmio32,0x02800000
+earlycon=ns16550a,mmio32,0x02800000
+mmcargs=setenv bootargs console=${console} earlycon=${earlycon}
root=/dev/mmcblk${mmcdev}p${mmcroot} rootwait rw
loadimage=load mmc ${mmcdev}:${mmcpart} ${loadaddr} Image
loadfdt=load mmc ${mmcdev}:${mmcpart} ${fdtaddr} ${fdtfile}
--
2.25.1
^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [PATCH 1/4] configs: phycore_am62x_a53: Add more commands
2024-07-01 6:20 [PATCH 1/4] configs: phycore_am62x_a53: Add more commands Daniel Schultz
` (2 preceding siblings ...)
2024-07-01 6:20 ` [PATCH 4/4] board: phytec: phycore_am64x: " Daniel Schultz
@ 2024-07-09 7:37 ` Wadim Egorov
2024-07-16 23:00 ` Tom Rini
4 siblings, 0 replies; 6+ messages in thread
From: Wadim Egorov @ 2024-07-09 7:37 UTC (permalink / raw)
To: Daniel Schultz, u-boot, upstream; +Cc: trini, d-gole, mkorpershoek, nm
Am 01.07.24 um 08:20 schrieb Daniel Schultz:
> Add i2c and rtc commands with all dependencies which are
> required for testing.
>
> Additionally, add smc and cache commands to boot Zephyr on the A53.
>
> Signed-off-by: Daniel Schultz <d.schultz@phytec.de>
For this series,
Reviewed-by: Wadim Egorov <w.egorov@phytec.de>
> ---
> configs/phycore_am62x_a53_defconfig | 7 +++++++
> 1 file changed, 7 insertions(+)
>
> diff --git a/configs/phycore_am62x_a53_defconfig b/configs/phycore_am62x_a53_defconfig
> index 56302383c0f..06b8834e074 100644
> --- a/configs/phycore_am62x_a53_defconfig
> +++ b/configs/phycore_am62x_a53_defconfig
> @@ -1,4 +1,5 @@
> CONFIG_ARM=y
> +CONFIG_ARM_SMCCC=y
> CONFIG_ARCH_K3=y
> CONFIG_SYS_MALLOC_LEN=0x2000000
> CONFIG_SYS_MALLOC_F_LEN=0x8000
> @@ -63,9 +64,13 @@ CONFIG_SPL_SPI_LOAD=y
> CONFIG_SYS_SPI_U_BOOT_OFFS=0x280000
> CONFIG_SPL_YMODEM_SUPPORT=y
> CONFIG_CMD_DFU=y
> +CONFIG_CMD_I2C=y
> CONFIG_CMD_MMC=y
> CONFIG_CMD_MTD=y
> CONFIG_CMD_USB=y
> +CONFIG_CMD_CACHE=y
> +CONFIG_CMD_RTC=y
> +CONFIG_CMD_SMC=y
> CONFIG_OF_CONTROL=y
> CONFIG_SPL_OF_CONTROL=y
> CONFIG_MULTI_DTB_FIT=y
> @@ -123,6 +128,8 @@ CONFIG_TI_SCI_POWER_DOMAIN=y
> CONFIG_K3_SYSTEM_CONTROLLER=y
> CONFIG_REMOTEPROC_TI_K3_ARM64=y
> CONFIG_RESET_TI_SCI=y
> +CONFIG_DM_RTC=y
> +CONFIG_RTC_RV3028=y
> CONFIG_DM_SERIAL=y
> CONFIG_SOC_DEVICE=y
> CONFIG_SOC_DEVICE_TI_K3=y
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH 1/4] configs: phycore_am62x_a53: Add more commands
2024-07-01 6:20 [PATCH 1/4] configs: phycore_am62x_a53: Add more commands Daniel Schultz
` (3 preceding siblings ...)
2024-07-09 7:37 ` [PATCH 1/4] configs: phycore_am62x_a53: Add more commands Wadim Egorov
@ 2024-07-16 23:00 ` Tom Rini
4 siblings, 0 replies; 6+ messages in thread
From: Tom Rini @ 2024-07-16 23:00 UTC (permalink / raw)
To: u-boot, upstream, Daniel Schultz; +Cc: w.egorov, d-gole, mkorpershoek, nm
On Sun, 30 Jun 2024 23:20:47 -0700, Daniel Schultz wrote:
> Add i2c and rtc commands with all dependencies which are
> required for testing.
>
> Additionally, add smc and cache commands to boot Zephyr on the A53.
>
>
Applied to u-boot/master, thanks!
--
Tom
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2024-07-16 23:01 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-01 6:20 [PATCH 1/4] configs: phycore_am62x_a53: Add more commands Daniel Schultz
2024-07-01 6:20 ` [PATCH 2/4] configs: phycore_am64x_a53: " Daniel Schultz
2024-07-01 6:20 ` [PATCH 3/4] board: phytec: phycore_am62x: Move earlycon into own variable Daniel Schultz
2024-07-01 6:20 ` [PATCH 4/4] board: phytec: phycore_am64x: " Daniel Schultz
2024-07-09 7:37 ` [PATCH 1/4] configs: phycore_am62x_a53: Add more commands Wadim Egorov
2024-07-16 23:00 ` Tom Rini
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.