Jump to content

Compiling Jetson TX2 source code: Difference between revisions

Line 209: Line 209:
== Flash your Kernel image using Jetpack 3.0 root file system==
== Flash your Kernel image using Jetpack 3.0 root file system==


1) Install jetpack 3.0: http://developer.ridgerun.com/wiki/index.php?title=Installing_Jetpack_3.0
'''1.''' Install jetpack 3.0: http://developer.ridgerun.com/wiki/index.php?title=Installing_Jetpack_3.0
 
2)Flash your board with Jetpack, the root file system will be on an SD card
 
Go to Linux_for_Tegra_64_tx2 directory


'''2.''' Flash your board with Jetpack, the root file system will be on an SD card


'''3.''' Go to Linux_for_Tegra_64_tx2 directory
<pre>
<pre>
cd $JETPACKDIR/64_TX1/Linux_for_Tegra_64_tx2/
cd $JETPACKDIR/64_TX1/Linux_for_Tegra_64_tx2/
</pre>
</pre>


3. Put the board into force USB Recovery Mode:
'''4.''' Put the board into force USB Recovery Mode:
<pre>
<pre>
1. Power down the device. If connected, remove the AC adapter from the device. The device must be
1. Power down the device. If connected, remove the AC adapter from the device. The device must be
Line 234: Line 232:




Use ./flash.sh in order to configure TX2 board, Also this scripts configure jetpack rootfs to be used as SD filesystem
'''5.''' Use ./flash.sh in order to configure TX2 board, Also this scripts configure jetpack rootfs to be used as SD filesystem
Execute the script as follows:
Execute the script as follows:


Line 241: Line 239:
</pre>
</pre>


Create ext4 partition called "rootfs".
'''6.''' Create ext4 partition called "rootfs".


  sudo mkfs.ext4 /dev/mmcblkp1 -L "rootfs"
  sudo mkfs.ext4 /dev/mmcblkp1 -L "rootfs"


3) Copy rootfs from jetpack 3.0
'''7.''' Copy rootfs from jetpack 3.0


<pre>
<pre>
Line 251: Line 249:
</pre>
</pre>


4) Copy kernel image, device tree, and modules
'''8.''' Copy kernel image, device tree, and modules.


<pre>
<pre>
Line 261: Line 259:
</pre>
</pre>


5)Modify extlinux.conf. The Device Tree Binary (DTB) is no longer specified by default in /boot/extlinux/extlinux.conf therefore you have to set this field manually in /media/$USER/rootfs/boot/boot/extlinux/extlinux.conf
'''9.''' Modify extlinux.conf. The Device Tree Binary (DTB) is no longer specified by default in /boot/extlinux/extlinux.conf therefore you have to set this field manually in /media/$USER/rootfs/boot/boot/extlinux/extlinux.conf
(see: http://elinux.org/Jetson/TX2_DTB)
(see: http://elinux.org/Jetson/TX2_DTB)


Line 279: Line 277:
</pre>
</pre>


4. Unmount the device and Put the SD into the tx1 board, and boot the board.
'''10.''' Unmount the device and Put the SD into the tx1 board, and boot the board.
 
<pre>
<pre>
umount /media/$USER/rootfs  
umount /media/$USER/rootfs  
</pre>
</pre>


Username and password: nvidia. You can see the ipaddress connecting a keyboard, mouse and monitor to the board at this point since ubuntu would be already booted.
Username and password: nvidia. You can see the ipaddress connecting a keyboard, mouse and monitor to the board at this point since ubuntu would be already booted.
214

edits

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