本文介绍: uboot,kernel,android编译

编译uboot:

cd longan/brandy/brandy-2.0

./build.sh -p sun50iw10p1 //A133-android-10-pluslonganbrandybrandy-2.0u-boot-2018u-boot.bin复制为u-boot-sun50iw10p1.bin

或者 //longanbrandybrandy-2.0u-boot-2018configssun50iw10p1_defconfig

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

make distclean && make sun50iw10p1_config && make -j16 //A133-android-10-pluslongandeviceconfigchipsa133binu-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-pluslongankernellinux-4.9archarm64configssun50iw10p1smp_a133_android_defconfig

android,a133,c3 //0 0 3

./build.sh //A133-android-10-pluslonganouta133c3android

生成key:

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

生成在longanouta133commonkeys下

编译Android:

cd android

source build/envsetup.sh

lunch 32 //ceres_c3-userdebug //A133-android-10-plusandroiddevicesoftwinnerceres-c3

extract-bsp //拷贝内核以及模块ko到A133-android-10-plusandroiddevicesoftwinnerceres[[-c3

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

make installclean -j16

make -j16

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注