1.编译RK3399pro SDK
cd /home/gaojun/devdisk/harddisk/lpa3399pro-lubuntu-sdk-v1
vi kernel/arch/arm64/configs/rockchip_linux_defconfig
#确保以下2项开启(可以在显示器上显示日志)
CONFIG_FRAMEBUFFER_CONSOLE=y
CONFIG_FRAMEBUFFER_CONSOLE_DETECT_PRIMARY=y
#注释以下4行(去掉系统默认的video0~video9)
#CONFIG_V4L_PLATFORM_DRIVERS=y
#CONFIG_SOC_CAMERA=y
#CONFIG_VIDEO_ROCKCHIP_ISP1=y
#CONFIG_VIDEO_ROCKCHIP_USBACM_CONTROL=y
#SDK编译顺序
./build.sh device/rockchip/rk3399pro/BoardConfig_sigma.mk
#uboot编译
cd u-boot
./make.sh rk3399pro
#kernel编译
cd kernel
make ARCH=arm64 rockchip_linux_defconfig && make ARCH=arm64 rk3399pro-sigma-linux.img
make ARCH=arm64 rockchip_linux_sigma_defconfig && make ARCH=arm64 rk3399pro-sigma-linux.img
./build.sh
./build.sh updateimg
2.准备ubuntu文件系统
以上rk3399pro SDK编译默认是linux文件系统,需要替换为ubuntu系统。
<