- ヲレの話を聞け〜! 技術の薄い本、著者からのオススメ Advent Calendar 2019 第2日目の記事です。
- 執筆時点では当落が決まってない技術書典8でNEON完全リファレンスを出すよ
- 自分自身が一番信用ならないので、コードでそこを補うよ
- NEONとは、ArmのSIMD拡張命令の名前
1>------ Build started: Project: ZERO_CHECK, Configuration: Debug x64 ------ | |
1> Checking Build System | |
1> CMake does not need to re-run because C:/work/normalizedDistrbution/build323/CMakeFiles/generate.stamp is up-to-date. | |
2>------ Build started: Project: drawPPTX, Configuration: Debug x64 ------ | |
2> Building Custom Rule C:/work/normalizedDistrbution/CMakeLists.txt | |
2> CMake does not need to re-run because C:\work\normalizedDistrbution\build323\CMakeFiles\generate.stamp is up-to-date. | |
2> main.cpp | |
2> drawPPTX.vcxproj -> C:\work\normalizedDistrbution\build323\Debug\drawPPTX.exe | |
2> drawPPTX.vcxproj -> C:/work/normalizedDistrbution/build323/Debug/drawPPTX.pdb (Full PDB) | |
2>EXEC : CMake error : Unknown option to -E tar: --format=zip |
https://oplern.hatenablog.com/entry/2017/06/30/231027
$ sudo mount -t ext4 -o loop MaaXBoard-LinuxShipmentImage-Yocto-V1.0.6r07.img /home/nvidia/work/temp/mnt/
mount: wrong fs type, bad option, bad superblock on /dev/loop0,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so.
nvidia@nvidia-nano:~$ cat /proc/cpuinfo | |
processor : 0 | |
model name : ARMv8 Processor rev 1 (v8l) | |
BogoMIPS : 38.40 | |
Features : fp asimd evtstrm aes pmull sha1 sha2 crc32 | |
CPU implementer : 0x41 | |
CPU architecture: 8 | |
CPU variant : 0x1 | |
CPU part : 0xd07 | |
CPU revision : 1 |
Using username "admin". | |
Authenticating with public key "tomoaki-surface2 akashic" | |
[~] # | |
[~] # | |
[~] # | |
[~] # ssh firefly@192.168.1.140 | |
firefly@192.168.1.140's password: | |
Welcome to Ubuntu 16.04.6 LTS (GNU/Linux 4.4.16 aarch64) | |
* Documentation: https://help.ubuntu.com |
Welcome to Ubuntu 16.04.5 LTS (GNU/Linux 4.4.16 aarch64) | |
* Documentation: https://help.ubuntu.com | |
* Management: https://landscape.canonical.com | |
* Support: https://ubuntu.com/advantage | |
firefly@firefly:~$ clinfo | |
-bash: clinfo: command not found | |
firefly@firefly:~$ sudo apt install clinfo |
Linux tinkerboard 4.4.132+ #1 SMP Tue Oct 23 18:03:49 CST 2018 armv7l | |
The programs included with the Debian GNU/Linux system are free software; | |
the exact distribution terms for each program are described in the | |
individual files in /usr/share/doc/*/copyright. | |
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent | |
permitted by applicable law. | |
Last login: Wed Jul 17 12:50:52 2019 from 192.168.1.2 | |
clinaro@tinkerboard:~$ clinfo |
CTEST_FULL_OUTPUT | |
OpenCV version: 3.4.7-pre | |
OpenCV VCS version: 3.4.6-396-ge00b0f6f4 | |
Build type: Release | |
Compiler: /usr/bin/c++ (ver 6.3.0) | |
Parallel framework: pthreads | |
CPU features: NEON FP16 | |
OpenCL Platforms: | |
ARM Platform | |
iGPU: Mali-T760 (OpenCL 1.2 v1.r13p0-00rel0-git(a4271c9).40dbad8455f8b43d1f8fbb5a1fe733e6) |
$ time cmake -DWITH_CUDA=ON -DCUDA_ARCH_BIN=7.2 -DOPENCV_EXTRA_MODULES_PATH=~/opencv_contrib/modules/ -DBUILD_EXAMPLE=ON -DOPENCV_ENABLE_NONFREE=true -DBUILD_EXAMPLE=ON .. | |
-- The CXX compiler identification is GNU 7.3.0 | |
-- The C compiler identification is GNU 7.3.0 | |
-- Check for working CXX compiler: /usr/bin/c++ | |
-- Check for working CXX compiler: /usr/bin/c++ -- works | |
-- Detecting CXX compiler ABI info | |
-- Detecting CXX compiler ABI info - done | |
-- Detecting CXX compile features | |
-- Detecting CXX compile features - done | |
-- Check for working C compiler: /usr/bin/cc |