Compiling Jetson TX1/TX2 source code: Difference between revisions

Line 585: Line 585:
</pre>
</pre>


* USB
* USB: 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
<pre>
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)
</pre>
**Format the USB drive in your PCB
<pre>
sudo mkfs.ext4 /dev/sdb1
</pre>
**Copy the filesystem to the USB drive
<pre>
mkdir $DEVDIR/images/fs
sudo mount /dev/sdb1 $DEVDIR/images/fs
cd $DEVDIR/TX1/Linux_for_Tegra_tx1/rootfs/
sudo cp -a * $DEVDIR/images/fs  && sync
</pre>
**Unmount the USB drive and remove it
<pre>
umount $DEVDIR/images/fs
</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:
<pre>
<pre>
cd $DEVDIR/TX1/Linux_for_Tegra_tx1/
cd $DEVDIR/TX1/Linux_for_Tegra_tx1/