Deutsch (English below) ======================= Anleitung zum Verwenden aller VM-016 Varianten auf dem PHYTEC Nunki i.MX6 Board. ================================================================================ Voraussetzung: - PD18.1.x, i.MX6 (phyBOARD Nunki) - min. 1GB RAM - SD-Card min. 2GB Allgemein: Damit Sie eine VM-016 auf einem Nunki Board verwenden können benötigen Sie ein BSP in dem der Kameratreiber für die VM-016-Serie enthalten ist. Dazu gibt es folgende Möglichkeiten. A) Generieren Sie eine eigenen Image auf Basis unseres BSPs und den zusätzlichen Rezepten B) Nutzen Sie unser fertig compiliertes Nunki SD-Card Image (In diesem Fall starten Sie bei Punkt 5b) Schritte: 1) BSP vom PHYTEC Server auschecken 2) Download der VM-016 Rezepte 3) Extrahiere die Rezepte 4) Compiliere das BSP mit den VM-016 Rezepten 5) Spiele das Image auf eine SD-Karte und starte 6) Starte die Beispielscripte Schritt 1) checkout BSP PD18.1.1 for phyCORE-i.MX6 linux into your - path (see YOCTO BSP i.MX6 manual) ========== | change to path ...\\sources | cd meta-yogurt # go into a fitting layer; e.g. meta-yogurt or a device specific one Schritt 2) download the vm016 recipe set ========== | curl -O https://gitlab-ext.sigma-chemnitz.de/phytec/vm016/de.sigma-chemnitz.vm016/-/archive/thud/de.sigma-chemnitz.vm016-thud.tar.gz?path=recipes-vm016 --> content should be saved as 'de.sigma-chemnitz.vm016-thud.tar.gz' Schritt 3) extract it by stripping the first part of the path ========== | tar xzf de.sigma-chemnitz.vm016-thud.tar.gz?path=reipes-vm016 --strip 1 Schritt 4) | cd ../../build ========== type "bitbake phytec-vision-image" Schritt 5a) Selbst compiliertes Image verwenden =========== - Selbst compiliertes Image auf SD-Card spielen (z.B. mittels "Win32 Disk Imager") - SD-Card einstecken und von SD booten (S2 = on) - Kamera anmelden (siehe Dokument "phyCAM_with_phyBOARD-Nunki-iMX6_Getting_Started_Ax", ftp://ftp.phytec.de/pub/ImageProcessing/phyBOARD-Nunki-i.MX6_linux_PD18.1.x/Dokumentation/) - schalten Sie QT mittels "../gstreamer-examples/remove_qt_demo.sh" ab - Netzwerkverbindung herstellen (../lib/systemd/network/...) - Datei "vm-016_v4l2_examples.tar" in den Ordner ../home/root/ spielen. - Attribute setzen und auspacken: * chmod 755 vm-016_examples.tar * tar -xvf vm-016_examples.tar * neustart Schritt 5b) Vorkompiliertes Image vom FTP verwenden. =========== - Image downloaden ftp://ftp.phytec.de/pub/ImageProcessing/phyBOARD-Nunki-i.MX6_linux_PD18.1.x/Software/VM-016_cameras/SD-CARD_Image/ - Image auf SD-Card spielen (z.B. mittels "Win32 Disk Imager") - SD-Card einstecken und von SD booten (S2 = on) - Kamera anmelden (siehe Dokument "phyCAM_with_phyBOARD-Nunki-iMX6_Getting_Started_Ax", ftp://ftp.phytec.de/pub/ImageProcessing/phyBOARD-Nunki-i.MX6_linux_PD18.1.x/Dokumentation/) - Netzwerkverbindung herstellen (../lib/systemd/network/...) Schritt 6) Starten der Scripte ========== Voraussetzung: a) das von Ihnen erstellte BSP mit der VM-016 befindet sich auf einer SD Karte b) oder Sie verwenden das bereitgestellte Image, welches Sie auf eine SD Karte spielen (z.B. mittels WinSCP) - starten Sie das System und melden sich an ("root") - gehen Sie in das Verzeichnis ../gstreamer_examples/ - Testen Sie die Kameras mittels den Beispielen: * VM-016-[COL/BW]-[P/S] im Verzeichnis "../gstreamer_examples/", "../more_ar0144_scripts/" und "../v4l2_c-examples/" * VM-016-[COL/BW]-[M] im Verzeichnis "../gstreamer_examples/phycam-m_mipi_csi-2" und "../v4l2_c-examples/" - Starten Sie die Beispiele in Abhängigkeit ob Sie eine Farb- oder Monochrome Kamera angeschlossen und angemeldet haben. --------------------------------------------------------------------------------------------------------------------- English: ======= How to install and start VM-016 camera series on a PHYTEC Nunki i.MX6 board. ============================================================================ Requirements: - PD18.1.x, i.MX6 (phyBOARD Nunki) - minimum. 1 GB RAM - SD card min. 2 GB General: This tutorial shows you the following ways to work with VM-016 on the Nunki Board. A) Generate your own image based on our BSP and the additional recipes B) Use the ready compiled Nunki SD-Card image (In these case starts at Point 5b) -------------------------------------------- Steps: 1) Check out the BSP from PHYTEC server 2) Downliad the VM-016 recipes 3) Extract the recipes 4) Compile the BSP with VM-016 recipes 5) Move the image on a SD-Card and start 6) Start VM-016 demos Step 1) checkout BSP PD18.1.1 for phyCORE-i.MX6 linux into your - path (see YOCTO BSP i.MX6 manual) ======= | change to path ...\\sources | cd meta-yogurt # go into a fitting layer; e.g. meta-yogurt or a device specific one Step 2) download the vm016 recipe set ======= | curl -O https://gitlab-ext.sigma-chemnitz.de/phytec/vm016/de.sigma-chemnitz.vm016/-/archive/thud/de.sigma-chemnitz.vm016-thud.tar.gz?path=recipes-vm016 --> content should be saved as 'de.sigma-chemnitz.vm016-thud.tar.gz' Step 3) extract it by stripping the first part of the path ======= | tar xzf de.sigma-chemnitz.vm016-thud.tar.gz?path=reipes-vm016 --strip 1 Step 4) | cd ../../build ======= type "bitbake phytec-vision-image" Step 5a) move your self compiled image on SD-Card ======== - move your self compiled image on SD-Card (e.g. via "Win32 Disk Imager") - put the SD-Card into Nunki board and boot from SD (S2 = on) - setup camera (see document "phyCAM_with_phyBOARD-Nunki-iMX6_Getting_Started_Ax", ftp://ftp.phytec.de/pub/ImageProcessing/phyBOARD-Nunki-i.MX6_linux_PD18.1.x/Dokumentation/) - disable QT via "../gstreamer-examples/remove_qt_demo.sh" - set network access (../lib/systemd/network/...) - Move file "vm-016_v4l2_examples.tar" into the path ../home/root/ - set attributes and extract files: * chmod 755 vm-016_examples.tar * tar -xvf vm-016_examples.tar * restart Step 5b) move the precompiled image from FTP ======== - download image ftp://ftp.phytec.de/pub/ImageProcessing/phyBOARD-Nunki-i.MX6_linux_PD18.1.x/Software/VM-016_cameras/SD-CARD_Image/ - move the image on SD-Card (e.g. via "Win32 Disk Imager") - put the SD-Card into Nunki board and boot from SD (S2 = on) - setup camera (see document "phyCAM_with_phyBOARD-Nunki-iMX6_Getting_Started_Ax", ftp://ftp.phytec.de/pub/ImageProcessing/phyBOARD-Nunki-i.MX6_linux_PD18.1.x/Dokumentation/) - set network access (../lib/systemd/network/...) Step 6) start the demo scripts ======= Requirements: a) the self compiled image with VM-016 driver on a SD-Card b) or you have written the precompiled image from PHYTEC on SD-CARD (eg via WinSCP). - turn on the system and authorized you ("root") - change into path ../gstreamer_examples/ - test the camera via example scripts: * VM-016-[COL/BW]-[P/S] in path "../gstreamer_examples/", "../more_ar0144_scripts/" and "../v4l2_c-examples/" * VM-016-[COL/BW]-[M] in path "../gstreamer_examples/phycam-m_mipi_csi-2" and "../v4l2_c-examples/" - start the examples depend on a color or a monochrome camera is connected and registered