Imaging solutions with Free Software & Open Hardware

Who's online

There are currently 0 users online.

03/30/17 [elphel-web-393][] by Oleg Dzhimiev: disabled raw partition free space, it now comes in camogm status

Elphel GIT logs - Thu, 03/30/2017 - 11:44
Oleg Dzhimiev committed changes to the Elphel git project :
disabled raw partition free space, it now comes in camogm status

03/30/17 [elphel-web-393][] by Oleg Dzhimiev: camogm debug file with debug level enabled

Elphel GIT logs - Thu, 03/30/2017 - 11:42
Oleg Dzhimiev committed changes to the Elphel git project :
camogm debug file with debug level enabled

03/29/17 [elphel-apps-camogm][] by Mikhail Karpenko: Send current LBA in status xml

Elphel GIT logs - Wed, 03/29/2017 - 20:01
Mikhail Karpenko committed changes to the Elphel git project :
Send current LBA in status xml

03/29/17 [elphel-apps-camogm][] by Mikhail Karpenko: Change state file assignment

Elphel GIT logs - Wed, 03/29/2017 - 19:38
Mikhail Karpenko committed changes to the Elphel git project :
Change state file assignment

Development for 10393

Wiki Recent Changes - Wed, 03/29/2017 - 18:18

← Older revision Revision as of 00:18, 30 March 2017 Line 2: Line 2:  Get sources and build default images: [[Poky_2.0_manual#Setup|Instructions]] Get sources and build default images: [[Poky_2.0_manual#Setup|Instructions]]    −====setup.py====+====top project==== −* clones all projects+* [https://git.elphel.com/Elphel/elphel393.git elphel393.git] −* rerun to update all repositories - then rebuild with bitbake  −* creates a working copy of projects-default.json - projects.json     −====check_versions.py====+{| class='wikitable' −* compares software versions on the 10393 vs current sources+!file − ~$ ./check_versions.py root@192.168.0.9+!description  +|-  +| '''projects-default.json'''  +|  +* list of cloned repositories and tree structure  +* copy of this file makes a working copy - '''projects.json'''  +|-  +| '''setup.py'''  +|  +* creates a working copy from default and parses the contents  +* rerun to update all repositories - then rebuild using bitbake  +* generates a default ''local.conf'' for poky pre-configured for 10393  +|-  +| '''check_versions.py'''  +| local repository vs running on target hardware version checker  +|}     ===Flash vs micro SD=== ===Flash vs micro SD=== Oleg

Poky 2.0 manual

Wiki Recent Changes - Wed, 03/29/2017 - 18:17

← Older revision Revision as of 00:17, 30 March 2017 (3 intermediate revisions by the same user not shown)Line 150: Line 150:  * '''rootfs.ubi''','''rootfs.ubifs''' * '''rootfs.ubi''','''rootfs.ubifs'''    −==<font color="blue">Environment tree</font>==+==<font color="blue">Details for development</font>== −===top project===+[[Development_for_10393|'''Development for 10393''']] −* [https://git.elphel.com/Elphel/elphel393.git elphel393.git]+<br/> − +<br/> −{| class='wikitable'  −!file  −!description  −|-  −| '''projects-default.json'''  −|    −* list of cloned repositories and tree structure  −* copy of this file makes a working copy - '''projects.json'''  −|-  −| '''setup.py'''  −|   −* creates a working copy from default and parses the contents  −* rerun to update all repositories - then rebuild using bitbake  −* generates a default ''local.conf'' for poky pre-configured for 10393  −|-  −| '''check_versions.py'''  −| local repository vs running on target hardware version checker  −|}  −   −===default paths===  −<font size='2'>  − '''elphel393'''  − ├── '''bootable-images -> poky/build/tmp/deploy/images/elphel393/''' - poky generated boot images  − ├── '''fpga-elphel''' - fpga projects, matching recipes are in ''meta/meta-elphel393/recipes-core/''  − │   ├── '''x359'''  − │   ├── '''x393'''  − │   └── '''x393_sata'''  − ├── '''linux-elphel''' - kernel - a kernel tree with Elphel's sources only - it is merged with the full kernel tree  − ├── '''meta''' - extra recipe layers for poky  − │   ├── '''meta-elphel393''' - Elphel's recipes: fpga, device tree, kernel and applications, lots of bbappends  − │   ├── '''meta-ezynq''' - Elphel's recipes for u-boot  − │   ├── '''meta-openembedded''' - recipes (like PHP) that were not included in poky 2.0  − │   ├── '''meta-swupdate''' - swupdate recipes (not yet used)  − │   └── '''meta-xilinx''' - Xilinx's recipes, help to build kernel and device tree  − ├── '''poky''' - poky tree  − │   ├── '''build'''  − │   │   └── '''conf'''  − │   │      ├── '''bblayers.conf''' - paths to extra layers (generated by setup.py)  − │   │      └── <font color='red'>'''local.conf'''</font> - have a look inside, local configuration (generated by setup.py)  − │   └── '''meta''' - poky's recipes  − ├── '''rootfs-elphel''' - user applicatons projects and init scripts, matching recipes are found in ''meta/meta-elphel393/recipes-core/''  − │   ├── '''elphel-apps-autocampars''' - camera parameters manager - setup, store/restore, set default  − │   ├── '''elphel-apps-autoexposure''' - autoexposure daemon  − │   ├── '''elphel-apps-camogm''' - recorder program  − │   ├── '''elphel-apps-editconf'''   − │   ├── '''elphel-apps-gps''' - gps receiver application  − │   ├── '''elphel-apps-histograms''' - histograms  − │   ├── '''elphel-apps-imgsrv''' - image server  − │   ├── '''elphel-apps-php-extension''' - php functions, compiled as a php extension (part of php recipe)  − │   ├── '''elphel-apps-tempmon''' - temperature monitor  − │   ├── '''elphel-init''' - system init script  − │   ├── '''elphel-udev-rules''' - udev rules: drive automount  − │   ├── '''elphel-web-393''' - web GUIs  − │   ├── '''elphel-web-camvc''' - main control GUI, ported from 353  − │   └── '''elphel-web-hwmon''' - hardware monitor  − └── '''tools'''  −    └── '''elphel-tools-update''' - useful scripts, e.g. create bootable mmc  −   −===project structure (example: elphel-init)===  −====recipe====  − elphel393/meta/meta-elphel393/recipes-core/init/init_1.0.bb  −   −'''Note:''' The recipe and the project sources are in different repos  −   −====in repository====  − rootfs-elphel/elphel-init/  − ├── eclipse_project_setup  − ├── LICENSE  − ├── Makefile  − ├── README.md  − ├── run_bitbake.sh  − ├── src  − │   ├── init_elphel393  − │   ├── init_elphel393.py  − │   ├── init_elphel393.sh  − │   ├── init_eyesis12.sh  − │   ├── init_eyesis_bottom2.sh  − │   └── Makefile  − └── VERSION  −   −====after building====  − rootfs-elphel/elphel-init/  − ├── <font color='green'>bitbake-logs -> /.../elphel393/poky/build/tmp/work/cortexa9-neon-poky-linux-gnueabi/init/1_0-60/temp</font>  − ├── eclipse_project_setup  − ├── <font color='green'>image -> /.../elphel393/poky/build/tmp/work/cortexa9-neon-poky-linux-gnueabi/init/1_0-60/image</font>  − ├── LICENSE  − ├── Makefile  − ├── README.md  − ├── run_bitbake.sh  − ├── src  − │   ├── init_elphel393  − │   ├── init_elphel393.py  − │   ├── init_elphel393.sh  − │   ├── init_eyesis12.sh  − │   ├── init_eyesis_bottom2.sh  − │   └── Makefile  − ├── <font color='green'>sysroots -> /home/oleg/GIT/elphel393_fixold/poky/build/tmp/sysroots</font>  − └── VERSION  −   −</font>      ==<font color="blue">Notes</font>== ==<font color="blue">Notes</font>== Oleg

Development for 10393

Wiki Recent Changes - Wed, 03/29/2017 - 18:12

‎create new project

← Older revision Revision as of 00:12, 30 March 2017 (4 intermediate revisions by the same user not shown)Line 70: Line 70:  * change branch: ''edit elphel393/poky/build/conf/local.conf'' * change branch: ''edit elphel393/poky/build/conf/local.conf''    ELPHEL393_branches += "elphel-apps-camogm:framepars"   ELPHEL393_branches += "elphel-apps-camogm:framepars"  +     ===Kernel=== ===Kernel===  +====Add new driver====  +* examples in ''elphel393/linux-elphel/src''  +** add new files to the tree  +** do not forget KConfig and Makefiles  +** change kernel config in ''elphel393_fixold/meta/meta-elphel393/recipes-kernel/linux/config/elphel393.cfg'' - clean then rebuild the kernel. The cfg file gets copied to the poky's kernel build directory.     ===Applications=== ===Applications===  +====Create new project====  +The best reference projects are in ''elphel393/rootfs-elphel/''  +* Place project files to ''elphel393/rootfs-elphel/''  +* Create a recipe in ''elphel393/meta/meta-elphel393/.../''  +* In the recipe set package name - it will go to the rootfs recipe ''elphel393/meta/meta-elphel393/recipes-core/images/'''''core-image-elphel393.bb'''  +* bitbake core-image-elphel393  +  +====Project structure====  +=====recipe=====  + elphel393/meta/meta-elphel393/recipes-core/init/init_1.0.bb  +  +'''Note:''' The recipe and the project sources are in different repos  +  +=====in repository=====  + rootfs-elphel/elphel-init/  + ├── eclipse_project_setup  + ├── LICENSE  + ├── Makefile  + ├── README.md  + ├── run_bitbake.sh  + ├── src  + │   ├── init_elphel393  + │   ├── init_elphel393.py  + │   ├── init_elphel393.sh  + │   ├── init_eyesis12.sh  + │   ├── init_eyesis_bottom2.sh  + │   └── Makefile  + └── VERSION  +  +=====after building=====  + rootfs-elphel/elphel-init/  + ├── <font color='green'>bitbake-logs -> /.../elphel393/poky/build/tmp/work/cortexa9-neon-poky-linux-gnueabi/init/1_0-60/temp</font>  + ├── eclipse_project_setup  + ├── <font color='green'>image -> /.../elphel393/poky/build/tmp/work/cortexa9-neon-poky-linux-gnueabi/init/1_0-60/image</font>  + ├── LICENSE  + ├── Makefile  + ├── README.md  + ├── run_bitbake.sh  + ├── src  + │   ├── init_elphel393  + │   ├── init_elphel393.py  + │   ├── init_elphel393.sh  + │   ├── init_eyesis12.sh  + │   ├── init_eyesis_bottom2.sh  + │   └── Makefile  + ├── <font color='green'>sysroots -> /home/oleg/GIT/elphel393_fixold/poky/build/tmp/sysroots</font>  + └── VERSION    −===Projects structure===+</font>        [[Category:393]] [[Category:393]] Oleg

Development for 10393

Wiki Recent Changes - Wed, 03/29/2017 - 18:12

‎create new project

← Older revision Revision as of 00:12, 30 March 2017 (7 intermediate revisions by the same user not shown)Line 1: Line 1:  ===Setup environment=== ===Setup environment=== −[[Poky_2.0_manual#Setup|Instructions]]+Get sources and build default images: [[Poky_2.0_manual#Setup|Instructions]]  +   +====setup.py====  +* clones all projects  +* rerun to update all repositories - then rebuild with bitbake  +* creates a working copy of projects-default.json - projects.json  +   +====check_versions.py====  +* compares software versions on the 10393 vs current sources  + ~$ ./check_versions.py root@192.168.0.9  +   ===Flash vs micro SD=== ===Flash vs micro SD===  * micro SD cards work best for development * micro SD cards work best for development Line 10: Line 20:  ** limited write cycles ** limited write cycles  ** because of overlayfs changes need an extra sync (overlay_sync) and a proper reboot to get written to the flash. ** because of overlayfs changes need an extra sync (overlay_sync) and a proper reboot to get written to the flash.  +  +===Environment tree===  +<font size='2'>  + '''elphel393'''  + ├── '''bootable-images -> poky/build/tmp/deploy/images/elphel393/''' - poky generated boot images  + ├── '''fpga-elphel''' - fpga projects, matching recipes are in ''meta/meta-elphel393/recipes-core/''  + │   ├── '''x359'''  + │   ├── '''x393'''  + │   └── '''x393_sata'''  + ├── '''linux-elphel''' - kernel - a kernel tree with Elphel's sources only - it is merged with the full kernel tree  + ├── '''meta''' - extra recipe layers for poky  + │   ├── '''meta-elphel393''' - Elphel's recipes: fpga, device tree, kernel and applications, lots of bbappends  + │   ├── '''meta-ezynq''' - Elphel's recipes for u-boot  + │   ├── '''meta-openembedded''' - recipes (like PHP) that were not included in poky 2.0  + │   ├── '''meta-swupdate''' - swupdate recipes (not yet used)  + │   └── '''meta-xilinx''' - Xilinx's recipes, help to build kernel and device tree  + ├── '''poky''' - poky tree  + │   ├── '''build'''  + │   │   └── '''conf'''  + │   │      ├── '''bblayers.conf''' - paths to extra layers (generated by setup.py)  + │   │      └── <font color='red'>'''local.conf'''</font> - have a look inside, local configuration (generated by setup.py)  + │   └── '''meta''' - poky's recipes  + ├── '''rootfs-elphel''' - user applicatons projects and init scripts, matching recipes are found in ''meta/meta-elphel393/recipes-core/''  + │   ├── '''elphel-apps-autocampars''' - camera parameters manager - setup, store/restore, set default  + │   ├── '''elphel-apps-autoexposure''' - autoexposure daemon  + │   ├── '''elphel-apps-camogm''' - recorder program  + │   ├── '''elphel-apps-editconf'''  + │   ├── '''elphel-apps-gps''' - gps receiver application  + │   ├── '''elphel-apps-histograms''' - histograms  + │   ├── '''elphel-apps-imgsrv''' - image server  + │   ├── '''elphel-apps-php-extension''' - php functions, compiled as a php extension (part of php recipe)  + │   ├── '''elphel-apps-tempmon''' - temperature monitor  + │   ├── '''elphel-init''' - system init script  + │   ├── '''elphel-udev-rules''' - udev rules: drive automount  + │   ├── '''elphel-web-393''' - web GUIs  + │   ├── '''elphel-web-camvc''' - main control GUI, ported from 353  + │   └── '''elphel-web-hwmon''' - hardware monitor  + └── '''tools'''  +    └── '''elphel-tools-update''' - useful scripts, e.g. create bootable mmc  +  +===Change repository address, branch, hash===  +* change uri: edit ''elphel393/projects.json''  +* change hash: edit ''elphel393/projects.json'':  + "elphel-apps-camogm":[  +  "https://git.elphel.com/Elphel/elphel-apps-camogm.git",  +  "master","" '''<- leave empty to get the latest, add hash to freeze'''  + ],  +  +* change branch: ''edit elphel393/poky/build/conf/local.conf''  + ELPHEL393_branches += "elphel-apps-camogm:framepars"  +     ===Kernel=== ===Kernel===  +====Add new driver====  +* examples in ''elphel393/linux-elphel/src''  +** add new files to the tree  +** do not forget KConfig and Makefiles  +** change kernel config in ''elphel393_fixold/meta/meta-elphel393/recipes-kernel/linux/config/elphel393.cfg'' - clean then rebuild the kernel. The cfg file gets copied to the poky's kernel build directory.     ===Applications=== ===Applications===  +====Create new project====  +The best reference projects are in ''elphel393/rootfs-elphel/''  +* Place project files to ''elphel393/rootfs-elphel/''  +* Create a recipe in ''elphel393/meta/meta-elphel393/.../''  +* In the recipe set package name - it will go to the rootfs recipe ''elphel393/meta/meta-elphel393/recipes-core/images/'''''core-image-elphel393.bb'''  +* bitbake core-image-elphel393  +  +====Project structure====  +=====recipe=====  + elphel393/meta/meta-elphel393/recipes-core/init/init_1.0.bb  +  +'''Note:''' The recipe and the project sources are in different repos  +  +=====in repository=====  + rootfs-elphel/elphel-init/  + ├── eclipse_project_setup  + ├── LICENSE  + ├── Makefile  + ├── README.md  + ├── run_bitbake.sh  + ├── src  + │   ├── init_elphel393  + │   ├── init_elphel393.py  + │   ├── init_elphel393.sh  + │   ├── init_eyesis12.sh  + │   ├── init_eyesis_bottom2.sh  + │   └── Makefile  + └── VERSION  +  +=====after building=====  + rootfs-elphel/elphel-init/  + ├── <font color='green'>bitbake-logs -> /.../elphel393/poky/build/tmp/work/cortexa9-neon-poky-linux-gnueabi/init/1_0-60/temp</font>  + ├── eclipse_project_setup  + ├── <font color='green'>image -> /.../elphel393/poky/build/tmp/work/cortexa9-neon-poky-linux-gnueabi/init/1_0-60/image</font>  + ├── LICENSE  + ├── Makefile  + ├── README.md  + ├── run_bitbake.sh  + ├── src  + │   ├── init_elphel393  + │   ├── init_elphel393.py  + │   ├── init_elphel393.sh  + │   ├── init_eyesis12.sh  + │   ├── init_eyesis_bottom2.sh  + │   └── Makefile  + ├── <font color='green'>sysroots -> /home/oleg/GIT/elphel393_fixold/poky/build/tmp/sysroots</font>  + └── VERSION    −===Projects structure===+</font>        [[Category:393]] [[Category:393]] Oleg

Development for 10393

Wiki Recent Changes - Wed, 03/29/2017 - 18:12

← Older revision Revision as of 00:12, 30 March 2017 (6 intermediate revisions by the same user not shown)Line 1: Line 1:  ===Setup environment=== ===Setup environment=== −[[Poky_2.0_manual#Setup|Instructions]]+Get sources and build default images: [[Poky_2.0_manual#Setup|Instructions]]  +   +====setup.py====  +* clones all projects  +* rerun to update all repositories - then rebuild with bitbake  +* creates a working copy of projects-default.json - projects.json  +   +====check_versions.py====  +* compares software versions on the 10393 vs current sources  + ~$ ./check_versions.py root@192.168.0.9  +   ===Flash vs micro SD=== ===Flash vs micro SD===  * micro SD cards work best for development * micro SD cards work best for development Line 10: Line 20:  ** limited write cycles ** limited write cycles  ** because of overlayfs changes need an extra sync (overlay_sync) and a proper reboot to get written to the flash. ** because of overlayfs changes need an extra sync (overlay_sync) and a proper reboot to get written to the flash.  +  +===Environment tree===  +<font size='2'>  + '''elphel393'''  + ├── '''bootable-images -> poky/build/tmp/deploy/images/elphel393/''' - poky generated boot images  + ├── '''fpga-elphel''' - fpga projects, matching recipes are in ''meta/meta-elphel393/recipes-core/''  + │   ├── '''x359'''  + │   ├── '''x393'''  + │   └── '''x393_sata'''  + ├── '''linux-elphel''' - kernel - a kernel tree with Elphel's sources only - it is merged with the full kernel tree  + ├── '''meta''' - extra recipe layers for poky  + │   ├── '''meta-elphel393''' - Elphel's recipes: fpga, device tree, kernel and applications, lots of bbappends  + │   ├── '''meta-ezynq''' - Elphel's recipes for u-boot  + │   ├── '''meta-openembedded''' - recipes (like PHP) that were not included in poky 2.0  + │   ├── '''meta-swupdate''' - swupdate recipes (not yet used)  + │   └── '''meta-xilinx''' - Xilinx's recipes, help to build kernel and device tree  + ├── '''poky''' - poky tree  + │   ├── '''build'''  + │   │   └── '''conf'''  + │   │      ├── '''bblayers.conf''' - paths to extra layers (generated by setup.py)  + │   │      └── <font color='red'>'''local.conf'''</font> - have a look inside, local configuration (generated by setup.py)  + │   └── '''meta''' - poky's recipes  + ├── '''rootfs-elphel''' - user applicatons projects and init scripts, matching recipes are found in ''meta/meta-elphel393/recipes-core/''  + │   ├── '''elphel-apps-autocampars''' - camera parameters manager - setup, store/restore, set default  + │   ├── '''elphel-apps-autoexposure''' - autoexposure daemon  + │   ├── '''elphel-apps-camogm''' - recorder program  + │   ├── '''elphel-apps-editconf'''  + │   ├── '''elphel-apps-gps''' - gps receiver application  + │   ├── '''elphel-apps-histograms''' - histograms  + │   ├── '''elphel-apps-imgsrv''' - image server  + │   ├── '''elphel-apps-php-extension''' - php functions, compiled as a php extension (part of php recipe)  + │   ├── '''elphel-apps-tempmon''' - temperature monitor  + │   ├── '''elphel-init''' - system init script  + │   ├── '''elphel-udev-rules''' - udev rules: drive automount  + │   ├── '''elphel-web-393''' - web GUIs  + │   ├── '''elphel-web-camvc''' - main control GUI, ported from 353  + │   └── '''elphel-web-hwmon''' - hardware monitor  + └── '''tools'''  +    └── '''elphel-tools-update''' - useful scripts, e.g. create bootable mmc  +  +===Change repository address, branch, hash===  +* change uri: edit ''elphel393/projects.json''  +* change hash: edit ''elphel393/projects.json'':  + "elphel-apps-camogm":[  +  "https://git.elphel.com/Elphel/elphel-apps-camogm.git",  +  "master","" '''<- leave empty to get the latest, add hash to freeze'''  + ],  +  +* change branch: ''edit elphel393/poky/build/conf/local.conf''  + ELPHEL393_branches += "elphel-apps-camogm:framepars"  +     ===Kernel=== ===Kernel===  +====Add new driver====  +* examples in ''elphel393/linux-elphel/src''  +** add new files to the tree  +** do not forget KConfig and Makefiles  +** change kernel config in ''elphel393_fixold/meta/meta-elphel393/recipes-kernel/linux/config/elphel393.cfg'' - clean then rebuild the kernel. The cfg file gets copied to the poky's kernel build directory.     ===Applications=== ===Applications===  +====create new project====  +The best reference projects are in ''elphel393/rootfs-elphel/''  +* Place project files to ''elphel393/rootfs-elphel/''  +* Create a recipe in ''elphel393/meta/meta-elphel393/.../''  +* In the recipe set package name - it will go to the rootfs recipe ''elphel393/meta/meta-elphel393/recipes-core/images/'''''core-image-elphel393.bb'''  +* bitbake core-image-elphel393  +  +====Project structure====  +=====recipe=====  + elphel393/meta/meta-elphel393/recipes-core/init/init_1.0.bb  +  +'''Note:''' The recipe and the project sources are in different repos  +  +=====in repository=====  + rootfs-elphel/elphel-init/  + ├── eclipse_project_setup  + ├── LICENSE  + ├── Makefile  + ├── README.md  + ├── run_bitbake.sh  + ├── src  + │   ├── init_elphel393  + │   ├── init_elphel393.py  + │   ├── init_elphel393.sh  + │   ├── init_eyesis12.sh  + │   ├── init_eyesis_bottom2.sh  + │   └── Makefile  + └── VERSION  +  +=====after building=====  + rootfs-elphel/elphel-init/  + ├── <font color='green'>bitbake-logs -> /.../elphel393/poky/build/tmp/work/cortexa9-neon-poky-linux-gnueabi/init/1_0-60/temp</font>  + ├── eclipse_project_setup  + ├── <font color='green'>image -> /.../elphel393/poky/build/tmp/work/cortexa9-neon-poky-linux-gnueabi/init/1_0-60/image</font>  + ├── LICENSE  + ├── Makefile  + ├── README.md  + ├── run_bitbake.sh  + ├── src  + │   ├── init_elphel393  + │   ├── init_elphel393.py  + │   ├── init_elphel393.sh  + │   ├── init_eyesis12.sh  + │   ├── init_eyesis_bottom2.sh  + │   └── Makefile  + ├── <font color='green'>sysroots -> /home/oleg/GIT/elphel393_fixold/poky/build/tmp/sysroots</font>  + └── VERSION    −===Projects structure===+</font>        [[Category:393]] [[Category:393]] Oleg

03/29/17 [elphel-apps-camogm][] by Mikhail Karpenko: Merge branch 'multithreaded_aligned'

Elphel GIT logs - Wed, 03/29/2017 - 17:43
Mikhail Karpenko committed changes to the Elphel git project :
Merge branch 'multithreaded_aligned'

03/29/17 [elphel-init][] by Oleg Dzhimiev: scripts merged, switched to x393sata_control.py

Elphel GIT logs - Wed, 03/29/2017 - 17:15
Oleg Dzhimiev committed changes to the Elphel git project :
scripts merged, switched to x393sata_control.py

03/29/17 [elphel-apps-camogm][] by Mikhail Karpenko: Reset write pointer to start when disk end is reached

Elphel GIT logs - Wed, 03/29/2017 - 17:14
Mikhail Karpenko committed changes to the Elphel git project :
Reset write pointer to start when disk end is reached

03/29/17 [elphel-apps-camogm][master-initial] by Mikhail Karpenko: Fix incorrect mapping of splitted frame

Elphel GIT logs - Wed, 03/29/2017 - 13:43
Mikhail Karpenko committed changes to the Elphel git project :
Fix incorrect mapping of splitted frame

03/29/17 [elphel-apps-camogm][] by Mikhail Karpenko: WIP: Write aligned frames to block device

Elphel GIT logs - Wed, 03/29/2017 - 13:18
Mikhail Karpenko committed changes to the Elphel git project :
WIP: Write aligned frames to block device

Development for 10393

Wiki Recent Changes - Wed, 03/29/2017 - 12:23

← Older revision Revision as of 18:23, 29 March 2017 (One intermediate revision by the same user not shown)Line 1: Line 1:  ===Setup environment=== ===Setup environment=== −[[Poky_2.0_manual#Setup|Instructions]]+Get sources and build default images: [[Poky_2.0_manual#Setup|Instructions]]  +   ===Flash vs micro SD=== ===Flash vs micro SD===  * micro SD cards work best for development * micro SD cards work best for development Line 10: Line 11:  ** limited write cycles ** limited write cycles  ** because of overlayfs changes need an extra sync (overlay_sync) and a proper reboot to get written to the flash. ** because of overlayfs changes need an extra sync (overlay_sync) and a proper reboot to get written to the flash.  +  +===Environment tree===  +<font size='2'>  + '''elphel393'''  + ├── '''bootable-images -> poky/build/tmp/deploy/images/elphel393/''' - poky generated boot images  + ├── '''fpga-elphel''' - fpga projects, matching recipes are in ''meta/meta-elphel393/recipes-core/''  + │   ├── '''x359'''  + │   ├── '''x393'''  + │   └── '''x393_sata'''  + ├── '''linux-elphel''' - kernel - a kernel tree with Elphel's sources only - it is merged with the full kernel tree  + ├── '''meta''' - extra recipe layers for poky  + │   ├── '''meta-elphel393''' - Elphel's recipes: fpga, device tree, kernel and applications, lots of bbappends  + │   ├── '''meta-ezynq''' - Elphel's recipes for u-boot  + │   ├── '''meta-openembedded''' - recipes (like PHP) that were not included in poky 2.0  + │   ├── '''meta-swupdate''' - swupdate recipes (not yet used)  + │   └── '''meta-xilinx''' - Xilinx's recipes, help to build kernel and device tree  + ├── '''poky''' - poky tree  + │   ├── '''build'''  + │   │   └── '''conf'''  + │   │      ├── '''bblayers.conf''' - paths to extra layers (generated by setup.py)  + │   │      └── <font color='red'>'''local.conf'''</font> - have a look inside, local configuration (generated by setup.py)  + │   └── '''meta''' - poky's recipes  + ├── '''rootfs-elphel''' - user applicatons projects and init scripts, matching recipes are found in ''meta/meta-elphel393/recipes-core/''  + │   ├── '''elphel-apps-autocampars''' - camera parameters manager - setup, store/restore, set default  + │   ├── '''elphel-apps-autoexposure''' - autoexposure daemon  + │   ├── '''elphel-apps-camogm''' - recorder program  + │   ├── '''elphel-apps-editconf'''  + │   ├── '''elphel-apps-gps''' - gps receiver application  + │   ├── '''elphel-apps-histograms''' - histograms  + │   ├── '''elphel-apps-imgsrv''' - image server  + │   ├── '''elphel-apps-php-extension''' - php functions, compiled as a php extension (part of php recipe)  + │   ├── '''elphel-apps-tempmon''' - temperature monitor  + │   ├── '''elphel-init''' - system init script  + │   ├── '''elphel-udev-rules''' - udev rules: drive automount  + │   ├── '''elphel-web-393''' - web GUIs  + │   ├── '''elphel-web-camvc''' - main control GUI, ported from 353  + │   └── '''elphel-web-hwmon''' - hardware monitor  + └── '''tools'''  +    └── '''elphel-tools-update''' - useful scripts, e.g. create bootable mmc     ===Kernel=== ===Kernel=== Oleg

Poky 2.0 manual

Wiki Recent Changes - Tue, 03/28/2017 - 17:45

‎Environment tree

← Older revision Revision as of 23:45, 28 March 2017 (5 intermediate revisions by the same user not shown)Line 100: Line 100:  '''Notes:'''   '''Notes:'''    * '''deployed''' = running on the target system * '''deployed''' = running on the target system  +  +{|  +|[[File:Check versions.png|thumb|400px|check_versions.py output in terminal]]  +|}     ==<font color="blue">Build</font>== ==<font color="blue">Build</font>== Line 145: Line 149:  * '''rootfs.tar.gz''' * '''rootfs.tar.gz'''  * '''rootfs.ubi''','''rootfs.ubifs''' * '''rootfs.ubi''','''rootfs.ubifs'''  +  +==<font color="blue">Environment tree</font>==  +===top project===  +* [https://git.elphel.com/Elphel/elphel393.git elphel393.git]  +  +{| class='wikitable'  +!file  +!description  +|-  +| '''projects-default.json'''  +|  +* list of cloned repositories and tree structure  +* copy of this file makes a working copy - '''projects.json'''  +|-  +| '''setup.py'''  +|  +* creates a working copy from default and parses the contents  +* rerun to update all repositories - then rebuild using bitbake  +* generates a default ''local.conf'' for poky pre-configured for 10393  +|-  +| '''check_versions.py'''  +| local repository vs running on target hardware version checker  +|}  +  +===default paths===  +<font size='2'>  + '''elphel393'''  + ├── '''bootable-images -> poky/build/tmp/deploy/images/elphel393/''' - poky generated boot images  + ├── '''fpga-elphel''' - fpga projects, matching recipes are in ''meta/meta-elphel393/recipes-core/''  + │   ├── '''x359'''  + │   ├── '''x393'''  + │   └── '''x393_sata'''  + ├── '''linux-elphel''' - kernel - a kernel tree with Elphel's sources only - it is merged with the full kernel tree  + ├── '''meta''' - extra recipe layers for poky  + │   ├── '''meta-elphel393''' - Elphel's recipes: fpga, device tree, kernel and applications, lots of bbappends  + │   ├── '''meta-ezynq''' - Elphel's recipes for u-boot  + │   ├── '''meta-openembedded''' - recipes (like PHP) that were not included in poky 2.0  + │   ├── '''meta-swupdate''' - swupdate recipes (not yet used)  + │   └── '''meta-xilinx''' - Xilinx's recipes, help to build kernel and device tree  + ├── '''poky''' - poky tree  + │   ├── '''build'''  + │   │   └── '''conf'''  + │   │      ├── '''bblayers.conf''' - paths to extra layers (generated by setup.py)  + │   │      └── <font color='red'>'''local.conf'''</font> - have a look inside, local configuration (generated by setup.py)  + │   └── '''meta''' - poky's recipes  + ├── '''rootfs-elphel''' - user applicatons projects and init scripts, matching recipes are found in ''meta/meta-elphel393/recipes-core/''  + │   ├── '''elphel-apps-autocampars''' - camera parameters manager - setup, store/restore, set default  + │   ├── '''elphel-apps-autoexposure''' - autoexposure daemon  + │   ├── '''elphel-apps-camogm''' - recorder program  + │   ├── '''elphel-apps-editconf'''  + │   ├── '''elphel-apps-gps''' - gps receiver application  + │   ├── '''elphel-apps-histograms''' - histograms  + │   ├── '''elphel-apps-imgsrv''' - image server  + │   ├── '''elphel-apps-php-extension''' - php functions, compiled as a php extension (part of php recipe)  + │   ├── '''elphel-apps-tempmon''' - temperature monitor  + │   ├── '''elphel-init''' - system init script  + │   ├── '''elphel-udev-rules''' - udev rules: drive automount  + │   ├── '''elphel-web-393''' - web GUIs  + │   ├── '''elphel-web-camvc''' - main control GUI, ported from 353  + │   └── '''elphel-web-hwmon''' - hardware monitor  + └── '''tools'''  +    └── '''elphel-tools-update''' - useful scripts, e.g. create bootable mmc  +  +===project structure (example: elphel-init)===  +====recipe====  + elphel393/meta/meta-elphel393/recipes-core/init/init_1.0.bb  +  +'''Note:''' The recipe and the project sources are in different repos  +  +====in repository====  + rootfs-elphel/elphel-init/  + ├── eclipse_project_setup  + ├── LICENSE  + ├── Makefile  + ├── README.md  + ├── run_bitbake.sh  + ├── src  + │   ├── init_elphel393  + │   ├── init_elphel393.py  + │   ├── init_elphel393.sh  + │   ├── init_eyesis12.sh  + │   ├── init_eyesis_bottom2.sh  + │   └── Makefile  + └── VERSION  +  +====after building====  + rootfs-elphel/elphel-init/  + ├── <font color='green'>bitbake-logs -> /.../elphel393/poky/build/tmp/work/cortexa9-neon-poky-linux-gnueabi/init/1_0-60/temp</font>  + ├── eclipse_project_setup  + ├── <font color='green'>image -> /.../elphel393/poky/build/tmp/work/cortexa9-neon-poky-linux-gnueabi/init/1_0-60/image</font>  + ├── LICENSE  + ├── Makefile  + ├── README.md  + ├── run_bitbake.sh  + ├── src  + │   ├── init_elphel393  + │   ├── init_elphel393.py  + │   ├── init_elphel393.sh  + │   ├── init_eyesis12.sh  + │   ├── init_eyesis_bottom2.sh  + │   └── Makefile  + ├── <font color='green'>sysroots -> /home/oleg/GIT/elphel393_fixold/poky/build/tmp/sysroots</font>  + └── VERSION  +  +</font>     ==<font color="blue">Notes</font>== ==<font color="blue">Notes</font>== Oleg

Poky 2.0 manual

Wiki Recent Changes - Tue, 03/28/2017 - 16:33

← Older revision Revision as of 22:33, 28 March 2017 (One intermediate revision by the same user not shown)Line 100: Line 100:  '''Notes:'''   '''Notes:'''    * '''deployed''' = running on the target system * '''deployed''' = running on the target system  +  +{|  +|[[File:Check versions.png|thumb|400px|check_versions.py output in terminal]]  +|}     ==<font color="blue">Build</font>== ==<font color="blue">Build</font>== Line 145: Line 149:  * '''rootfs.tar.gz''' * '''rootfs.tar.gz'''  * '''rootfs.ubi''','''rootfs.ubifs''' * '''rootfs.ubi''','''rootfs.ubifs'''  +  +==<font color="blue">Environment tree</font>==  +===top project===  +* [https://git.elphel.com/Elphel/elphel393.git elphel393.git]  +  +{| class='wikitable'  +!file  +!description  +|-  +| '''projects-default.json'''  +|  +* list of cloned repositories and tree structure  +* copy of this file makes a working copy - '''projects.json'''  +|-  +| '''setup.py'''  +|  +* creates a working copy from default and parses the contents  +* rerun to update all repositories - then rebuild using bitbake  +* generates a default local.conf for poky pre-configured for 10393  +|-  +| '''check_versions.py'''  +| local repository vs running on target hardware version checker  +|}  +     ==<font color="blue">Notes</font>== ==<font color="blue">Notes</font>== Oleg

Poky 2.0 manual

Wiki Recent Changes - Tue, 03/28/2017 - 14:50

‎Compare built vs deployed software versions

← Older revision Revision as of 20:50, 28 March 2017 Line 100: Line 100:  '''Notes:'''   '''Notes:'''    * '''deployed''' = running on the target system * '''deployed''' = running on the target system  +  +{|  +|[[File:Check versions.png|thumb|400px|check_versions.py output in terminal]]  +|}     ==<font color="blue">Build</font>== ==<font color="blue">Build</font>== Oleg

File:Check versions.png

Wiki Recent Changes - Tue, 03/28/2017 - 14:49

Oleg uploaded File:Check versions.png

New page

== Licensing ==
{{CC }} Oleg

Development for 10393

Wiki Recent Changes - Tue, 03/28/2017 - 14:42

← Older revision Revision as of 20:42, 28 March 2017 (One intermediate revision by the same user not shown)Line 1: Line 1:  ===Setup environment=== ===Setup environment=== − +[[Poky_2.0_manual#Setup|Instructions]]  ===Flash vs micro SD=== ===Flash vs micro SD===  * micro SD cards work best for development * micro SD cards work best for development Oleg

Pages

Subscribe to www3.elphel.com aggregator