[dunfell PATCH] conf/machine: am62xx: Update build flag for low power mode


praneeth
 

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: Praneeth Bajjuri <praneeth@...>
---
conf/machine/include/am62xx.inc | 1 +
1 file changed, 1 insertion(+)

diff --git a/conf/machine/include/am62xx.inc b/conf/machine/include/am62xx.inc
index e8823dd2..59cb7053 100644
--- a/conf/machine/include/am62xx.inc
+++ b/conf/machine/include/am62xx.inc
@@ -13,5 +13,6 @@ do_image_wic[mcdepends] = "mc::k3r5:ti-sci-fw:do_deploy"
do_image_tar[mcdepends] = "mc::k3r5:ti-sci-fw:do_deploy"

TFA_BOARD = "lite"
+K3_PM_SYSTEM_SUSPEND = "1"
OPTEEMACHINE = "k3-am65x"
OPTEEOUTPUTMACHINE = "k3"
--
2.17.1


praneeth
 

On 5/3/2022 2:25 PM, praneeth via lists.yoctoproject.org wrote:
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: Praneeth Bajjuri <praneeth@...>
I would like a dunfell-next build with this patch and
https://lists.yoctoproject.org/g/meta-ti/message/14680 together.

Would like to check nightly build and boot test across all K3 platforms.

Will resubmit both patches together after merging ti-atf-next to ti-atf once i review the test results

Thanks
Praneeth

---
conf/machine/include/am62xx.inc | 1 +
1 file changed, 1 insertion(+)
diff --git a/conf/machine/include/am62xx.inc b/conf/machine/include/am62xx.inc
index e8823dd2..59cb7053 100644
--- a/conf/machine/include/am62xx.inc
+++ b/conf/machine/include/am62xx.inc
@@ -13,5 +13,6 @@ do_image_wic[mcdepends] = "mc::k3r5:ti-sci-fw:do_deploy"
do_image_tar[mcdepends] = "mc::k3r5:ti-sci-fw:do_deploy"
TFA_BOARD = "lite"
+K3_PM_SYSTEM_SUSPEND = "1"
OPTEEMACHINE = "k3-am65x"
OPTEEOUTPUTMACHINE = "k3"


Denys Dmytriyenko
 

On Tue, May 03, 2022 at 02:25:09PM -0500, Praneeth Bajjuri wrote:
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: Praneeth Bajjuri <praneeth@...>
---
conf/machine/include/am62xx.inc | 1 +
1 file changed, 1 insertion(+)

diff --git a/conf/machine/include/am62xx.inc b/conf/machine/include/am62xx.inc
index e8823dd2..59cb7053 100644
--- a/conf/machine/include/am62xx.inc
+++ b/conf/machine/include/am62xx.inc
@@ -13,5 +13,6 @@ do_image_wic[mcdepends] = "mc::k3r5:ti-sci-fw:do_deploy"
do_image_tar[mcdepends] = "mc::k3r5:ti-sci-fw:do_deploy"

TFA_BOARD = "lite"
+K3_PM_SYSTEM_SUSPEND = "1"
How is this getting passed to ATF?


OPTEEMACHINE = "k3-am65x"
OPTEEOUTPUTMACHINE = "k3"
--
2.17.1


praneeth
 

On 5/3/2022 3:16 PM, Denys Dmytriyenko wrote:
On Tue, May 03, 2022 at 02:25:09PM -0500, Praneeth Bajjuri wrote:
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: Praneeth Bajjuri <praneeth@...>
---
conf/machine/include/am62xx.inc | 1 +
1 file changed, 1 insertion(+)

diff --git a/conf/machine/include/am62xx.inc b/conf/machine/include/am62xx.inc
index e8823dd2..59cb7053 100644
--- a/conf/machine/include/am62xx.inc
+++ b/conf/machine/include/am62xx.inc
@@ -13,5 +13,6 @@ do_image_wic[mcdepends] = "mc::k3r5:ti-sci-fw:do_deploy"
do_image_tar[mcdepends] = "mc::k3r5:ti-sci-fw:do_deploy"
TFA_BOARD = "lite"
+K3_PM_SYSTEM_SUSPEND = "1"
How is this getting passed to ATF?
This patch is wrong, Will submit a new one.


OPTEEMACHINE = "k3-am65x"
OPTEEOUTPUTMACHINE = "k3"
--
2.17.1