Outils pour utilisateurs

Outils du site


nvidia_jetson_nano

Ceci est une ancienne révision du document !


Nvidia Jetson Nano

  • ubuntu 18.04
  • Ram 3.9 GiB
  • Proc ARMv8 Processor rev 1 (v8l) × 4
  • Graphics NVIDIA Tegra X1 (nvgpu)/integrated
  • OS type 64 bits
  • Disk 41.0 GB

Ce qui ne marche pas

Problèmes

  • Impossible d'installer opencv avec pip
  • Avec python3-opencv des dépôts, conflit GTK3 et GTK2 avec darknet

Ressources

Installation sur SD Card

Téléchargement: Jetson Nano Developer Kit SD Card Image

Trouver les disques:

sudo fdisk -l

Copie de l'image sur la SD Card

/usr/bin/unzip -p ~/Downloads/jetson_nano_devkit_sd_card.zip | sudo /bin/dd of=/dev/sd<x> bs=1M status=progress
sudo eject /dev/sd<x>

Premier boot:

  • License
  • Sélection du clavier français
  • user/mot de passe
  • Annule les mises à jour: elles ne se font pas –> bug !!!

Installation sur disque externe

git clone https://github.com/JetsonHacksNano/rootOnUSB
cd rootOnUSB
./buildKernel.sh

Copie:

./copyRootToUSB.sh -v <Volume Label>

ou

./copyRootToUSB.sh -d <Directory Path>

Modification de /boot/extlinux/extlinux.conf

cp /boot/extlinux/extlinux.conf /boot/extlinux/extlinux_old.conf
sudo apt install nano 
sudo gedit /boot/extlinux/extlinux.conf

Remplacer le code de ce fichier (en adaptant à vos disk) par:

TIMEOUT 30
DEFAULT primary

MENU TITLE p3450-porg eMMC boot options

LABEL primary
      MENU LABEL primary kernel
      LINUX /boot/Image
      INITRD /boot/initrd
      APPEND ${cbootargs} rootfstype=ext4 root=/dev/sda1 rw rootwait

LABEL emmc
      MENU LABEL primary kernel
      LINUX /boot/Image
      INITRD /boot/initrd
      APPEND ${cbootargs} rootfstype=ext4 root=/dev/mmcblk0p1 rw rootwait

Yolo V3 Darknet

Voir Yolo Darknet sur un portable Optimus

Ne jamais oublier la commande magique:

export PATH=/usr/local/cuda-10.0/bin${PATH:+:${PATH}}

Respecter cet ordre

sudo apt-get install cmake clang libopencv-core-dev libopencv-highgui-dev libopencv-flann-dev libopencv-photo-dev libopencv-video-dev 
sudo apt-get install libopencv-dev

Bidouille 1

/bin/sh: 1: nvcc: not found
Makefile:152: recipe for target 'obj/convolutional_kernels.o' failed
make: *** [obj/convolutional_kernels.o] Error 127
make: *** Waiting for unfinished jobs....

Le patch pour:

sudo gedit cudacodec/perf/perf_video.cpp

pb j'ai pas ce fichier !!

,
nvidia_jetson_nano.1561429214.txt.gz · Dernière modification : 2019/06/25 02:20 de serge