Skip to content

Instantly share code, notes, and snippets.

@quilime
Last active January 8, 2020 13:02
Show Gist options
  • Star 4 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save quilime/0104aa2268cd8e5f0a51 to your computer and use it in GitHub Desktop.
Save quilime/0104aa2268cd8e5f0a51 to your computer and use it in GitHub Desktop.
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 google.com

setup timezone

$   sudo dpkg-reconfigure tzdata

set sysclock, only if internet is down

$   sudo date mmddhhmmyyyy.ss
$   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

ntpdate-debian
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

"libglx.so" 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: http://www.pathbreak.com/blog/ubuntu-startup-init-scripts-runlevels-upstart-jobs-explained

$   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

https://thepcspy.com/read/building-a-kiosk-computer-ubuntu-1404-chrome/ http://askubuntu.com/questions/509330/execute-single-program-on-boot-no-menus

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

@gpshead
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