Imaging solutions with Free Software & Open Hardware

Who's online

There are currently 0 users online.

Subscribe to Wiki Recent Changes feed
Track the most recent changes to the wiki in this feed. MediaWiki 1.28.0
Updated: 17 min 9 sec ago

File:103984 gerber.zip

Wed, 05/16/2018 - 23:54

Andrey.filippov uploaded File:103984 gerber.zip

New page

Andrey.filippov

File:103984 gerber.tar.gz

Wed, 05/16/2018 - 23:53

Andrey.filippov uploaded a new version of File:103984 gerber.tar.gz

New page

== Licensing ==
{{CERN OHLv1.1 }} Andrey.filippov

Tmp manual

Fri, 05/11/2018 - 16:09

‎Firmware images

← Older revision Revision as of 22:09, 11 May 2018 Line 281: Line 281:     ==<font color="blue">Firmware images</font>== ==<font color="blue">Firmware images</font>== −* [https://community.elphel.com/files/393/20180416/ '''20180416''']+* [https://community.elphel.com/files/393/20180511/ '''20180511''']  +* [https://community.elphel.com/files/393/20180416/ 20180416]  * [https://community.elphel.com/files/393/20180406/ 20180406] * [https://community.elphel.com/files/393/20180406/ 20180406] −* [https://community.elphel.com/files/393/20180130/ 20180130]+  −* [https://community.elphel.com/files/393/20180118/ 20180118]   ===Changelog=== ===Changelog=== −  <font size='1'>'''==20180416=='''+  <font size='1'>'''==20180511=='''  + * added cron program  + * multi cameras control interface  + * multi camera system info reporting  + * fixed rtc  + '''==20180416=='''    * 20180419 - mt9f002: fixed changing window size   * 20180419 - mt9f002: fixed changing window size    * mt9f002: added triggered mode   * mt9f002: added triggered mode Oleg

Elphel camera parts 0393-19

Mon, 05/07/2018 - 09:40

‎0393-19-100 - Antenna plate

← Older revision Revision as of 15:40, 7 May 2018 Line 95: Line 95:  === 0393-19-100 - Antenna plate === === 0393-19-100 - Antenna plate ===  {{Cad4a|0393-19-100}} {{Cad4a|0393-19-100}}  +----  +  +=== 0393-19-85 - Heat plate mount ===  +{{Cad4a|0393-19-85}}  ---- ---- Andrey.filippov

Elphel camera parts 0393-18

Mon, 05/07/2018 - 09:38

‎0393-18-53 - Fisheye lens shade

← Older revision Revision as of 15:38, 7 May 2018 Line 35: Line 35:  === 0393-18-53 - Fisheye lens shade === === 0393-18-53 - Fisheye lens shade ===  {{Cad4a|0393-18-54}} {{Cad4a|0393-18-54}}  +----  +  +==== 0393-18-55 - Camera mount plate ====  +{{Cad4a|0393-18-55}}  ---- ---- Andrey.filippov

Elphel camera parts 0393-13

Mon, 05/07/2018 - 09:36

‎0393-13-02 - Back panel for NC393, connector openings for 10393 board only

← Older revision Revision as of 15:36, 7 May 2018 Line 11: Line 11:  ==== 0393-13-02 - Back panel for NC393, connector openings for 10393 board only ==== ==== 0393-13-02 - Back panel for NC393, connector openings for 10393 board only ====  {{Cad4a|0393-13-02}} {{Cad4a|0393-13-02}}  +----  +  +==== 0393-13-03 - Camera back connection plate ====  +{{Cad4a|0393-13-03}}  ---- ---- Andrey.filippov

Elphel camera parts 0393-12

Mon, 05/07/2018 - 09:34

← Older revision Revision as of 15:34, 7 May 2018 (2 intermediate revisions by the same user not shown)Line 86: Line 86:  === 0393-12-61 - Tube plug === === 0393-12-61 - Tube plug ===  {{Cad4a|0393-12-61}} {{Cad4a|0393-12-61}}  +----  +=== 0393-12-64 - Camera connection plate ===  +{{Cad4a|0393-12-64}}  +----  +  +=== 0393-12-65 - Camera connection plate cover===  +{{Cad4a|0393-12-65}}  +----  +  +=== 0393-12-66 - Camera connection plate cover half===  +{{Cad4a|0393-12-66}}  ---- ---- Andrey.filippov

Elphel camera parts 0393-11

Mon, 05/07/2018 - 09:26

‎0393-11-01B - Heat frame for 10393A and 10389B PCBA, Rev "B"

← Older revision Revision as of 15:26, 7 May 2018 Line 17: Line 17:  {{Cad4a|0393-11-01B}} {{Cad4a|0393-11-01B}}  ---- ----  +  +=== 0393-11-01C - Heat frame for 10393A-C and 10389B PCBA, Rev "C" ===  +Machined from 0393-60-07 extrusion, aluminum 6061T4, chromate conversion finish.  +Added side threaded holes for mount in Eyesis and other applications w/o standard camera body.  +{{Cad4a|0393-11-01C}}  +----  +  === 0393-11-04 - Cooling fan enclosure === === 0393-11-04 - Cooling fan enclosure ===  {{Cad4a|0393-11-04}} {{Cad4a|0393-11-04}} Andrey.filippov

Elphel camera parts 0353-98

Mon, 05/07/2018 - 09:24

‎0353-98-18 - M2.5x6mmx3.5mm Female Thread Brass Knurled Insert Embedded Nuts 30pcs

← Older revision Revision as of 15:24, 7 May 2018 Line 101: Line 101:  === 0353-98-18 - M2.5x6mmx3.5mm Female Thread Brass Knurled Insert Embedded Nuts 30pcs  === === 0353-98-18 - M2.5x6mmx3.5mm Female Thread Brass Knurled Insert Embedded Nuts 30pcs  ===  ---- ----  +  +  +=== 0353-98-23 - Socket head screw, M2.5, l=10mm, Black oxide.===  +McMaster p/n  91290A103  +{{Cad4a|0353-98-23}}  +  +<!--91290A103 --> Andrey.filippov

Tensorflow with gpu

Thu, 04/26/2018 - 18:17

← Older revision Revision as of 00:17, 27 April 2018 (2 intermediate revisions by the same user not shown)Line 40: Line 40:    ~$ sudo pip3 install --ignore-installed --upgrade https://storage.googleapis.com/tensorflow/linux/gpu/tensorflow_gpu-1.7.0-cp35-cp35m-linux_x86_64.whl   ~$ sudo pip3 install --ignore-installed --upgrade https://storage.googleapis.com/tensorflow/linux/gpu/tensorflow_gpu-1.7.0-cp35-cp35m-linux_x86_64.whl    −* testing+* testing: unsupported card '''GeForce GT 610'''    ~$ python3   ~$ python3    Python 3.5.2 (default, Nov 23 2017, 16:37:01)     Python 3.5.2 (default, Nov 23 2017, 16:37:01)      [GCC 5.4.0 20160609] on linux   [GCC 5.4.0 20160609] on linux    Type "help", "copyright", "credits" or "license" for more information.   Type "help", "copyright", "credits" or "license" for more information. − >>>   − >>>   − >>>      >>> import tensorflow as tf   >>> import tensorflow as tf    >>> hello = tf.constant('Hello, World!')                                                                                                                                                                                >>> hello = tf.constant('Hello, World!')                                                                                                                                                                              Line 61: Line 58:    2018-04-26 13:00:19.181695: I tensorflow/core/common_runtime/gpu/gpu_device.cc:930] 0:  N                                                                                                                                                          2018-04-26 13:00:19.181695: I tensorflow/core/common_runtime/gpu/gpu_device.cc:930] 0:  N                                                                                                                                                           >>> print(sess.run(hello))                                                                                                                                                                                                                                >>> print(sess.run(hello))                                                                                                                                                                                                                               + b'Hello, World!'  +  +* testing: supported card '''GeForce GTX 750 Ti'''  + ~$ python3  + Python 3.5.2 (default, Nov 23 2017, 16:37:01)  + [GCC 5.4.0 20160609] on linux  + Type "help", "copyright", "credits" or "license" for more information.  + >>> import tensorflow as tf  + >>> hello = tf.constant('Hello, World!')   + >>> sess = tf.Session()  + 2018-04-26 18:14:05.427668: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:898] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning  + NUMA node zero  + 2018-04-26 18:14:05.428033: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1344] Found device 0 with properties:  + name: GeForce GTX 750 Ti major: 5 minor: 0 memoryClockRate(GHz): 1.1105  + pciBusID: 0000:01:00.0  + totalMemory: 1.95GiB freeMemory: 1.53GiB  + 2018-04-26 18:14:05.428061: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1423] Adding visible gpu devices: 0  + 2018-04-26 18:14:05.927106: I tensorflow/core/common_runtime/gpu/gpu_device.cc:911] Device interconnect StreamExecutor with strength 1 edge matrix:  + 2018-04-26 18:14:05.927149: I tensorflow/core/common_runtime/gpu/gpu_device.cc:917]      0  + 2018-04-26 18:14:05.927163: I tensorflow/core/common_runtime/gpu/gpu_device.cc:930] 0:  N  + 2018-04-26 18:14:05.927313: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1041] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 1289 MB memory) -> physical GPU (device: 0,  + name: GeForce GTX 750 Ti, pci bus id: 0000:01:00.0, compute capability: 5.0)  + >>> print(sess.run(hello))    b'Hello, World!'   b'Hello, World!'    Oleg

Tensorflow with gpu

Thu, 04/26/2018 - 18:17

← Older revision Revision as of 00:17, 27 April 2018 (11 intermediate revisions by the same user not shown)Line 5: Line 5:    81:00.1 Audio device: NVIDIA Corporation GF119 HDMI Audio Controller (rev a1)   81:00.1 Audio device: NVIDIA Corporation GF119 HDMI Audio Controller (rev a1)  * check driver version * check driver version −  ~$ modinfo nv[TAB]+  ~$ cat /proc/driver/nvidia/version  + NVRM version: NVIDIA UNIX x86_64 Kernel Module  387.26  Thu Nov  2 21:20:16 PDT 2017  + GCC version:  gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.9)  * install cuda 9.0 with patches * install cuda 9.0 with patches    https://developer.nvidia.com/cuda-downloads?target_os=Linux&target_arch=x86_64&target_distro=Ubuntu&target_version=1604&target_type=deblocal   https://developer.nvidia.com/cuda-downloads?target_os=Linux&target_arch=x86_64&target_distro=Ubuntu&target_version=1604&target_type=deblocal Line 15: Line 17:    ~$ export PATH=/usr/local/cuda-9.0/bin${PATH:+:${PATH}}   ~$ export PATH=/usr/local/cuda-9.0/bin${PATH:+:${PATH}}    ~$ export LD_LIBRARY_PATH=/usr/local/cuda-9.0/lib64${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}   ~$ export LD_LIBRARY_PATH=/usr/local/cuda-9.0/lib64${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}  +*  + ~$ nvidia-smi  + Thu Apr 26 12:39:25 2018       + +-----------------------------------------------------------------------------+  + | NVIDIA-SMI 387.26                Driver Version: 387.26                    |  + |-------------------------------+----------------------+----------------------+  + | GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |  + | Fan  Temp  Perf  Pwr:Usage/Cap|        Memory-Usage | GPU-Util  Compute M. |  + |===============================+======================+======================|  + |  0  GeForce GT 610      Off  | 00000000:81:00.0 N/A |                  N/A |  + | N/A  31C    P8    N/A /  N/A |    148MiB /  956MiB |    N/A      Default |  + +-------------------------------+----------------------+----------------------+  +                                                                                 + +-----------------------------------------------------------------------------+  + | Processes:                                                      GPU Memory |  + |  GPU      PID  Type  Process name                            Usage      |  + |=============================================================================|  + |    0                    Not Supported                                      |  + +-----------------------------------------------------------------------------+  +  +* install tensorflow  + ~$ sudo pip3 install --ignore-installed --upgrade https://storage.googleapis.com/tensorflow/linux/gpu/tensorflow_gpu-1.7.0-cp35-cp35m-linux_x86_64.whl  +  +* testing: unsupported card '''GeForce GT 610'''  + ~$ python3  + Python 3.5.2 (default, Nov 23 2017, 16:37:01)  + [GCC 5.4.0 20160609] on linux  + Type "help", "copyright", "credits" or "license" for more information.  + >>> import tensorflow as tf  + >>> hello = tf.constant('Hello, World!')                                                                                                                                                                             + >>> sess = tf.Session()                                                                                                                                                                                                 + 2018-04-26 13:00:19.050625: I tensorflow/core/platform/cpu_feature_guard.cc:140] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA                                           + 2018-04-26 13:00:19.181581: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1344] Found device 0 with properties:                                                                                                             + name: GeForce GT 610 major: 2 minor: 1 memoryClockRate(GHz): 1.62                                                                                                                                                                 + pciBusID: 0000:81:00.0                                                                                                                                                                                                           + totalMemory: 956.50MiB freeMemory: 631.69MiB                                                                                                                                                                                               + <font color='red'><b>2018-04-26 13:00:19.181648: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1394] Ignoring visible gpu device (device: 0, name: GeForce GT 610, pci bus id: 0000:81:00.0, compute capability: 2.1) with Cuda compute capability 2.1. The minimum required Cuda capability is 3.5.</b></font>                                                                                                                                                                                                               + 2018-04-26 13:00:19.181669: I tensorflow/core/common_runtime/gpu/gpu_device.cc:911] Device interconnect StreamExecutor with strength 1 edge matrix:                                                                                       + 2018-04-26 13:00:19.181683: I tensorflow/core/common_runtime/gpu/gpu_device.cc:917]      0                                                                                                                                                       + 2018-04-26 13:00:19.181695: I tensorflow/core/common_runtime/gpu/gpu_device.cc:930] 0:  N                                                                                                                                                       + >>> print(sess.run(hello))                                                                                                                                                                                                                             + b'Hello, World!'  +  +* testing: supported card '''GeForce GTX 750 Ti'''  + ~$ python3  + Python 3.5.2 (default, Nov 23 2017, 16:37:01)  + [GCC 5.4.0 20160609] on linux  + Type "help", "copyright", "credits" or "license" for more information.  + >>> import tensorflow as tf  + >>> hello = tf.constant('Hello, World!')   + >>> sess = tf.Session()  + 2018-04-26 18:14:05.427668: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:898] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning  + NUMA node zero  + 2018-04-26 18:14:05.428033: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1344] Found device 0 with properties:  + name: GeForce GTX 750 Ti major: 5 minor: 0 memoryClockRate(GHz): 1.1105  + pciBusID: 0000:01:00.0  + totalMemory: 1.95GiB freeMemory: 1.53GiB  + 2018-04-26 18:14:05.428061: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1423] Adding visible gpu devices: 0  + 2018-04-26 18:14:05.927106: I tensorflow/core/common_runtime/gpu/gpu_device.cc:911] Device interconnect StreamExecutor with strength 1 edge matrix:  + 2018-04-26 18:14:05.927149: I tensorflow/core/common_runtime/gpu/gpu_device.cc:917]      0  + 2018-04-26 18:14:05.927163: I tensorflow/core/common_runtime/gpu/gpu_device.cc:930] 0:  N  + 2018-04-26 18:14:05.927313: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1041] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 1289 MB memory) -> physical GPU (device: 0,  + name: GeForce GTX 750 Ti, pci bus id: 0000:01:00.0, compute capability: 5.0)  + >>> print(sess.run(hello))  + b'Hello, World!'  +  +* Supported cards:  + https://developer.nvidia.com/cuda-gpus  +  +* As a quickfix had to install CuDNN 7.0.5 instead of latest:  + https://stackoverflow.com/questions/49960132/cudnn-library-compatibility-error-after-loading-model-weights Oleg

Tensorflow with gpu

Thu, 04/26/2018 - 14:53

← Older revision Revision as of 20:53, 26 April 2018 (8 intermediate revisions by the same user not shown)Line 5: Line 5:    81:00.1 Audio device: NVIDIA Corporation GF119 HDMI Audio Controller (rev a1)   81:00.1 Audio device: NVIDIA Corporation GF119 HDMI Audio Controller (rev a1)  * check driver version * check driver version −  ~$ modinfo nv[TAB]+  ~$ cat /proc/driver/nvidia/version  + NVRM version: NVIDIA UNIX x86_64 Kernel Module  387.26  Thu Nov  2 21:20:16 PDT 2017  + GCC version:  gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.9)  * install cuda 9.0 with patches * install cuda 9.0 with patches    https://developer.nvidia.com/cuda-downloads?target_os=Linux&target_arch=x86_64&target_distro=Ubuntu&target_version=1604&target_type=deblocal   https://developer.nvidia.com/cuda-downloads?target_os=Linux&target_arch=x86_64&target_distro=Ubuntu&target_version=1604&target_type=deblocal Line 15: Line 17:    ~$ export PATH=/usr/local/cuda-9.0/bin${PATH:+:${PATH}}   ~$ export PATH=/usr/local/cuda-9.0/bin${PATH:+:${PATH}}    ~$ export LD_LIBRARY_PATH=/usr/local/cuda-9.0/lib64${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}   ~$ export LD_LIBRARY_PATH=/usr/local/cuda-9.0/lib64${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}  +*  + ~$ nvidia-smi  + Thu Apr 26 12:39:25 2018       + +-----------------------------------------------------------------------------+  + | NVIDIA-SMI 387.26                Driver Version: 387.26                    |  + |-------------------------------+----------------------+----------------------+  + | GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |  + | Fan  Temp  Perf  Pwr:Usage/Cap|        Memory-Usage | GPU-Util  Compute M. |  + |===============================+======================+======================|  + |  0  GeForce GT 610      Off  | 00000000:81:00.0 N/A |                  N/A |  + | N/A  31C    P8    N/A /  N/A |    148MiB /  956MiB |    N/A      Default |  + +-------------------------------+----------------------+----------------------+  +                                                                                 + +-----------------------------------------------------------------------------+  + | Processes:                                                      GPU Memory |  + |  GPU      PID  Type  Process name                            Usage      |  + |=============================================================================|  + |    0                    Not Supported                                      |  + +-----------------------------------------------------------------------------+  +  +* install tensorflow  + ~$ sudo pip3 install --ignore-installed --upgrade https://storage.googleapis.com/tensorflow/linux/gpu/tensorflow_gpu-1.7.0-cp35-cp35m-linux_x86_64.whl  +  +* testing  + ~$ python3  + Python 3.5.2 (default, Nov 23 2017, 16:37:01)  + [GCC 5.4.0 20160609] on linux  + Type "help", "copyright", "credits" or "license" for more information.  + >>>  + >>>  + >>>  + >>> import tensorflow as tf  + >>> hello = tf.constant('Hello, World!')                                                                                                                                                                             + >>> sess = tf.Session()                                                                                                                                                                                                 + 2018-04-26 13:00:19.050625: I tensorflow/core/platform/cpu_feature_guard.cc:140] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA                                           + 2018-04-26 13:00:19.181581: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1344] Found device 0 with properties:                                                                                                             + name: GeForce GT 610 major: 2 minor: 1 memoryClockRate(GHz): 1.62                                                                                                                                                                 + pciBusID: 0000:81:00.0                                                                                                                                                                                                           + totalMemory: 956.50MiB freeMemory: 631.69MiB                                                                                                                                                                                               + <font color='red'><b>2018-04-26 13:00:19.181648: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1394] Ignoring visible gpu device (device: 0, name: GeForce GT 610, pci bus id: 0000:81:00.0, compute capability: 2.1) with Cuda compute capability 2.1. The minimum required Cuda capability is 3.5.</b></font>                                                                                                                                                                                                               + 2018-04-26 13:00:19.181669: I tensorflow/core/common_runtime/gpu/gpu_device.cc:911] Device interconnect StreamExecutor with strength 1 edge matrix:                                                                                       + 2018-04-26 13:00:19.181683: I tensorflow/core/common_runtime/gpu/gpu_device.cc:917]      0                                                                                                                                                       + 2018-04-26 13:00:19.181695: I tensorflow/core/common_runtime/gpu/gpu_device.cc:930] 0:  N                                                                                                                                                       + >>> print(sess.run(hello))                                                                                                                                                                                                                             + b'Hello, World!'  +  +* Supported cards:  + https://developer.nvidia.com/cuda-gpus  +  +* As a quickfix had to install CuDNN 7.0.5 instead of latest:  + https://stackoverflow.com/questions/49960132/cudnn-library-compatibility-error-after-loading-model-weights Oleg

Tensorflow with gpu

Thu, 04/26/2018 - 13:49

← Older revision Revision as of 19:49, 26 April 2018 (7 intermediate revisions by the same user not shown)Line 5: Line 5:    81:00.1 Audio device: NVIDIA Corporation GF119 HDMI Audio Controller (rev a1)   81:00.1 Audio device: NVIDIA Corporation GF119 HDMI Audio Controller (rev a1)  * check driver version * check driver version −  ~$ modinfo nv[TAB]+  ~$ cat /proc/driver/nvidia/version  + NVRM version: NVIDIA UNIX x86_64 Kernel Module  387.26  Thu Nov  2 21:20:16 PDT 2017  + GCC version:  gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.9)  * install cuda 9.0 with patches * install cuda 9.0 with patches    https://developer.nvidia.com/cuda-downloads?target_os=Linux&target_arch=x86_64&target_distro=Ubuntu&target_version=1604&target_type=deblocal   https://developer.nvidia.com/cuda-downloads?target_os=Linux&target_arch=x86_64&target_distro=Ubuntu&target_version=1604&target_type=deblocal Line 15: Line 17:    ~$ export PATH=/usr/local/cuda-9.0/bin${PATH:+:${PATH}}   ~$ export PATH=/usr/local/cuda-9.0/bin${PATH:+:${PATH}}    ~$ export LD_LIBRARY_PATH=/usr/local/cuda-9.0/lib64${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}   ~$ export LD_LIBRARY_PATH=/usr/local/cuda-9.0/lib64${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}  +*  + ~$ nvidia-smi  + Thu Apr 26 12:39:25 2018       + +-----------------------------------------------------------------------------+  + | NVIDIA-SMI 387.26                Driver Version: 387.26                    |  + |-------------------------------+----------------------+----------------------+  + | GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |  + | Fan  Temp  Perf  Pwr:Usage/Cap|        Memory-Usage | GPU-Util  Compute M. |  + |===============================+======================+======================|  + |  0  GeForce GT 610      Off  | 00000000:81:00.0 N/A |                  N/A |  + | N/A  31C    P8    N/A /  N/A |    148MiB /  956MiB |    N/A      Default |  + +-------------------------------+----------------------+----------------------+  +                                                                                 + +-----------------------------------------------------------------------------+  + | Processes:                                                      GPU Memory |  + |  GPU      PID  Type  Process name                            Usage      |  + |=============================================================================|  + |    0                    Not Supported                                      |  + +-----------------------------------------------------------------------------+  +  +* install tensorflow  + ~$ sudo pip3 install --ignore-installed --upgrade https://storage.googleapis.com/tensorflow/linux/gpu/tensorflow_gpu-1.7.0-cp35-cp35m-linux_x86_64.whl  +  +* testing  + ~$ python3  + Python 3.5.2 (default, Nov 23 2017, 16:37:01)  + [GCC 5.4.0 20160609] on linux  + Type "help", "copyright", "credits" or "license" for more information.  + >>>  + >>>  + >>>  + >>> import tensorflow as tf  + >>> hello = tf.constant('Hello, World!')                                                                                                                                                                             + >>> sess = tf.Session()                                                                                                                                                                                                 + 2018-04-26 13:00:19.050625: I tensorflow/core/platform/cpu_feature_guard.cc:140] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA                                           + 2018-04-26 13:00:19.181581: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1344] Found device 0 with properties:                                                                                                             + name: GeForce GT 610 major: 2 minor: 1 memoryClockRate(GHz): 1.62                                                                                                                                                                 + pciBusID: 0000:81:00.0                                                                                                                                                                                                           + totalMemory: 956.50MiB freeMemory: 631.69MiB                                                                                                                                                                                               + <font color='red'><b>2018-04-26 13:00:19.181648: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1394] Ignoring visible gpu device (device: 0, name: GeForce GT 610, pci bus id: 0000:81:00.0, compute capability: 2.1) with Cuda compute capability 2.1. The minimum required Cuda capability is 3.5.</b></font>                                                                                                                                                                                                               + 2018-04-26 13:00:19.181669: I tensorflow/core/common_runtime/gpu/gpu_device.cc:911] Device interconnect StreamExecutor with strength 1 edge matrix:                                                                                       + 2018-04-26 13:00:19.181683: I tensorflow/core/common_runtime/gpu/gpu_device.cc:917]      0                                                                                                                                                       + 2018-04-26 13:00:19.181695: I tensorflow/core/common_runtime/gpu/gpu_device.cc:930] 0:  N                                                                                                                                                       + >>> print(sess.run(hello))                                                                                                                                                                                                                             + b'Hello, World!'  +  +* Supported cards:  + https://developer.nvidia.com/cuda-gpus Oleg

Tensorflow with gpu

Thu, 04/26/2018 - 12:42

← Older revision Revision as of 18:42, 26 April 2018 (3 intermediate revisions by the same user not shown)Line 5: Line 5:    81:00.1 Audio device: NVIDIA Corporation GF119 HDMI Audio Controller (rev a1)   81:00.1 Audio device: NVIDIA Corporation GF119 HDMI Audio Controller (rev a1)  * check driver version * check driver version −  ~$ modinfo nv[TAB]+  ~$ cat /proc/driver/nvidia/version  + NVRM version: NVIDIA UNIX x86_64 Kernel Module  387.26  Thu Nov  2 21:20:16 PDT 2017  + GCC version:  gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.9)  * install cuda 9.0 with patches * install cuda 9.0 with patches    https://developer.nvidia.com/cuda-downloads?target_os=Linux&target_arch=x86_64&target_distro=Ubuntu&target_version=1604&target_type=deblocal   https://developer.nvidia.com/cuda-downloads?target_os=Linux&target_arch=x86_64&target_distro=Ubuntu&target_version=1604&target_type=deblocal Line 15: Line 17:    ~$ export PATH=/usr/local/cuda-9.0/bin${PATH:+:${PATH}}   ~$ export PATH=/usr/local/cuda-9.0/bin${PATH:+:${PATH}}    ~$ export LD_LIBRARY_PATH=/usr/local/cuda-9.0/lib64${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}   ~$ export LD_LIBRARY_PATH=/usr/local/cuda-9.0/lib64${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}  +*  + ~$ nvidia-smi  + Thu Apr 26 12:39:25 2018       + +-----------------------------------------------------------------------------+  + | NVIDIA-SMI 387.26                Driver Version: 387.26                    |  + |-------------------------------+----------------------+----------------------+  + | GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |  + | Fan  Temp  Perf  Pwr:Usage/Cap|        Memory-Usage | GPU-Util  Compute M. |  + |===============================+======================+======================|  + |  0  GeForce GT 610      Off  | 00000000:81:00.0 N/A |                  N/A |  + | N/A  31C    P8    N/A /  N/A |    148MiB /  956MiB |    N/A      Default |  + +-------------------------------+----------------------+----------------------+  +                                                                                 + +-----------------------------------------------------------------------------+  + | Processes:                                                      GPU Memory |  + |  GPU      PID  Type  Process name                            Usage      |  + |=============================================================================|  + |    0                    Not Supported                                      |  + +-----------------------------------------------------------------------------+ Oleg

Tensorflow with gpu

Thu, 04/26/2018 - 12:27

Created page with "==Pre== * check device ~$ lspci | grep NVIDIA 81:00.0 VGA compatible controller: NVIDIA Corporation GF119 [GeForce GT 610] (rev a1) 81:00.1 Audio device: NVIDIA Corporation..."

New page

==Pre==
* check device
~$ lspci | grep NVIDIA
81:00.0 VGA compatible controller: NVIDIA Corporation GF119 [GeForce GT 610] (rev a1)
81:00.1 Audio device: NVIDIA Corporation GF119 HDMI Audio Controller (rev a1)
* check driver version
~$ modinfo nv[TAB]
* install cuda 9.0 with patches
https://developer.nvidia.com/cuda-downloads?target_os=Linux&target_arch=x86_64&target_distro=Ubuntu&target_version=1604&target_type=deblocal
* then
sudo apt-get install cuda-9-0

https://docs.nvidia.com/cuda/cuda-installation-guide-linux/index.html#post-installation-actions
*
~$ export PATH=/usr/local/cuda-9.0/bin${PATH:+:${PATH}}
~$ export LD_LIBRARY_PATH=/usr/local/cuda-9.0/lib64${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}} Oleg

Tmp manual

Thu, 04/19/2018 - 17:55

‎Changelog

← Older revision Revision as of 23:55, 19 April 2018 Line 287: Line 287:  ===Changelog=== ===Changelog===    <font size='1'>'''==20180416=='''   <font size='1'>'''==20180416=='''  + * 20180419 - mt9f002: fixed changing window size    * mt9f002: added triggered mode   * mt9f002: added triggered mode    * mt9f002: added vertical and horizontal flips (mirror)   * mt9f002: added vertical and horizontal flips (mirror) Oleg

10398

Mon, 04/16/2018 - 19:32

‎MT9F002 Application Notes

← Older revision Revision as of 01:32, 17 April 2018 Line 26: Line 26:  |[[File:Mt9f002 slave mode.jpeg|700px|thumb|Fig.3 Slave mode]] |[[File:Mt9f002 slave mode.jpeg|700px|thumb|Fig.3 Slave mode]]  |} |}  +  +====I2C commands via sysfs====  + root@elphel393:~# cd /sys/devices/soc0/elphel393-sensor-i2c\@0/  +* read (port 0):  + echo "mt9f002 0x0 0x3000" > i2c0  + cat i2c0  +* write:  + echo "mt9f002 0x0 0x301a 0x011c" > i2c0     ====Measure frame timing==== ====Measure frame timing==== Oleg

New image sensors for 10393

Mon, 04/16/2018 - 19:07

‎in device tree

← Older revision Revision as of 01:07, 17 April 2018 (5 intermediate revisions by the same user not shown)Line 6: Line 6:  * Read [[Driverless_mode_393|this article]] * Read [[Driverless_mode_393|this article]]  ===Developing a driver=== ===Developing a driver=== −{|+[[File:10393 sensor driver structure.png|thumb|700px|Fig.1 Sensor driver]] −|[[File:10393 sensor driver structure.png|thumb|700px|Fig.1 Sensor driver]]+[[File:10393_cpu_fpga_i2c_records_table.png|thumb|700px|Fig.2 FPGA has a certain 256-line table (for all ports)]] −|}  −{|  −|[[File:10393_cpu_fpga_i2c_records_table.png|thumb|700px|Fig.2 FPGA has a certain 256-line table (for all ports)]]  −|}     −* In device tree:+====Device tree==== −** record for sensor, like:+* record for sensor, like: −    elphel393_mt9f002: elphel393-mt9f002@0 {+ <font size=1>elphel393_mt9f002: elphel393-mt9f002@0 { −        compatible = "elphel,elphel393-mt9f002-1.00";+    compatible = "elphel,elphel393-mt9f002-1.00"; −    };+ };</font> −** record for sensor i2c address, like:+* record for sensor i2c address, like: −    elphel393_sensor_i2c: elphel393-sensor-i2c@0 {+ <font size=1>elphel393_sensor_i2c: elphel393-sensor-i2c@0 { −                compatible = "elphel,elphel393-sensor-i2c-1.00";+    compatible = "elphel,elphel393-sensor-i2c-1.00"; −                /* Add known devices: name, slave address (7-bit), number of address bytes, number of data bytes, SCL frequency (kHz) */+    /* Add known devices: name, slave address (7-bit), number of address bytes, number of data bytes, SCL frequency (kHz) */ −                elphel393-sensor-i2c,i2c_devices = "mt9f002        0x10 2 2 500",+    elphel393-sensor-i2c,i2c_devices = "mt9f002        0x10 2 2 500", −                                                  "mt9p006        0x48 1 2 500",+                                        "mt9p006        0x48 1 2 500", −                                                  "el10359        0x08 1 2 500",+                                        "el10359        0x08 1 2 500", −                                                  "el10359_32    0x08 1 4 500",+                                        "el10359_32    0x08 1 4 500", −                                                  "pca9500_eeprom 0x50 1 1 100",+                                        "pca9500_eeprom 0x50 1 1 100", −                                                  "sensor_eeprom  0x50 1 1 100",+                                        "sensor_eeprom  0x50 1 1 100", −                                                  "sensor_temp    0x18 1 2 100",+                                        "sensor_temp    0x18 1 2 100", −                                                  "cy22393        0x69 1 1 100";+                                        "cy22393        0x69 1 1 100"; −    } ;+ };</font>  +* edit detected sensors:  + <font size=1>elphel393_detect_sensors: elphel393-detect_sensors@0 {  +    compatible = "elphel,elphel393-detect_sensors-1.00";  +    elphel393-detect_sensors,port-mux = "none none none none"; /* "none", "detect" or "mux10359" */  +    elphel393-detect_sensors,sensors =  "mt9f002", // Line per port, may contain up to 4 sensors (3 with 10359)  +                                        "mt9f002",  +                                        "mt9f002",  +                                        "mt9f002";  + };</font>    −** edit detected sensors:+====Add a proper application==== −    elphel393_detect_sensors: elphel393-detect_sensors@0 {+* In '''autocampars.php''' −        compatible = "elphel,elphel393-detect_sensors-1.00";+* Set application through 10389's serial or more preferably through /etc/elphel393/default_10389.xml in a 10389-less setup −        elphel393-detect_sensors,port-mux = "none none none none"; /* "none", "detect" or "mux10359" */  −        elphel393-detect_sensors,sensors = "mt9f002", // Line per port, may contain up to 4 sensors (3 with 10359)  −                                            "mt9f002",  −                                            "mt9f002",  −                                            "mt9f002";  −    };  −   −* edit '''autocampars.php''' - add a proper application  −* set application through 10389's serial or more preferably through /etc/elphel393/default_10389.xml in a 10389-less setup      +====Driver code====  * In ''linux-elphel/src/drivers/elphel/''   * In ''linux-elphel/src/drivers/elphel/''    ** Create mt9f002.h and mt9f002.c ** Create mt9f002.h and mt9f002.c  ** Add to Makefile: ** Add to Makefile: −  obj-$(CONFIG_ELPHEL393)           += mt9f002.o+  <font size=1>obj-$(CONFIG_ELPHEL393) += mt9f002.o</font>  ** Edit pgm_functions.c ** Edit pgm_functions.c  ** mt9f002.h - fill with registers addresses (from sensor's datasheet) and other constants ** mt9f002.h - fill with registers addresses (from sensor's datasheet) and other constants  ** mt9f002.c: ** mt9f002.c: −  mt9f002_par2addr table+  <font size=1>mt9f002_par2addr table    mt9f002_pages table   mt9f002_pages table    mt9f002_ahead_tab - no need to edit in the beginning   mt9f002_ahead_tab - no need to edit in the beginning Line 66: Line 63:    mt9f002_pgm_limitfps func   mt9f002_pgm_limitfps func    mt9f002_pgm_exposure func   mt9f002_pgm_exposure func −  mt9f002_pgm_triggermode func+  mt9f002_pgm_triggermode func</font>           [[Category:393]] [[Category:393]] Oleg

New image sensors for 10393

Mon, 04/16/2018 - 19:03

‎Driver

← Older revision Revision as of 01:03, 17 April 2018 (4 intermediate revisions by the same user not shown)Line 6: Line 6:  * Read [[Driverless_mode_393|this article]] * Read [[Driverless_mode_393|this article]]  ===Developing a driver=== ===Developing a driver=== −{|+[[File:10393 sensor driver structure.png|thumb|700px|Fig.1 Sensor driver]] −|[[File:10393 sensor driver structure.png|thumb|700px|Fig.1 Sensor driver]]+[[File:10393_cpu_fpga_i2c_records_table.png|thumb|700px|Fig.2 FPGA has a certain 256-line table (for all ports)]] −|}  −{|  −|[[File:10393_cpu_fpga_i2c_records_table.png|thumb|700px|Fig.2 FPGA has a certain 256-line table (for all ports)]]  −|}     −* In device tree:+====in device tree==== −** record for sensor, like:+* record for sensor, like: −    elphel393_mt9f002: elphel393-mt9f002@0 {+ <font size=1>elphel393_mt9f002: elphel393-mt9f002@0 { −        compatible = "elphel,elphel393-mt9f002-1.00";+    compatible = "elphel,elphel393-mt9f002-1.00"; −    };+ };</font> −** record for sensor i2c address, like:+* record for sensor i2c address, like: −    elphel393_sensor_i2c: elphel393-sensor-i2c@0 {+ <font size=1>elphel393_sensor_i2c: elphel393-sensor-i2c@0 { −                compatible = "elphel,elphel393-sensor-i2c-1.00";+    compatible = "elphel,elphel393-sensor-i2c-1.00"; −                /* Add known devices: name, slave address (7-bit), number of address bytes, number of data bytes, SCL frequency (kHz) */+    /* Add known devices: name, slave address (7-bit), number of address bytes, number of data bytes, SCL frequency (kHz) */ −                elphel393-sensor-i2c,i2c_devices = "mt9f002        0x10 2 2 500",+    elphel393-sensor-i2c,i2c_devices = "mt9f002        0x10 2 2 500", −                                                  "mt9p006        0x48 1 2 500",+                                        "mt9p006        0x48 1 2 500", −                                                  "el10359        0x08 1 2 500",+                                        "el10359        0x08 1 2 500", −                                                  "el10359_32    0x08 1 4 500",+                                        "el10359_32    0x08 1 4 500", −                                                  "pca9500_eeprom 0x50 1 1 100",+                                        "pca9500_eeprom 0x50 1 1 100", −                                                  "sensor_eeprom  0x50 1 1 100",+                                        "sensor_eeprom  0x50 1 1 100", −                                                  "sensor_temp    0x18 1 2 100",+                                        "sensor_temp    0x18 1 2 100", −                                                  "cy22393        0x69 1 1 100";+                                        "cy22393        0x69 1 1 100"; −    } ;+ };</font>  +* edit detected sensors:  + <font size=1>elphel393_detect_sensors: elphel393-detect_sensors@0 {  +    compatible = "elphel,elphel393-detect_sensors-1.00";  +    elphel393-detect_sensors,port-mux = "none none none none"; /* "none", "detect" or "mux10359" */  +    elphel393-detect_sensors,sensors =  "mt9f002", // Line per port, may contain up to 4 sensors (3 with 10359)  +                                        "mt9f002",  +                                        "mt9f002",  +                                        "mt9f002";  + };</font>    −** edit detected sensors:+====Add a proper application==== −    elphel393_detect_sensors: elphel393-detect_sensors@0 {+* In '''autocampars.php''' −        compatible = "elphel,elphel393-detect_sensors-1.00";+* Set application through 10389's serial or more preferably through /etc/elphel393/default_10389.xml in a 10389-less setup −        elphel393-detect_sensors,port-mux = "none none none none"; /* "none", "detect" or "mux10359" */  −        elphel393-detect_sensors,sensors = "mt9f002", // Line per port, may contain up to 4 sensors (3 with 10359)  −                                            "mt9f002",  −                                            "mt9f002",  −                                            "mt9f002";  −    };  −   −* edit '''autocampars.php''' - add a proper application  −* set application through 10389's serial or more preferably through /etc/elphel393/default_10389.xml in a 10389-less setup      +====Driver code====  * In ''linux-elphel/src/drivers/elphel/''   * In ''linux-elphel/src/drivers/elphel/''    ** Create mt9f002.h and mt9f002.c ** Create mt9f002.h and mt9f002.c  ** Add to Makefile: ** Add to Makefile: −  obj-$(CONFIG_ELPHEL393)           += mt9f002.o+  <font size=1>obj-$(CONFIG_ELPHEL393) += mt9f002.o</font>  ** Edit pgm_functions.c ** Edit pgm_functions.c  ** mt9f002.h - fill with registers addresses (from sensor's datasheet) and other constants ** mt9f002.h - fill with registers addresses (from sensor's datasheet) and other constants  ** mt9f002.c: ** mt9f002.c: −  mt9f002_par2addr table+  <font size=1>mt9f002_par2addr table    mt9f002_pages table   mt9f002_pages table    mt9f002_ahead_tab - no need to edit in the beginning   mt9f002_ahead_tab - no need to edit in the beginning Line 66: Line 63:    mt9f002_pgm_limitfps func   mt9f002_pgm_limitfps func    mt9f002_pgm_exposure func   mt9f002_pgm_exposure func −  mt9f002_pgm_triggermode func+  mt9f002_pgm_triggermode func</font>           [[Category:393]] [[Category:393]] Oleg

10398

Mon, 04/16/2018 - 18:42

‎Measure frame timing

← Older revision Revision as of 00:42, 17 April 2018 (3 intermediate revisions by the same user not shown)Line 26: Line 26:  |[[File:Mt9f002 slave mode.jpeg|700px|thumb|Fig.3 Slave mode]] |[[File:Mt9f002 slave mode.jpeg|700px|thumb|Fig.3 Slave mode]]  |} |}  +  +====Measure frame timing====  + root@elphel393:~# cd /usr/local/verilog/; test_mcntrl.py @hargs-after  +  + //0x21  + //      x393_status_sens_io_t - [22] time_busy  + //0x40  + //      x393_status_sensor_timing_t - [23:0] quad_cycles  + //0x40a  + //      x393_sensio_jtag_t  + //          0s are ok for other bits  + //          timing_to  : 2; // [11:10] (0) Measuring sensor time to: 0 - sof, 1 - eof, 2 - sol, 3 eol  + //          timing_from : 2; // [13:12] (0) Measuring sensor time from: 0 - sof, 1 - eof, 2 - sol, 3 eol  + //          lane_num    : 2; // [15:14] (0) Measuring sensor time on lane 0..3  + //          timing_start: 1; // [  16] (0) Start sensor timing measurement  +  +  + // measure time from sof to sol, lane 0  + write_control_register 0x40a 0x10800  + // sof to eof  + write_control_register 0x40a 0x10400  + // sol to eol  + write_control_register 0x40a 0x12c00  + // eof to sof  + write_control_register 0x40a 0x11000  + // eol to sol  + write_control_register 0x40a 0x13800  +  + // sol to sol  + write_control_register 0x40a 0x12800  +  + // sof to sof  + '''write_control_register 0x40a 0x10000'''  +  + // eof to eof  + write_control_register 0x40a 0x11800  +  +  + // sof to sol  + write_control_register 0x40a 0x10800  +  + // eol to eof  + write_control_register 0x40a 0x13400  +   + read_status 0x21  +  + read_status 0x40 Oleg

Pages