configs: phycore_am62x_a53: Add more commands
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.
--- configs/phycore_am62x_a53_defconfig | 7 +++++++ 1 file changed, 7 insertions(+)
configs/phycore_am62x_a53_defconfig +7 -0
@@ -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
Signature · 1 line
2.25.1
PATCH 2/4 configs: phycore_am64x_a53: Add more commands
Add the rtc command for testing this device. Additionally, add smc and cache commands to boot non-Linux firmwares on the A53.
--- configs/phycore_am64x_a53_defconfig | 3 +++ 1 file changed, 3 insertions(+)
configs/phycore_am64x_a53_defconfig +3 -0
@@ -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
Signature · 1 line
2.25.1
PATCH 3/4 board: phytec: phycore_am62x: Move earlycon into own variable
In reply to Daniel SchultzBy 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.
--- board/phytec/phycore_am62x/phycore_am62x.env | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
board/phytec/phycore_am62x/phycore_am62x.env +2 -1
@@ -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}
Signature · 1 line
2.25.1
PATCH 4/4 board: phytec: phycore_am64x: Move earlycon into own variable
In reply to Daniel SchultzBy 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.
--- board/phytec/phycore_am64x/phycore_am64x.env | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
board/phytec/phycore_am64x/phycore_am64x.env +2 -1
@@ -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}
Signature · 1 line
2.25.1
Am 01.07.24 um 08:20 schrieb Daniel Schultz:
Quoted 6 lines
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 <[email protected]>
For this series,
Quoted 37 lines
--- configs/phycore_am62x_a53_defconfig | 7 +++++++ 1 file changed, 7 insertions(+)configs/phycore_am62x_a53_defconfig +7
-0@@ -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
Quoted 6 lines · 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.
Applied to u-boot/master, thanks!
Signature · 1 line
Tom