mirror of
https://git.yoctoproject.org/meta-ti
synced 2026-04-20 19:53:43 +00:00
machine: Add AM62Q HS-SE evm configuration
Lets add the basic AM62Q HS-SE configuration. - Add configurations. - Add ti-sci-firmware overrides. - Add u-boot overrides. - Add optee overrides. - Add ti-rtos-firmware overrides. Signed-off-by: Chirag Shilwant <c-shilwant@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
This commit is contained in:
committed by
Ryan Eatmon
parent
acd476ad0d
commit
ef50eed5b9
14
conf/machine/am62xx-lp-evm-k3r5-hs-se.conf
Normal file
14
conf/machine/am62xx-lp-evm-k3r5-hs-se.conf
Normal file
@@ -0,0 +1,14 @@
|
||||
#@TYPE: Machine
|
||||
#@NAME: AM62xx LPSK HS-SE EVM (R5F)
|
||||
#@DESCRIPTION: Machine configuration for the TI AM62xx LP HS-SE EVM (R5F core)
|
||||
|
||||
# Booting HS-SE requires different SYSFW, the rest is handled at runtime
|
||||
|
||||
require conf/machine/include/k3r5.inc
|
||||
SOC_FAMILY_append = ":k3r5-hs-se"
|
||||
|
||||
SYSFW_SOC = "am62x"
|
||||
SYSFW_CONFIG = "evm"
|
||||
SYSFW_SUFFIX = "hs"
|
||||
|
||||
UBOOT_MACHINE = "am62x_lpsk_r5_defconfig"
|
||||
@@ -1,11 +1,19 @@
|
||||
#@TYPE: Machine
|
||||
#@NAME: AM62XX LP EVM (R5F)
|
||||
#@DESCRIPTION: Machine configuration for the TI AM62xx LP EVM (R5F core)
|
||||
#@NAME: AM62XX LP GP EVM (R5F)
|
||||
#@DESCRIPTION: Machine configuration for the TI AM62xx LP GP EVM (R5F core)
|
||||
|
||||
require conf/machine/include/k3r5.inc
|
||||
SOC_FAMILY_append = ":k3r5-gp"
|
||||
|
||||
SYSFW_SOC = "am62x"
|
||||
SYSFW_CONFIG = "evm"
|
||||
SYSFW_SUFFIX = "gp"
|
||||
|
||||
SYSFW_TIBOOT3_SYMLINK = ""
|
||||
|
||||
UBOOT_MACHINE = "am62x_lpsk_r5_defconfig"
|
||||
|
||||
SPL_BINARY = ""
|
||||
UBOOT_BINARY = "u-boot-spl.${UBOOT_SUFFIX}"
|
||||
UBOOT_IMAGE = "u-boot-r5spl-gp-${MAINMACHINE}-${PV}-${PR}.${UBOOT_SUFFIX}"
|
||||
UBOOT_SYMLINK = "u-boot-r5spl-gp.${UBOOT_SUFFIX}"
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
#@NAME: AM62XX LP EVM
|
||||
#@DESCRIPTION: Machine configuration for the TI AM62XX LP EVM
|
||||
|
||||
require conf/machine/include/am62xx.inc
|
||||
require conf/machine/include/am62xx-lp.inc
|
||||
|
||||
MACHINE_FEATURES += "gpu"
|
||||
|
||||
@@ -13,4 +13,8 @@ KERNEL_DEVICETREE = " \
|
||||
ti/k3-am625-sk-csi2-ov5640.dtbo \
|
||||
"
|
||||
|
||||
SPL_BINARY = "tispl.bin_HS"
|
||||
UBOOT_BINARY = "u-boot.img_HS"
|
||||
UBOOT_SYMLINK = "u-boot.img"
|
||||
|
||||
UBOOT_MACHINE = "am62x_lpsk_a53_defconfig"
|
||||
|
||||
18
conf/machine/include/am62xx-lp.inc
Normal file
18
conf/machine/include/am62xx-lp.inc
Normal file
@@ -0,0 +1,18 @@
|
||||
require conf/machine/include/k3.inc
|
||||
SOC_FAMILY_append = ":am62xx"
|
||||
|
||||
MACHINE_FEATURES += "screen touchscreen"
|
||||
|
||||
SERIAL_CONSOLES = "115200;ttyS0 115200;ttyS2"
|
||||
SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}"
|
||||
|
||||
TFA_K3_SYSTEM_SUSPEND = "1"
|
||||
|
||||
# Default tiboot3.bin on AM62x LP is for HS-SE
|
||||
BBMULTICONFIG += "k3r5-hs-se"
|
||||
do_image_wic[mcdepends] += "mc::k3r5-hs-se:ti-sci-fw:do_deploy"
|
||||
do_image_tar[mcdepends] += "mc::k3r5-hs-se:ti-sci-fw:do_deploy"
|
||||
|
||||
TFA_BOARD = "lite"
|
||||
OPTEEMACHINE = "k3-am62x"
|
||||
OPTEEOUTPUTMACHINE = "k3"
|
||||
3
conf/multiconfig/k3r5-hs-se.conf
Normal file
3
conf/multiconfig/k3r5-hs-se.conf
Normal file
@@ -0,0 +1,3 @@
|
||||
require k3r5.conf
|
||||
|
||||
MACHINE_append = "-hs-se"
|
||||
@@ -39,6 +39,7 @@ SYSFW_PREFIX_j784s4-evm-k3r5 = "fs"
|
||||
SYSFW_PREFIX_j784s4-hs-evm-k3r5 = "fs"
|
||||
SYSFW_PREFIX_am62xx-evm-k3r5 = "fs"
|
||||
SYSFW_PREFIX_am62xx-lp-evm-k3r5 = "fs"
|
||||
SYSFW_PREFIX_am62xx-lp-evm-k3r5-hs-se = "fs"
|
||||
SYSFW_PREFIX_am62axx-evm-k3r5 = "fs"
|
||||
|
||||
SYSFW_TISCI = "${S}/ti-sysfw/ti-${SYSFW_PREFIX}-firmware-${SYSFW_SOC}-*.bin"
|
||||
|
||||
@@ -31,6 +31,10 @@ do_compile_append_am64xx-evm() {
|
||||
tfa_sign_k3hs
|
||||
}
|
||||
|
||||
do_compile_append_am62xx-lp-evm() {
|
||||
tfa_sign_k3hs
|
||||
}
|
||||
|
||||
do_compile_append_j7-hs-evm() {
|
||||
tfa_sign_k3hs
|
||||
}
|
||||
|
||||
@@ -34,6 +34,7 @@ PACKAGECONFIG[dm] = "DM=${STAGING_DIR_HOST}${nonarch_base_libdir}/firmware/pdk-i
|
||||
PACKAGECONFIG_append_aarch64 = " atf optee"
|
||||
PACKAGECONFIG_append_j7 = " dm"
|
||||
PACKAGECONFIG_append_am62xx = " dm"
|
||||
PACKAGECONFIG_append_am62xx-lp-evm = " dm"
|
||||
PACKAGECONFIG_append_am62axx = " dm"
|
||||
|
||||
COMPATIBLE_MACHINE = "(ti-soc)"
|
||||
|
||||
@@ -70,6 +70,10 @@ do_compile_append_am64xx-evm() {
|
||||
optee_sign_k3hs
|
||||
}
|
||||
|
||||
do_compile_append_am62xx-lp-evm() {
|
||||
optee_sign_k3hs
|
||||
}
|
||||
|
||||
do_compile_append_j7-hs-evm() {
|
||||
optee_sign_k3hs
|
||||
}
|
||||
|
||||
@@ -24,6 +24,7 @@ PLAT_SFX_j784s4-hs-evm = "j784s4"
|
||||
PLAT_SFX_am65xx = "am65xx"
|
||||
PLAT_SFX_am64xx = "am64xx"
|
||||
PLAT_SFX_am62xx = "am62xx"
|
||||
PLAT_SFX_am62xx-lp-evm = "am62xx"
|
||||
PLAT_SFX_am62axx = "am62axx"
|
||||
|
||||
FILESEXTRAPATHS_prepend := "${METATIBASE}/recipes-bsp/ti-sci-fw/files/:"
|
||||
@@ -180,6 +181,15 @@ do_install_prepend_am62xx() {
|
||||
)
|
||||
}
|
||||
|
||||
# AM62Q HS-SE support
|
||||
do_install_prepend_am62xx-lp-evm() {
|
||||
export TI_SECURE_DEV_PKG=${TI_SECURE_DEV_PKG}
|
||||
( cd ${RTOS_DM_FW_DIR}; \
|
||||
mv ${DM_FIRMWARE} ${DM_FIRMWARE}.unsigned; \
|
||||
${TI_SECURE_DEV_PKG}/scripts/secure-binary-image.sh ${DM_FIRMWARE}.unsigned ${DM_FIRMWARE}; \
|
||||
)
|
||||
}
|
||||
|
||||
#Install all R5 & DSP ipc echo test binaries in lib/firmware/pdk-ipc, with softlinks up a level
|
||||
do_install() {
|
||||
|
||||
@@ -355,6 +365,13 @@ do_install_am62xx() {
|
||||
install -m 0644 ${RTOS_DM_FW_DIR}/ipc_echo_testb_mcu1_0_release_strip.xer5f ${LEGACY_DM_FW_DIR}
|
||||
}
|
||||
|
||||
do_install_am62xx-lp-evm() {
|
||||
install -d ${LEGACY_IPC_FW_DIR}
|
||||
install -m 0644 ${RTOS_IPC_FW_DIR}/ipc_echo_baremetal_test_mcu2_0_release_strip.xer5f ${LEGACY_IPC_FW_DIR}
|
||||
# DM Firmware
|
||||
install -m 0644 ${RTOS_DM_FW_DIR}/ipc_echo_testb_mcu1_0_release_strip.xer5f ${LEGACY_DM_FW_DIR}
|
||||
}
|
||||
|
||||
do_install_am62axx() {
|
||||
install -d ${LEGACY_IPC_FW_DIR}
|
||||
# DM+IPC Firmware
|
||||
@@ -372,6 +389,11 @@ do_deploy_am62xx() {
|
||||
install -m 0644 ${RTOS_DM_FW_DIR}/ipc_echo_testb_mcu1_0_release_strip.xer5f ${DEPLOYDIR}
|
||||
}
|
||||
|
||||
do_deploy_am62xx-lp-evm() {
|
||||
install -d ${DEPLOYDIR}
|
||||
install -m 0644 ${RTOS_DM_FW_DIR}/ipc_echo_testb_mcu1_0_release_strip.xer5f ${DEPLOYDIR}
|
||||
}
|
||||
|
||||
do_deploy_am62axx() {
|
||||
install -d ${DEPLOYDIR}
|
||||
install -m 0644 ${RTOS_DM_FW_DIR}/ipc_echo_testb_mcu1_0_release_strip.xer5f ${DEPLOYDIR}
|
||||
@@ -395,6 +417,11 @@ ALTERNATIVE_${PN}_am62xx = "\
|
||||
am62-main-r5f0_0-fw \
|
||||
"
|
||||
|
||||
ALTERNATIVE_${PN}_am62xx-lp-evm = "\
|
||||
am62-mcu-m4f0_0-fw \
|
||||
am62-main-r5f0_0-fw \
|
||||
"
|
||||
|
||||
ALTERNATIVE_${PN}_am62axx = "\
|
||||
am62a-mcu-r5f0_0-fw \
|
||||
am62a-c71_0-fw \
|
||||
@@ -532,6 +559,9 @@ TARGET_MCU_M4FSS0_0_am64xx = "am64-mcu-m4f0_0-fw"
|
||||
TARGET_MAIN_R5FSS0_0_am62xx = "am62-main-r5f0_0-fw"
|
||||
TARGET_MCU_M4FSS0_0_am62xx = "am62-mcu-m4f0_0-fw"
|
||||
|
||||
TARGET_MAIN_R5FSS0_0_am62xx-lp-evm = "am62-main-r5f0_0-fw"
|
||||
TARGET_MCU_M4FSS0_0_am62xx-lp-evm = "am62-mcu-m4f0_0-fw"
|
||||
|
||||
TARGET_C7X_0_am62axx = "am62a-c71_0-fw"
|
||||
TARGET_MCU_R5F0_0_am62axx = "am62a-mcu-r5f0_0-fw"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user