range Pi 用户手册 深圳市迅龙软件有限公司版权所有
www.orangepi.cn
108
www.xunlong.tv
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
8.3.
Compile Android image
8.3.1.
Compile u-boot
1) Enter the u-boot directory, select the configuration of rk3328 and start compiling
u-boot
test@ubuntu:~/OrangePi_R1Plus_RK3328/$ cd u-boot
test@ubuntu:~/OrangePi_R1Plus_RK3328/u-boot$ ./make.sh rk3328
make for rk3328_defconfig by -j24
2) After compiling, three files of trust.img, rk3328_loader_vx.xx.xxx.bin and uboot.img
will be generated
uboot version: U-Boot 2017.09-gdc89501087 (Dec 17 2020 - 19:43:15)
pack uboot.img success!
merge success(rk3328_loader_v1.16.250.bin)
merge success(trust.img)
Platform RK3328 is build OK, with new .config(make rk3328_defconfig)
8.3.2. Compile the kernel
1) Enter the kenel directory, specify the kernel configuration rockchip_defconfig, and
then start to compile the kernel image, rk3328-evb-android-avb corresponds to the file
name of the dts used
test@ubuntu:~/OrangePi_R1Plus_RK3328$ cd kernel
test@ubuntu:~/OrangePi_R1Plus_RK3328/kernel$
make ARCH=arm64 rockchip_defconfig
test@ubuntu:~/OrangePi_R1Plus_RK3328/kernel$