[PATCH 1/4] configs: phycore_am62x_a53: Add more commands

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

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

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}

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}

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
participants (3)
-
Daniel Schultz
-
Tom Rini
-
Wadim Egorov