编译流程:
获取Android12.0SDK firefly_rk3588_android12.0_git_20220311
解压:
7z x ./firefly_rk3588_android12.0_git_20220311.7z.001 -oRK3588_Android12.0cd ./RK3588_Android12.0git reset --hard更新SDK:cd ~/proj/RK3588_Android12.0git clone https://gitlab.com/T-Firefly/rk3588-android12.0-bundle.git .bundle.bundle/updategit rebase FETCH_HEAD3.2.1.2. 显示屏 DM-M10R800 V2 固件编译
./FFTools/make.sh -d roc-rk3588s-pc-mipi101-M101014-BE45-A1 -j8 -l roc_rk3588s_pc_mipi-userdebug执行到这一步时编译报错,kernel编译成功,编译android时报错,[100% 1/1] out/soong/.bootstrap/bin/soong_build out/soong/build.ninjaFAILED: out/soong/build.ninja cd "$(dirname "out/soong/.bootstrap/bin/soong_build")" && BUILDER="$PWD/$(basename "out/soong/.bootstrap/bin/soong_build")" && cd / && env -i "$BUILDER" --top "$TOP" --out "out/soong" -n "out" -d "out/soong/build.ninja.d" -t -l out/.module_paths/Android.bp.list -globFile out/soong/.bootstrap/build-globs.ninja -o out/soong/build.ninja --available_env out/soong/soong.environment.available --used_env out/soong/soong.environment.used Android.bp audioflinger want to conditional Compile devicefactory want to conditional Compile libRkTeeWeaver want to conditional Compile libaudioclient want to conditional Compile libaudiohal want to conditional Compile libeptz want to conditional Compile libgralloc_priv want to conditional Compile libmpimmz conditional Compile librga want to conditional Compile librknnrt want to conditional Compile librockx want to conditional Compile managerdefault want to conditional Compile Rockchip conditional compile librknnrt enabled on RK3588 librknnrt enabled on RK3588 librknnrt enabled on RK3588 libeptz enabled on RK3588 libeptz enabled on RK3588 libeptz enabled on RK3588 [hardware/rockchip/libgralloc frameworks/native/include system/core/libsync system/core/libsync/include external/libdrm/include/drm] 32 >>>>>>>>>>>>>>>>>>>>> rk3588 Optee Version: v2 librockx enabled on RK3588 librockx enabled on RK3588 librockx enabled on RK3588 Killed 15:29:13 soong bootstrap failed with: exit status 1 ninja: build stopped: subcommand failed. root@ahser-host:~/rk3588s-pc/android12/RK3588_Android12.0#
|