Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Setting up Nvidia Jetson TK1

Setting up Nvidia Jetson TK1

Useful links and references:

Connect keyboard, mouse, monitor

Connect power to turn on tk1

Open terminal ctrl-alt-t

Verify that start stop restart works

$   sudo poweroff
$   sudo reboot

got internet?

$   sudo ping

setup timezone

$   sudo dpkg-reconfigure tzdata

set sysclock, only if internet is down

$   sudo date
$   sudo date 050607002014

check time on HW RTC

$   sudo hwclock --debug

sync HW RTC to sysclock

$   sudo hwclock -w    

add automatic time update at startup and to crontab

$   sudo vi /etc/rc.local

add the following lines

hwclock -w

edit crontab for root

$   sudo crontab -e

add following lines

5 * * * * ntpdate-debian
7 * * * * hwclock -w    

enable universe in the apt source list

$   sudo vi /etc/apt/sources.list

"" is a specific file in NVIDIA's graphics driver that might get replaced by an incorrect version when doing apt-get, so we hold it. (this may be old?)

$   sudo apt-mark hold xserver-xorg-core

update and upgrade (This will take a while)

$   sudo apt-get update && sudo apt-get upgrade

install useful packages

$   sudo apt-get install git screen tee build-essential cmake

misc cleanup

$   sudo apt-get autoclean && sudo apt-get clean

disable gui desktop and window manager from here:

$   sudo mv /etc/init/lightdm.conf /etc/init/lightdm.conf.disabled

Auto login user "ubuntu" on first console terminal (tty1)

$   sudo vim /etc/init/tty1.conf

replace last line:

exec /sbin/getty -8 38400 tty1

with this:

exec /bin/login -f bob < /dev/tty1 > /dev/tty1 2>&1    

Setup kiosk mode

mv ~/kiosk.conf in/out of /etc/init/

Copy link

gpshead commented Feb 7, 2019

Leaving a breadcrumb here for anyone who installs a modern Debian system on their nVidia Tegra K1:

Don't forget to sudo modprobe tegra124-cpufreq and add that module to /etc/modules... Without that, it will be SLOW with the clock running 1/3 speed. Thanks to this forum thread for the tip.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment