全志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

你可能感兴趣的:(Android_Linux,android)