Skip to content

Instantly share code, notes, and snippets.

@jetsonhacks
Last active January 26, 2024 16:59
Show Gist options
  • Star 19 You must be signed in to star a gist
  • Fork 10 You must be signed in to fork a gist
  • Save jetsonhacks/2717a41f7e60a3405b34 to your computer and use it in GitHub Desktop.
Save jetsonhacks/2717a41f7e60a3405b34 to your computer and use it in GitHub Desktop.
Install LT4 21.1 on Jetson TK1

For best results, you should read through the official NVIDIA documentation found on:

https://developer.nvidia.com/linux-tegra-rel-21

In particular, the Quick Start Guide.

For this process you will need:

  • A host desktop or laptop computer running Ubuntu Linux 12.04 is officially recommended. In practice, this may be a virtual machine, I have used VirtualBox in the past. Also, I've successfully flashed from Ubuntu Linux 14.04. Your mileage may vary.
  • Micro USB cable provided with the Jetson TK1 kit
  • Jetson TK1 and power supply
  • Optional: DB9 null modem cable if you want to use the serial console during boot
  1. On your host computer open a Terminal, then create a directory to operate from, and switch to it. As an example:
mkdir ~/LT4
cd ~/LT4
  1. Download NVIDIA Linux4Tegra (L4T) Board Support Package (BSP) and Sample Root Filesystem from NVIDIA
wget http://developer.download.nvidia.com/mobile/tegra/l4t/r21.1.0/Tegra124_Linux_R21.1.0_armhf.tbz2
wget http://developer.download.nvidia.com/mobile/tegra/l4t/r21.1.0/Tegra_Linux_Sample-Root-Filesystem_R21.1.0_armhf.tbz2
  1. Extract NVIDIA files (BSP and rootfs)
sudo tar xpf Tegra124_Linux_R21.1.0_armhf.tbz2
cd Linux_for_Tegra/rootfs
sudo tar xpf ../../Tegra_Linux_Sample-Root-Filesystem_R21.1.0_armhf.tbz2
cd ../ 
  1. Apply binaries
#sudo is important here
sudo ./apply_binaries.sh
  1. Connect the Jetston TK1 to the host Linux computer via the micro-usb cable, and place the Jetson TK1 into recovery mode (by holding down the hardware Recovery button on the board and either pushing the Reset button if power is already plugged in, or plug in power for the first time).
  2. Run lsusb on your host computer and make sure you see some kind of NVIDIA device
  3. Flash the entire board from host computer command line (this will take some time to build the image and then download everything via usb)
sudo ./flash.sh jetson-tk1 mmcblk0p1
  1. You should eventually see Reset the board to boot from internal eMMC. on the host computer. At that point, press the Reset button on the Jetson TK1 board or power cycle it.

  2. You should see boot messages scroll by on a monitor connected to the Jetson. Optionally, you can connect to your Jetson using the DB9 null modem cable and screen /dev/cu.usbserial-A602FDXV 115200 8N1 on the host computer and verify that boot messages scroll by after reset.

  3. Default login is user ubuntu, password ubuntu. You can sudo su to change to root user if necessary.

You should be good to go at this point.

@snapp-development
Copy link

Has anyone solved the issue of no HDMI output after flashing? I'm having the same problem but can't find a solution anywhere.

@tkkcc
Copy link

tkkcc commented Jul 10, 2018

flashing dji manifold, use flash.sh without -r

  • using archlinux native host, no HDMI output
  • using ubuntu14.04 & ubuntu16.04 in virtualbox, has HDMI output, stuck at boot with this error
[64.249291] tegra-xhci tegra-xhci: failed to init firmware from filesystem tegra_xusb_firmware
  • using ubuntu14.04 native host, same error but with little difference
  • finally create an image of a working device and flash, works

@l4es
Copy link

l4es commented Sep 13, 2018

Dear tkkcc,

I also experienced your cited error. What would you propose as host system please? I have Ubuntu 18.4

Thanks,

@Tahirhan
Copy link

Tahirhan commented May 2, 2019

Has anyone solved the issue of no HDMI output after flashing? i am facing with this issue.

@manhtb310
Copy link

manhtb310 commented Sep 13, 2020

Has anyone updated the issue of no HDMI output after flashing TK1 board? I followed step by step of the tutorial but facing with this issue.
Thanks.

@sojab0on
Copy link

My tk1 flash constantly goes to
sudo ./flash.sh jetson-tk1 mmcblk0p1
copying bctfile(/home/michel/LT4/Linux_for_Tegra/bootloader/ardbeg/BCT/PM375_Hynix_2GB_H5TC4G63AFR_RDA_924MHz.cfg)... done.
copying bootloader(/home/michel/LT4/Linux_for_Tegra/bootloader/ardbeg/u-boot.bin)... done.
populating kernel to rootfs... done.
populating jetson-tk1_extlinux.conf.emmc to rootfs... done.
done.
Making system.img...
mapping system.img to loop device failed.

Running it in a vm had tried multiple versions of ubuntu from 14 till 22.04
what can i do to fix this

@jetsonhacks
Copy link
Author

@sojab0on NVIDIA flashing does not support running in a VM. During the flashing process, USB disconnects then reattaches. On a VM, there is often times a mapping issue with the USB port because of this. Also, make sure that the board is in recovery mode. For support, please see the official NVIDIA Jetson TK1 forum, where a large group of developers and NVIDIA engineers share their experience: https://forums.developer.nvidia.com/c/agx-autonomous-machines/jetson-embedded-systems/jetson-tk1/79

@ameuryakoub
Copy link

Hello,

i tried to installed the Grinch kernel but after that Jetson never booted up again. So...after following the steps above i eventually see "Reset the board to boot from internal eMMC", and i press the reset button. Jetson is connected with HDMI to the monitor but is outputs nothing. The monitor doesn't even recognize input from the HDMI port. I also tried with the oldest version (that was working for me when i bought the device) 19.3.0.

Any ideas?

Hello,
have you managed to solve this problem?

@ameuryakoub
Copy link

Has anyone solved the issue of no HDMI output after flashing? i am facing with this issue.

Hello,
have you managed to solve this problem?

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