Jump to content

Compiling Jetson TX1/TX2 source code: Difference between revisions

Line 261: Line 261:


As an important note, kernel will be located not in a partition but in /boot on the filesystem this make easier a kernel update.
As an important note, kernel will be located not in a partition but in /boot on the filesystem this make easier a kernel update.
==Flashing the TX2==
For loading the bootloader and the kernel on the eMMC, it's necessary flashing and booting the target Tegra device. A USB cable is required and must be connected to the recovery port prior to running the flashing command.<br><br>
To flash the target Tegra device:
'''a.''' Put the target board into ''reset/recovery'' mode as follows:
* Connect the Tegra to the Jetson board via CVM connector.
* Power on the Jetson board.
* Hold the ''recovery'' button and then press the ''reset'' button.
* The Jetson board should be connected to the host computer via USB, so you can check if it is on ''reset/recovery'' mode by typing:
<pre>
lsusb
</pre>
You should see "NVidia Corp." as part of the returned message.
For more information you can check the User Guide: https://developer.download.nvidia.com/embedded/L4T/r27_Release_v1.0/Docs/Jetson_X2_Developer_Kit_User_Guide.pdf
'''b.''' On the host machine, copy the ''.dtb'' files located in the '''Linux_for_Tegra/images/arch/arm64/boot/dts''' directory to the '''Linux_for_Tegra/kernel''' directory.
'''c.''' Copy ''Image'' and ''zImage'' located in the '''Linux_for_Tegra/images/arch/arm64/boot/''' directory to the '''Linux_for_Tegra/kernel''' directory.
'''d.''' Run the following command from '''$DEVDIR":
<pre>
sudo ./flash.sh -r -d kernel/dtb/tegra186-quill-p3310-1000-c03-00-base.dtb -K kernel/Image jetson-tx2 mmcblk1p1
</pre>


== Flash your image with Jetpack ==
== Flash your image with Jetpack ==
932

edits

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