[yocto] Distro vs. Image

2014-12-22 Thread Leo Schwab
Up to this point, all our builds for our prototypes have been image builds, i.e. we built an image recipe starting with packagegroup-core-boot, and it's accreted from there. We write the resulting .sdcard image file to an SD card and boot from that. Now we would like to create an installer

[yocto] Herp-a-Derp Alert: Changes to SRCREV Unpack Wrong Version

2014-09-24 Thread Leo Schwab
I suspect this is a common issue, but my Google-fu has gotten me no closer to understanding what I might be doing wrong, so here goes: We have written recipes for various goodies -- both .bb and .bbappend forms -- where SRC_URI points to a Git repository, and SRCREV names a commit ID (not a tag

Re: [yocto] Integrating Golang

2014-04-17 Thread Leo Schwab
On Thu, Apr 17, 2014 at 1:49 AM, Martin Donnelly martin.donne...@ge.com wrote: On 05/03/2014 21:55, Leo Schwab wrote: Has anyone else done any work here? Is there anything that I can steal^H^H^H^H^Htake inspiration from? Or am I in completely unexplored territory? I posted an RFC patch set

[yocto] Integrating Golang

2014-03-05 Thread Leo Schwab
We have gotten it into our minds to write some of the apps on our device in Go, a shiny new compiled language from Google ( http://golang.org/ ). However, Go has very -- shall we say -- independent ideas about how to organize, fetch, build, and deploy code which would, at first glance, appear to

[yocto] FILESPATH Search Order Changed?

2013-11-15 Thread Leo Schwab
I'm working on transitioning from 'dylan' to the 'dora' branch for our Freescale-based project, and suddenly my kernel is building with the wrong config. I've isolated it to a change in (what I presume is) the FILESPATH search order, and shows up very plainly when looking at the log.do_unpack

[yocto] Adding Custom Files to Build

2013-10-31 Thread Leo Schwab
This may seem rather basic, but something that I haven't been able to find any clear discussion on is how to add or modify files in the final rootfs image. We have customized versions of /etc/network/interfaces and /etc/wpa_supplicant.conf, with more to come. Right now I've been adding them by

Re: [yocto] Adding Custom Files to Build

2013-10-31 Thread Leo Schwab
On Thu, Oct 31, 2013 at 1:32 PM, Martin Jansa martin.ja...@gmail.com wrote: Creating .bbappends is the right direction, you just need to read a bit more docs (hint: FILESEXTRAPATHS_prepend := ${THISDIR}/${PN}:) That helped! I've got my customized files injected into the build now. Thank you

[yocto] How Does Yocto Fill In UBOOT_MACHINE?

2013-08-15 Thread Leo Schwab
Two months ago I never heard of Yocto -- now I are one. I'm attempting to create a layer and pile of recipes that will allow us to adapt Freescale's i.MX support to our custom board. Right now we're starting out with one of their evaluation boards, but will eventually transition to our own. In

Re: [yocto] How Does Yocto Fill In UBOOT_MACHINE?

2013-08-15 Thread Leo Schwab
Thank you for replying: On Thu, Aug 15, 2013 at 11:39 AM, Saul Wold s...@linux.intel.com wrote: On 08/15/2013 11:15 AM, Leo Schwab wrote: ...Except I never told it to build 'ourboard'; I haven't modified conf/machine/ourboard.conf yet. It should still be building mx6dl_sabresd_config. So

Re: [yocto] How Does Yocto Fill In UBOOT_MACHINE?

2013-08-15 Thread Leo Schwab
On Thu, Aug 15, 2013 at 12:41 PM, Saul Wold s...@linux.intel.com wrote: What version of oe-core / bitbake are you working with? Umm... Is 'dylan' a meaningful answer? Sound likeyou are trying a clean build, you could just try bitbake -e u-boot without doing a full build and check those two

Re: [yocto] How Does Yocto Fill In UBOOT_MACHINE?

2013-08-15 Thread Leo Schwab
On Thu, Aug 15, 2013 at 1:21 PM, Leo Schwab lsch...@sensity.com wrote: Still not entirely clear why the results differ. I still haven't figured out why those two runs are different, but I think I see what I might have done wrong with the .bbappend file. Put briefly: I copy-pasted Freescale's