赞
踩
mkdir trusty
cd trusty
repo init -u https://android.googlesource.com/trusty/manifest -b master
repo sync -j32
./trusty/vendor/google/aosp/scripts/build.py generic-arm64
ls build-root/build-generic-arm64/lk.bin
sudo apt install libpixman-1-dev libstdc+±8-dev pkg-config libglib2.0-dev libusb-1.0-0-dev
trusty/vendor/google/aosp/scripts/build.py qemu-generic-arm64-test-debug
build-root/build-qemu-generic-arm64-test-debug/run --headless --boot-test “com.android.ipc-unittest.ctrl”
build-root/build-qemu-generic-arm64-test-debug/run-qemu --boot-test “com.android.ipc-unittest.ctrl” --headless --verbose
注意:ATF 会先停用控制台,然后再返回测试运行程序。如需在本地停用此设置,请注释掉 extern
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。