Imaging solutions with Free Software & Open Hardware

Who's online

There are currently 0 users online.

Yocto tests

Elphel Wiki - Sat, 11/23/2013 - 16:42

← 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

[meta-elphel393] By Oleg Dzhimiev: added rtc config

Elphel GIT logs - Sat, 11/23/2013 - 16:34
Oleg Dzhimiev committed changes to the Elphel GIT project meta-elphel393:
added rtc config

[meta-elphel393] By Oleg Dzhimiev: unused anymore

Elphel GIT logs - Sat, 11/23/2013 - 16:25
Oleg Dzhimiev committed changes to the Elphel GIT project meta-elphel393:
unused anymore

[meta-elphel393] By Andrey Filippov: added static IP configuration for elphel393

Elphel GIT logs - Sat, 11/23/2013 - 16:23
Andrey Filippov committed changes to the Elphel GIT project meta-elphel393:
added static IP configuration for elphel393

[meta-elphel393] By Oleg Dzhimiev: appends for kubuntu 13.10

Elphel GIT logs - Fri, 11/22/2013 - 15:58
Oleg Dzhimiev committed changes to the Elphel GIT project meta-elphel393:
appends for kubuntu 13.10

[ezynq] By Oleg Dzhimiev: changed back initrd_high

Elphel GIT logs - Thu, 11/21/2013 - 16:44
Oleg Dzhimiev committed changes to the Elphel GIT project ezynq:
changed back initrd_high

Yocto tests

Elphel Wiki - Thu, 11/21/2013 - 16:37

← 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

[meta-elphel393] By Oleg Dzhimiev: changed image name so it doesn't match the machine name any more

Elphel GIT logs - Thu, 11/21/2013 - 16:27
Oleg Dzhimiev committed changes to the Elphel GIT project meta-elphel393:
changed image name so it doesn't match the machine name any more

[meta-elphel393] By Oleg Dzhimiev: included phpinfo and ethernet test script

Elphel GIT logs - Thu, 11/21/2013 - 12:10
Oleg Dzhimiev committed changes to the Elphel GIT project meta-elphel393:
included phpinfo and ethernet test script

[meta-elphel393] By Oleg Dzhimiev: fixed net-tools compiling

Elphel GIT logs - Thu, 11/21/2013 - 01:01
Oleg Dzhimiev committed changes to the Elphel GIT project meta-elphel393:
fixed net-tools compiling

Yocto tests

Elphel Wiki - Wed, 11/20/2013 - 22:09

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.filippov

[meta-elphel393] By Oleg Dzhimiev: updated device trees

Elphel GIT logs - Wed, 11/20/2013 - 19:54
Oleg Dzhimiev committed changes to the Elphel GIT project meta-elphel393:
updated device trees

[meta-ezynq] By Oleg Dzhimiev: commented out ezynq version so the latest one is always checked out

Elphel GIT logs - Wed, 11/20/2013 - 19:10
Oleg Dzhimiev committed changes to the Elphel GIT project meta-ezynq:
commented out ezynq version so the latest one is always checked out

[ezynq] By Oleg Dzhimiev: set initrd_high to 0xffffffff

Elphel GIT logs - Wed, 11/20/2013 - 19:05
Oleg Dzhimiev committed changes to the Elphel GIT project ezynq:
set initrd_high to 0xffffffff

Yocto tests

Elphel Wiki - Wed, 11/20/2013 - 18:58

← 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

[meta-elphel393] By Oleg Dzhimiev: fixed path for generating a devicetree

Elphel GIT logs - Wed, 11/20/2013 - 14:38
Oleg Dzhimiev committed changes to the Elphel GIT project meta-elphel393:
fixed path for generating a devicetree

Yocto tests

Elphel Wiki - Wed, 11/20/2013 - 14:15

← 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

Elphel Wiki - Wed, 11/20/2013 - 14:03

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 Oleg

[meta-elphel393] By Oleg Dzhimiev: 1. updated master to dora branch. 2. images are not operational

Elphel GIT logs - Wed, 11/20/2013 - 13:55
Oleg Dzhimiev committed changes to the Elphel GIT project meta-elphel393:
1. updated master to dora branch. 2. images are not operational

Yocto tests

Elphel Wiki - Tue, 11/19/2013 - 17:51

← 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

Pages

Subscribe to www3.elphel.com aggregator