am62xx: Upgrade ATF to get LP support
v2 cover am62xx: Upgrade ATF to get LP support
This series upgrades ATF to current master which is 2.6+. This gets much needed AM62 Low power mode feature.
Changes in v2:
* Fixed the build flag patch as provided by Nishanth Menon
* updated RFC patch sent earlier to move from ti-atf-next to ti-atf
Nishanth Menon (1):
conf/machine: am62xx: Update build flag for low power mode
Praneeth Bajjuri (1):
trusted-firmware-a: upgrade to v2.6+
conf/machine/include/am62xx.inc | 2 ++ recipes-bsp/trusted-firmware-a/trusted-firmware-a_%.bbappend | 5 +++-- 2 files changed, 5 insertions(+), 2 deletions(-)
Signature · 1 line
2.17.1
PATCH v2 1/2 trusted-firmware-a: upgrade to v2.6+
upgrade arm-trusted-firmare to master which is currently v2.6+
This upgrade picks up am62x low power mode feature.
--- recipes-bsp/trusted-firmware-a/trusted-firmware-a_%.bbappend | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
recipes-bsp/trusted-firmware-a/trusted-firmware-a_%.bbappend +2 -2
@@ -1,8 +1,8 @@ -PV_k3 = "2.5" +PV_k3 = "2.6" LIC_FILES_CHKSUM_k3 = "file://license.rst;md5=1dd070c98a281d18d9eefd938729b031" BRANCH_k3 = "ti-atf" SRC_URI_k3 = "git://git.ti.com/atf/arm-trusted-firmware.git;branch=${BRANCH};name=tfa" -SRCREV_tfa_k3 = "0693f356eb2a25adf8758d98058120bed082cc73" +SRCREV_tfa_k3 = "6541aa24f834daa80da701e0054dfe3a16cda0ce" COMPATIBLE_MACHINE_k3 = "k3" TFA_BUILD_TARGET_k3 = "all" TFA_INSTALL_TARGET_k3 = "bl31"
Signature · 1 line
2.17.1
PATCH v2 2/2 conf/machine: am62xx: Update build flag for low power mode
In reply to Praneeth BajjuriFrom: Nishanth Menon <[email protected]>
Update build flag for arm-trusted-firmware to include low power mode support
K3_PM_SYSTEM_SUSPEND is added in arm-trusted-firmware now which enables low power mode support for am62xx.
--- conf/machine/include/am62xx.inc | 2 ++ recipes-bsp/trusted-firmware-a/trusted-firmware-a_%.bbappend | 1 + 2 files changed, 3 insertions(+)
conf/machine/include/am62xx.inc +2 -0
@@ -6,6 +6,8 @@ MACHINE_FEATURES += "screen touchscreen" SERIAL_CONSOLES = "115200;ttyS2" SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}" +TFA_K3_SYSTEM_SUSPEND = "1" + # AM62 supports multi-certificate images, use the same IMAGE_BOOT_FILES = "${IMAGE_BOOT_FILES_MULTI_CERT}"
recipes-bsp/trusted-firmware-a/trusted-firmware-a_%.bbappend +1 -0
@@ -9,6 +9,7 @@ TFA_INSTALL_TARGET_k3 = "bl31" TFA_SPD_k3 = "opteed" EXTRA_OEMAKE_append_k3 = "${@ 'K3_USART=' + d.getVar('TFA_K3_USART') if d.getVar('TFA_K3_USART') else ''}" +EXTRA_OEMAKE_append_k3 += "${@ 'K3_PM_SYSTEM_SUSPEND=' + d.getVar('TFA_K3_SYSTEM_SUSPEND') if d.getVar('TFA_K3_SYSTEM_SUSPEND') else ''}" do_compile_append_am65xx-hs-evm() { export TI_SECURE_DEV_PKG=${TI_SECURE_DEV_PKG}
Signature · 1 line
2.17.1
Re: [dunfell PATCH v2 2/2] conf/machine: am62xx: Update build flag for low power mode
Quoted 33 lines · Praneeth Bajjuri
From: Nishanth Menon <[email protected]>
Update build flag for arm-trusted-firmware to include low power mode support
K3_PM_SYSTEM_SUSPENDis added in arm-trusted-firmware now which enables low power mode support for am62xx.Signed-off-by Nishanth Menon <[email protected]>Signed-off-by Praneeth Bajjuri <[email protected]>--- conf/machine/include/am62xx.inc | 2 ++ recipes-bsp/trusted-firmware-a/trusted-firmware-a_%.bbappend | 1 + 2 files changed, 3 insertions(+)conf/machine/include/am62xx.inc +2
-0@@ -6,6 +6,8 @@ MACHINE_FEATURES += "screen touchscreen" SERIAL_CONSOLES = "115200;ttyS2" SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}" +TFA_K3_SYSTEM_SUSPEND = "1" + # AM62 supports multi-certificate images, use the same IMAGE_BOOT_FILES = "${IMAGE_BOOT_FILES_MULTI_CERT}"recipes-bsp/trusted-firmware-a/trusted-firmware-a_%.bbappend +0
-0
recipes-bsp/trusted-firmware-a/trusted-firmware-a_%.bbappend TFA_INSTALL_TARGET_k3 = "bl31" · line 12
Quoted 4 lines
recipes-bsp/trusted-firmware-a/trusted-firmware-a_%.bbappend +1
-0@@ -9,6 +9,7 @@ TFA_INSTALL_TARGET_k3 = "bl31" TFA_SPD_k3 = "opteed" EXTRA_OEMAKE_append_k3 = "${@ 'K3_USART=' + d.getVar('TFA_K3_USART') if d.getVar('TFA_K3_USART') else ''}" +EXTRA_OEMAKE_append_k3 += "${@ 'K3_PM_SYSTEM_SUSPEND=' + d.getVar('TFA_K3_SYSTEM_SUSPEND') if d.getVar('TFA_K3_SYSTEM_SUSPEND') else ''}"
NAK
Either append or +=, not both!
Quoted 5 lines
recipes-bsp/trusted-firmware-a/trusted-firmware-a_%.bbappend +0
-0do_compile_append_am65xx-hs-evm() { export TI_SECURE_DEV_PKG=${TI_SECURE_DEV_PKG}Signature · 1 line
2.17.1
Signature · 4 lines
Regards, Denys Dmytriyenko <[email protected]> PGP: 0x420902729A92C964 - https://denix.org/0x420902729A92C964 Fingerprint: 25FC E4A5 8A72 2F69 1186 6D76 4209 0272 9A92 C964
Re: [dunfell PATCH v2 2/2] conf/machine: am62xx: Update build flag for low power mode
Quoted 36 lines · Denys Dmytriyenko
Quoted 35 lines · Praneeth Bajjuri
From: Nishanth Menon <[email protected]>
Update build flag for arm-trusted-firmware to include low power mode support
K3_PM_SYSTEM_SUSPENDis added in arm-trusted-firmware now which enables low power mode support for am62xx.Signed-off-by Nishanth Menon <[email protected]>Signed-off-by Praneeth Bajjuri <[email protected]>--- conf/machine/include/am62xx.inc | 2 ++ recipes-bsp/trusted-firmware-a/trusted-firmware-a_%.bbappend | 1 + 2 files changed, 3 insertions(+)conf/machine/include/am62xx.inc +2
-0@@ -6,6 +6,8 @@ MACHINE_FEATURES += "screen touchscreen" SERIAL_CONSOLES = "115200;ttyS2" SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}" +TFA_K3_SYSTEM_SUSPEND = "1" + # AM62 supports multi-certificate images, use the same IMAGE_BOOT_FILES = "${IMAGE_BOOT_FILES_MULTI_CERT}"recipes-bsp/trusted-firmware-a/trusted-firmware-a_%.bbappend +0
-0@@ -9,6 +9,7 @@ TFA_INSTALL_TARGET_k3 = "bl31" TFA_SPD_k3 = "opteed"
Quoted 6 lines
recipes-bsp/trusted-firmware-a/trusted-firmware-a_%.bbappend TFA_INSTALL_TARGET_k3 = "bl31" · line 12
Quoted 2 lines
recipes-bsp/trusted-firmware-a/trusted-firmware-a_%.bbappend +1
-0EXTRA_OEMAKE_append_k3 = "${@ 'K3_USART=' + d.getVar('TFA_K3_USART') if d.getVar('TFA_K3_USART') else ''}" +EXTRA_OEMAKE_append_k3 += "${@ 'K3_PM_SYSTEM_SUSPEND=' + d.getVar('TFA_K3_SYSTEM_SUSPEND') if d.getVar('TFA_K3_SYSTEM_SUSPEND') else ''}"NAK
Either append or +=, not both!
Sending a v3 for Praneeth.
Quoted 7 lines
Quoted 6 lines
recipes-bsp/trusted-firmware-a/trusted-firmware-a_%.bbappend +0
-0do_compile_append_am65xx-hs-evm() { export TI_SECURE_DEV_PKG=${TI_SECURE_DEV_PKG}Signature · 1 line
2.17.1
Signature · 3 lines
Ryan Eatmon [email protected] ----------------------------------------- Texas Instruments, Inc. - LCPD - MGTS