Compiling Jetson TX1/TX2 source code: Difference between revisions

Line 587: Line 587:
==== USB ====
==== USB ====
To flash the filesystem to USB you need to put the filesystem on the USB first
To flash the filesystem to USB you need to put the filesystem on the USB first
** Insert your USB flash/drive in your PC and check where it was mounted
1) Insert your USB flash/drive in your PC and check where it was mounted
<pre>
<pre>
mount
mount
/dev/sdb1 on /media/dsoto/EF02-5626 type vfat (rw,nosuid,nodev,uid=1000,gid=1000,shortname=mixed,dmask=0077,utf8=1,showexec,flush,uhelper=udisks2)
/dev/sdb1 on /media/dsoto/EF02-5626 type vfat (rw,nosuid,nodev,uid=1000,gid=1000,shortname=mixed,dmask=0077,utf8=1,showexec,flush,uhelper=udisks2)
</pre>
</pre>
**Format the USB drive in your PCB
2)Format the USB drive in your PCB
<pre>
<pre>
sudo mkfs.ext4 /dev/sdb1
sudo mkfs.ext4 /dev/sdb1
</pre>
</pre>
**Copy the filesystem to the USB drive
3)Copy the filesystem to the USB drive
<pre>
<pre>
mkdir $DEVDIR/images/fs
mkdir $DEVDIR/images/fs
Line 603: Line 603:
sudo cp -a * $DEVDIR/images/fs  && sync
sudo cp -a * $DEVDIR/images/fs  && sync
</pre>
</pre>
**Unmount the USB drive and remove it
4)Unmount the USB drive and remove it
<pre>
<pre>
umount $DEVDIR/images/fs
umount $DEVDIR/images/fs
</pre>
</pre>
**Finally connect the USB drive to the Jetson board put the Jetson on recovery mode, flash the board to look for the filesystem on the USB port:
5)Finally connect the USB drive to the Jetson board put the Jetson on recovery mode, flash the board to look for the filesystem on the USB port:
<pre>
<pre>
cd $DEVDIR/TX1/Linux_for_Tegra_tx1/
cd $DEVDIR/TX1/Linux_for_Tegra_tx1/