[yocto] Unable to parse conf/bitbake.conf
Trying to build Cross Compile toolchain $ bitbake meta-ide-support ERROR: Traceback (most recent call last): File /home/kashyap/kashyap/yocto/poky/bitbake/lib/bb/cookerdata.py, line 163, in wrapped return func(fn, *args) File /home/kashyap/kashyap/yocto/poky/bitbake/lib/bb/cookerdata.py, line 173, in parse_config_file return bb.parse.handle(fn, data, include) File /home/kashyap/kashyap/yocto/poky/bitbake/lib/bb/parse/__init__.py, line 99, in handle return h['handle'](fn, data, include) File /home/kashyap/kashyap/yocto/poky/bitbake/lib/bb/parse/parse_py/ConfHandler.py, line 120, in handle abs_fn = resolve_file(fn, data) File /home/kashyap/kashyap/yocto/poky/bitbake/lib/bb/parse/__init__.py, line 117, in resolve_file raise IOError(file %s not found in %s % (fn, bbpath)) IOError: file conf/bitbake.conf not found in /home/kashyap/kashyap/yocto/poky/pi_1 ERROR: Unable to parse conf/bitbake.conf: file conf/bitbake.conf not found in /home/kashyap/kashyap/yocto/poky/pi_1 any idea? -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
Re: [yocto] Yocto Labs (Alex J Lennon)
I personally donot think the manuals are abstract, instead they are very detailed. You have got a quick start guide which can help you alot for starting up. You can read some important points at http://www.kashyapgada.com/2014/06/12/embedded-linux-building-an-image-using-yocto-project/ . There are also more advanced manuls, project development, application development manuals. Above all next month there will be a book releasing named Embedded Linux Development with Yocto Project http://www.packtpub.com/embedded-linux-development-with-yocto-project/book which might also be a good guide, I am looking forward to that book, Have already pre booked it. Kashyap Gada On Mon, Jun 23, 2014 at 12:30 AM, yocto-requ...@yoctoproject.org wrote: Send yocto mailing list submissions to yocto@yoctoproject.org To subscribe or unsubscribe via the World Wide Web, visit https://lists.yoctoproject.org/listinfo/yocto or, via email, send a message with subject or body 'help' to yocto-requ...@yoctoproject.org You can reach the person managing the list at yocto-ow...@yoctoproject.org When replying, please edit your Subject line so it is more specific than Re: Contents of yocto digest... Today's Topics: 1. Yocto Labs (Arun Kumar) 2. Re: Yocto Labs (Alex J Lennon) 3. the apparent need for docbook replaceable tag in manual examples (Robert P. J. Day) -- Message: 1 Date: Sun, 22 Jun 2014 06:03:58 +0530 From: Arun Kumar arunkr.li...@gmail.com To: Yocto Mailing List yocto@yoctoproject.org Subject: [yocto] Yocto Labs Message-ID: 53a62476.2080...@gmail.com Content-Type: text/plain; charset=ISO-8859-1; format=flowed Hi, I am new to Yocto project and have been following the documentation for familiarity. I am looking for hands on lab sessions for the yocto project. I am unable to find the same on INTERNET, all i find is conference videos and presentation. If anyone can share links to online tutorial videos / pdfs it would be really useful. content like creating and deploying own recipe files, layers. The Documentation describes these tasks at a very abstract level, an little more advanced version of the same would be appreciated. Thanks in advance... -- Message: 2 Date: Sun, 22 Jun 2014 09:54:25 +0100 From: Alex J Lennon ajlen...@dynamicdevices.co.uk To: Arun Kumar arunkr.li...@gmail.com,Yocto Mailing List yocto@yoctoproject.org Subject: Re: [yocto] Yocto Labs Message-ID: 53a699c1.4040...@dynamicdevices.co.uk Content-Type: text/plain; charset=ISO-8859-1 On 22/06/2014 01:33, Arun Kumar wrote: Hi, I am new to Yocto project and have been following the documentation for familiarity. I am looking for hands on lab sessions for the yocto project. I am unable to find the same on INTERNET, all i find is conference videos and presentation. If anyone can share links to online tutorial videos / pdfs it would be really useful. content like creating and deploying own recipe files, layers. The Documentation describes these tasks at a very abstract level, an little more advanced version of the same would be appreciated. Thanks in advance... Might be of some use Arun, https://wiki.yoctoproject.org/wiki/Building_your_own_recipes_from_first_principles Regards, Alex -- Message: 3 Date: Sun, 22 Jun 2014 09:20:15 -0400 (EDT) From: Robert P. J. Day rpj...@crashcourse.ca To: Yocto discussion list yocto@yoctoproject.org Subject: [yocto] the apparent need for docbook replaceable tag in manual examples Message-ID: alpine.LFD.2.11.1406220901500.2299@localhost Content-Type: TEXT/PLAIN; charset=US-ASCII something poor scott rifenbark can ponder in his copious free time :-), but i think some of the current examples in the various manuals need to be enhanced with the use of the docbook replaceable tag to emphasize that they are generic references meant to be replaced by specific values; otherwise, there's potential confusion. as a concrete example, i remember *way* back when i was reading about conditional metadata in the bitbake user manual, particularly this verbatim example: OVERRIDES = architecture:os:machine TEST = default TEST_os = osspecific TEST_nooverride = othercondvalue because all of the above is currently rendered in the same (courier) font in the generated manual, i mistakenly thought that all of the above was to somehow be typed exactly that way, and i was completely baffled as to what the qualifiers _os and _nooverride would do. it was only after searching for examples in the codebase that it dawned that those strings were meant to be replaced by actual examples of the current architecture, os, machine and so on. duh. this can be made more obvious fairly simply with the following tweak of using
[yocto] Rasperry Pi bcm2835-bootfiles-20140221-r3 do_fetch
Hello, The following do_fetch of bcm28353-bootfiles-20140221-r3 is taking considerable amount of time. I have kept system monitor applcation on on my ubuntu workstation which shows download at about 114KBps. I want to know if this do_fetch task is interrupted and bitbake is stopped as I have to close down my office, will bitbaking the next time i start the process continue download from where I stopped or will start fetching for the package from 0 again. Also can it be downloaded separately, if yes where can I find the link to it and where do i have to store it once its downloaded. Kashyap -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
[yocto] do_compile failed
Hello While bitbake was running my pc froze. I did a restart and then started bitbake command again. After that getting following error ERROR: Function failed: do_compile (log file is located at /home/kashyap/kashyap/yocto/poky/minimal/tmp/work/x86_64-linux/qemu-native/1.7.0-r0/temp/log.do_compile.4745) ERROR: Logfile of failure stored in: /home/kashyap/kashyap/yocto/poky/minimal/tmp/work/x86_64-linux/qemu-native/1.7.0-r0/temp/log.do_compile.4745 Log data follows: | DEBUG: Executing shell function do_compile | NOTE: make -j 4 | LINK ppc-linux-user/qemu-ppc | LINK x86_64-linux-user/qemu-x86_64 | LINK ppc-softmmu/qemu-system-ppc | target-ppc/translate.o: file not recognized: File truncated | collect2: error: ld returned 1 exit status | make[1]: *** [qemu-ppc] Error 1 | make: *** [subdir-ppc-linux-user] Error 2 | make: *** Waiting for unfinished jobs | target-i386/translate.o: file not recognized: File truncated | collect2: error: ld returned 1 exit status | make[1]: *** [qemu-x86_64] Error 1 | make: *** [subdir-x86_64-linux-user] Error 2 | LINK x86_64-softmmu/qemu-system-x86_64 | target-ppc/translate.o: file not recognized: File truncated | collect2: error: ld returned 1 exit status | make[1]: *** [qemu-system-ppc] Error 1 | make: *** [subdir-ppc-softmmu] Error 2 | target-i386/translate.o: file not recognized: File truncated | collect2: error: ld returned 1 exit status | make[1]: *** [qemu-system-x86_64] Error 1 | make: *** [subdir-x86_64-softmmu] Error 2 | ERROR: oe_runmake failed | WARNING: exit code 1 from a shell command. | ERROR: Function failed: do_compile (log file is located at /home/kashyap/kashyap/yocto/poky/minimal/tmp/work/x86_64-linux/qemu-native/1.7.0-r0/temp/log.do_compile.4745) ERROR: Task 96 (virtual:native:/home/kashyap/kashyap/yocto/poky/meta/recipes-devtools/qemu/ qemu_1.7.0.bb, do_compile) failed with exit code '1' Please Help -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
Re: [yocto] Source Command Permission Denied
Its a different ntfs partition. I mount it manually. On Tue, Jun 3, 2014 at 10:44 PM, Saul Wold s...@linux.intel.com wrote: On 06/03/2014 09:20 AM, Kashyap Gada wrote: Thank you Ross. I actually ran into another problem in bitbaking core-image-sato from the getting started guide at the yocto site which led me into changing to a setup which doesnot include mounting of any drive to my ubuntu distribution. the problem is as follows. While compiling of e2fsprogs-1.42.9-r0 do_compile (pid 5276) the details of the error log generated is as follows SNIP chmod: cannot operate on dangling symlink 'prof_err.h' chmod: prof_err.h: new permissions are r-xrwxrwx, not r-xr-xr-x chmod: prof_err.c: new permissions are r-xrwxrwx, not r-xr-xr-x Looks like your still having some sort of permissions issue. Where exactly are you doing your build? What type of filesystem? Sau! make[2]: *** [prof_err.h] Error 1 make[2]: *** Waiting for unfinished jobs make[2]: Leaving directory `/mnt/kashyap/hda/yocto/poky/build/tmp/work/i586-poky- linux/e2fsprogs/1.42.9-r0/build/misc' make[1]: *** [all-progs-recursive] Error 1 make[1]: Leaving directory `/mnt/kashyap/hda/yocto/poky/build/tmp/work/i586-poky- linux/e2fsprogs/1.42.9-r0/build' make: *** [all] Error 2 ERROR: oe_runmake failed WARNING: exit code 1 from a shell command. ERROR: Function failed: do_compile (log file is located at /mnt/kashyap/hda/yocto/poky/build/tmp/work/i586-poky- linux/e2fsprogs/1.42.9-r0/temp/log.do_compile.5276) Sorry for attaching this to this list. On Tue, Jun 3, 2014 at 9:20 PM, Burton, Ross ross.bur...@intel.com wrote: So you probably lost every executable mode when you did that. Make a fresh clone and reapply your changes, that will be easier than finding every file that isn't executable when it should be. Ross On 3 June 2014 16:49, Kashyap Gada gada.kash...@gmail.com wrote: its copied! On Tue, Jun 3, 2014 at 9:16 PM, Burton, Ross ross.bur...@intel.com wrote: On 3 June 2014 16:39, Kashyap Gada gada.kash...@gmail.com wrote: bash: /home/kashyap/yocto/poky/scripts/oe-setup-builddir: Permission denied The permissions on that file don't involve +x. Is that a fresh checkout of poky or copied from the removable media? Ross -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
Re: [yocto] Source Command Permission Denied
Yes, I have already dropped my plan for continuing further on that setup. I have got a new computer and started the complete process again. Thanks for the help. :-) On Thu, Jun 5, 2014 at 12:04 PM, Burton, Ross ross.bur...@intel.com wrote: On Thursday, 5 June 2014, Kashyap Gada gada.kash...@gmail.com wrote: Its a different ntfs partition. I mount it manually. Using NTFS is certainly going to complicate things because the permissions model is different, can you use a Linux file system (such as ext4) instead of a Windows one? Ross -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
[yocto] Building for Boards not supported by Yocto Project
Hello. I have successfully built and tested core-image-sato through the process given by the quick start guide at the yocto project website. Now I intend to build an image for a board which is not officially supported by yocto project. I have a FriendlyArm mini6410 whose BSP is available for linux. I would like to know how should I proceed further. Is it possible to use the same BSP without any changes and make an image using Yocto? Kashyap Gada -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
Re: [yocto] Source Command Permission Denied
its copied! On Tue, Jun 3, 2014 at 9:16 PM, Burton, Ross ross.bur...@intel.com wrote: On 3 June 2014 16:39, Kashyap Gada gada.kash...@gmail.com wrote: bash: /home/kashyap/yocto/poky/scripts/oe-setup-builddir: Permission denied The permissions on that file don't involve +x. Is that a fresh checkout of poky or copied from the removable media? Ross -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
Re: [yocto] Source Command Permission Denied
Thank You. I did the following and it worked. First Found the drive using $ sudo fdisk -l Then Selected the desired drive and create a directory in the /mnt path $ sudo mkdir hda Now Mount the sda5(can be different for you) $ sudo mount -t auto -v /dev/sda5 /mnt/hda after the work is done can unmount using sudo unmount /dev/sda5 (not checked this part yet) Thanks Kashyap Gada smartsys india gada(.)kashyap(@)gmail(.)com $sudo mount -t On Fri, May 30, 2014 at 4:40 PM, Burton, Ross ross.bur...@intel.com wrote: On 30 May 2014 05:06, Kashyap Gada gada.kash...@gmail.com wrote: bash: /media/kashyap/3E0800DC08009555/yocto/poky/scripts/oe-setup-builddir: Permission denied You appear to be running Yocto on external media and your system has likely mounted it with the noexec flags to prevent malicious programs. You'll want to remount it with the exec flag, using mount -o exec,remount /media/kashyap/3E0800DC08009555 should do the trick. Ross -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
[yocto] (no subject)
Hello Community, This is my first question please excuse if I'm making a silly mistake. I am just starting learning the yocto project to develop custom linux os. I was following the few commands to download and setup poky on my build system from the quick start guide at . $ git clone http://git.yoctoproject.org/git/poky $ cd poky $ git checkout -b daisy origin/daisy $ source oe-init-build-env Executing the last line gives me the following issue kashyap@Kashyap-VAIO:/media/kashyap/3E0800DC08009555/yocto/poky$ ls bitbakemeta-selftest oe-init-build-env scripts documentation meta-skeleton oe-init-build-env-memres LICENSEmeta-yocto README meta meta-yocto-bsp README.hardware kashyap@Kashyap-VAIO:/media/kashyap/3E0800DC08009555/yocto/poky$ source oe-init-build-env bash: /media/kashyap/3E0800DC08009555/yocto/poky/scripts/oe-setup-builddir: Permission denied kashyap@Kashyap-VAIO:/media/kashyap/3E0800DC08009555/yocto/poky$ I tried searching over the internet about the possible issues but couldn't figure out the problem here. Anyone please help. -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
[yocto] Source Command Permission Denied
Hello Community, This is my first question please excuse if I'm making a silly mistake. I am just starting learning the yocto project to develop custom linux os. I was following the few commands to download and setup poky on my build system from the quick start guide at . $ git clone http://git.yoctoproject.org/git/poky $ cd poky $ git checkout -b daisy origin/daisy $ source oe-init-build-env Executing the last line gives me the following issue kashyap@Kashyap-VAIO:/media/kashyap/3E0800DC08009555/yocto/poky$ ls bitbakemeta-selftest oe-init-build-env scripts documentation meta-skeleton oe-init-build-env-memres LICENSEmeta-yocto README meta meta-yocto-bsp README.hardware kashyap@Kashyap-VAIO:/media/kashyap/3E0800DC08009555/yocto/poky$ source oe-init-build-env bash: /media/kashyap/3E0800DC08009555/yocto/poky/scripts/oe-setup-builddir: Permission denied kashyap@Kashyap-VAIO:/media/kashyap/3E0800DC08009555/yocto/poky$ I tried searching over the internet about the possible issues but couldn't figure out the problem here. Anyone please help. -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto