Jump to content

Compiling Jetson TX1/TX2 source code: Difference between revisions

Line 730: Line 730:


<pre>
<pre>
sudo cp $DEVDIR/images/zImage $DEVDIR/images/Image $DEVDIR/64_TX1/Linux_for_Tegra_64_tx1/rootfs/boot/
sudo cp $DEVDIR/images/zImage $DEVDIR/images/Image $DEVDIR/rootfs/boot/
</pre>
</pre>


Line 736: Line 736:


<pre>
<pre>
cd $DEVDIR/64_TX1/Linux_for_Tegra_64_tx1/
cd $DEVDIR/
sudo ./apply_binaries.sh  
sudo ./apply_binaries.sh  
</pre>
</pre>


then flash your filesystem again.
then flash your filesystem again.
'''Option 2'''.
If you don't want to reflash the complete file system, you can just move the Image to your board using SCP (your board and your host computer have to be in the same network).
1) Find your board's IP address:
From your board run:
<pre>
ifconfig
</pre>
you'll see something like:
<pre>
eth0      Link encap:Ethernet  HWaddr 0c:54:a5:1d:18:fe 
          inet addr:10.251.101.40  Bcast:10.251.101.255  Mask:255.255.255.0
</pre>
So in this case the IP address is '''10.251.101.40'''
2) From your host computer copy the Image to your board.
<pre>
BOARD_IP_ADDRESS=10.251.101.40
scp $DEVDIR/images/arch/arm64/boot/Image nvidia@BOARD_IP_ADDRESS:/tmp
</pre>
You'll be asked for a password, use '''nvidia'''
3) From your board, copy the kernel Image to the /boot folder:
<pre>
sudo cp /tmp/Image /boot
</pre>
You'll be asked for a password again, use '''ubuntu''' if your user is ubuntu or '''nvidia''' if your user is nvidia.
4) Reboot the board.
<pre>
sudo reboot
</pre>
At this point you should be using the new kernel Image, you can verify with the uname command:
<pre>
uname -a
</pre>
Just make sure the date is correct: Linux tegra-ubuntu 4.4.38+ #35 SMP PREEMPT '''Tue Nov 28 12:29:01 CST 2017''' aarch64 aarch64 aarch64 GNU/Linux


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