Presentations
← Older revision
Revision as of 01:41, 4 December 2013
Line 1:
Line 1:
==Presentations== ==Presentations==
+
+===2013/10/08 UofU Computer Engineering Jr Seminar===
+* Presentation:
+**[http://wiki.elphel.com/images/e/e7/UU_CompEngineerJrSeminar_2013.odp Open Hardware Cameras] (36MB)
+* Sound:
+**[http://wiki.elphel.com/images/c/c7/UUCompEnginJrSem2013_Olga.wav UUCompEnginJrSem2013_Olga.wav] (37MB)
+<!--**[[Media:UUCompEnginJrSem2013_Olga.wav|UUCompEnginJrSem2013_Olga.wav]] (37MB)-->
===2012/10/22 UofU SCI ImageLunch=== ===2012/10/22 UofU SCI ImageLunch===
Olga
File:UUCompEnginJrSem2013 Olga.wav
uploaded "[[File:UUCompEnginJrSem2013 Olga.wav]]" Presentation Audio for University of Utah class "Computer Engineering Junior Seminar"; was presented on October 8th, 2013
OlgaFile:UU CompEngineerJrSeminar 2013.odp
uploaded "[[File:UU CompEngineerJrSeminar 2013.odp]]" Presentation Slides for University of Utah class "Computer Engineering Junior Seminar"; was presented on October 8th, 2013
OlgaCamera Accessories
Lenses:
← Older revision Revision as of 20:46, 3 December 2013 (One intermediate revision not shown)Line 129: Line 129: | [[Image:Vd-4 5mm-F1 8-m12-adapters.jpeg|thumb|left|190px]]<br> | [[Image:Vd-4 5mm-F1 8-m12-adapters.jpeg|thumb|left|190px]]<br> | | -'''Vision Dimension'''<br> +'''Evetar Lens'''<br> -EFL=4.5mm, F/1.8, with IR cut-off filter. <br> +N125B04518W EFL=4.5mm, F/1.8, with IR cut-off filter. <br> Barrel threaded M12 + M12 adapter for C-Mount (price includes assembly)<br> Barrel threaded M12 + M12 adapter for C-Mount (price includes assembly)<br> Line 159: Line 159: | [[Image:T H2Z0414C-MP.jpg|thumb|left|120px]] | [[Image:T H2Z0414C-MP.jpg|thumb|left|120px]] | | -'''Computar Vari-focal Lens'''<br> +'''Computar Vari-focal Lens, Megapixel'''<br> 4-8mm, F/1.4, Manual Iris, Vari-Focal, C-Mount, Megapixel 4-8mm, F/1.4, Manual Iris, Vari-Focal, C-Mount, Megapixel Line 172: Line 172: | [[Image:2202161 big.jpg|thumb|left|190px]]<br> | [[Image:2202161 big.jpg|thumb|left|190px]]<br> | | -'''Computar Vari-focal Lens''' +'''Computar Vari-focal Lens, 3MPix''' 4.5-13.2mm, F/1.8, Manual Iris, Vari-Focal, CS-Mount, 3 MPix, Day/Night, IR 4.5-13.2mm, F/1.8, Manual Iris, Vari-Focal, CS-Mount, 3 MPix, Day/Night, IR Line 183: Line 183: |} |} + +<br> + + +'''Computar Vari-focal Lens, 5 MPix''' + +1/1.8" 4.5-13.2mm F1.8 Manual Iris Vari-Focal Lens CS-Mount, 5 MPix, Day/Night, IR + +<br> + +Product Code: E3Z4518CS-MPIR <br> + +Price: $275<br> + <br> <br> OlgaCamera Accessories
← Older revision
Revision as of 19:54, 3 December 2013
Line 159:
Line 159:
| [[Image:T H2Z0414C-MP.jpg|thumb|left|120px]] | [[Image:T H2Z0414C-MP.jpg|thumb|left|120px]]
| |
-'''Computar Vari-focal Lens'''<br> +'''Computar Vari-focal Lens, Megapixel'''<br>
4-8mm, F/1.4, Manual Iris, Vari-Focal, C-Mount, Megapixel 4-8mm, F/1.4, Manual Iris, Vari-Focal, C-Mount, Megapixel
Line 172:
Line 172:
| [[Image:2202161 big.jpg|thumb|left|190px]]<br> | [[Image:2202161 big.jpg|thumb|left|190px]]<br>
| |
-'''Computar Vari-focal Lens''' +'''Computar Vari-focal Lens, 3MPix'''
4.5-13.2mm, F/1.8, Manual Iris, Vari-Focal, CS-Mount, 3 MPix, Day/Night, IR 4.5-13.2mm, F/1.8, Manual Iris, Vari-Focal, CS-Mount, 3 MPix, Day/Night, IR
Line 183:
Line 183:
|} |}
+
+<br>
+
+
+'''Computar Vari-focal Lens, 5 MPix'''
+
+1/1.8" 4.5-13.2mm F1.8 Manual Iris Vari-Focal Lens CS-Mount, 5 MPix, Day/Night, IR
+
+<br>
+
+Product Code: E3Z4518CS-MPIR <br>
+
+Price: $275<br>
+
<br> <br>
Olga
Yocto tests
← Older revision
Revision as of 23:42, 23 November 2013
(One intermediate revision not shown)Line 68:
Line 68:
====Notes==== ====Notes====
<font color="red"> <font color="red">
-* Is there a way to build it by running ''bitbake elphel393'' (elphel393 is the name of the ramdisk core image - currently coincides with the name of the MACHINE)+* Is there a way to build it by running ''bitbake core-image-elphel393''
</font> </font>
Line 92:
Line 92:
</font> </font>
<font color="red"> <font color="red">
-* When linux-xlnx is 'clean' it is built with the ramdisk.image.gz by ''bitbake elphel393'', however the boot.bin does not, why?+* When linux-xlnx is 'clean' it is built with the ramdisk.image.gz by ''bitbake core-image-elphel393'', however the boot.bin does not, why?
</font> </font>
Line 99:
Line 99:
==<font color="blue">Build ramdisk.image.gz</font>== ==<font color="blue">Build ramdisk.image.gz</font>==
<font size='2'> <font size='2'>
- bitbake elphel393+ bitbake core-image-elphel393
</font> </font>
====Output==== ====Output====
Line 160:
Line 160:
==<font color="blue">Build everything all together</font>== ==<font color="blue">Build everything all together</font>==
<font size='2'> <font size='2'>
- bitbake ezynq-u-boot linux-xlnx elphel393+ bitbake ezynq-u-boot linux-xlnx core-image-elphel393
</font> </font>
Line 242:
Line 242:
**'''(Is there a better solution for kubuntu 13.04? in kubuntu 12.10 there is no such error - or is it just newer version?)''' To fix the '''ERROR'''="'''Could not inherit file classes/vala.bbclass'''" in bitbake copy vala.bbclass from oe-core? or delete the conflicting recipes (2?)? **'''(Is there a better solution for kubuntu 13.04? in kubuntu 12.10 there is no such error - or is it just newer version?)''' To fix the '''ERROR'''="'''Could not inherit file classes/vala.bbclass'''" in bitbake copy vala.bbclass from oe-core? or delete the conflicting recipes (2?)?
**'''(Is there a better solution for kubuntu 13.04? in kubuntu 12.10 there is no such error - or is it just newer version?)''' To fix the '''ERROR'''="'''Failed to parse krb5_1.11.3.bb'''" in bitbake delete the directory ''meta-oe/meta-oe/recipes-connectivity/krb5'' **'''(Is there a better solution for kubuntu 13.04? in kubuntu 12.10 there is no such error - or is it just newer version?)''' To fix the '''ERROR'''="'''Failed to parse krb5_1.11.3.bb'''" in bitbake delete the directory ''meta-oe/meta-oe/recipes-connectivity/krb5''
+
+==<font color='blue'>RTC config example in DTS</font>==
+http://www.denx.de/wiki/DULG/Appendix
Oleg
Yocto tests
← Older revision
Revision as of 23:37, 21 November 2013
Line 68:
Line 68:
====Notes==== ====Notes====
<font color="red"> <font color="red">
-* Is there a way to build it by running ''bitbake elphel393'' (elphel393 is the name of the ramdisk core image - currently coincides with the name of the MACHINE)+* Is there a way to build it by running ''bitbake core-image-elphel393''
</font> </font>
Line 92:
Line 92:
</font> </font>
<font color="red"> <font color="red">
-* When linux-xlnx is 'clean' it is built with the ramdisk.image.gz by ''bitbake elphel393'', however the boot.bin does not, why?+* When linux-xlnx is 'clean' it is built with the ramdisk.image.gz by ''bitbake core-image-elphel393'', however the boot.bin does not, why?
</font> </font>
Line 99:
Line 99:
==<font color="blue">Build ramdisk.image.gz</font>== ==<font color="blue">Build ramdisk.image.gz</font>==
<font size='2'> <font size='2'>
- bitbake elphel393+ bitbake core-image-elphel393
</font> </font>
====Output==== ====Output====
Line 160:
Line 160:
==<font color="blue">Build everything all together</font>== ==<font color="blue">Build everything all together</font>==
<font size='2'> <font size='2'>
- bitbake ezynq-u-boot linux-xlnx elphel393+ bitbake ezynq-u-boot linux-xlnx core-image-elphel393
</font> </font>
Oleg
Yocto tests
Setup:
← Older revision Revision as of 05:09, 21 November 2013 Line 32: Line 32: <font size='2'> <font size='2'> git clone -b dora git://git.yoctoproject.org/poky.git git clone -b dora git://git.yoctoproject.org/poky.git - cd poky (just for convenience)+ cd poky # (just for convenience) git clone git://git.code.sf.net/p/elphel/meta-elphel393 meta-elphel393 git clone git://git.code.sf.net/p/elphel/meta-elphel393 meta-elphel393 git clone git://git.code.sf.net/p/elphel/meta-ezynq meta-ezynq git clone git://git.code.sf.net/p/elphel/meta-ezynq meta-ezynq Andrey.filippovYocto tests
← Older revision
Revision as of 01:58, 21 November 2013
(6 intermediate revisions not shown)Line 3:
Line 3:
* Building Linux images for Zynq platform - ARMv7 * Building Linux images for Zynq platform - ARMv7
- +==<font color="blue">Required packages</font>==
+<font size='2'>
+[http://www.yoctoproject.org/docs/1.5/ref-manual/ref-manual.html#required-packages-for-the-host-development-system src link]:
+* Essentials. Packages needed to build an image on a headless system:
+ sudo apt-get install gawk wget git-core diffstat unzip texinfo build-essential chrpath
+* Graphical Extras. Packages recommended if the host system has graphics support:
+ sudo apt-get install libsdl1.2-dev xterm
+* Documentation. Packages needed if you are going to build out the Yocto Project documentation manuals:
+ sudo apt-get install make xsltproc docbook-utils fop dblatex xmlto
+* ADT Installer Extras. Packages needed if you are going to be using the Application Development Toolkit (ADT) Installer:
+ sudo apt-get install autoconf automake libtool libglib2.0-dev
+</font>
==<font color="blue">Output targets</font>== ==<font color="blue">Output targets</font>==
Line 20:
Line 31:
* Step 1: * Step 1:
<font size='2'> <font size='2'>
- git clone -b dylan git://git.yoctoproject.org/poky.git+ git clone -b dora git://git.yoctoproject.org/poky.git
cd poky (just for convenience) cd poky (just for convenience)
git clone git://git.code.sf.net/p/elphel/meta-elphel393 meta-elphel393 git clone git://git.code.sf.net/p/elphel/meta-elphel393 meta-elphel393
git clone git://git.code.sf.net/p/elphel/meta-ezynq meta-ezynq git clone git://git.code.sf.net/p/elphel/meta-ezynq meta-ezynq
- git clone -b dylan https://github.com/openembedded/meta-oe.git+ git clone -b dora https://github.com/openembedded/meta-oe.git
</font> </font>
* Step 2: Init environment * Step 2: Init environment
Line 47:
Line 58:
====Notes==== ====Notes====
* Currently having 4 MACHINES: elphel393, microzed, zc706 and zedboard * Currently having 4 MACHINES: elphel393, microzed, zc706 and zedboard
-
-
==<font color="blue">Build ezynq-u-boot</font>== ==<font color="blue">Build ezynq-u-boot</font>==
Line 104:
Line 113:
IMAGE_INSTALL = "packagegroup-core-boot ${ROOTFS_PKGMANAGE_BOOTSTRAP} ${CORE_IMAGE_EXTRA_INSTALL}" IMAGE_INSTALL = "packagegroup-core-boot ${ROOTFS_PKGMANAGE_BOOTSTRAP} ${CORE_IMAGE_EXTRA_INSTALL}"
IMAGE_INSTALL_append = "python-core" IMAGE_INSTALL_append = "python-core"
-<font color="red">+<font color="black">
* Why ''python-core'' and not ''python''? * Why ''python-core'' and not ''python''?
** ''poky/meta/recipes-devtools/python/python-2.7-manifest.inc'' has a list in PACKAGES, items from which should go into IMAGE_INSTALL ** ''poky/meta/recipes-devtools/python/python-2.7-manifest.inc'' has a list in PACKAGES, items from which should go into IMAGE_INSTALL
** Among all there's no ''python'' in the PACKAGES list. ** Among all there's no ''python'' in the PACKAGES list.
** Does '''hob''' install all the PACKAGES if ''python'' is checked? Haven't tried, also the used '''hob''' version doesn't support saving recipes. ** Does '''hob''' install all the PACKAGES if ''python'' is checked? Haven't tried, also the used '''hob''' version doesn't support saving recipes.
+<font color='black'>
* Steps for adding packages: * Steps for adding packages:
** ''elphel393.bb'' '''(some discussions mention the leading space is mandatory but somehow it works even without it)''': ** ''elphel393.bb'' '''(some discussions mention the leading space is mandatory but somehow it works even without it)''':
Line 123:
Line 133:
PACKAGES = "${PN}-dbg ${PN}-cli ${PN}-cgi ${PN}-fpm ${PN}-fpm-apache2 ${PN}-pear ${PN}-dev ${PN}-staticdev ${PN}-doc ${PN}" PACKAGES = "${PN}-dbg ${PN}-cli ${PN}-cgi ${PN}-fpm ${PN}-fpm-apache2 ${PN}-pear ${PN}-dev ${PN}-staticdev ${PN}-doc ${PN}"
*** PACKAGES list includes ''php''. What is installed? (No ''php-cli'': missing /usr/bin/php) Didn't investigate. *** PACKAGES list includes ''php''. What is installed? (No ''php-cli'': missing /usr/bin/php) Didn't investigate.
+</font>
*** What does hob build if ''php'' is checked? Didn't test. *** What does hob build if ''php'' is checked? Didn't test.
*** <font color='black'>Using ''php-cli'' increases the unpacked image size from ~16MB to ~50MB.</font> *** <font color='black'>Using ''php-cli'' increases the unpacked image size from ~16MB to ~50MB.</font>
-**'''(Is there a better solution for kubuntu 13.04? in kubuntu 12.10 there is no such error - or is it just newer version?)''' To fix the '''ERROR'''="'''Could not inherit file classes/vala.bbclass'''" in bitbake copy vala.bbclass from oe-core? or delete the conflicting recipes (2?)?
-**'''(Is there a better solution for kubuntu 13.04? in kubuntu 12.10 there is no such error - or is it just newer version?)''' To fix the '''ERROR'''="'''Failed to parse krb5_1.11.3.bb'''" in bitbake delete the directory ''meta-oe/meta-oe/recipes-connectivity/krb5''
</font> </font>
</font> </font>
Line 209:
Line 218:
* Try to add "_append" & "_prepend" to functions * Try to add "_append" & "_prepend" to functions
* If some do_function is incompatible just rewrite it * If some do_function is incompatible just rewrite it
+
+
+==<font color='blue'>Switch to dora branch</font>==
+ cd poky; git checkout dora
+ cd meta-oe; git checkout dora
+ cd meta-elphel393; git checkout master
+
+==<font color='blue'>Branching in git</font>==
+<font size='2'>
+* switch to a branch:
+ git checkout <name>
+* create a new local branch
+ git checkout -b <new-branch> <existing-branch>
+* delete a local branch
+ git branch -D <name>
+* create a new remote branch (from existing local)
+ git push origin <name>
+* delete a remote branch
+ git push origin :<name>
+</font>
+
+==<font color='blue'>Disappeared errors</font>==
+**'''(Is there a better solution for kubuntu 13.04? in kubuntu 12.10 there is no such error - or is it just newer version?)''' To fix the '''ERROR'''="'''Could not inherit file classes/vala.bbclass'''" in bitbake copy vala.bbclass from oe-core? or delete the conflicting recipes (2?)?
+**'''(Is there a better solution for kubuntu 13.04? in kubuntu 12.10 there is no such error - or is it just newer version?)''' To fix the '''ERROR'''="'''Failed to parse krb5_1.11.3.bb'''" in bitbake delete the directory ''meta-oe/meta-oe/recipes-connectivity/krb5''
Oleg
Yocto tests
← Older revision
Revision as of 21:15, 20 November 2013
(5 intermediate revisions not shown)Line 20:
Line 20:
* Step 1: * Step 1:
<font size='2'> <font size='2'>
- git clone -b dylan git://git.yoctoproject.org/poky.git+ git clone -b dora git://git.yoctoproject.org/poky.git
cd poky (just for convenience) cd poky (just for convenience)
git clone git://git.code.sf.net/p/elphel/meta-elphel393 meta-elphel393 git clone git://git.code.sf.net/p/elphel/meta-elphel393 meta-elphel393
git clone git://git.code.sf.net/p/elphel/meta-ezynq meta-ezynq git clone git://git.code.sf.net/p/elphel/meta-ezynq meta-ezynq
- git clone -b dylan https://github.com/openembedded/meta-oe.git+ git clone -b dora https://github.com/openembedded/meta-oe.git
</font> </font>
* Step 2: Init environment * Step 2: Init environment
Line 47:
Line 47:
====Notes==== ====Notes====
* Currently having 4 MACHINES: elphel393, microzed, zc706 and zedboard * Currently having 4 MACHINES: elphel393, microzed, zc706 and zedboard
-
-
==<font color="blue">Build ezynq-u-boot</font>== ==<font color="blue">Build ezynq-u-boot</font>==
Line 104:
Line 102:
IMAGE_INSTALL = "packagegroup-core-boot ${ROOTFS_PKGMANAGE_BOOTSTRAP} ${CORE_IMAGE_EXTRA_INSTALL}" IMAGE_INSTALL = "packagegroup-core-boot ${ROOTFS_PKGMANAGE_BOOTSTRAP} ${CORE_IMAGE_EXTRA_INSTALL}"
IMAGE_INSTALL_append = "python-core" IMAGE_INSTALL_append = "python-core"
-<font color="red">+<font color="black">
* Why ''python-core'' and not ''python''? * Why ''python-core'' and not ''python''?
** ''poky/meta/recipes-devtools/python/python-2.7-manifest.inc'' has a list in PACKAGES, items from which should go into IMAGE_INSTALL ** ''poky/meta/recipes-devtools/python/python-2.7-manifest.inc'' has a list in PACKAGES, items from which should go into IMAGE_INSTALL
** Among all there's no ''python'' in the PACKAGES list. ** Among all there's no ''python'' in the PACKAGES list.
** Does '''hob''' install all the PACKAGES if ''python'' is checked? Haven't tried, also the used '''hob''' version doesn't support saving recipes. ** Does '''hob''' install all the PACKAGES if ''python'' is checked? Haven't tried, also the used '''hob''' version doesn't support saving recipes.
+<font color='black'>
* Steps for adding packages: * Steps for adding packages:
** ''elphel393.bb'' '''(some discussions mention the leading space is mandatory but somehow it works even without it)''': ** ''elphel393.bb'' '''(some discussions mention the leading space is mandatory but somehow it works even without it)''':
Line 123:
Line 122:
PACKAGES = "${PN}-dbg ${PN}-cli ${PN}-cgi ${PN}-fpm ${PN}-fpm-apache2 ${PN}-pear ${PN}-dev ${PN}-staticdev ${PN}-doc ${PN}" PACKAGES = "${PN}-dbg ${PN}-cli ${PN}-cgi ${PN}-fpm ${PN}-fpm-apache2 ${PN}-pear ${PN}-dev ${PN}-staticdev ${PN}-doc ${PN}"
*** PACKAGES list includes ''php''. What is installed? (No ''php-cli'': missing /usr/bin/php) Didn't investigate. *** PACKAGES list includes ''php''. What is installed? (No ''php-cli'': missing /usr/bin/php) Didn't investigate.
+</font>
*** What does hob build if ''php'' is checked? Didn't test. *** What does hob build if ''php'' is checked? Didn't test.
*** <font color='black'>Using ''php-cli'' increases the unpacked image size from ~16MB to ~50MB.</font> *** <font color='black'>Using ''php-cli'' increases the unpacked image size from ~16MB to ~50MB.</font>
-**'''(Is there a better solution for kubuntu 13.04? in kubuntu 12.10 there is no such error - or is it just newer version?)''' To fix the '''ERROR'''="'''Could not inherit file classes/vala.bbclass'''" in bitbake copy vala.bbclass from oe-core? or delete the conflicting recipes (2?)?
-**'''(Is there a better solution for kubuntu 13.04? in kubuntu 12.10 there is no such error - or is it just newer version?)''' To fix the '''ERROR'''="'''Failed to parse krb5_1.11.3.bb'''" in bitbake delete the directory ''meta-oe/meta-oe/recipes-connectivity/krb5''
</font> </font>
</font> </font>
Line 209:
Line 207:
* Try to add "_append" & "_prepend" to functions * Try to add "_append" & "_prepend" to functions
* If some do_function is incompatible just rewrite it * If some do_function is incompatible just rewrite it
+
+
+==<font color='blue'>Switch to dora branch</font>==
+ cd poky; git checkout dora
+ cd meta-oe; git checkout dora
+ cd meta-elphel393; git checkout master
+
+==<font color='blue'>Branching in git</font>==
+<font size='2'>
+* switch to a branch:
+ git checkout <name>
+* create a new local branch
+ git checkout -b <new-branch> <existing-branch>
+* delete a local branch
+ git branch -D <name>
+* create a new remote branch (from existing local)
+ git push origin <name>
+* delete a remote branch
+ git push origin :<name>
+</font>
+
+==<font color='blue'>Disappeared errors</font>==
+**'''(Is there a better solution for kubuntu 13.04? in kubuntu 12.10 there is no such error - or is it just newer version?)''' To fix the '''ERROR'''="'''Could not inherit file classes/vala.bbclass'''" in bitbake copy vala.bbclass from oe-core? or delete the conflicting recipes (2?)?
+**'''(Is there a better solution for kubuntu 13.04? in kubuntu 12.10 there is no such error - or is it just newer version?)''' To fix the '''ERROR'''="'''Failed to parse krb5_1.11.3.bb'''" in bitbake delete the directory ''meta-oe/meta-oe/recipes-connectivity/krb5''
Oleg
Yocto tests
Setup:
← Older revision Revision as of 21:03, 20 November 2013 (3 intermediate revisions not shown)Line 20: Line 20: * Step 1: * Step 1: <font size='2'> <font size='2'> - git clone -b dylan git://git.yoctoproject.org/poky.git+ git clone -b dora git://git.yoctoproject.org/poky.git cd poky (just for convenience) cd poky (just for convenience) git clone git://git.code.sf.net/p/elphel/meta-elphel393 meta-elphel393 git clone git://git.code.sf.net/p/elphel/meta-elphel393 meta-elphel393 git clone git://git.code.sf.net/p/elphel/meta-ezynq meta-ezynq git clone git://git.code.sf.net/p/elphel/meta-ezynq meta-ezynq - git clone -b dylan https://github.com/openembedded/meta-oe.git+ git clone -b dora https://github.com/openembedded/meta-oe.git </font> </font> * Step 2: Init environment * Step 2: Init environment Line 47: Line 47: ====Notes==== ====Notes==== * Currently having 4 MACHINES: elphel393, microzed, zc706 and zedboard * Currently having 4 MACHINES: elphel393, microzed, zc706 and zedboard - - ==<font color="blue">Build ezynq-u-boot</font>== ==<font color="blue">Build ezynq-u-boot</font>== Line 209: Line 207: * Try to add "_append" & "_prepend" to functions * Try to add "_append" & "_prepend" to functions * If some do_function is incompatible just rewrite it * If some do_function is incompatible just rewrite it + + +==Switch to dora branch== + cd poky; git checkout dora + cd meta-oe; git checkout dora + cd meta-elphel393; git checkout master OlegYocto tests
← Older revision
Revision as of 00:51, 20 November 2013
(2 intermediate revisions not shown)Line 24:
Line 24:
git clone git://git.code.sf.net/p/elphel/meta-elphel393 meta-elphel393 git clone git://git.code.sf.net/p/elphel/meta-elphel393 meta-elphel393
git clone git://git.code.sf.net/p/elphel/meta-ezynq meta-ezynq git clone git://git.code.sf.net/p/elphel/meta-ezynq meta-ezynq
- git clone -b dylan https://github.com/openembedded/meta-oe.git+ git clone https://github.com/openembedded/meta-oe.git
</font> </font>
* Step 2: Init environment * Step 2: Init environment
Line 209:
Line 209:
* Try to add "_append" & "_prepend" to functions * Try to add "_append" & "_prepend" to functions
* If some do_function is incompatible just rewrite it * If some do_function is incompatible just rewrite it
+
+
+==Switch to dora branch==
+ cd poky; git checkout dora
+ cd meta-oe; git checkout dora
+ cd meta-elphel393; git checkout master
Oleg
Yocto tests
← Older revision
Revision as of 19:15, 15 November 2013
Line 24:
Line 24:
git clone git://git.code.sf.net/p/elphel/meta-elphel393 meta-elphel393 git clone git://git.code.sf.net/p/elphel/meta-elphel393 meta-elphel393
git clone git://git.code.sf.net/p/elphel/meta-ezynq meta-ezynq git clone git://git.code.sf.net/p/elphel/meta-ezynq meta-ezynq
- git clone -b dylan https://github.com/openembedded/meta-oe.git+ git clone https://github.com/openembedded/meta-oe.git
</font> </font>
* Step 2: Init environment * Step 2: Init environment
Oleg
Elphel camera parts 0353-30
0353-30-24 - Silicone Gasket for M40.5 filter:
← Older revision Revision as of 21:25, 14 November 2013 (One intermediate revision not shown)Line 122: Line 122: ---- ---- -=== 0353-30-24 - Silicone Gasket for M40.5 filter ===+=== 0353-30-24 - Silicone Gasket for M40.5 filter (replaced with 0343-30-27) === t=0.8mm OD=42.5mm, ID=40mm, Cut from McMaster 2633T11 30A or equivalent t=0.8mm OD=42.5mm, ID=40mm, Cut from McMaster 2633T11 30A or equivalent {{Cad4|0353-30-24}} {{Cad4|0353-30-24}} ---- ---- + === 0353-30-25 - Silicone Gasket for M72 filter === === 0353-30-25 - Silicone Gasket for M72 filter === t=0.8mm OD=76mm, ID=71.5mm, Cut from McMaster 2633T11 30A or equivalent t=0.8mm OD=76mm, ID=71.5mm, Cut from McMaster 2633T11 30A or equivalent Line 132: Line 133: ---- ---- -=== 0353-30-27 - Silicone Gasket for M34 filter ===+=== 0353-30-27 - Silicone Gasket for M34 filter (used for M40.5 filter)=== t=0.8mm OD=36mm, ID=33.5mm, Cut from McMaster 2633T11 30A or equivalent t=0.8mm OD=36mm, ID=33.5mm, Cut from McMaster 2633T11 30A or equivalent {{Cad4|0353-30-27}} {{Cad4|0353-30-27}} OlgaYocto tests
Show changes
Oleg
Yocto tests
Add a patch to a recipe:
Show changes OlegYocto tests
Show changes
Oleg
Yocto tests
Show changes
Oleg
Yocto tests
Add a patch to a recipe:
Show changes OlegYocto tests
← Older revision
Revision as of 08:19, 12 November 2013
(10 intermediate revisions not shown)Line 3:
Line 3:
* Building Linux images for Zynq platform - ARMv7 * Building Linux images for Zynq platform - ARMv7
+==Output targets==
+These names are as they appear in the u-boot configuration header file - actual output files have different names:
+* '''boot.bin''' - u-boot as the first stage bootloader
+* '''devicetree.dtb''' - device tree with described interfaces, zynq registers, interrupts and drivers
+* '''uImage''' - kernel, drivers
+* '''uramdisk.image.gz''' - applications
+Copy them on the micro SD card > run '''boot''' once in the u-boot command line.
==GIT== ==GIT==
<font size='2'> <font size='2'>
git clone -b dylan git://git.yoctoproject.org/poky.git git clone -b dylan git://git.yoctoproject.org/poky.git
- git clone -b dylan https://github.com/Xilinx/meta-xilinx.git meta-xilinx+ cd poky (just for convenience)
+ git clone -b dylan https://github.com/Xilinx/meta-xilinx.git meta-xilinx (not needed)
git clone git://git.code.sf.net/p/elphel/meta-elphel393 meta-elphel393 git clone git://git.code.sf.net/p/elphel/meta-elphel393 meta-elphel393
+ git clone git://git.code.sf.net/p/elphel/meta-ezynq meta-ezynq
+ git clone -b dylan https://github.com/openembedded/meta-oe.git
</font> </font>
Line 21:
Line 31:
<absolute-path>/meta-xilinx/meta-zedboard \ <absolute-path>/meta-xilinx/meta-zedboard \
<absolute-path>/meta-elphel393 \ <absolute-path>/meta-elphel393 \
+ <absolute-path>/meta-ezynq \
</font> </font>
* Step 3: Edit ''build/conf/local.conf'' - set MACHINE and other things: * Step 3: Edit ''build/conf/local.conf'' - set MACHINE and other things:
Line 26:
Line 37:
BB_NUMBER_THREADS = "8" (depends on the PC's CPU) BB_NUMBER_THREADS = "8" (depends on the PC's CPU)
PARALLEL_MAKE = "-j 8" (depends on the PC's CPU) PARALLEL_MAKE = "-j 8" (depends on the PC's CPU)
- MACHINE ?= "zedboard"+ MACHINE ?= "elphel393" (based on MACHINE="zedboard" )
</font> </font>
====Notes==== ====Notes====
<font color="red"> <font color="red">
-*MACHINE="zedboard" is used to build the kernel. Doesn't matter for ramdisk.image.gz because the recipes don't have any bbappends for core-images.+* Does ''./oe-init-build-env'' scan all the meta-* dirs in poky? Unlikely.
+</font>
+
+==Build ezynq-u-boot==
+<font size='2'>
+ bitbake ezynq-u-boot
+</font>
+====Output====
+* boot.bin
+
+====Notes====
+<font color="red">
+* Is there a way to build it by running ''bitbake elphel393'' (elphel393 is the name of the ramdisk core image - currently coincides with the name of the MACHINE)
</font> </font>
Line 37:
Line 60:
bitbake linux-xlnx bitbake linux-xlnx
</font> </font>
+====Output====
+* uImage (kernel)
+* devicetree.dtb (or some *.dtb)
====Notes==== ====Notes====
<font color="red"> <font color="red">
-* The '''dtc''' script for converting device tree between *.dts and *.dtb formats is built along with the kernel.+* When linux-xlnx is 'clean' it is built with the ramdisk.image.gz by ''bitbake elphel393'', however the boot.bin does not, why?
</font> </font>
Line 47:
Line 73:
bitbake elphel393 bitbake elphel393
</font> </font>
+===Output====
+* uramdisk.image.gz (the file has *.u-boot extension after it's built)
+
====Notes==== ====Notes====
<font size='2'> <font size='2'>
Line 57:
Line 86:
IMAGE_INSTALL = "packagegroup-core-boot ${ROOTFS_PKGMANAGE_BOOTSTRAP} ${CORE_IMAGE_EXTRA_INSTALL}" IMAGE_INSTALL = "packagegroup-core-boot ${ROOTFS_PKGMANAGE_BOOTSTRAP} ${CORE_IMAGE_EXTRA_INSTALL}"
IMAGE_INSTALL_append = "python-core" IMAGE_INSTALL_append = "python-core"
-* Why ''python-core'' and not just ''python''?+* Why ''python-core'' and not ''python''?
-** ''poky/meta/recipes-devtools/python/python-2.7-manifest.inc'' has a list in PACKAGES items from which should go into IMAGE_INSTALL+** ''poky/meta/recipes-devtools/python/python-2.7-manifest.inc'' has a list in PACKAGES, items from which should go into IMAGE_INSTALL
** Among all there's no ''python'' in the PACKAGES list. ** Among all there's no ''python'' in the PACKAGES list.
** Does '''hob''' install all the PACKAGES if ''python'' is checked? Haven't tried, also the used '''hob''' version doesn't support saving recipes. ** Does '''hob''' install all the PACKAGES if ''python'' is checked? Haven't tried, also the used '''hob''' version doesn't support saving recipes.
-* '''(Is there a better solution?)''' Adding packages : '''apache2''', '''php''', '''i2c-tools''', '''mtd-utils''', '''net-tools''' steps:+* '''(Is there a better solution for kubuntu 13.04? in kubuntu 12.10 there are no errors mentioned below - or is it just newer version?)''' Steps for adding packages:
-**Clone '''meta-oe''' from OpenEmbedded: +**Clone '''meta-oe''' from OpenEmbedded (ia already cloned in the GIT-step):
git clone -b dylan https://github.com/openembedded/meta-oe.git git clone -b dylan https://github.com/openembedded/meta-oe.git
**Lines to ''bblayers.conf'': **Lines to ''bblayers.conf'':
<absolute-path>/meta-oe/meta-oe \ <absolute-path>/meta-oe/meta-oe \
- <absolute-path>/poky/meta-oe/meta-perl \
<absolute-path>/poky/meta-oe/meta-webserver \ <absolute-path>/poky/meta-oe/meta-webserver \
** ''elphel393.bb'' '''(some discussions mention the leading space is mandatory but somehow it works even without it)''': ** ''elphel393.bb'' '''(some discussions mention the leading space is mandatory but somehow it works even without it)''':
Line 73:
Line 101:
mtd-utils \ mtd-utils \
net-tools \ net-tools \
+ openssh \
modphp \ modphp \
apache2 \ apache2 \
Line 79:
Line 108:
meta-oe/meta-oe/recipes-devtools/php/php.inc: meta-oe/meta-oe/recipes-devtools/php/php.inc:
PACKAGES = "${PN}-dbg ${PN}-cli ${PN}-cgi ${PN}-fpm ${PN}-fpm-apache2 ${PN}-pear ${PN}-dev ${PN}-staticdev ${PN}-doc ${PN}" PACKAGES = "${PN}-dbg ${PN}-cli ${PN}-cgi ${PN}-fpm ${PN}-fpm-apache2 ${PN}-pear ${PN}-dev ${PN}-staticdev ${PN}-doc ${PN}"
-*** PACKAGES includes ''php''. What is installed? (No ''php-cli'': missing /usr/bin/php) Didn't investigate.+*** PACKAGES list includes ''php''. What is installed? (No ''php-cli'': missing /usr/bin/php) Didn't investigate.
*** What does hob build if ''php'' is checked? Didn't test. *** What does hob build if ''php'' is checked? Didn't test.
-*** Using ''php-cli'' installs php in the /usr/bin/. Tested.
*** Using ''php-cli'' increases the unpacked image size from ~16MB to ~50MB. *** Using ''php-cli'' increases the unpacked image size from ~16MB to ~50MB.
**To fix the '''ERROR'''="'''Could not inherit file classes/vala.bbclass'''" in bitbake copy vala.bbclass from oe-core? or delete the conflicting recipes (2?)? **To fix the '''ERROR'''="'''Could not inherit file classes/vala.bbclass'''" in bitbake copy vala.bbclass from oe-core? or delete the conflicting recipes (2?)?
**To fix the '''ERROR'''="'''Failed to parse krb5_1.11.3.bb'''" in bitbake delete the directory ''meta-oe/meta-oe/recipes-connectivity/krb5'' **To fix the '''ERROR'''="'''Failed to parse krb5_1.11.3.bb'''" in bitbake delete the directory ''meta-oe/meta-oe/recipes-connectivity/krb5''
+</font>
+</font>
====U-boot and device tree related notes==== ====U-boot and device tree related notes====
* '''The default UNPACKED ramdisk max size for zynq is 16MB - once it gets bigger you get KERNEL PANIC - the solution is [http://forums.xilinx.com/t5/Embedded-Linux/Need-bigger-ramdisk-32MB-on-ZC702/m-p/303457#M5775 modifying the device tree] - then recompile into DTB:''' * '''The default UNPACKED ramdisk max size for zynq is 16MB - once it gets bigger you get KERNEL PANIC - the solution is [http://forums.xilinx.com/t5/Embedded-Linux/Need-bigger-ramdisk-32MB-on-ZC702/m-p/303457#M5775 modifying the device tree] - then recompile into DTB:'''
*.dts, add to '''bootargs''' parameter ''ramdisk_size=32768'' (takes KB), example: *.dts, add to '''bootargs''' parameter ''ramdisk_size=32768'' (takes KB), example:
- bootargs = "console=ttyPS0,115200 root=/dev/ram rw ip=192.168.1.10 earlyprintk '''ramdisk_size=32768'''";+ bootargs = "console=ttyPS0,115200 root=/dev/ram rw ip=192.168.1.10 earlyprintk '''ramdisk_size=65536'''";
* '''The default COMPRESSED ramdisk max size for zynq is 10MB set in u-boot''' - change according to your needs, example: * '''The default COMPRESSED ramdisk max size for zynq is 10MB set in u-boot''' - change according to your needs, example:
''zynq_zed.h'': ''zynq_zed.h'':
Line 102:
Line 132:
devicetree = 0x3000000 - 0x2A00000 = 0x600000 = 6MB devicetree = 0x3000000 - 0x2A00000 = 0x600000 = 6MB
-</font>+==Build everything all together==
-</font>+ bitbake ezynq-u-boot linux-xlnx elphel393
- +==Build toolchain (not necessary)==
-==Build toolchain==+
* Step 1: build * Step 1: build
<font size='2'> <font size='2'>
Oleg