After flashing a Jetson with stock LT4 21.3 (See Jetpack 1.1 Installation), there are some setup tweaks that make the system more suitable for desktop use. Looky here:
The scripts have been placed in a repository on Github: https://github.com/jetsonhacks/postFlash.
Installation
The above video was shot immediately after the Jetson was flashed.
Open a Terminal and execute the following:
$ sudo apt-get install git
$ git clone -b JetsonTK1-L4T-21.3 https://github.com/jetsonhacks/postFlash.git
$ cd postFlash
$ ./configureSystem.sh
After installation, reboot the system for the changes to take effect.
Changes and Addtions
Chromium is installed as a browser. Firefox has issues downloading .zip files, so Chromium is a good alternative. Two other applications are also installed, aptitude and git.
USB 3.0 is enabled. The default is USB 2.0, /boot/extlinux/extlinux.conf must be modified to enable USB 3.0.
Two scripts are installed in /usr/local/bin. To conserve power, by default the Jetson suspends power to the USB ports when they are not in use. In a desktop environment, this can lead to issues with devices such as cameras and webcams. The first script disables USB autosuspend.
Also to conserve power, the Jetson manipulates the CPU cores and GPU clock speeds. The second script sets everything up for maximum performance.
Note: These changes will add about 0.5W of extra power draw.
The Jetson feels much more stable as a desktop environment after making these changes. Enjoy!
Note
You may find it more convenient to store the postFlash repository on a USB drive or SSD that is then plugged into the Jetson, so that it is simply a matter of running the configure script from local storage.
9 Responses
Does this work with Grinch kernel?
Yes it does.
Yes it worked. Thanks!
Apparently new versions of jetpack have a script called ondemand that runs 60 seconds after boot. It will remove any GPU speed settings you make in the rc.local file (i.e. if you run the MaxPerformance.sh as part of rc.local) run
sudo update-rc.d -f ondemand remove
to disable it.
Thanks Jason, this is good to know.
Thanks jason
Hi, Kangalow:
Should I need to postFlash after L4T 21.5 flash setup?
Because I don’t find the postFlash for the R21.5 at github.
The important thing that the postFlash script does is turn off USB autosuspend and enable USB 3.0. This is the same using both 21.3 and 21.5.