EasyManua.ls Logo

Orange Pi Zero2 - Compile Android Image; Compile the Kernel (Android)

Orange Pi Zero2
88 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
86
test@test:~$ sudo apt-get update
test@test:~$ sudo apt-get install git gnupg flex bison gperf build-essential \
zip curl zlib1g-dev gcc-multilib g++-multilib libc6-dev-i386 \
lib32ncurses5-dev x11proto-core-dev libx11-dev lib32z1-dev ccache \
libgl1-mesa-dev libxml2-utils xsltproc unzip
test@test:~$ sudo apt-get install u-boot-tools
6.3. Compile android image
6.3.1. Compile the kernel
1) First configure the compilation environment
test@test:~$ cd longan
test@test:~/longan$ ./build.sh config
Welcome to mkscript setup progress
All available platform:
0. android
1. linux
Choice [android]: 0
All available ic:
0. h313
1. h616
2. h700
Choice [h616]: 1
All available board:
0. fpga
1. ft
2. p1
3. p2
4. perf1
5. perf1_axp152
6. perf2
7. perf3
8. qa
Choice [p2]: 3
INFO: kernel defconfig: generate /wspace2/H616/Android_10/longan/kernel/linux-
4.9/.config by /wspace2/H616/Android_10/longan/kernel/linux-
4.9/arch/arm64/configs/sun50iw9p1smp_h616_android_defconfig
*** Default configuration is based on 'sun50iw9p1smp_h616_android_defconfig'
#
# configuration written to .config

Table of Contents

Related product manuals