作者热门文章
- iOS/Objective-C 元类和类别
- objective-c - -1001 错误,当 NSURLSession 通过 httpproxy 和/etc/hosts
- java - 使用网络类获取 url 地址
- ios - 推送通知中不播放声音
我正在尝试使用 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/
我是一名优秀的程序员,十分优秀!