tinker board 2s Android10编译问题
我在根据这个帖子编译安卓10源码时(http://wiki.smartfire.cn/Tinkerboard2/Build_android)遇到了如下问题,编译到安卓镜像时会报错:
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=10
TARGET_PRODUCT=WW_Tinker_Board_2
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_ARCH=arm64
TARGET_ARCH_VARIANT=armv8-a
TARGET_CPU_VARIANT=cortex-a53
TARGET_2ND_ARCH=arm
TARGET_2ND_ARCH_VARIANT=armv7-a-neon
TARGET_2ND_CPU_VARIANT=cortex-a15
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-5.4.0-84-generic-x86_64-Ubuntu-14.04.6-LTS
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=QD4A.200805.003
OUT_DIR=out
============================================
out/soong/.bootstrap/bin/soong_build out/soong/build.ninja
FAILED: out/soong/build.ninja
out/soong/.bootstrap/bin/soong_build -t -l out/.module_paths/Android.bp.list -b out/soong -n out -d out/soong/build.ninja.d -globFile out/soong/.bootstrap/build-globs.ninja -o out/soong/build.ninja Android.bp
libRKmediaplayerservice want to conditional Compile
libRkTeeWeaver want to conditional Compile
libcrypto_defaults want to conditional Compile
libffmpeg_58 want to conditional Compile
libgralloc_priv want to conditional Compile
libjpeghwenc want to conditional Compile
libmpp want to conditional Compile
librga want to conditional Compile
librk_vpuapi want to conditional Compile
librockit want to conditional Compile
librtopus want to conditional Compile
libvpu want to conditional Compile
Optee Version: v1
libcrypto-NO_USE_RDRAND: rk3399
29
PlatformLibname: librockit_interface
Killed
04:51:32 soong bootstrap failed with: exit status 1
#### failed to build some targets (02:10 (mm:ss)) ####
你的linux物理+交换内存是多少 风火轮用户68631 发表于 2022-7-18 09:25
你的linux物理+交换内存是多少
我刚想说这事。周日晚上解决了,确实是内存小了,编到安卓的时候直接爆内存了。峰值大概需要13-14G内存。 在第一次编译RK3399内核时,遇到以下错误
https://img-blog.csdnimg.cn/20200903174703902.png
安装lz4:
sudo apt-get install liblz4-tool
然后重新编译即可。
原文链接:https://blog.csdn.net/it_rensheng/article/details/108389690 风火轮用户68631 发表于 2022-7-18 09:25
你的linux物理+交换内存是多少
这是我机子的内存你看看
页:
[1]