Load custom bitstream
← Older revision
Revision as of 21:50, 20 April 2017
(13 intermediate revisions by the same user not shown)Line 1:
Line 1:
−==from u-boot==+==Description==
−==from OS==+The default bitstream is loaded from OS not from u-boot.
+
+Reasons:
+* Different banks have different (software controlled and regulated) voltages and they need to be set up before loading.
+** voltages are set by the software through i2c
+
+==Bitstreams paths==
+* Location on target system: ''/usr/local/verilog/''
+{| class='wikitable'
+! name
+! project
+! description
+|-
+|x393_parallel.bit
+|[https://git.elphel.com/Elphel/x393 x393]
+|for 5MPix sensor with parallel interface + SATA
+|-
+|x393_hispi.bit
+|[https://git.elphel.com/Elphel/x393 x393]
+|for 14MPix sensor with serial interface + SATA
+|-
+|x393_sata.bit
+|[https://git.elphel.com/Elphel/x393_sata x393_sata]
+|SATA only
+|-
+|x359.bit
+|[https://git.elphel.com/Elphel/x359 x359]
+|for external MUX 3-to-1 board
+|}
+
+==Init==
+* '''detect_sensors''' driver reads the device tree to get the default system configuration which gets later updated by '''autocampars''' application
+* /etc/init.d/init_elphel393
+ ...
+ $CONFDIR/init_elphel393.py "{\"usb_hub\":1, \"ip\":1,\"imgsrv\":1, \"autoexp_daemon\":1, \"autocampars\":1, \"sata\":1, \"gps\":1, \"eyesis\":0 }"
+ ...
+** in this line the extra init procedures are listed, to disable/skip certain procedure set 0, to enable - set 1
+** everything is done in ''/etc/elphel393/init_elphel393.py'' which runs other scripts.
+** the bitstream is loaded by '''autocampars''' or '''sata''' (if autocampars is skipped)
+
+===autocampars===
+* project: [https://git.elphel.com/Elphel/elphel-apps-autocampars elphel-apps-autocampars]
+* top script: '''autocampars.php'''
+** Location on target system: ''/usr/bin/''
+** loads ''/usr/local/verilog/x359.bit'' to the external MUX board
+** depending on configuration (determined in init_elphel393.py) calls '''/usr/bin/autocampars.py''' with arguments listed in the files in ''/usr/local/verilog''. The default one is ''/usr/local/verilog/hargs'':
+ -d TARGET_MODE=1
+ -f /usr/local/verilog/system_defines.vh
+ -f /usr/local/verilog/x393_parameters.vh /usr/local/verilog/x393_cur_params_target.vh /usr/local/verilog/x393_localparams.vh
+ -l /usr/local/verilog/x393_cur_params_target.vh
+ -p PICKLE="/usr/local/verilog/x393_mcntrl.pickle
+ -c bitstream_set_path /usr/local/verilog/x393_parallel.bit
+ -c setupSensorsPower "PAR12" all 0 0.1
+ -c measure_all "*DI"
+ -c setSensorClock 24.0 "2V5_LVDS"
+ -c set_rtc
+
+The file with arguments can be found in the fpga projects, example:
+ https://git.elphel.com/Elphel/x393/tree/master/py393
+Location on target system: ''/usr/local/verilog/''
+
+===sata===
+* project [https://git.elphel.com/Elphel/x393_sata x393_sata]
+* Location on target system: ''/usr/local/verilog/''
+* '''/usr/local/bin/x393sata.py''' loads it default bitstream if fpga has not been programmed yet.
+ ...
+ DEFAULT_BITFILE="/usr/local/verilog/x393_sata.bit"
+ ...
+
[[Category:393]] [[Category:393]]
Oleg
Load custom bitstream
← Older revision
Revision as of 21:07, 20 April 2017
(5 intermediate revisions by the same user not shown)Line 1:
Line 1:
−==from u-boot==+==Description==
−==from OS==+The default bitstream is loaded from OS not from u-boot.
+Reasons:
+* Different banks have different (software - controlled and regulated) voltages and they need to be set up before loading.
+** voltages are set by the software through i2c
+
+==Bitstreams paths==
+* ''/usr/local/verilog/''
+{| class='wikitable'
+! name
+! description
+|-
+|x393_parallel.bit
+|for 5MPix sensor with parallel interface + SATA
+|-
+|x393_hispi.bit
+|for 14MPix sensor with serial interface + SATA
+|-
+|x393_sata.bit
+|SATA only
+|-
+|x359.bit
+|for external MUX 3-to-1 board
+|}
+
+==Init==
+* /etc/init.d/init_elphel393
+ ...
+ $CONFDIR/init_elphel393.py "{\"usb_hub\":1, \"ip\":1,\"imgsrv\":1, \"autoexp_daemon\":1, \"autocampars\":1, \"sata\":1, \"gps\":1, \"eyesis\":0 }"
+ ...
+** in this line the extra init procedures are listed, to disable/skip certain procedure set 0, to enable - set 1
+** everything is done in ''/etc/elphel393/init_elphel393.py'' which runs other scripts.
+** the bitstream is loaded by '''autocampars''' or '''sata''' (if autocampars is skipped)
+
+
+
[[Category:393]] [[Category:393]]
Oleg
Load custom bitstream
Created page with "==from u-boot== ==from OS== Category:393"
New page
==from u-boot====from OS==
[[Category:393]] Oleg
04/20/17 [eyesis4pi-393-gui][master] by Oleg Dzhimiev: +strip_xml_header
Oleg Dzhimiev committed changes to the Elphel git project :
+strip_xml_header
+strip_xml_header
04/19/17 [imagej-elphel][master] by AndreyFilippov: debugging plane split
AndreyFilippov committed changes to the Elphel git project :
debugging plane split
debugging plane split
Eyesis4Pi 393 User Guide - Recording
Error 5 (frame buffer overflow)
← Older revision Revision as of 19:26, 18 April 2017 (One intermediate revision by the same user not shown)Line 195: Line 195: ===Error 5 (frame buffer overflow)=== ===Error 5 (frame buffer overflow)=== −* Frame buffer overflow counter (<font color='red'>'''dropped frames'''</font>).+* Frame buffer overflow counter ( = <font color='red'>'''dropped frames'''</font>). * Possible causes: * Possible causes: ** FPS and compression quality (combined) set too high: 5fps + 100% ** FPS and compression quality (combined) set too high: 5fps + 100% OlegEyesis4Pi 393 User Guide - Recording
Error 5 (frame buffer overflow)
← Older revision Revision as of 19:26, 18 April 2017 (3 intermediate revisions by the same user not shown)Line 193: Line 193: == Troubleshooting == == Troubleshooting == + +===Error 5 (frame buffer overflow)=== +* Frame buffer overflow counter ( = <font color='red'>'''dropped frames'''</font>). +* Possible causes: +** FPS and compression quality (combined) set too high: 5fps + 100% +** SSD write speed is slowed +{| +|[[File:Eyesis4pi 393 gui error5.png|thumb|400px|Buffer overflow errors]] +|} +* Errors are displayed as '''err5(N)''' against each buffer, where N is a cumulative number of errors + <!-- <!-- Oleg04/18/17 [imagej-elphel][master] by AndreyFilippov: tested refactoring
AndreyFilippov committed changes to the Elphel git project :
tested refactoring
tested refactoring
04/18/17 [imagej-elphel][master] by AndreyFilippov: refactoring
AndreyFilippov committed changes to the Elphel git project :
refactoring
refactoring
Event logger
from command line (10393)
← Older revision Revision as of 01:01, 18 April 2017 (One intermediate revision by the same user not shown)Line 25: Line 25: [LocalTimeStamp]: SRC: [MasterTimeStamp] [LocalTimeStamp]: SRC: [MasterTimeStamp] </font> </font> −===Syncing with an external device===+===Syncing with an external device (Eyesis4PI - 10353 based)=== An external device (e.g., odometer) can be connected with a camera / camera rig. An external device (e.g., odometer) can be connected with a camera / camera rig. Line 41: Line 41: mount_point=/absolute_path - the path at which the storage is mounted (usb or nfs) mount_point=/absolute_path - the path at which the storage is mounted (usb or nfs) * STOP: http://192.168.0.9/phpshell.php?command=killall%20-1%20log_imu * STOP: http://192.168.0.9/phpshell.php?command=killall%20-1%20log_imu −====from command line (10393)====+====from command line (10393 only)==== * START: * START: mkdir /www/pages/logs mkdir /www/pages/logs OlegEyesis4Pi data structure
Intro
← Older revision Revision as of 00:54, 18 April 2017 Line 1: Line 1: ==Intro== ==Intro== −Eyesis4Pi stores images and gps/imu logs separately.+Eyesis4Pi stores footage and GPS/IMU logs separately. {| class="wikitable" {| class="wikitable" −! scope="col" width="100" | Data+! scope="col" width="100" | Model −! scope="col" width="270" | Stored on+! scope="col" width="270" | Footage storage +! scope="col" width="270" | GPS/IMU log storage ! scope="col" width="100" | Comments ! scope="col" width="100" | Comments |- valign="top" |- valign="top" −| Images+| Eyesis4PI −| Host PC or (9x) internal SSDs (if equipped)+| Host PC or 9x internal SSDs (if equipped) +| Internal Compact Flash cards (2x16GB) | | |- valign="top" |- valign="top" −| IMU/GPS logs+| Eyesis4PI-393 −| Internal Compact Flash cards (2x16GB)+| Host PC or 3x internal/external SSDs (''/dev/sda2'' - '''no file system''') +| 3x internal/external SSDs (''/dev/sda1'' - ext4 partition) | | |} |} − − − − ==IMU/GPS logs== ==IMU/GPS logs== OlegEyesis4Pi data structure
Intro
← Older revision Revision as of 00:54, 18 April 2017 (One intermediate revision by the same user not shown)Line 1: Line 1: ==Intro== ==Intro== −Eyesis4Pi stores images and gps/imu logs independently.+Eyesis4Pi stores footage and GPS/IMU logs separately. {| class="wikitable" {| class="wikitable" −! scope="col" width="100" | Data+! scope="col" width="100" | Model −! scope="col" width="270" | Stored on+! scope="col" width="270" | Footage storage +! scope="col" width="270" | GPS/IMU log storage ! scope="col" width="100" | Comments ! scope="col" width="100" | Comments |- valign="top" |- valign="top" −| Images+| Eyesis4PI −| Host PC or (9x) internal SSDs (if equipped)+| Host PC or 9x internal SSDs (if equipped) +| Internal Compact Flash cards (2x16GB) | | |- valign="top" |- valign="top" −| IMU/GPS logs+| Eyesis4PI-393 −| Internal Compact Flash cards (2x16GB)+| Host PC or 3x internal/external SSDs (''/dev/sda2'' - '''no file system''') +| 3x internal/external SSDs (''/dev/sda1'' - ext4 partition) | | |} |} − − − − ==IMU/GPS logs== ==IMU/GPS logs== OlegEyesis4Pi 393 workflow
← Older revision
Revision as of 00:45, 18 April 2017
(One intermediate revision by the same user not shown)Line 47:
Line 47:
|style="padding:0px 15px 0px 15px;" valign="top" | Copy footage from SSDs to storage |style="padding:0px 15px 0px 15px;" valign="top" | Copy footage from SSDs to storage
|align="center" valign="top" | - |align="center" valign="top" | -
−|align="center" style="padding:0px 15px 0px 15px;" valign="top"| [https://github.com/Elphel/elphel-tools-x393 python scripts]+|align="center" style="padding:0px 15px 0px 15px;" valign="top"| [https://git.elphel.com/Elphel/elphel-tools-x393 python scripts]
|style="padding:0px 15px 0px 15px;"| |style="padding:0px 15px 0px 15px;"|
* both, internal and external SSDs, are downloaded through SATA interface (up to 6Gbit/s) * both, internal and external SSDs, are downloaded through SATA interface (up to 6Gbit/s)
Line 63:
Line 63:
|style="padding:0px 15px 0px 15px;"| Extract images |style="padding:0px 15px 0px 15px;"| Extract images
|align="center" | - |align="center" | -
−|align="center" style="padding:0px 15px 0px 15px;"| [https://github.com/Elphel/elphel-tools-x393 extract_images.php]+|align="center" style="padding:0px 15px 0px 15px;"| [https://git.elphel.com/Elphel/elphel-tools-x393 extract_images.php]
|style="padding:0px 15px 0px 15px;"| Extract individual image files from data files |style="padding:0px 15px 0px 15px;"| Extract individual image files from data files
|- |-
Line 87:
Line 87:
|} |}
+== Links ==
+
+*[[Eyesis4Pi_393|Eyesis4Pi 393 Main Article]]
+*[[Eyesis4Pi_393_workflow|Workflow]]
+*[[Eyesis4Pi_393_User_Guide_-_Recording|User Guide - Recording]]
+*[[Eyesis4Pi Footage Procedures page|User Guide - Post-Processing: Footage Procedures]]
+*[[Eyesis4pi Post-Processing|User Guide - Post-processing: ImageJ]]
+*[[Eyesis4Pi data structure|Data Structure Description]]
+*[[Eyesis4Pi Calibration|Calibration Process]]
[[Category:Eyesis4Pi393]] [[Category:Eyesis4Pi393]]
[[Category:User Guide]] [[Category:User Guide]]
Oleg
Eyesis4Pi 393 Footage Procedures page
Links
← Older revision Revision as of 00:28, 18 April 2017 Line 143: Line 143: ==Links== ==Links== −* [[Elphel_Eyesis4Pi|Eyesis4Pi Main Article]]+* [[Eyesis4Pi_393|Eyesis4Pi 393 Main Article]] −* [[Eyesis4Pi_workflow|Workflow]]+* [[Eyesis4Pi_393_workflow|Workflow]] −* [[Eyesis4Pi_User_Guide|User Guide - Recording]]+* [[Eyesis4Pi_393_User_Guide_-_Recording|User Guide - Recording]] * [[Eyesis4Pi_Footage_Procedures_page|User Guide - Post-Processing: Footage Procedures]] * [[Eyesis4Pi_Footage_Procedures_page|User Guide - Post-Processing: Footage Procedures]] * [[Eyesis4pi_Post-Processing|User Guide - Post-processing: ImageJ]] * [[Eyesis4pi_Post-Processing|User Guide - Post-processing: ImageJ]] * [[Eyesis4Pi_data_structure|Data Structure Description]] * [[Eyesis4Pi_data_structure|Data Structure Description]] * [[Eyesis4Pi_Calibration|Calibration Process]] * [[Eyesis4Pi_Calibration|Calibration Process]] −[[Category:Eyesis4Pi]]+[[Category:Eyesis4Pi393]] [[Category:User Guide]] [[Category:User Guide]] OlegEyesis4Pi 393 User Guide - Recording
Links
← Older revision Revision as of 00:26, 18 April 2017 (One intermediate revision by the same user not shown)Line 216: Line 216: *[[Eyesis4Pi_393|Eyesis4Pi 393 Main Article]] *[[Eyesis4Pi_393|Eyesis4Pi 393 Main Article]] −*[[Eyesis4Pi workflow|Workflow]] +*[[Eyesis4Pi_393_workflow|Workflow]] −*[[Eyesis4Pi User Guide|User Guide - Recording]] +*[[Eyesis4Pi_393_User_Guide_-_Recording|User Guide - Recording]] *[[Eyesis4Pi Footage Procedures page|User Guide - Post-Processing: Footage Procedures]] *[[Eyesis4Pi Footage Procedures page|User Guide - Post-Processing: Footage Procedures]] *[[Eyesis4pi Post-Processing|User Guide - Post-processing: ImageJ]] *[[Eyesis4pi Post-Processing|User Guide - Post-processing: ImageJ]] *[[Eyesis4Pi data structure|Data Structure Description]] *[[Eyesis4Pi data structure|Data Structure Description]] *[[Eyesis4Pi Calibration|Calibration Process]] *[[Eyesis4Pi Calibration|Calibration Process]] −[[Category:Eyesis4Pi]]+[[Category:Eyesis4Pi393]] [[Category:User Guide]] [[Category:User Guide]] Oleg04/17/17 [imagej-elphel][master] by AndreyFilippov: showing edges fro plane pairs
AndreyFilippov committed changes to the Elphel git project :
showing edges fro plane pairs
showing edges fro plane pairs
04/16/17 [imagej-elphel][master] by AndreyFilippov: splitting planes into pairs
AndreyFilippov committed changes to the Elphel git project :
splitting planes into pairs
splitting planes into pairs
04/15/17 [imagej-elphel][master] by AndreyFilippov: handling zero eigenvalues
AndreyFilippov committed changes to the Elphel git project :
handling zero eigenvalues
handling zero eigenvalues
04/15/17 [imagej-elphel][master] by AndreyFilippov: testing planes
AndreyFilippov committed changes to the Elphel git project :
testing planes
testing planes
Pages
