Please note: We are aware of an issue affecting replies on the Arm Community forums, which may not be loading as expected.

We apologize for any inconvenience and appreciate your patience while we investigate and work to resolve the issue.

Thank you for your understanding.


This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Is OPTEE_OS for Juno using 32-bit arch or 64-bit arch?

Hi experts,

 

I'm wondering do you compile the OPTEE_OS in this instruction as arm32 or AArch64? In which script do you set the compiler for the secure OS? ( I checked the file build-optee-os.sh while I find the file exports both compilers so I'm not sure which one is used for compiling OPTEE_OS actually.)

Also, if it's still using 32-bit architecture, is it possible for me to compile the secure OS as 64-bit OS to access entire DRAM address?

Thank you.

Parents
  • It depends on whether you build with ARM64 enabled or not.
    For HiKey board example, it you want to build optee-os for AArch64
    $make PLATFORM=hikey CFG_ARM64_core=y

    It will build for AArch32 by default.
    $make PLATFORM=hikey

    CFG_ARM64_core=y will define "-DARM64" for bare-mental code.
    For optee linux driver, it has a separate build option: CONFIG_ARM64=y
Reply
  • It depends on whether you build with ARM64 enabled or not.
    For HiKey board example, it you want to build optee-os for AArch64
    $make PLATFORM=hikey CFG_ARM64_core=y

    It will build for AArch32 by default.
    $make PLATFORM=hikey

    CFG_ARM64_core=y will define "-DARM64" for bare-mental code.
    For optee linux driver, it has a separate build option: CONFIG_ARM64=y
Children
No data