|
发表于 2022-8-8 09:53:22
只看该作者
5#
RE: RK3566开发板自己编译的android11通过,但是系统进不去,请教下大家?
编译错过2次错误,不过我都按照要求解决了。
第一次是虚拟机磁盘空间不足,然后我扩充了虚拟机,后继续编译了,编译它能自动接着上次的编译进度。
磁盘空间100%,我就扩容虚拟机
第二次是(反正第二次是还是报错,什么都没修改,直接编译就正常了。网上说是交换区不足导致的。我这是了交换区2G)
OpenJDK 64-Bit Server VM warning: INFO: os::commit_memory(0x0000000099100000, 346030080, 0) failed; error='Not enough space' (errno=12)
最后就到编译通过了
lpmake I 08-07 14:59:14 49383 49383 builder.cpp:1031] [liblp]Partition product will resize from 0 bytes to 194351104 bytes
lpmake I 08-07 14:59:14 49383 49383 builder.cpp:1031] [liblp]Partition odm will resize from 0 bytes to 634880 bytes
2022-08-07 14:59:43 - build_super_image.py - INFO : Done writing image out/target/product/rk3566_firefly_aiojd4/super.img
#### build completed successfully (48:50 (mm:ss)) ####
Build android ok!
====== make and copy android images
./mkimage.sh
TARGET_PRODUCT=rk3566_firefly_aiojd4
TARGET_BASE_PARAMETER_IMAGE==device/rockchip/rk356x_box/etc/baseparameter_auto.img
HIGH_RELIABLE_RECOVERY_OTA=
BOARD_AVB_ENABLE=false
system filesysystem is ext4
create dtbo.img...
done.
create resource.img...
done.
create boot.img...
done.
create boot-debug.img...
done.
skip copy images: vendor_boot.img
skip copy images: vendor_boot-debug.img
create recovery.img...
done.
create super.img...
done.
create vbmeta.img...
BOARD_AVB_ENABLE is false, use default vbmeta.img
create misc.img.... done.
create uboot.img...
make oem images...
u-boot/trust.img not fount! Please make it from u-boot first!
create loader...
create config.cfg...
create baseparameter...done.
Make image ok!
zcp@ubuntu:~/proj/RK356X_Android11.0$
zcp@ubuntu:~/proj/RK356X_Android11.0$
|
|