0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

(Jetson Nano 開発者キットの代わりに)reComputer J1010でYOLOv5を動かす

Last updated at Posted at 2022-08-05
  • PC
  • USBメモリ(Ubuntu PC用、例:16GB)
  • reComputer J1010
  • Jetson Nano PWM冷却ファン
  • USBメモリ(JetPack 4.6用、例:SanDisk Extreme PRO SDCZ880-128G-J57)

Ubuntu 18.04が起動するPCの用意

「Universal-USB-Installer-2.0.1.4a.exe」を用いて ISOイメージ「ubuntu-18.04.4-desktop-amd64.iso」をUSBメモリに書込み、ノートPCにインストールしました。

NVIDIAアカウントの作成

PCにNVIDIA SDK Managerをインストール

https://developer.nvidia.com/nvidia-sdk-manager からUbuntu用.debファイルをダウンロードします。

sudo apt update
sudo apt install libgconf-2-4 libcanberra-gtk-module
sudo apt --fix-broken install
sudo apt install ./sdkmanager_1.8.1-10392_amd64.deb

SDK ManagerでeMMCにJetson OSを書き込む

reComputerのButton Header(J14)のPin9(GND) とPin10(FC REC)をジャンパーピンでショートする
reComputerのType C(J2)とPCを接続する。

sdkmanager
NVIDIAアカウントでログインする

STEP 01

PRODUCT CATEGORY:Jetson
HARDWARE CONFIGURATION:Host Machine
Target Hardware:Jetson Nano Modules, Jetson Nano
TARGET OPERATING SYSTEM:Linux JetPack 4.6 [rev.3]
ADDITIONAL SDKS:DeepStream:Don't check

STEP 02

[check]: I accept the terms and conditions of the license agreements.

STEP 03

Installation of File System and OS is taking longer than expected: Yes
SDK Manager is about to flash your Jetson Nano Module: Manual Setup
SDK Manager is about to install SDK components on your Jetson Nano modules: Skip
Installation of 'CUDA on Host' is taking longer than expected.: Yes

STEP 04

FINISH AND EXIT
poweroff後、ジャンパーピンは外す。

reComputerをUSBメモリから起動

参考:https://wiki.seeedstudio.com/reComputer_Jetson_Memory_Expansion/

USB 3.0 Type A端子にUSBメモリを接続する

bootFromUSBの準備

git clone https://github.com/limengdu/bootFromUSB.git
cd bootFromUSB/

USBメモリの準備

Disksツールを開く
USBメモリを選択し、右上のボタンから「Format Disk」を選択する
Partitioning:(GPT)を選択し、フォーマットする

画面中央の「+」を選択して、パーティーションを作成する
Volume Name:Udisk、Type:(Ext4)を選択し、「Create」を選択する

USBメモリのマウント

パーティーションの下枠にある「▶」アイコンでマウントする

OSをUSBメモリにコピーする

./copyRootToUSB.sh -p /dev/sda1

起動構成を変更する

sudo vi /boot/extlinux/extlinux.conf

/boot/extlinux/extlinux.conf(rootの値を変更)
      APPEND ${cbootargs} quiet root=/dev/sda1 rw rootwait rootfstype=ext4 console=ttyS0,115200n8 console=tty0 fbcon=map:0 net.ifnames=0 sdhci_tegra.en_boot_part_access=1
#      APPEND ${cbootargs} quiet root=/dev/mmcblk0p1 rw rootwait rootfstype=ext4 console=ttyS0,115200n8 console=tty0 fbcon=map:0 net.ifnames=0 sdhci_tegra.en_boot_part_access=1 

再起動する

JetPackのインストール

インストール前
$ jetson_release
 - NVIDIA Jetson Nano
   * Jetpack 4.6 [L4T 32.6.1]
   * NV Power Mode: MAXN - Type: 0
   * jetson_stats.service: active
 - Libraries:
   * CUDA: NOT_INSTALLED
   * cuDNN: NOT_INSTALLED
   * TensorRT: NOT_INSTALLED
   * Visionworks: NOT_INSTALLED
   * OpenCV: NOT_INSTALLED compiled CUDA: NO
   * VPI: NOT_INSTALLED
   * Vulkan: 1.2.70

sudo apt update
sudo apt install nvidia-jetpack

インストール後
$ jetson_release
 - NVIDIA Jetson Nano
   * Jetpack 4.6 [L4T 32.6.1]
   * NV Power Mode: MAXN - Type: 0
   * jetson_stats.service: active
 - Libraries:
   * CUDA: 10.2.300
   * cuDNN: 8.2.1.32
   * TensorRT: 8.0.1.6
   * Visionworks: 1.6.0.501
   * OpenCV: 4.1.1 compiled CUDA: NO
   * VPI: ii libnvvpi1 1.1.15 arm64 NVIDIA Vision Programming Interface library
   * Vulkan: 1.2.70

続きは

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?