For best results, you should read through the official NVIDIA documentation found on:
https://developer.nvidia.com/linux-tegra-rel-21
In particular, the Quick Start Guide.
For this process you will need:
- A host desktop or laptop computer running Ubuntu Linux 12.04 is officially recommended. In practice, this may be a virtual machine, I have used VirtualBox in the past. Also, I've successfully flashed from Ubuntu Linux 14.04. Your mileage may vary.
- Micro USB cable provided with the Jetson TK1 kit
- Jetson TK1 and power supply
- Optional: DB9 null modem cable if you want to use the serial console during boot
- On your host computer open a Terminal, then create a directory to operate from, and switch to it. As an example:
mkdir ~/LT4
cd ~/LT4
- Download NVIDIA Linux4Tegra (L4T) Board Support Package (BSP) and Sample Root Filesystem from NVIDIA
wget http://developer.download.nvidia.com/mobile/tegra/l4t/r21.1.0/Tegra124_Linux_R21.1.0_armhf.tbz2
wget http://developer.download.nvidia.com/mobile/tegra/l4t/r21.1.0/Tegra_Linux_Sample-Root-Filesystem_R21.1.0_armhf.tbz2
- Extract NVIDIA files (BSP and rootfs)
sudo tar xpf Tegra124_Linux_R21.1.0_armhf.tbz2
cd Linux_for_Tegra/rootfs
sudo tar xpf ../../Tegra_Linux_Sample-Root-Filesystem_R21.1.0_armhf.tbz2
cd ../
- Apply binaries
#sudo is important here
sudo ./apply_binaries.sh
- Connect the Jetston TK1 to the host Linux computer via the micro-usb cable, and place the Jetson TK1 into recovery mode (by holding down the hardware Recovery button on the board and either pushing the Reset button if power is already plugged in, or plug in power for the first time).
- Run
lsusb
on your host computer and make sure you see some kind of NVIDIA device - Flash the entire board from host computer command line (this will take some time to build the image and then download everything via usb)
sudo ./flash.sh jetson-tk1 mmcblk0p1
-
You should eventually see
Reset the board to boot from internal eMMC.
on the host computer. At that point, press the Reset button on the Jetson TK1 board or power cycle it. -
You should see boot messages scroll by on a monitor connected to the Jetson. Optionally, you can connect to your Jetson using the DB9 null modem cable and
screen /dev/cu.usbserial-A602FDXV 115200 8N1
on the host computer and verify that boot messages scroll by after reset. -
Default login is user ubuntu, password ubuntu. You can
sudo su
to change to root user if necessary.
You should be good to go at this point.
Hello All!
I've got a problem.
I followed the instructions modified to TX1 and up to date rootfs and BSP
unpacked and made all the necessary steps, but unfortunately after cold boot the system hang in
uboot
loader.Any attempts to boot it with either
boot
orbootd
failed:At first glance
rootfs
was ok:but delving into it:
some junk and there is no
zImage
./etc
was empty and an attempt to look into/lib
hangeduboot
So it is likely that
system.img
is corrupted.Please note I strictly followed these gist instructions and NVIDIA TEGRA LINUX DRIVER PACKAGE QUICK-START GUIDE
I repeated the exercise with
flash.sh
many times with either artifacts after standardJetPack
installation or from pristineTegra_Linux_Sample-Root-Filesystem_R24.1.0_armhf.tbz2
and got to preliminary conclusion thatflash.sh
is unreliable at least for TX1 board. As I learnedJetPack
doesn't useflash.sh
forsystem.img
preparation and flashing but rather a binary calledflash_os
.Has anybody encountered with the similar problem?
Thanks!