gpt4 book ai didi

linux - optee trust os 在树莓派 3 上的实现

转载 作者:塔克拉玛干 更新时间:2023-11-03 01:17:20 27 4
gpt4 key购买 nike

我正在尝试使用 Raspbian 操作系统在 Raspberry Pi 3 上实现 OP-TEE 信任操作系统。 OP-TEE 网站提到它同时支持 32 位和 64 位架构,但是当我尝试实现时,它会自动运行 aarch64 make 文件,这与我的 32 位 Raspbian 操作系统不兼容。无论如何强制 OP-TEE 运行 aarch32 生成文件?

最佳答案

我只尝试为 Juno 板构建 OP-TEE 操作系统,但我相信在您的 Makefile 中有一个地方可以像我的 Makefile 一样定义交叉编译器:

class Compiler():

__aa32 = None
__aa64 = None

def AArch32():
if not Compiler.__aa32:
fn = "gcc-linaro-"+AARCH32_COMPILER_VSN+"-x86_64_arm-linux-gnueabihf.tar.xz"
Compiler.__aa32 = Resource\
(
name="AArch32 compiler",
baseurl="http://releases.linaro.org/components/toolchain/"\
+"binaries/"+COMPILER_RELEASE+"/arm-linux-gnueabihf/",
filename=fn,
dstdir="tools/gcc/",
md5file=fn+".asc",
)
return Compiler.__aa32

def AArch64():
if not Compiler.__aa64:
fn = "gcc-linaro-"+AARCH64_COMPILER_VSN+"-x86_64_aarch64-linux-gnu.tar.xz"
Compiler.__aa64 = Resource\
(
name="AArch64 compiler",
baseurl="http://releases.linaro.org/components/toolchain/"\
+"binaries/"+COMPILER_RELEASE+"/aarch64-linux-gnu/",
filename=fn,
dstdir="tools/gcc/",
md5file=fn+".asc",
)
return Compiler.__aa64

尝试使用 AARCH32 而不是 AARCH64。

关于linux - optee trust os 在树莓派 3 上的实现,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/49191131/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com