Imaging solutions with Free Software & Open Hardware

Who's online

There are currently 0 users online.

06/29/16 [meta-elphel393][master] by Oleg Dzhimiev: +rsync

Elphel GIT logs - Wed, 06/29/2016 - 18:03
Oleg Dzhimiev committed changes to the Elphel git project :
+rsync

06/29/16 [meta-elphel393][master] by Oleg Dzhimiev: +overlayfs

Elphel GIT logs - Wed, 06/29/2016 - 17:55
Oleg Dzhimiev committed changes to the Elphel git project :
+overlayfs

Elphel camera parts 0353-98

Wiki Recent Changes - Wed, 06/29/2016 - 14:57

0353-98-17 - Screw, M2.5, Socket Cap, l=30mm, Black Oxide:

← Older revision Revision as of 20:57, 29 June 2016 Line 89: Line 89: === 0353-98-17 - Screw, M2.5, Socket Cap,  l=30mm, Black Oxide === === 0353-98-17 - Screw, M2.5, Socket Cap,  l=30mm, Black Oxide === mcmaster p/n 91290A059 mcmaster p/n 91290A059  +----  +  +=== 0353-98-18 - M2.5x6mmx3.5mm Female Thread Brass Knurled Insert Embedded Nuts 30pcs  === ---- ---- Olga

Camera Accessories

Wiki Recent Changes - Wed, 06/29/2016 - 14:29

06/29/16 [elphel-apps-camogm][master] by Mikhail Karpenko: Process commands in a thread

Elphel GIT logs - Wed, 06/29/2016 - 13:15
Mikhail Karpenko committed changes to the Elphel git project :
Process commands in a thread

Tmp manual

Wiki Recent Changes - Tue, 06/28/2016 - 16:34

Notes:

← Older revision Revision as of 22:34, 28 June 2016 (25 intermediate revisions not shown)Line 8: Line 8: ==<font color="blue">Defaults</font>== ==<font color="blue">Defaults</font>== -IP addr: <b>192.168.0.8</b>+IP addr: <b>192.168.0.9</b> (old: 192.168.0.8) user / pwd: root / <empty> user / pwd: root / <empty> -* The address is set in the ''init_elphel393.sh'' script on the card's FAT32 partition.+* (current) The address is set in the ''/etc/init_elphel393.sh'' in rootfs.  +* (old) The address is set in the ''init_elphel393.sh'' script on the card's FAT32 partition. ==<font color="blue">init_elphel393.sh</font>== ==<font color="blue">init_elphel393.sh</font>== -* Before boot set SENSOR_TYPE:+* ''/etc/init_elphel393.sh''  +* Change SENSOR_TYPE (boots but no images if incorrectly set): ** SENSOR_TYPE=5 - for 5MPix sensors ** SENSOR_TYPE=5 - for 5MPix sensors ** SENSOR_TYPE=14 - for 14MPix ** SENSOR_TYPE=14 - for 14MPix Line 22: Line 24: ==<font color="blue">Boot</font>== ==<font color="blue">Boot</font>== -* on power-on boots from NAND flash: u-boot, device tree and kernel.+* [default behavior] on power-on the camera boots from NAND flash: u-boot, device tree and kernel. -devicetree has "chosen = ...root=/dev/mmcblk0p2..." - rootfs is on the micro SD card second partition.+devicetree has "chosen = ...root=/dev/mmcblk0p2..." - rootfs is on the micro SD card second partition. Thus, the &mu;SD card must be inserted.  +* boot from &mu;SD card only options:  +** A modified card that doesn't lock the mechanical CD pin in the slot - it's done by carefully rubbing down the corner (see Fig.2) - most cards have circuitry there and get damaged.  +** &mu;USB-to-USB cable: in Linux compile [https://sourceforge.net/p/elphel/cp210x_gpio/ci/master/tree/ this driver], connect camera to PC, reload the driver then type:  + ./cp210x_gpio.py 0x6;  + ./cp210x_gpio.py 0xe;  +{|  +|[[File:Recover mmc.jpeg|130px|thumb|Fig.2 Recovery &mu;SD card ('cut' corner) - enforces the system board to boot from it]]  +|} ==<font color="blue">Command line access</font>== ==<font color="blue">Command line access</font>== -ssh root@192.168.0.8+ssh root@192.168.0.9 ==<font color="blue">Serial console access</font>== ==<font color="blue">Serial console access</font>== Line 36: Line 46: ==<font color="blue">Get images</font>== ==<font color="blue">Get images</font>== -channel 1: http://192.168.0.8:2323/img+channel 1: http://192.168.0.9:2323/img -channel 2: http://192.168.0.8:2324/img+channel 2: http://192.168.0.9:2324/img -channel 3: http://192.168.0.8:2325/img+channel 3: http://192.168.0.9:2325/img -channel 4: http://192.168.0.8:2326/img+channel 4: http://192.168.0.9:2326/img ==<font color="blue">Video</font>== ==<font color="blue">Video</font>== ===Display=== ===Display=== <font size='2'> <font size='2'> -  gst-launch-1.0 souphttpsrc is-live=true location=http://192.168.0.8:2323/mimg ! jpegdec ! xvimagesink+  gst-launch-1.0 souphttpsrc is-live=true location=http://192.168.0.9:2323/mimg ! jpegdec ! xvimagesink </font> </font> * Only mjpeg, no rtsp yet. * Only mjpeg, no rtsp yet. Line 59: Line 69: Example 1: (provide a correct media mount point) Example 1: (provide a correct media mount point) <font size='2'> <font size='2'> -* http://192.168.0.8/camogm.html+* http://192.168.0.9/camogm.html </font> </font> Line 66: Line 76: * channel '''0''', '''/dev/sda1''', w/o a file name prefix * channel '''0''', '''/dev/sda1''', w/o a file name prefix ** setup: ** setup: -  http://192.168.0.8/camogm.php?chn=0&cmd=prefix=/mnt/sda1/;+  http://192.168.0.9/camogm.php?chn=0&cmd=prefix=/mnt/sda1/; ** start: ** start: -  http://192.168.0.8/camogm.php?chn=0&cmd=start;+  http://192.168.0.9/camogm.php?chn=0&cmd=start; ** stop: ** stop: -  http://192.168.0.8/camogm.php?chn=0&cmd=stop;+  http://192.168.0.9/camogm.php?chn=0&cmd=stop; </font> </font> Line 85: Line 95: ==<font color="blue">Change parameters</font>== ==<font color="blue">Change parameters</font>== -* http://192.168.0.8/controls.html - previews and basic parameters:+* http://192.168.0.9/controls.html - previews and basic parameters: ** Exposure - the values are in the sensor lines. Currently conversion to seconds is not correct. ** Exposure - the values are in the sensor lines. Currently conversion to seconds is not correct. ** WB - r,g,b gains ** WB - r,g,b gains Line 102: Line 112: ==<font color="blue">Temperature monitor</font>== ==<font color="blue">Temperature monitor</font>== -* http://192.168.0.8/hwmon.html:+* http://192.168.0.9/hwmon.html: ** T<sub>shutdown</sub> - automatic shutdown temperature level ** T<sub>shutdown</sub> - automatic shutdown temperature level {| {| Line 109: Line 119: ==<font color="blue">Proper shutdown</font>== ==<font color="blue">Proper shutdown</font>==  +* if not properly shutdown - &mu;SD might get corrupted (run '''sync''' at least)   shutdown -hP now   shutdown -hP now ==<font color="blue">Firmware image</font>== ==<font color="blue">Firmware image</font>== -* [http://community.elphel.com/files/393/20160622/ 20160622 (new)]+* [http://community.elphel.com/files/393/20160626/ 20160626 (new)]  +** python scripts moved to /tmp - dependencies create ''pyc''s  +** init_elphel393.sh moved from &mu;SD card to ''/etc'' in rootfs - boot from flash doesn't require an inserted card for '''fixed''' boards.  +** default IP address changed to 192.168.0.9 as in the image built from our repositories.  +* [http://community.elphel.com/files/393/20160622/ 20160622 (old)] * [http://community.elphel.com/files/393/20160614/ 20160614 (old)] * [http://community.elphel.com/files/393/20160614/ 20160614 (old)] * [http://community.elphel.com/files/393/20160607/ 20160607 (old)] * [http://community.elphel.com/files/393/20160607/ 20160607 (old)] Line 122: Line 137: ==<font color="blue">Known problems</font>== ==<font color="blue">Known problems</font>== * [solved] Vertical artifacts in jpegs. Images are ok at 100% quality. Fixed, testing. * [solved] Vertical artifacts in jpegs. Images are ok at 100% quality. Fixed, testing. -* http://192.168.0.8:232x/noexif/mimg - multipart jpeg displays corrupted frames from time to time. Reason: network bandwidth?+* http://192.168.0.9:232x/noexif/mimg - multipart jpeg displays corrupted frames from time to time. Reason: network bandwidth? * [solved] Sometimes on power-on (NAND flash boot) cannot mount the card's rootfs partition. Kernel Panics. Power off/on. Soft "reboot -f" works ok. * [solved] Sometimes on power-on (NAND flash boot) cannot mount the card's rootfs partition. Kernel Panics. Power off/on. Soft "reboot -f" works ok.   ...   ... Line 130: Line 145: * Changing exposure/quality/gains - can corrupt images - needs testing. * Changing exposure/quality/gains - can corrupt images - needs testing.  +* After rewriting rootfs to &mu;SD card - some of the cards get a corrupted partition - re-partitioning (reformatting?) solves the problem.  + On the camera the rootfs is mounted as RW and some of the files are changed (also links created) -  + most of the changes are now moved to tmpfs but something might have been missed.  +  +  +  +==<font color="blue">Notes</font>==  +* In case rootfs is on flash, it might make sense (or maybe not as the history is updated only once on session exit) to disable bash sessions command history - [http://stackoverflow.com/questions/18663078/disable-history-in-linux disable bash history] [[Category:393]] [[Category:393]] Oleg

06/28/16 [linux-elphel][jtag] by Oleg Dzhimiev: fixed naming conflict with the sensor-i2c driver

Elphel GIT logs - Tue, 06/28/2016 - 13:39
Oleg Dzhimiev committed changes to the Elphel git project :
fixed naming conflict with the sensor-i2c driver

Tmp manual

Wiki Recent Changes - Tue, 06/28/2016 - 11:53

← Older revision Revision as of 17:53, 28 June 2016 (22 intermediate revisions not shown)Line 8: Line 8: ==<font color="blue">Defaults</font>== ==<font color="blue">Defaults</font>== -IP addr: <b>192.168.0.8</b>+IP addr: <b>192.168.0.9</b> (old: 192.168.0.8) user / pwd: root / <empty> user / pwd: root / <empty> -* The address is set in the ''init_elphel393.sh'' script on the card's FAT32 partition.+* (current) The address is set in the ''/etc/init_elphel393.sh'' in rootfs.  +* (old) The address is set in the ''init_elphel393.sh'' script on the card's FAT32 partition. ==<font color="blue">init_elphel393.sh</font>== ==<font color="blue">init_elphel393.sh</font>== -* Before boot set SENSOR_TYPE:+* ''/etc/init_elphel393.sh''  +* Change SENSOR_TYPE (boots but no images if incorrectly set): ** SENSOR_TYPE=5 - for 5MPix sensors ** SENSOR_TYPE=5 - for 5MPix sensors ** SENSOR_TYPE=14 - for 14MPix ** SENSOR_TYPE=14 - for 14MPix Line 22: Line 24: ==<font color="blue">Boot</font>== ==<font color="blue">Boot</font>== -* on power-on boots from NAND flash: u-boot, device tree and kernel.+* [default behavior] on power-on the camera boots from NAND flash: u-boot, device tree and kernel. -devicetree has "chosen = ...root=/dev/mmcblk0p2..." - rootfs is on the micro SD card second partition.+devicetree has "chosen = ...root=/dev/mmcblk0p2..." - rootfs is on the micro SD card second partition. Thus, the &mu;SD card must be inserted.  +* boot from &mu;SD card only options:  +** A modified card that doesn't lock the mechanical CD pin in the slot - it's done by carefully rubbing down the corner (see Fig.2) - most cards have circuitry there and get damaged.  +** &mu;USB-to-USB cable: in Linux compile [https://sourceforge.net/p/elphel/cp210x_gpio/ci/master/tree/ this driver], connect camera to PC, reload the driver then type:  + ./cp210x_gpio.py 0x6;  + ./cp210x_gpio.py 0xe;  +{|  +|[[File:Recover mmc.jpeg|130px|thumb|Fig.2 Recovery &mu;SD card ('cut' corner) - enforces the system board to boot from it]]  +|} ==<font color="blue">Command line access</font>== ==<font color="blue">Command line access</font>== -ssh root@192.168.0.8+ssh root@192.168.0.9 ==<font color="blue">Serial console access</font>== ==<font color="blue">Serial console access</font>== Line 36: Line 46: ==<font color="blue">Get images</font>== ==<font color="blue">Get images</font>== -channel 1: http://192.168.0.8:2323/img+channel 1: http://192.168.0.9:2323/img -channel 2: http://192.168.0.8:2324/img+channel 2: http://192.168.0.9:2324/img -channel 3: http://192.168.0.8:2325/img+channel 3: http://192.168.0.9:2325/img -channel 4: http://192.168.0.8:2326/img+channel 4: http://192.168.0.9:2326/img ==<font color="blue">Video</font>== ==<font color="blue">Video</font>== ===Display=== ===Display=== <font size='2'> <font size='2'> -  gst-launch-1.0 souphttpsrc is-live=true location=http://192.168.0.8:2323/mimg ! jpegdec ! xvimagesink+  gst-launch-1.0 souphttpsrc is-live=true location=http://192.168.0.9:2323/mimg ! jpegdec ! xvimagesink </font> </font> * Only mjpeg, no rtsp yet. * Only mjpeg, no rtsp yet. Line 59: Line 69: Example 1: (provide a correct media mount point) Example 1: (provide a correct media mount point) <font size='2'> <font size='2'> -* http://192.168.0.8/camogm.html+* http://192.168.0.9/camogm.html </font> </font> Line 66: Line 76: * channel '''0''', '''/dev/sda1''', w/o a file name prefix * channel '''0''', '''/dev/sda1''', w/o a file name prefix ** setup: ** setup: -  http://192.168.0.8/camogm.php?chn=0&cmd=prefix=/mnt/sda1/;+  http://192.168.0.9/camogm.php?chn=0&cmd=prefix=/mnt/sda1/; ** start: ** start: -  http://192.168.0.8/camogm.php?chn=0&cmd=start;+  http://192.168.0.9/camogm.php?chn=0&cmd=start; ** stop: ** stop: -  http://192.168.0.8/camogm.php?chn=0&cmd=stop;+  http://192.168.0.9/camogm.php?chn=0&cmd=stop; </font> </font> Line 85: Line 95: ==<font color="blue">Change parameters</font>== ==<font color="blue">Change parameters</font>== -* http://192.168.0.8/controls.html - previews and basic parameters:+* http://192.168.0.9/controls.html - previews and basic parameters: ** Exposure - the values are in the sensor lines. Currently conversion to seconds is not correct. ** Exposure - the values are in the sensor lines. Currently conversion to seconds is not correct. ** WB - r,g,b gains ** WB - r,g,b gains Line 102: Line 112: ==<font color="blue">Temperature monitor</font>== ==<font color="blue">Temperature monitor</font>== -* http://192.168.0.8/hwmon.html:+* http://192.168.0.9/hwmon.html: ** T<sub>shutdown</sub> - automatic shutdown temperature level ** T<sub>shutdown</sub> - automatic shutdown temperature level {| {| Line 109: Line 119: ==<font color="blue">Proper shutdown</font>== ==<font color="blue">Proper shutdown</font>==  +* if not properly shutdown - &mu;SD might get corrupted (run '''sync''' at least)   shutdown -hP now   shutdown -hP now ==<font color="blue">Firmware image</font>== ==<font color="blue">Firmware image</font>== -* [http://community.elphel.com/files/393/20160622/ 20160622 (new)]+* [http://community.elphel.com/files/393/20160626/ 20160626 (new)]  +** python scripts moved to /tmp - dependencies create ''pyc''s  +** init_elphel393.sh moved from &mu;SD card to ''/etc'' in rootfs - boot from flash doesn't require an inserted card for '''fixed''' boards.  +** default IP address changed to 192.168.0.9 as in the image built from our repositories.  +* [http://community.elphel.com/files/393/20160622/ 20160622 (old)] * [http://community.elphel.com/files/393/20160614/ 20160614 (old)] * [http://community.elphel.com/files/393/20160614/ 20160614 (old)] * [http://community.elphel.com/files/393/20160607/ 20160607 (old)] * [http://community.elphel.com/files/393/20160607/ 20160607 (old)] Line 122: Line 137: ==<font color="blue">Known problems</font>== ==<font color="blue">Known problems</font>== * [solved] Vertical artifacts in jpegs. Images are ok at 100% quality. Fixed, testing. * [solved] Vertical artifacts in jpegs. Images are ok at 100% quality. Fixed, testing. -* http://192.168.0.8:232x/noexif/mimg - multipart jpeg displays corrupted frames from time to time. Reason: network bandwidth?+* http://192.168.0.9:232x/noexif/mimg - multipart jpeg displays corrupted frames from time to time. Reason: network bandwidth? * [solved] Sometimes on power-on (NAND flash boot) cannot mount the card's rootfs partition. Kernel Panics. Power off/on. Soft "reboot -f" works ok. * [solved] Sometimes on power-on (NAND flash boot) cannot mount the card's rootfs partition. Kernel Panics. Power off/on. Soft "reboot -f" works ok.   ...   ... Line 130: Line 145: * Changing exposure/quality/gains - can corrupt images - needs testing. * Changing exposure/quality/gains - can corrupt images - needs testing.  +* After rewriting rootfs to &mu;SD card - some of the cards get a corrupted partition - re-partitioning (reformatting?) solves the problem.  + On the camera the rootfs is mounted as RW and some of the files are changed (also links created) -  + most of the changes are now moved to tmpfs but something might have been missed. [[Category:393]] [[Category:393]] Oleg

06/27/16 [elphel-apps-camogm][master-initial] by Mikhail Karpenko: Start reading files in a separate thread

Elphel GIT logs - Mon, 06/27/2016 - 19:21
Mikhail Karpenko committed changes to the Elphel git project :
Start reading files in a separate thread

06/27/16 [linux-elphel][framepars] by Oleg Dzhimiev: turned off debug messages

Elphel GIT logs - Mon, 06/27/2016 - 13:40
Oleg Dzhimiev committed changes to the Elphel git project :
turned off debug messages

06/27/16 [elphel-apps-camogm][master] by Mikhail Karpenko: Switch to a reading state

Elphel GIT logs - Mon, 06/27/2016 - 12:51
Mikhail Karpenko committed changes to the Elphel git project :
Switch to a reading state

06/27/16 [x393][framepars] by AndreyFilippov: Merge branch 'master' of https://github.com/Elphel/x393

Elphel GIT logs - Mon, 06/27/2016 - 12:47
AndreyFilippov committed changes to the Elphel git project :
Merge branch 'master' of https://github.com/Elphel/x393

06/27/16 [x393][master] by AndreyFilippov: trying cocotb

Elphel GIT logs - Mon, 06/27/2016 - 12:46
AndreyFilippov committed changes to the Elphel git project :
trying cocotb

06/27/16 [vdt-plugin][master] by AndreyFilippov: fixed template

Elphel GIT logs - Mon, 06/27/2016 - 12:42
AndreyFilippov committed changes to the Elphel git project :
fixed template

06/27/16 [vdt-plugin][master] by AndreyFilippov: adjusted after auto-generation

Elphel GIT logs - Mon, 06/27/2016 - 01:07
AndreyFilippov committed changes to the Elphel git project :
adjusted after auto-generation

06/27/16 [vdt-plugin][master] by AndreyFilippov: Merge branch 'master' of github.com:Elphel/vdt-plugin

Elphel GIT logs - Mon, 06/27/2016 - 01:02
AndreyFilippov committed changes to the Elphel git project :
Merge branch 'master' of github.com:Elphel/vdt-plugin

06/27/16 [vdt-plugin][master] by AndreyFilippov: added files to be generated by patching VEditor

Elphel GIT logs - Mon, 06/27/2016 - 00:59
AndreyFilippov committed changes to the Elphel git project :
added files to be generated by patching VEditor

06/27/16 [vdt-plugin][master] by AndreyFilippov: synchronizing to full repo

Elphel GIT logs - Mon, 06/27/2016 - 00:59
AndreyFilippov committed changes to the Elphel git project :
synchronizing to full repo

06/27/16 [vdt-plugin][master] by AndreyFilippov: More on cocotb integration

Elphel GIT logs - Mon, 06/27/2016 - 00:31
AndreyFilippov committed changes to the Elphel git project :
More on cocotb integration

Pages

Subscribe to www3.elphel.com aggregator