* [dunfell PATCH v2 0/2] am62xx: Upgrade ATF to get LP support
@ 2022-05-04 23:49 Praneeth Bajjuri
2022-05-04 23:49 ` [dunfell PATCH v2 1/2] trusted-firmware-a: upgrade to v2.6+ Praneeth Bajjuri
2022-05-04 23:49 ` [dunfell PATCH v2 2/2] conf/machine: am62xx: Update build flag for low power mode Praneeth Bajjuri
0 siblings, 2 replies; 5+ messages in thread
From: Praneeth Bajjuri @ 2022-05-04 23:49 UTC (permalink / raw)
To: Praneeth Bajjuri, Ryan Eatmon, Denys Dmytriyenko
Cc: Nishanth Menon, Denys Dmytriyenko, Dave Gerlach, meta-ti
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(-)
--
2.17.1
^ permalink raw reply [flat|nested] 5+ messages in thread
* [dunfell PATCH v2 1/2] trusted-firmware-a: upgrade to v2.6+
2022-05-04 23:49 [dunfell PATCH v2 0/2] am62xx: Upgrade ATF to get LP support Praneeth Bajjuri
@ 2022-05-04 23:49 ` Praneeth Bajjuri
2022-05-04 23:49 ` [dunfell PATCH v2 2/2] conf/machine: am62xx: Update build flag for low power mode Praneeth Bajjuri
1 sibling, 0 replies; 5+ messages in thread
From: Praneeth Bajjuri @ 2022-05-04 23:49 UTC (permalink / raw)
To: Praneeth Bajjuri, Ryan Eatmon, Denys Dmytriyenko
Cc: Nishanth Menon, Denys Dmytriyenko, Dave Gerlach, meta-ti
upgrade arm-trusted-firmare to master which is currently v2.6+
This upgrade picks up am62x low power mode feature.
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
---
recipes-bsp/trusted-firmware-a/trusted-firmware-a_%.bbappend | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/recipes-bsp/trusted-firmware-a/trusted-firmware-a_%.bbappend b/recipes-bsp/trusted-firmware-a/trusted-firmware-a_%.bbappend
index b84da1f3..80b1d664 100644
--- a/recipes-bsp/trusted-firmware-a/trusted-firmware-a_%.bbappend
+++ b/recipes-bsp/trusted-firmware-a/trusted-firmware-a_%.bbappend
@@ -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"
--
2.17.1
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [dunfell PATCH v2 2/2] conf/machine: am62xx: Update build flag for low power mode
2022-05-04 23:49 [dunfell PATCH v2 0/2] am62xx: Upgrade ATF to get LP support Praneeth Bajjuri
2022-05-04 23:49 ` [dunfell PATCH v2 1/2] trusted-firmware-a: upgrade to v2.6+ Praneeth Bajjuri
@ 2022-05-04 23:49 ` Praneeth Bajjuri
2022-05-05 0:36 ` Denys Dmytriyenko
1 sibling, 1 reply; 5+ messages in thread
From: Praneeth Bajjuri @ 2022-05-04 23:49 UTC (permalink / raw)
To: Praneeth Bajjuri, Ryan Eatmon, Denys Dmytriyenko
Cc: Nishanth Menon, Denys Dmytriyenko, Dave Gerlach, meta-ti
From: Nishanth Menon <nm@ti.com>
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.
Signed-off-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
---
conf/machine/include/am62xx.inc | 2 ++
recipes-bsp/trusted-firmware-a/trusted-firmware-a_%.bbappend | 1 +
2 files changed, 3 insertions(+)
diff --git a/conf/machine/include/am62xx.inc b/conf/machine/include/am62xx.inc
index e8823dd2..ff857b97 100644
--- a/conf/machine/include/am62xx.inc
+++ b/conf/machine/include/am62xx.inc
@@ -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}"
diff --git a/recipes-bsp/trusted-firmware-a/trusted-firmware-a_%.bbappend b/recipes-bsp/trusted-firmware-a/trusted-firmware-a_%.bbappend
index 80b1d664..5264fa97 100644
--- a/recipes-bsp/trusted-firmware-a/trusted-firmware-a_%.bbappend
+++ b/recipes-bsp/trusted-firmware-a/trusted-firmware-a_%.bbappend
@@ -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}
--
2.17.1
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [dunfell PATCH v2 2/2] conf/machine: am62xx: Update build flag for low power mode
2022-05-04 23:49 ` [dunfell PATCH v2 2/2] conf/machine: am62xx: Update build flag for low power mode Praneeth Bajjuri
@ 2022-05-05 0:36 ` Denys Dmytriyenko
2022-05-05 1:30 ` Ryan Eatmon
0 siblings, 1 reply; 5+ messages in thread
From: Denys Dmytriyenko @ 2022-05-05 0:36 UTC (permalink / raw)
To: Praneeth Bajjuri
Cc: Ryan Eatmon, Nishanth Menon, Denys Dmytriyenko, Dave Gerlach, meta-ti
On Wed, May 04, 2022 at 06:49:30PM -0500, Praneeth Bajjuri wrote:
> From: Nishanth Menon <nm@ti.com>
>
> 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.
>
> Signed-off-by: Nishanth Menon <nm@ti.com>
> Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
> ---
> conf/machine/include/am62xx.inc | 2 ++
> recipes-bsp/trusted-firmware-a/trusted-firmware-a_%.bbappend | 1 +
> 2 files changed, 3 insertions(+)
>
> diff --git a/conf/machine/include/am62xx.inc b/conf/machine/include/am62xx.inc
> index e8823dd2..ff857b97 100644
> --- a/conf/machine/include/am62xx.inc
> +++ b/conf/machine/include/am62xx.inc
> @@ -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}"
>
> diff --git a/recipes-bsp/trusted-firmware-a/trusted-firmware-a_%.bbappend b/recipes-bsp/trusted-firmware-a/trusted-firmware-a_%.bbappend
> index 80b1d664..5264fa97 100644
> --- a/recipes-bsp/trusted-firmware-a/trusted-firmware-a_%.bbappend
> +++ b/recipes-bsp/trusted-firmware-a/trusted-firmware-a_%.bbappend
> @@ -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!
> do_compile_append_am65xx-hs-evm() {
> export TI_SECURE_DEV_PKG=${TI_SECURE_DEV_PKG}
> --
> 2.17.1
>
--
Regards,
Denys Dmytriyenko <denis@denix.org>
PGP: 0x420902729A92C964 - https://denix.org/0x420902729A92C964
Fingerprint: 25FC E4A5 8A72 2F69 1186 6D76 4209 0272 9A92 C964
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [dunfell PATCH v2 2/2] conf/machine: am62xx: Update build flag for low power mode
2022-05-05 0:36 ` Denys Dmytriyenko
@ 2022-05-05 1:30 ` Ryan Eatmon
0 siblings, 0 replies; 5+ messages in thread
From: Ryan Eatmon @ 2022-05-05 1:30 UTC (permalink / raw)
To: Denys Dmytriyenko, Praneeth Bajjuri
Cc: Nishanth Menon, Denys Dmytriyenko, Dave Gerlach, meta-ti
On 5/4/2022 19:36, Denys Dmytriyenko wrote:
> On Wed, May 04, 2022 at 06:49:30PM -0500, Praneeth Bajjuri wrote:
>> From: Nishanth Menon <nm@ti.com>
>>
>> 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.
>>
>> Signed-off-by: Nishanth Menon <nm@ti.com>
>> Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
>> ---
>> conf/machine/include/am62xx.inc | 2 ++
>> recipes-bsp/trusted-firmware-a/trusted-firmware-a_%.bbappend | 1 +
>> 2 files changed, 3 insertions(+)
>>
>> diff --git a/conf/machine/include/am62xx.inc b/conf/machine/include/am62xx.inc
>> index e8823dd2..ff857b97 100644
>> --- a/conf/machine/include/am62xx.inc
>> +++ b/conf/machine/include/am62xx.inc
>> @@ -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}"
>>
>> diff --git a/recipes-bsp/trusted-firmware-a/trusted-firmware-a_%.bbappend b/recipes-bsp/trusted-firmware-a/trusted-firmware-a_%.bbappend
>> index 80b1d664..5264fa97 100644
>> --- a/recipes-bsp/trusted-firmware-a/trusted-firmware-a_%.bbappend
>> +++ b/recipes-bsp/trusted-firmware-a/trusted-firmware-a_%.bbappend
>> @@ -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!
Sending a v3 for Praneeth.
>
>> do_compile_append_am65xx-hs-evm() {
>> export TI_SECURE_DEV_PKG=${TI_SECURE_DEV_PKG}
>> --
>> 2.17.1
>>
>
--
Ryan Eatmon reatmon@ti.com
-----------------------------------------
Texas Instruments, Inc. - LCPD - MGTS
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2022-05-05 1:30 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-04 23:49 [dunfell PATCH v2 0/2] am62xx: Upgrade ATF to get LP support Praneeth Bajjuri
2022-05-04 23:49 ` [dunfell PATCH v2 1/2] trusted-firmware-a: upgrade to v2.6+ Praneeth Bajjuri
2022-05-04 23:49 ` [dunfell PATCH v2 2/2] conf/machine: am62xx: Update build flag for low power mode Praneeth Bajjuri
2022-05-05 0:36 ` Denys Dmytriyenko
2022-05-05 1:30 ` Ryan Eatmon
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).