Rk3399 linux 内核编译-笔记

编译环境:

ubuntu16.04

安装必要的软件和库:sudo apt-get install git build-essential lzop libncurses5-dev libssl-dev libc6:i386


参考firefly的wiki: http://wiki.t-firefly.com/index.php/Firefly-RK3399/Build_kernel

下载内核镜像:git clone https://[email protected]/TeeFirefly/linux-kernel.git

下载交叉编译工具:git clone https://[email protected]/TeeFirefly/prebuilts.git

linux 内核采用的config文件为firefly_linux_defconfig, dts文件为rk3399-firefly-linux.dts


指令:

1: make ARCH=arm64 firefly_linux_defconfig
2: make ARCH=arm64 rk3399-firefly-linux.img -j8





你可能感兴趣的:(Linux)