全志A133AndroidQ编译方式

编译uboot:

cd longan/brandy/brandy-2.0

./build.sh -p sun50iw10p1 //A133-android-10-plus\longan\brandy\brandy-2.0\u-boot-2018\u-boot.bin复制为u-boot-sun50iw10p1.bin

或者 //longan\brandy\brandy-2.0\u-boot-2018\configs\sun50iw10p1_defconfig

cd longan/brandy/brandy-2.0/u-boot-2018

make distclean && make sun50iw10p1_config && make -j16 //A133-android-10-plus\longan\device\config\chips\a133\bin\u-boot-sun50iw10p1.bin

编译kernel:

cd longan/kernel/linux-4.9

make distclean/clean 清空内核

cd A133-android-10-plus/longan

./build.sh config //A133-android-10-plus\longan\kernel\linux-4.9\arch\arm64\configs\sun50iw10p1smp_a133_android_defconfig

android,a133,c3 //0 0 3

./build.sh //A133-android-10-plus\longan\out\a133\c3\android\

生成key:

./longan/build/createkeys //运行1次就行了,后面都有的

生成在longan\out\a133\common\keys\下

编译Android:

cd android

source build/envsetup.sh

lunch 32 //ceres_c3-userdebug //A133-android-10-plus\android\device\softwinner\ceres-c3

extract-bsp //拷贝内核以及模块ko到A133-android-10-plus\android\device\softwinner\ceres[[-c3

export BUILD_NUMBER=$(date '+%Y%m%d%H%M') //生成带日期及时间的.zip包

make installclean -j16

make -j16

相关推荐
大鹏说大话12 分钟前
PHP 异步处理方案:队列使用场景与 RabbitMQ 实操
android
molihuan24 分钟前
最新 Paddle-Lite Android平台编译
android·ocr·paddle·推理·端侧·paddle lite
小肝一下1 小时前
多态(上)
android·开发语言·c++·vscode·多态·面向对象·伊蕾娜
三少爷的鞋1 小时前
Android 面试系列:Retrofit 的 suspend 是如何实现的?
android
solo_9913 小时前
用 LSPosed 模拟录屏音频编码器卡顿:从思路到落地
android
zzq779713 小时前
别把大模型 API Key 写进 APK:移动 AI 应用接口防盗刷实践
android·人工智能·安全·app加固·御盾安全·安卓加固
xiaopang15 小时前
RK3568 AOSP 编译与快速部署实战
android
程序员正茂16 小时前
Android工程中使用ncnn进行yolo识别
android·yolo·ncnn
码农coding16 小时前
android12 SystemUI之通知
android