cd /u-boot
make ARCH=arm CROSS_COMPILE=aarch64-linux-gnu- distclean
make ARCH=arm CROSS_COMPILE=aarch64-linux-gnu- rk3568_defconfig
make ARCH=arm CROSS_COMPILE=aarch64-linux-gnu- -j4
编译kernel
cd /kernel
make ARCH=arm64 OK3568-C-linux_defconfig
make ARCH=arm64 OK3568-C-linux.img -j4
make ARCH=arm64 modules -j4
make ARCH=arm64 modules_install INSTALL_MOD_PATH=../buildroot/output/OK3568/target/
编译buildroot
cd /buildroot
make OK3568_defconfig O=~/OK3568-linux-source/buildroot/output/OK3568
./utils/brmake O=~/OK3568-linux-source/buildroot/output/OK3568