支持 #888
RK3588Android12开源平台
0%
描述
0%
描述
Android开发
1:ADB的使用
2:编译环境搭建
sudo apt-get update
sudo apt-get install git gnupg flex bison gperf libsdl1.2-dev \
libesd-java libwxgtk3.0-dev squashfs-tools build-essential zip curl \
libncurses5-dev zlib1g-dev pngcrush schedtool libxml2 libxml2-utils \
xsltproc lzop libc6-dev schedtool g++-multilib lib32z1-dev lib32ncurses5-dev \
lib32readline-dev gcc-multilib libswitch-perl libssl-dev unzip zip device-tree-compiler \
liblz4-tool python-pyelftools python3-pyelftools -y
3:编译android12系统
3.1: SDK下载地址:
链接:https://pan.baidu.com/s/1qQKt6MSnWu1JuPV5r2Ri-g?pwd=fn86
提取码:fn86
3.2:解压SDK
cat 3588_12os.tar.gz.a* > 3588_12os.tar.gz
mkdir ztl_rk3588
tar 3588_12os.tar.gz -C ztl_rk3588
3.3: 编译
3-3-1:一健式编译
./dingchang/ztlcompile/compile-rk-evb-3588/mybuild-ztl-mxm-3588.sh -ZCKAUu
最终生成的固件:
rockdev/Image-rk3588_s/GB-RK3588-12-***-CM.img
3-3-2: 单独编译
./dingchang/ztlcompile/compile-rk-evb-3588/mybuild-ztl-mxm-3588.sh -h可以看到编译各个分区文件的快捷健
编译报错总结
1:LZ4包找不到
解决方法:
直接从GitHub下载lz4最新源代码编译:
$ git clone https://github.com/lz4/lz4.git
$ make
$ sudo make install
4:android系统开发
5:智通利android平台API开发文档