首先是安装编译环境所需的依赖
sudo apt-get install git bison flex libssl-dev zip libncurses-dev makesudo apt-get install build-essential bc
下载交叉编译器以及代码,官方链接: link
https://developer.nvidia.com/embedded/jetson-linux
解压下载的两个文件,并提取public_sources/linux_for_Tegra/source/public/kernel_src
编译方法:官方链接: link https://docs.nvidia.com/jetson/archives/l4t-archived/l4t-3261/index.html#page/Tegra%20Linux%20Driver%20Package%20Development%20Guide/kernel_custom.html#