Imaging solutions with Free Software & Open Hardware

Who's online

There are currently 0 users online.

Eyesis4Pi 393

Wiki Recent Changes - Fri, 12/30/2016 - 11:05

Software:

← Older revision Revision as of 18:05, 30 December 2016 (One intermediate revision not shown)Line 97: Line 97: ==Software== ==Software== -All software is FOSS (Free and Open Source Software). It is experimental software that is used to test the camera performance, and it continues to be developed. All updates are available for download and build from https://github.com. Software may require integration with customer software depending upon camera hardware configuration and application. It includes:+All software is FOSS (Free and Open Source Software). It is experimental software that is used to test the camera performance, and it continues to be developed. All updates are available for download and build from [https://github.com/Elphel GitHub]. Software may require integration with customer software depending upon camera hardware configuration and application. It includes: * Camera internal software/firmware and SDK * Camera internal software/firmware and SDK * Post-processing tools * Post-processing tools Oleg

12/29/16 [imagej-elphel][dct] by AndreyFilippov: Added window functions, seem to stabilize LMA

Elphel GIT logs - Thu, 12/29/2016 - 22:42
AndreyFilippov committed changes to the Elphel git project :
Added window functions, seem to stabilize LMA

12/29/16 [imagej-elphel][master] by AndreyFilippov: Added window functions, seem to stabilize LMA

Elphel GIT logs - Thu, 12/29/2016 - 22:42
AndreyFilippov committed changes to the Elphel git project :
Added window functions, seem to stabilize LMA

12/29/16 [eyesis4pi-393-gui][master] by Oleg Dzhimiev: remove pyc

Elphel GIT logs - Thu, 12/29/2016 - 19:28
Oleg Dzhimiev committed changes to the Elphel git project :
remove pyc

12/29/16 [eyesis4pi-393-gui][master] by Oleg Dzhimiev: + change histogram window

Elphel GIT logs - Thu, 12/29/2016 - 19:28
Oleg Dzhimiev committed changes to the Elphel git project :
+ change histogram window

12/29/16 [linux-elphel][master] by Oleg Dzhimiev: Merge branch 'master' of https://github.com/Elphel/linux-elphel

Elphel GIT logs - Thu, 12/29/2016 - 17:46
Oleg Dzhimiev committed changes to the Elphel git project :
Merge branch 'master' of https://github.com/Elphel/linux-elphel

12/29/16 [linux-elphel][] by Oleg Dzhimiev: Merge branch 'master' of https://github.com/Elphel/linux-elphel

Elphel GIT logs - Thu, 12/29/2016 - 17:46
Oleg Dzhimiev committed changes to the Elphel git project :
Merge branch 'master' of https://github.com/Elphel/linux-elphel

12/29/16 [linux-elphel][master] by Oleg Dzhimiev: fixed histogram window program 0xffe -> 0xfffe

Elphel GIT logs - Thu, 12/29/2016 - 17:46
Oleg Dzhimiev committed changes to the Elphel git project :
fixed histogram window program 0xffe -> 0xfffe

12/29/16 [linux-elphel][] by Oleg Dzhimiev: fixed histogram window program 0xffe -> 0xfffe

Elphel GIT logs - Thu, 12/29/2016 - 17:46
Oleg Dzhimiev committed changes to the Elphel git project :
fixed histogram window program 0xffe -> 0xfffe

12/29/16 [imagej-elphel][master] by AndreyFilippov: more debugging of the factorization, experimenting

Elphel GIT logs - Thu, 12/29/2016 - 16:22
AndreyFilippov committed changes to the Elphel git project :
more debugging of the factorization, experimenting

12/29/16 [imagej-elphel][master] by AndreyFilippov: more debugging of the factorization, experimenting

Elphel GIT logs - Thu, 12/29/2016 - 16:22
AndreyFilippov committed changes to the Elphel git project :
more debugging of the factorization, experimenting

Tmp manual

Wiki Recent Changes - Thu, 12/29/2016 - 14:02

Record:

← Older revision Revision as of 21:02, 29 December 2016 (6 intermediate revisions not shown)Line 14: Line 14: * &mu;USB-to-USB cable * &mu;USB-to-USB cable * Recovery &mu;SD card * Recovery &mu;SD card - +* If the camera is calibrated the calibration data will be on a separate storage media or on the internal SSD (likely /mnt/sda1) - + ==<font color="blue">Interfaces</font>== ==<font color="blue">Interfaces</font>== Line 66: Line 65: * The default IP address is set in the ''/etc/elphel393/init_elphel393.py''. * The default IP address is set in the ''/etc/elphel393/init_elphel393.py''. - +* If present the internal SSD  will be formatted into 2 partitions: - +** /dev/sda1 - ext4 (~64-100GB)  +** /dev/sda2 - raw partition (no file system) for fast recording ==<font color="blue">Command line access</font>== ==<font color="blue">Command line access</font>== Line 135: Line 135: * More examples at [[Using_gstreamer#Display|Using GStreamer]] * More examples at [[Using_gstreamer#Display|Using GStreamer]] -===Record (to internal storage)===+===Record=== -* Recording to internal storage is performed by the '''camogm''' program+* Recording is done by the '''camogm''' program  +* If recording to internal or external SSD, please, read about [[Tmp_manual#eSATA_port_switching|eSATA port switching]] * <font color='red'>important:</font> Event logger (GPS, IMU, IMG, EXT) recording is started/stopped separately. See [[Tmp_manual#Record_the_Event_Logger_data_.28GPS.2CIMU.2CIMG_.26_EXT.29|instructions]] below. * <font color='red'>important:</font> Event logger (GPS, IMU, IMG, EXT) recording is started/stopped separately. See [[Tmp_manual#Record_the_Event_Logger_data_.28GPS.2CIMU.2CIMG_.26_EXT.29|instructions]] below. * For SATA devices camogm supports: * For SATA devices camogm supports: Line 142: Line 143: ** (default) faster recording to a partition without a file system (raw partition) avoiding OS calls - up to 220MB/s ** (default) faster recording to a partition without a file system (raw partition) avoiding OS calls - up to 220MB/s * To extract data from a raw partition use '''dd''' or [https://github.com/Elphel/elphel-tools-x393 these scripts] to get the data and split it into images. * To extract data from a raw partition use '''dd''' or [https://github.com/Elphel/elphel-tools-x393 these scripts] to get the data and split it into images. -* Can record to an mmc partiton as well.+* Can record to an mmc partiton or usb. * <b><font size='3' color='red'>[[Using_camogm_with_Elphel393_camera|More info]]</font></b> * <b><font size='3' color='red'>[[Using_camogm_with_Elphel393_camera|More info]]</font></b> -* If the ''prefix'' parameter, which is ''absolute path + prefix'', for a channel is not set the file will be written somewhere to rootfs+* If the ''prefix'' parameter, which is ''absolute path + prefix'', for a channel is not set the file will be written somewhere to rootfs.  +** if prefix is empty then the ''absolute path'' must end with a slash. ====browser==== ====browser==== Line 162: Line 164:   sync   sync </font> </font> -  -  ==<font color="blue">Event Logger (GPS, IMU, IMG & EXT)</font>== ==<font color="blue">Event Logger (GPS, IMU, IMG & EXT)</font>== Line 257: Line 257: ===SSD/MMC/USB formatting=== ===SSD/MMC/USB formatting=== * [[Format_SSD_MMC]] * [[Format_SSD_MMC]]  +===Boot modes===  +* [[Boot_options_393|Boot options]] ==<font color="blue">Known problems</font>== ==<font color="blue">Known problems</font>== Oleg

Tmp manual

Wiki Recent Changes - Thu, 12/29/2016 - 13:29

← Older revision Revision as of 20:29, 29 December 2016 (4 intermediate revisions not shown)Line 14: Line 14: * &mu;USB-to-USB cable * &mu;USB-to-USB cable * Recovery &mu;SD card * Recovery &mu;SD card - +* If the camera is calibrated the calibration data will be on a separate storage media or on the internal SSD (likely /mnt/sda1) - + ==<font color="blue">Interfaces</font>== ==<font color="blue">Interfaces</font>== Line 66: Line 65: * The default IP address is set in the ''/etc/elphel393/init_elphel393.py''. * The default IP address is set in the ''/etc/elphel393/init_elphel393.py''. - +* If present the internal SSD  will be formatted into 2 partitions: - +** /dev/sda1 - ext4 (~64-100GB)  +** /dev/sda2 - raw partition (no file system) for fast recording ==<font color="blue">Command line access</font>== ==<font color="blue">Command line access</font>== Line 135: Line 135: * More examples at [[Using_gstreamer#Display|Using GStreamer]] * More examples at [[Using_gstreamer#Display|Using GStreamer]] -===Record (to internal storage)===+===Record=== -* Recording to internal storage is performed by the '''camogm''' program+* Recording is done by the '''camogm''' program -* <font color='red'>important:</font> Event logger (GPS, IMU, IMG, EXT) recording is started/stopped separately. See [[Tmp_manual#Record_the_Event_Logger_data_.28GPS.2CIMU.2CIMG_.26_EXT.29|instructions]] below.+* If recording to internal or external SSD, please, read about [[Tmp_manual#eSATA_port_switching|eSATA port switching]]  +* <font color='red'>important:</font> Event logger (GPS, IMU, IMG, EXT) recording is started/stopped separately. See [[Tmp_manual#Event_Logger_.28GPS.2C_IMU.2C_IMG_.26_EXT.29|instructions]] below. * For SATA devices camogm supports: * For SATA devices camogm supports: ** recording to a partition with a file system - up to 80MB/s ** recording to a partition with a file system - up to 80MB/s ** (default) faster recording to a partition without a file system (raw partition) avoiding OS calls - up to 220MB/s ** (default) faster recording to a partition without a file system (raw partition) avoiding OS calls - up to 220MB/s * To extract data from a raw partition use '''dd''' or [https://github.com/Elphel/elphel-tools-x393 these scripts] to get the data and split it into images. * To extract data from a raw partition use '''dd''' or [https://github.com/Elphel/elphel-tools-x393 these scripts] to get the data and split it into images. -* Can record to an mmc partiton as well.+* Can record to an mmc partiton or usb. * <b><font size='3' color='red'>[[Using_camogm_with_Elphel393_camera|More info]]</font></b> * <b><font size='3' color='red'>[[Using_camogm_with_Elphel393_camera|More info]]</font></b> -* If the ''prefix'' parameter, which is ''absolute path + prefix'', for a channel is not set the file will be written somewhere to rootfs+* If the ''prefix'' parameter, which is ''absolute path + prefix'', for a channel is not set the file will be written somewhere to rootfs. '''Must end with a slash "/"''' ====browser==== ====browser==== Oleg

Using camogm with Elphel393 camera

Wiki Recent Changes - Thu, 12/29/2016 - 13:10

1. WebGUI:

← Older revision Revision as of 20:10, 29 December 2016 Line 51: Line 51: |} |} =====Fast recording===== =====Fast recording===== -* Keep ''Use fast recording'' checkbox selected - press OK then RECORD+* Keep '''Use fast recording''' checkbox selected - press OK then RECORD ** An image sequence will be written to a raw partition. ** An image sequence will be written to a raw partition. ** The '''Format:''' options will be disabled as well as '''Directory''' ** The '''Format:''' options will be disabled as well as '''Directory''' =====Normal recording===== =====Normal recording===== -* Deselect ''Use fast recording''+* Deselect '''Use fast recording''' * Choose '''Format''' (Ogg Media Stream is not tested) * Choose '''Format''' (Ogg Media Stream is not tested) * Type '''Directory''' - the absolute path the images will be stored at. Can be anything ('''Must end with /'''): * Type '''Directory''' - the absolute path the images will be stored at. Can be anything ('''Must end with /'''): Oleg

Tmp manual

Wiki Recent Changes - Thu, 12/29/2016 - 13:10

← Older revision Revision as of 20:10, 29 December 2016 (One intermediate revision not shown)Line 255: Line 255: ====External/internal trigger and FPS control==== ====External/internal trigger and FPS control==== * [[Trigger_393]] * [[Trigger_393]] - +===SSD/MMC/USB formatting=== - +* [[Format_SSD_MMC]] ==<font color="blue">Known problems</font>== ==<font color="blue">Known problems</font>== Oleg

Format SSD MMC

Wiki Recent Changes - Thu, 12/29/2016 - 13:07

New page

==<font color="blue">About</font>==
Help tips for formatting:
* SSD (internal or external)
* MMC (&muSD card - normal or recovery)
* USB drive

Can be done either from the camera or PC, the required programs are:
* '''fdisk''' - format into partitions
* '''mkfs.ext4''' - create filesystem
* '''mkfs.vfat''' - create filesystem
* '''dd''' - clean filesystem from the partition for '''fast recording'''



==<font color="blue">SSD or USB</font>==
===camera===
* (not needed for USB) Check if SSD is connected to the camera:
** The default connection is ''camera <=> internal SSD''
** For external drive set: ''camera <=> external SSD'' and power on the drive.
** [[Sata_multiplexer_10389| '''More info''']]
* Find out the device name:
$ dmesg
* Check if it is already partitioned:
$ cat /proc/partitions
* manage partitions:
$ fdisk /dev/sda
* format a partition for file storage:
$ mkfs.ext4 /dev/sda1
* for '''fast recording'''
** Do not make a file system on the partition

===pc===
The same as above except:
* For internal SSD the connection should be set to ''pc <=> internal SSD''

==<font color="blue">MMC</font>==
===camera===
Make sure the camera is not boot from the MMC - in MMC boot by default the camera gets the boot files from /dev/mmcblk0p1 (FAT32) and
mounts /dev/mmcblk0p2 (EXT4) as /.
* check boot mode:
$ mount | grep " / "
* check existing paritions:
$ cat /proc/partitions
* manage partitions:
$ fdisk /dev/mmcblk0
* format a partition for file storage:
mkfs.ext4 /dev/mmcblk0pX

===pc===
* Same as above except the MMC might be detected as /dev/sdX
* If MMC is for boot the partition table type must be '''msdos''', not gpt



==<font color="blue">'Erase' a file system from a partition</font>==
Sometimes there is a need to this:
* if the drive was partitioned several times and the old file system journal starts from a location of a new partition - the file system will surely show up.
* by accident

Examples:
* Use '''dd''':
** 'Erase' a filesystem from /dev/sda1
$ dd if=/dev/zero of=/dev/sda bs=1MB count=1 seek=1
* 'Erase' a filesystem on /dev/sda2, if /dev/sda1 size is ''SIZE'' MB:
$ dd if=/dev/zero of=/dev/sda bs=1MB count=1 seek=SIZE
* To erase the drive's partition table (better use '''fdisk'''):
$ dd if=/dev/zero of=/dev/sda bs=512 count=2



==<font color="blue">Useful links</font>==
* [https://github.com/Elphel/elphel-tools-update github:elphel-tools-update] - '''write_bootable_mmc.py'''
** the script is used to create a bootable MMC from a PC (the camera doesn't have ''parted'' and ''kpartx'' installed)
** it has examples of using '''dd''', '''parted''', '''mkfs''', '''kpartx'''
* [[Sd_boot_rootfs|MMC boot]]
** prepare a bootable &mu;SD card and boot

[[Category:393]] Oleg

Using camogm with Elphel393 camera

Wiki Recent Changes - Thu, 12/29/2016 - 11:26

← Older revision Revision as of 18:26, 29 December 2016 Line 43: Line 43: ===Example=== ===Example=== -====1.====+====1. WebGUI====  +* http://192.168.0.9/camogmgui.php  +* In the '''Format''' tab checkthe settings then press OK button  +{|  +| valign='top'|[[File:Camogmgui format tab.png|thumb|400px|Fig.1 Camogmgui - change recording formats]]  +| valign='top'|[[File:Camogmgui recording 1.png|thumb|400px|Fig.2 Camogmgui - recording status]]  +|}  +=====Fast recording=====  +* Keep ''Use fast recording'' checkbox selected - press OK then RECORD  +** An image sequence will be written to a raw partition.  +** The '''Format:''' options will be disabled as well as '''Directory'''  +   +=====Normal recording=====  +* Deselect ''Use fast recording''  +* Choose '''Format''' (Ogg Media Stream is not tested)  +* Type '''Directory''' - the absolute path the images will be stored at. Can be anything ('''Must end with /'''):  +** /mnt/sdaX/ - internal SSD (example from Fig.1)  +** /mnt/mmc/ or other mounted mmc partition  +* Press OK then RECORD  +   +====2. Command line==== * recorded ports: all active ports will be recorded * recorded ports: all active ports will be recorded * mount point '''/mnt/sda1''' (also works for a micro SD card partition, rootfs partition, USB or mounted NFS partition but the recording speed is slower than for an SSD) * mount point '''/mnt/sda1''' (also works for a micro SD card partition, rootfs partition, USB or mounted NFS partition but the recording speed is slower than for an SSD) Oleg

Tmp manual

Wiki Recent Changes - Thu, 12/29/2016 - 10:34

← Older revision Revision as of 17:34, 29 December 2016 Line 140: Line 140: * For SATA devices camogm supports: * For SATA devices camogm supports: ** recording to a partition with a file system - up to 80MB/s ** recording to a partition with a file system - up to 80MB/s -** faster recording to a partition without a file system avoiding OS calls - up to 220MB/s+** (default) faster recording to a partition without a file system (raw partition) avoiding OS calls - up to 220MB/s  +* To extract data from a raw partition use '''dd''' or [https://github.com/Elphel/elphel-tools-x393 these scripts] to get the data and split it into images. * Can record to an mmc partiton as well. * Can record to an mmc partiton as well. * <b><font size='3' color='red'>[[Using_camogm_with_Elphel393_camera|More info]]</font></b> * <b><font size='3' color='red'>[[Using_camogm_with_Elphel393_camera|More info]]</font></b> Oleg

Presentations

Wiki Recent Changes - Thu, 12/29/2016 - 10:23

Presentations:

← Older revision Revision as of 17:23, 29 December 2016 (One intermediate revision not shown)Line 1: Line 1: ==Presentations== ==Presentations==  +===2016/12/30 The 33rd Chaos Communication Congress (33C3), Hamburg, Germany===  +* Presentation:  +**[http://community.elphel.com/files/presentations/20161230_33C3/33C3_NC393.pdf Elphel NC393L - Open Hardware Cameras for hackers.] (7 MB) ===2016/09/13 UofU Computer Engineering Jr Seminar=== ===2016/09/13 UofU Computer Engineering Jr Seminar=== Oleg

Pages

Subscribe to www3.elphel.com aggregator