How to perform a correct fresh Ubuntu install on Jetson Tk1

Hi everyone,

I wanted to know if are there any precise stages to follow in order to correctly perform a fresh Ubuntu 16.04 install on my Jetson TK1.

Cheers

BEGIN EDIT
(identifying which driver package, sample rootfs, and other options for a TK1, versus TX1, versus TX2):

A t210 (Tegra 210, a specific t21x variant) refers to a TX1.
A t124 (Tegra 124, a specific t12x variant) refers to a TK1.
A t186 (Tegra 186, a specific t18x variant) refers to a TX2.

At the moment of this edit the most current sample rootfs and driver package downloads are:
TK1, L4T R21.5, file Tegra_Linux_Sample-Root-Filesystem_R21.5.0_armhf.tbz2 (driver package Tegra124_Linux_R21.5.0_armhf.tbz2).
TX1, L4T R24.2.1, file Tegra_Linux_Sample-Root-Filesystem_R24.2.1_aarch64.tbz2 (driver package Tegra210_Linux_R24.2.1_aarch64.tbz2).
TX2, L4T R27.1, file Tegra_Linux_Sample-Root-Filesystem_R27.1.0_aarch64.tbz2 (driver package Tegra186_Linux_R27.1.0_aarch64.tbz2).

Please substitute with the driver package and sample rootfs file names above depending on whether your flash is for a TK1, TX1, or TX2. Flash target of a TK1 is jetson-tk1; for a TX1 flash target is jetson-tx1; flash target for a TX2 is jetson-tx2.

Maximum root partition size specification for each target (the “-S” option of flash.sh) is:
TK1: 14580MiB (“-S 14580MiB”).
TX1: 14580MiB (“-S 14580MiB”).
TX2: 29318MiB (“-S 29318MiB”).

This URL provides a listing of various versions of driver package and flash software sorted by flash target or version of L4T (JetPack is indirectly related to this because JetPack is a front end which can flash the various L4T versions listed above…JetPack itself installs only to the x86_64 host):
https://developer.nvidia.com/embedded/linux-tegra-archive

To see if a Jetson is visible to “lsusb” in recovery mode on a host use one of these:

TK1: lsusb -d 0955:7140
TX1: lsusb -d 0955:7721
TX2: lsusb -d 0955:7c18

END EDIT.

For just flash without JetPack and without extra packages, the minimum goes something like this:

  1. Download the driver package plus sample rootfs. Most recent R24.2.1 is at: https://developer.nvidia.com/embedded/linux-tegra
  2. Unpack the driver package (goes to "Linux_for_Tegra" subdirectory). Within this is subdirectory "rootfs" (EDIT: Note that the TK1 is currently at R21.5, some of the below refers to TX1 with R24.2.1...a TK1 is a tegra124, a TX1 is a tegra210):
    tar xjvf Tegra210_Linux_R24.2.1_aarch64.tbz2
    
  3. cd into rootfs, use sudo to unpack the sample rootfs:
    sudo tar xjvf ../wherever/it/is/Tegra_Linux_Sample-Root-Filesystem_R24.2.1_aarch64.tbz2
    
  4. cd back up one directory to the "Linux_for_Tegra" directory ("cd ..").
  5. Use sudo to apply_binaries.sh:
    sudo ./apply_binaries.sh
    
  6. Verify you still have enough disk space of type ext4, perhaps 25GB:
    df -H -T .
    
  7. Put the Jetson in recovery mode (hold the recovery button while powering on the Jetson or hitting reset for an already on Jetson, connect the micro-B USB cable to host). Verify host can see the Jetson...see output from this lsusb command:
    lsusb -d 0955:7721
    
  8. Flash with sudo: NOTE: Use "jetson-tk1" for a JTK1, "jetson-tx1" for a JTX1.
    sudo ./flash.sh -S 14580MiB jetson-tx1 mmcblk0p1
    

linuxdev "Ubuntu 16.04 install on my Jetson TK1. "

I just added this to the last step:
NOTE: Use “jetson-tk1” for a JTK1, “jetson-tx1” for a JTX1.