Jetson TK 1 Configuration Note

Install, Backup, Restore L4T 21.8, Install Jetpack 3.1, Make Swap, Automount HDD, etc.

Install, Backup & Restore (L4T21.8):

Host need to run Ubuntu 14.04 (x86 / x64)

Make Swap

  • Install Gparted using Ubuntu Software Center in Jetson TK1
  • Insert your SD card
  • Configure that SD card as linux-swap partition using Gparted
  • Open fstab in Jetson TK1,
sudo gedit /etc/fstab
  • Add below line at the end of config,
/dev/mmcblk1p1 none swap sw 0 0
  • Reboot and open Resource Monitoring app in Jetson TK1 to verify that swap work.

Automount HDD

  • Attach HDD into Jetson TK1
  • Run sudo fdisk /dev/sdb
  1. Press O and press Enter (creates a new table)
  2. Press N and press Enter (creates a new partition)
  3. Press P and press Enter (makes a primary partition)
  4. Then press 1 and press Enter (creates it as the 1st partition)
  5. Finally, press W (this will write any changes to disk)
  • Okay now you have a partition, now you need a filesystem.
  1. Run sudo mkfs.ext4 /dev/sdb1
  2. Now you can add it to /etc/fstab
#device        mountpoint             fstype    options  dump   fsck

/dev/sdb1 /home/yourname/mydata ext4 defaults 0 1

This assumes the partition is formatted as ext4 as per mkfs above

  • Then on the next reboot it will auto mount.

FTP Server Setup

sudo apt-get install vsftpd
  • Configure,
sudo gedit /etc/vsftpd.conf
  • Add the following line,
  • Restart vsFTPd,
service vsftpd restart
  • Configure vsFTPd to use external drive :

  • Just add this line to /etc/vsftpd.conf:

Upgrade L4T OS (Ubuntu 14.04) to Ubuntu 16.04

  • Installation procedure (take several hour to complete),

  • if you forgot to delete obsolete package durring do-release-upgrade ,


we can use VS Code + Remote Development Extension to remote Jetson TK1

libopenblas-dev available to be install via apt.

Installing CUDA 6.5 after Jetson TK1 upgraded to Ubuntu 16.05 is not possible.

Install CUDA 6.5 on Jetson TK1 (native compilation)

  • Procedure :

  • Download CUDA 6.5 (.deb) for Jetson TK1

Install cuDNN 2.0 on Jetson TK1 (native compilation)

tar -zxvf cudnn-6.5-linux-ARMv7-R2-rc1.tgzcd cudnn-6.5-linux-ARMv7-R2-rc1cp cudnn.h /usr/local/cuda-6.5/include
cp libcudnn* /usr/local/cuda-6.5/lib

L4T Uninstall Desktop App for Free Space

sudo apt-get updatesudo apt-get purge aisleriot gnome-sudoku gnome-mahjongg gnome-mines ace-of-penguins gnomine gbrainy libreoffice* webbrowser-app empathy thunderbird* transmission-common rhythmbox eog brasero evince shotwell simple-scan gnome-media cheese totem totem-plugins gnome-calculator remmina firefoxsudo apt-get clean
sudo apt-get autoremove

Failed To Load Kernel Module After Upgrade to Ubuntu 16.06

  • Run dmesg , if you find error log like this,
  • Then just check status system-modules-load.service show you module that failed to load,
  • Just comment that module from,

Monitor Temperature

  • Install lm-sensor ,
sudo apt install lm-sensors
  • run sensors ,
Adapter: Virtual device
temp1: +61.0°C (crit = +105.0°C)
Adapter: Virtual device
temp1: +57.0°C (crit = +105.0°C)
Adapter: Virtual device
temp1: +56.5°C (crit = +105.0°C)
Adapter: Virtual device
temp1: +57.5°C
Adapter: Virtual device
temp1: +48.0°C
Adapter: Virtual device
temp1: +57.0°C

IoT Engineer, Software Developer & Machine Learning Enthusiast