Skip to content

am62x-sk: Add addidtional flags for optee-os#8

Merged
cshilwant merged 1 commit intoTexasInstruments:mainfrom
paresh-bhagat12:lpm
Nov 26, 2024
Merged

am62x-sk: Add addidtional flags for optee-os#8
cshilwant merged 1 commit intoTexasInstruments:mainfrom
paresh-bhagat12:lpm

Conversation

@paresh-bhagat12
Copy link
Collaborator

Enable additional flags for optee-os

  • Enable SOFTWARE_PRNG to enable software based random number genrator. This also fixes low power mode failure on buildroot image.
  • Set TEE_CORE_LOG_LEVEL to 1 for debug purpose.

BR2_TARGET_OPTEE_OS_CUSTOM_REPO_VERSION="8f645256efc0dc66bd5c118778b0b50c44469ae1"
BR2_TARGET_OPTEE_OS_NEEDS_PYTHON_CRYPTOGRAPHY=y
BR2_TARGET_OPTEE_OS_PLATFORM="k3-am62x"
BR2_TARGET_OPTEE_OS_ADDITIONAL_VARIABLES="CFG_WITH_SOFTWARE_PRNG=y CFG_TEE_CORE_LOG_LEVEL=1"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In Debian and Arago, we have only CFG_TEE_CORE_LOG_LEVEL for AM62x. CFG_WITH_SOFTWARE_PRNG is an argument only for AM62px.

Copy link
Member

@cshilwant cshilwant left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

s/genrator/generator in commit message

Copy link
Member

@cshilwant cshilwant left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@paresh-bhagat12

Better to explicitly mention linux as RT + LPM story is still not cracked

"This also fixes low power mode failure on buildroot linux image."

Copy link
Member

@cshilwant cshilwant left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

s/debuggin/debugging

@cshilwant cshilwant requested a review from jsuhaas22 November 25, 2024 12:26
Enable flags for optee-os and ATF which are also used in yocto
- optee-os: Set TEE_CORE_LOG_LEVEL to 1 for debugging purpose.
- atf: K3_PM_SYSTEM_SUSPEND=1 to enable low power mode.

These changes also fix LPM failure on buildroot linux image.

Signed-off-by: Paresh Bhagat <p-bhagat@ti.com>
Copy link
Contributor

@jsuhaas22 jsuhaas22 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@cshilwant cshilwant merged commit 1135f11 into TexasInstruments:main Nov 26, 2024
@paresh-bhagat12 paresh-bhagat12 deleted the lpm branch February 7, 2025 10:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants