NVIDIA jetson xavier agx debugging brush

lab environment

  • ubuntu18.4 LTS
  • jetson xavier agx 32GB version
  • jetpack4.3

install sdkmanager

Official website download link

The official website download requires registration, and the download without an agent is slow, and it may not be downloaded.
Other download channels are attached below

  • Install
sudo apt install sdkmanager_1.2.0-6738_amd64.deb
  • start up
sdkmanager

Select the components and versions to install

The host machine is installed on the development machine. If it is not used, it can be omitted.


Agree to the agreement and continue, resources will be downloaded from NVIDIA's official website

During the download process, because of the foreign NVIDIA official website visited, it will be relatively slow, and the download may fail. You can turn it off and reopen it and try again. Of course, if you hang a proxy, the effect will be much better. I hung the proxy at that time.

About the agent: Since it is a sensitive topic, please find a scientific way to surf the Internet by yourself.

flash system

flash the operating system

After the download is complete, start flashing the firmware, select manual mode, and ensure that the development board is in forced recovery mode
The development board enters forced recovery mode: in the case of shutdown, first press and hold the recovery button in the middle, and then press the power button to start



The above error is that host components refers to installing some on the virtual machine. The error does not affect the installation of the development board. The target components below are the sdk installed in the development board.

After installation, the development board will start the ubuntu system by itself. Follow the above prompts to set parameters such as username and password.

You can also skip the flashing of the operating system at this step, and then directly enter the installation of the sdk package

System Configuration

After the system starts, the sdk package installation step will be performed. Don't rush to install it first. After configuring the username and password according to the process on the screen, wait for the system to initialize and enter the system, and then do the configuration.
Replace the original mirror source with a domestic source, mainly because the official website source access is too slow, and the sdk package installation will also download and update, the time will be very slow and easy to time out
Backup the original source

sudo cp /etc/apt/sources.list /etc/apt/sources.list.bak

edit source

sudo vim /etc/apt/sources.list

Delete the original content and add the following content, taking Aliyuan as an example
Pay attention to the -ports behind the connection, indicating the source of the arm architecture, if not, it is the x86 architecture

#ubuntu18.4 for arm
deb http://mirrors.aliyun.com/ubuntu-ports/ bionic main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu-ports/ bionic main restricted universe multiverse

deb http://mirrors.aliyun.com/ubuntu-ports/ bionic-security main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu-ports/ bionic-security main restricted universe multiverse

deb http://mirrors.aliyun.com/ubuntu-ports/ bionic-updates main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu-ports/ bionic-updates main restricted universe multiverse

deb http://mirrors.aliyun.com/ubuntu-ports/ bionic-proposed main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu-ports/ bionic-proposed main restricted universe multiverse

deb http://mirrors.aliyun.com/ubuntu-ports/ bionic-backports main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu-ports/ bionic-backports main restricted universe multiverse

renew

sudo apt-get update
sudo apt-get --fix-broken install

install sdk package

After configuring the system, start the installation of the sdk package
The default IP address can be used, which is the virtual network card transferred through rndis after connecting to usb.
By default, the board is 192.168.55.1 and the virtual machine is 192.168.55.100

If the development board is connected to the local area network of the development machine, you can also directly enter the Ethernet address of the development board. In short, make sure that they can ping each other.



There may be failures during the installation process. If it fails, click retry to retry. Generally, you can retry several times.
You can also try performing apt-get commands to update and repair or reboot.
You can also take a look at the failed project, if it does not affect the use, you can ignore it.

sudo apt-get update
sudo apt-get --fix-broken install

Tags: Programming Linux Ubuntu Embedded system

Posted by atstein on Mon, 02 May 2022 16:30:09 +0300