Nvidia Jetson Tx2 Build Kernel
The kernel sources and build objects consume 3gb.
Nvidia jetson tx2 build kernel. With the advent of the new jetson tx2 running l4t 27 1 with the 4 14 kernel nvidia recommends using a host pc when building a system from source. Cd kernel kernel 4 4 make xconfig. To prepare the l4t kernel headers on a jetson system on a jetson system you can use the files in this directory to build out of tree modules without further action. Nvidia recommends using the linaro 7 3 1 2018 05 toolchain for l4t 32 3.
I was able to build l4t 28 1 kernel natively on tx2 but it took 12 minutes. In this article we cover building the kernel and modules for the nvidia jetson tx2 running l4t 28 2. This is an alternative which builds the kernel onboard the jetson itself. These scripts are for building the kernel for the 64 bit l4t 32 3 1 ubuntu 18 04 based operating system on the nvidia jetson tx2.
These scripts will download the kernel source to the jetson tx2 and then compile the kernel and selected modules. Before changing any of the configuration parameters let s verify that things compile without tweaking the preemption model. Make zimage j9 worked for multiple cores of in. Follow these instructions to build and install the kernel image and device tree.
Scripts to help build the 4 4 38 kernel and modules onboard the jetson tx2 l4t 28 2 jetpack 3 2. These procedures describe how to prepare a set of kernel headers or a kernel source tree to allow building an out of tree kernel module. Now let s pick up where the jetson hacks scripts have left off. Nvidia board names use lower case letters.
For previous versions visit the tags section. I used make zimage j9 but only one cpu core ran at 100 other 3 cpu cores stayed at 0. Files for nvidia reference. See the linux for tegra r27 1 web page where you can get the required gcc 4 8 5 tool chain for 64 bit bsp.
The flashing the build image. Since the file is in the t18x subdirectory of sources but not in the kernel i am wondering if something has configured a feature using this which my kernel build is not referencing my kernel build works yours doesn t so either config or sources differ. We also build the ch341 module which is a usb to serial converter. Compiling jetson nano source code l4t 32 1.
The newly compiled kernel can then be installed. Building after the manual patch. As of this writing the official way to build the jetson tx2 kernel is to use a cross compiler on a linux pc. Download and install the toolchain.