Domestic version of Jetson Nano Learning Part 1—Must-see for beginners, guide you out of the pit

Table of contents

foreword

1. Introduction to domestic version of Jetson Nano

2. The domestic version of Jetson Nano configuration process

1. Hardware preparation

2. Software preparation

3. Programming steps

3. Summary


foreword

As a hardware novice, by chance, I came into contact with the domestic version of Jetson Nano B01 (I have to say that the price of this board is very affordable, but there are really many pitfalls!!!) Burning the image file turned out to be a waste five days! ! ! Aiming at the pitfalls I encountered during the burning process, I summarize this study note. The main content of the article is the introduction and boot configuration of the domestic version of Jetson Nano .


1. Introduction to domestic version of Jetson Nano

Jetson Nano is a small and powerful artificial intelligence embedded development board, launched by Nvidia in March 2019. The Ubuntu 18.04LTS system is pre-installed, equipped with a 128-core Maxwell GPU developed by Nvidia, which can quickly implement AI technology and apply it to various smart devices. Compared with Jetson's previous products (Jetson TK1, Jetson TX1, Jetson TX2, Jetson Xavier), the official version of Jetson Nano costs only $99, which greatly reduces the research and development cost of artificial intelligence terminals. Therefore, once launched, it has received widespread attention.

Introduction to Jetson Nano Developer Kit https://developer.nvidia.com/en-us/embedded/jetson-nano-developer-kit

Jetson Nano Developer Kit Guide https://developer.nvidia.com/zh-cn/embedded/learn/get-started-jetson-nano-devkit

It is emphasized again that there is a difference between the domestic version of the Jetson Nano kit and the official version of the Jetson Nano kit, see the figure below for details.
insert image description here


This article is mainly for the introduction of the domestic version of Jetson Nano. The Jetson nano 4GB domestic kit uses the original NVIDIA Jetson nano 4GB module, and is equipped with a domestic carrier board designed the same as the official developer kit. The size, interface location, performance, etc. are exactly the same as the official ones. Official kits are often out of stock, and friends who need them can choose domestic kits, which are stable and reliable with high quality and low price.
insert image description here​Model                     : nano 4GB domestic development kit; Operating system: Ubuntu 18.04
Interface display as shown in the figure below: ​Details of
insert image description herethe domestic Jetson Nano b01 domestic development kit evaluation

Here are some of the advantages of Jetson Nano in detail:

(1) Small in size, powerful in performance, and affordable in price, it adopts a Raspberry Pi-like hardware design as a whole and supports a series of popular AI frameworks, and Nvidia has invested a lot of research and development effort in creating a matching Jetpack SDK development kit for it. , the development kit can make learning and developing AI products easier and more convenient.

(2) Specially designed for AI, its performance is more powerful than that of Raspberry Pi. Equipped with quad-core Cortex-A57 processor, 128-core Maxwell GPU and 4GB LPDDR memory, it can bring sufficient AI computing power to robot terminals and industrial vision terminals. force.

(3) Provides 472 GFLOPs, supports high-resolution sensors, can process multiple sensors in parallel, and can run multiple modern neural networks on each sensor stream.

(4) Support NVIDIA JetPack component packages, including board-level support packages for deep learning, computer vision, GPU computing, multimedia processing, etc., CUDA, cuDNN and TensorRT software libraries.

(5) Support a series of popular AI frameworks and algorithms, such as TensorFlow, PyTorch, Caffe/Caffe2, Keras, MXNet, etc., enabling developers to easily and quickly integrate AI models and frameworks into products, and easily realize image recognition, goals Powerful functions such as detection, pose estimation, semantic segmentation, video enhancement and intelligent analysis.

 


2. The domestic version of Jetson Nano configuration process

1. Hardware preparation

  • MicroSD card
    The Jetson Nano developer kit uses a microSD card as the boot device and main memory. I use the 32GB microSD card (recommended not less than 32GB) that comes with the purchased kit. The later installation of the model requires a large amount of memory.

     

  • Micro-USB power supply
    It is recommended to use a 5V-4A DC power adapter for power supply to ensure sufficient power supply for the board (green light is on). Pay special attention to the choice of power supply mode. There are detailed tutorials in Jetson Nano b01 Domestic Development Kit Evaluation-Electronic Enthusiast Network , which can be viewed if necessary.

     

  • display screen

      Use the HDMI display to connect directly. If you want to connect to the computer VGA display, you can purchase an HDMI-to-VGA conversion module to complete the connection. The external portable display can display the Ubantu system screen of Jetson Nano. (It is recommended to buy a touch screen, so that there is no need to connect an external mouse and it is easy to operate)

  • Keyboard and mouse
    It is convenient to complete the initialization operation on Jetson Nano by using the keyboard and mouse. The keyboard and mouse can be used directly and support USB3.0.

  • Network cable or wireless network card
    Use network cable or wireless network card to provide network for Jetson Nano .

  • Card reader
    MicroSD card is inserted into the card reader, and the card reader is inserted into your own PC to burn the image file .

2. Software preparation

(1) System image file:

Nvidia officially provides Jetson Nano with an SD card version of the system image, which has been updated and maintained. The image contains the corresponding Ubuntu system and the configured cuda environment and opencv environment, so you only need to download and install the image to complete Most of the environment configuration of Jetson Nano.
The domestic version of the Jetson Nano board must not download the SD card image file of the Jetson Nano developer kit on the official website, and must ask the customer service to burn the image file made in China! ! ! ! The picture below is the U disk information that comes with the domestic version kit I purchased. ​​Because the 4 image files were damaged during burning, I contacted the customer service and asked for the domestic image file again, and the burning was successful! Previously, I read a lot of posts saying that I should download the latest version of the Jetson Nano developer kit SD card image on Nvidia’s official website (do not touch the domestic version of Jetson Nano). The image file on the official website is only applicable to the official version of Jetson Nano. Kit, while the domestic version can only burn domestic image files . (It’s really a huge pit here. I’ve been stuck on burning the image file for four days. I’ve downloaded countless official sd-card-image image files in a row, but all of them failed to burn. See the picture below for the failure.)
insert image description here
4. There are 4 sub-volume sd-card-inage compressed packages in the jetsonNano image file

insert image description here
​The image file downloaded from the official website of the domestic must! must! will fail! ! !
The domestic version of Jetson Nano must download the domestic version of the SD card image file, and the domestic version of the image file can be obtained by contacting the customer service of the purchase platform.

(2) Format SD card software: SD Memory Card
(3) Burning tool: Etcher or Win32DiskImager (recommended to use Win32DiskImager, easy to use after personal test)
(4) Decompression tool: good compression

3. Programming steps

(1) Use SD Memory Card to format the microSD card (the default format is sufficient).

insert image description here

Just choose the default here, but you must pay attention to the naming format on the Select card. Chinese must not appear in the physical device name, otherwise there will be garbled characters (see the picture below)!

insert image description here
​After the correct
insert image description here

(2) Download the domestic version of the Jetson Nano developer kit SD card image (the pitfalls have been reminded above!!!) and save it to a location you know (the Zip file needs to be decompressed). ​The image file requested
insert image description herefrom good zip to decompress it. After decompression, you will get the image zip as shown below.


insert image description here 

ps: There may be multiple failures when burning the image file. After the burning fails, the image file may be damaged and cause re-writing failure. Therefore, it is recommended to back up several copies of the decompressed image zip to prevent the re-download from taking too long affect progress.


(3) Use Win32DiskImager  to write the decompressed domestic version of the Jetson Nano developer kit SD card image zip to the microSD card.

 Under normal circumstances, if the SD card is new, you can directly perform step (3) programming, but sometimes you need to reprogram the old SD card. At this time, you need to format the SD card in advance to avoid An error occurred during mirroring. If it is an SD card that has been programmed with the Jetson Nano image before, then it is necessary to delete and re-merge the SD card partition first, because the SD card that has been programmed with the Jetson Nano will form many partitions, so it needs to be used first. The disk manager deletes and merges these partitions, and then burns a new image (if it is a new SD card, these operations are not required), as shown in the figure below:

 As shown in the figure above, the old Jetson Nano mirror card will form 12 sub-partitions. Compared with the 12 partitions of disk 2 in the figure above, the "delete volume" process is performed in sequence, and then "create a new simple volume" for disk 2 again. At this time The disk is reset successfully.

If the SD card cannot be read, you can also enter the disk management to "delete volume" and then "create a new volume", repeat step (1),  use SD Memory Card to format the microSD card, and ensure that the SD card is formatted successfully Write again.

If it is a new SD card, you only need to format the following.

Then start to burn officially. There are many burning tools, and this article recommends using Win32DiskImager , which can be downloaded and installed directly from the Internet. Double-click to open Win32DiskImager, select the img image just now, and configure the corresponding SD card drive letter, as shown in the figure below:

insert image description here
​In the image

(4) After writing the image file, insert the SD card into the domestic version of the Jetson Nano development board to ensure that the board has sufficient power supply (the green light is on), and the board will automatically start after the power is connected.

ps: Pay attention to the sequence when connecting the lines, and it is recommended to connect the power supply last (otherwise it is very likely that the power supply will not be available)

After startup, the initialization settings are automatically performed. Basic configuration is required for the first installation, and a blue screen or installation character prompt will appear in the middle of the installation (these are normal phenomena, no operation is required, just wait). The process takes about three minutes, and the final effect is as follows:


​Next
, you can complete the account password, input method, time zone and other settings according to the prompts. After the configuration is completed, an update operation will be performed by default. This update needs to be connected to the Internet. Update manually. It takes a long time to update, just wait. At the same time, the board may have insufficient memory, and it needs to be expanded (it may be mentioned in subsequent notes).

Finally it will go to the desktop.insert image description here


​Here, the boot and basic configuration of the domestic version of Jetson Nano are complete! ! !


3. Summary

Finally, the protagonist of this article makes his debut! ! ! ! ! !
insert image description here


Ubuntu 18.04 has been successfully launched, and our first step in the development of the domestic version of Jetson Nano has been completed! ! ! Here I would like to mention one of my unnamed partners @监睡闻花, stepping out of the pit all the way to open the "green eye", hard-won, keep up the good work! ! !

This is the end of the first study note on the domestic version of Jetson Nano. Next, we will use Ubuntu 18.04 to deploy some environments. Follow-up development will continue to update the notes. Interested friends, continue to pay attention! There may be clerical errors and problems in this article, welcome to communicate! ! !

Guess you like

Origin blog.csdn.net/weixin_64260325/article/details/127698890