Jump to content

Compiling Jetson TX1/TX2 source code: Difference between revisions

Line 110: Line 110:


Inside of the bootloader directory you will find several binaries or components, to get a description of these please read the [http://http.download.nvidia.com/tegra-public-appnotes/t210-nvtboot-flow.html nvtboot wiki page].
Inside of the bootloader directory you will find several binaries or components, to get a description of these please read the [http://http.download.nvidia.com/tegra-public-appnotes/t210-nvtboot-flow.html nvtboot wiki page].
== Steps ==
1. Backup original uboot files. You see which platform you are using checking the file in $DEVDIR/TX1/Linux_for_Tegra_tx1/jetson-tx1.conf, it says:
<pre>
SYSBOOTFILE=p2371-2180-devkit/extlinux.conf;
</pre>
copy the files to the packages-backup directory
<pre>
cp -rf $DEVDIR/TX1/Linux_for_Tegra_tx1/bootloader/t210ref/p2371-2180-devkit $DEVDIR/images/packages-backup/
</pre>
2. Go to uboot and set environment variables
<pre>
cd $DEVDIR/TX1/Linux_for_Tegra_tx1/sources/u-boot_source/
export CROSS_COMPILE=/opt/linaro/gcc-linaro-5.3-2016.02-x86_64_aarch64-linux-gnu/bin/aarch64-linux-gnu-
export ARCH=arm64
</pre>
3. Clean and compile
<pre>
make distclean
make p2371-2180_defconfig
make
</pre>


= Kernel =
= Kernel =
Cookies help us deliver our services. By using our services, you agree to our use of cookies.