标签:variant tin imp pat 3.1 targe unknown dir 生成文件
版本:jetpack3.1,R28.1,TX2
虚拟机:ubuntu14.04
主要步骤记载如下:
export CROSS_COMPILE=<crossbin>
export TEGRA_KERNEL_OUT=<outdir>
export ARCH=arm64
<crossbin>是交叉编译工具的路径,如:
<aarch64_toolchain_install>/bin/aarch64-unknown-linux-gnu-
outdir是编译生成文件的目标路径。
进入源码路径:
cd <source path>/kernel/kernel-4.4
依次执行:
make O=$TEGRA_KERNEL_OUT tegra21_defconfig //TX1
make O=$TEGRA_KERNEL_OUT tegra18_defconfig //TX2
make O=$TEGRA_KERNEL_OUT zImage
make O=$TEGRA_KERNEL_OUT dtbs
make O=$TEGRA_KERNEL_OUT modules
make O=$TEGRA_KERNEL_OUT modules_install INSTALL_MOD_PATH=<your_destination>//安装路径
标签:variant tin imp pat 3.1 targe unknown dir 生成文件
原文地址:https://www.cnblogs.com/xiaojianliu/p/10114936.html