從零開始配置NVIDIA Jetson Nano(踩坑史)

燒錄

  1. 下載Jetson 下載中心 | NVIDIA Developer並解壓獲得鏡像文件sd-blob.img

⚠️這裏要注意本身板子的版本python

  • 老闆子須要安裝4GB版本
  • 新板子說上一代性能過剩,須要安裝2GB版本 Jetson Nano 2GB Developer Kit

(在新板子裏燒了兩次4GB版本,一直無法點亮,……)git

  1. 燒錄到microSD卡中

推薦使用官方推薦的balenaEtcher - Flash OS images to SD cards & USB drives 具體流程參考:Jetson Nano 開發者套件入門 | NVIDIA Developergithub

  1. 鏈接外設(鼠標、鍵盤、顯示器)並啓動

供電

若是在開機過程當中NVIDIA界面不停出現/消失/出現/消失,多是因爲機器啓動到一半失敗,又從新開機,這涉及到電源供電問題:bash

  • 若是使用的是DP供電,須要安裝跳線帽
  • 要保證供電瓦數達到要求
  • 線和頭也要符合規範

菜鳥手冊(1):給Jetson Nano安裝DC電源markdown

攝像機

菜鳥手冊(2):給Jetson Nano安裝樹莓派攝像頭架構

gst-launch-1.0 nvarguscamerasrc ! 'video/x-raw(memory:NVMM),width=3820, height=2464, framerate=21/1, format=NV12' ! nvvidconv flip-method=0 ! 'video/x-raw,width=960, height=616' ! nvvidconv ! nvegltransform ! nveglglessink -e
複製代碼

一系列攝像頭玩法:GitHub - JetsonHacksNano/CSI-Camera: Simple example of using a CSI-Camera (like the Raspberry Pi Version 2 camera) with the NVIDIA Jetson Nano Developer Kitless

python simple_camera.py
python face_detection.py
複製代碼

軟件環境

注意裏面說要改一段代碼,不要改❌ide

sudo init 3     # 關閉桌面
sudo init 5     # 重啓桌面
複製代碼

下載軟件

⚠️注意Nano是arm64體系架構,安裝軟件時要選清楚版本oop

# 安裝deb文件
sudo dpkg -i xxx.deb
複製代碼

Resources

相關文章
相關標籤/搜索