Imaging solutions with Free Software & Open Hardware

Who's online

There are currently 0 users online.

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

12/28/16 [linux-elphel][master] by Mikhail Karpenko: Merge branch 'ahci_datascope'

Elphel GIT logs - Wed, 12/28/2016 - 18:05
Mikhail Karpenko committed changes to the Elphel git project :
Merge branch 'ahci_datascope'

12/28/16 [linux-elphel][] by Mikhail Karpenko: Merge branch 'ahci_datascope'

Elphel GIT logs - Wed, 12/28/2016 - 18:05
Mikhail Karpenko committed changes to the Elphel git project :
Merge branch 'ahci_datascope'

12/28/16 [linux-elphel][master] by Mikhail Karpenko: Change cmd timer processing to fix a race condition

Elphel GIT logs - Wed, 12/28/2016 - 17:55
Mikhail Karpenko committed changes to the Elphel git project :
Change cmd timer processing to fix a race condition

12/28/16 [linux-elphel][] by Mikhail Karpenko: Change cmd timer processing to fix a race condition

Elphel GIT logs - Wed, 12/28/2016 - 17:55
Mikhail Karpenko committed changes to the Elphel git project :
Change cmd timer processing to fix a race condition

12/28/16 [imagej-elphel][dct] by AndreyFilippov: cleanup after debugging

Elphel GIT logs - Wed, 12/28/2016 - 00:54
AndreyFilippov committed changes to the Elphel git project :
cleanup after debugging

12/28/16 [imagej-elphel][master] by AndreyFilippov: cleanup after debugging

Elphel GIT logs - Wed, 12/28/2016 - 00:54
AndreyFilippov committed changes to the Elphel git project :
cleanup after debugging

12/27/16 [imagej-elphel][master] by AndreyFilippov: re-implemented LMA, found problem in the original one

Elphel GIT logs - Tue, 12/27/2016 - 20:17
AndreyFilippov committed changes to the Elphel git project :
re-implemented LMA, found problem in the original one

12/27/16 [imagej-elphel][master] by AndreyFilippov: re-implemented LMA, found problem in the original one

Elphel GIT logs - Tue, 12/27/2016 - 20:17
AndreyFilippov committed changes to the Elphel git project :
re-implemented LMA, found problem in the original one

12/26/16 [linux-elphel][master] by Mikhail Karpenko: Remove dev_dbg from IRQ and save state to buffer, read buffer from sysfs

Elphel GIT logs - Mon, 12/26/2016 - 18:10
Mikhail Karpenko committed changes to the Elphel git project :
Remove dev_dbg from IRQ and save state to buffer, read buffer from sysfs

12/26/16 [linux-elphel][] by Mikhail Karpenko: Remove dev_dbg from IRQ and save state to buffer, read buffer from sysfs

Elphel GIT logs - Mon, 12/26/2016 - 18:10
Mikhail Karpenko committed changes to the Elphel git project :
Remove dev_dbg from IRQ and save state to buffer, read buffer from sysfs

12/25/16 [imagej-elphel][master] by AndreyFilippov: more experimenting

Elphel GIT logs - Sun, 12/25/2016 - 01:08
AndreyFilippov committed changes to the Elphel git project :
more experimenting

12/25/16 [imagej-elphel][master] by AndreyFilippov: more experimenting

Elphel GIT logs - Sun, 12/25/2016 - 01:08
AndreyFilippov committed changes to the Elphel git project :
more experimenting

Pages

Subscribe to www3.elphel.com aggregator