Date   

Re: Build error while following Appendix A. Yocto Project Development manual

Robert P. J. Day
 

... all of tom's stuff snipped ...

ok, based on combining everything in the last several posts, my
build for core-image-sato for the new "mymachine" bsp just finished
successfully on my 64-bit ubuntu 11.10 system. happy, happy, joy,
joy. must write this all down somewhere. :-)

rday

--

========================================================================
Robert P. J. Day Ottawa, Ontario, CANADA
http://crashcourse.ca

Twitter: http://twitter.com/rpjday
LinkedIn: http://ca.linkedin.com/in/rpjday
========================================================================


Re: Build error while following Appendix A. Yocto Project Development manual

Jim Abernathy
 

okay, what you mentioned as the steps below, I agree with, but a couple
I don't understand. first, in the linux-yocto_3.0.bbappend file, why is
the KMACHINE statement changed to common-pc/atom-pc? If I look st eh
section of the doc in A.5.2.4 talking about going to
cgit/cgit.cgi/linux-yocto-3.0 to get the latest commit strings, I see
that it agrees with the path in #2, but not sure why??

Second, I looked at your cat of the same file containing the SRCREV
commit strings and I don't see that they agree with the commits on the
website even just this morning. Can you explain that? Should I just use
the ones in your cat output or eventually the corrected Dev. Manual?

Jim A

On Tue, 2011-11-01 at 19:45 -0500, Tom Zanussi wrote:
Hi James,

I'm still not sure what happened in your case to cause this problem, but
I just went through the Appendix A example pretty much as described, and
got a good build out of it. There was one particular part of the
example that wasn't exactly clear and that could definitely cause some
build problems if you did it incorrectly (the section that makes changes
to linux-yocto_3.0.bbappend, which in the example has a custom branch in
the .bbappend file, but has the explanation using atom-pc).

I'll work with Scott to make sure that part gets cleaned up, along with
the other comments that should get pulled in, but in the meantime, I
captured the steps I used below, which should work in the same way for
you.

trz@elmorro:/usr/local/dev/yocto$ mkdir bsp-test; cd bsp-test
trz@elmorro:/usr/local/dev/yocto/bsp-test$ git clone git://git.yoctoproject.org/poky
trz@elmorro:/usr/local/dev/yocto/bsp-test$ cd poky
trz@elmorro:/usr/local/dev/yocto/bsp-test/poky$ git checkout -b edison origin/edison
trz@elmorro:/usr/local/dev/yocto/bsp-test/poky$ git clone git://git.yoctoproject.org/meta-intel.git
trz@elmorro:/usr/local/dev/yocto/bsp-test/poky$ cd meta-intel
trz@elmorro:/usr/local/dev/yocto/bsp-test/poky/meta-intel$ git checkout -b edison origin/edison
trz@elmorro:/usr/local/dev/yocto/bsp-test/poky/meta-intel$ cp -a meta-crownbay/ meta-mymachine
trz@elmorro:/usr/local/dev/yocto/bsp-test/poky/meta-intel$ rm meta-mymachine/conf/machine/crownbay.conf
trz@elmorro:/usr/local/dev/yocto/bsp-test/poky/meta-intel$ mv meta-mymachine/conf/machine/crownbay-noemgd.conf meta-mymachine/conf/machine/mymachine.conf
trz@elmorro:/usr/local/dev/yocto/bsp-test/poky/meta-intel$ rm -rf meta-mymachine/recipes-bsp/formfactor/formfactor/crownbay/
trz@elmorro:/usr/local/dev/yocto/bsp-test/poky/meta-intel$ mv meta-mymachine/recipes-bsp/formfactor/formfactor/crownbay-noemgd meta-mymachine/recipes-bsp/formfactor/formfactor/mymachine
trz@elmorro:/usr/local/dev/yocto/bsp-test/poky/meta-intel$ rm -rf meta-mymachine/recipes-graphics/xorg-xserver/xserver-xf86-config/crownbay

----
The Developer's Manual seems to want to base the BSP on atom-pc for
this example, so we need to specify the atom-pc branch and get the
SRCREVs for atom-pc or the step that modifies the
linux-yocto_3.0.bbappend. So in
meta-yocto/recipes-kernel/linux/linux-yocto_3.0.bbappend, we find both
the KMACHINE branch we need, and the SRCREV on that branch we need for
edison. Since that doesn't specify the meta branch, but the base
recipe does, we can look at the SRCREV_meta there
(meta/recipes-kernel/linux/linux-yocto_3.0.bb) for the SRCREV of the
meta branch, which already matches what we're using, so no change
needed there.

Here's the resulting linux-yocto_3.0.bbappend:

trz@elmorro:/usr/local/dev/yocto/bsp-test/poky/meta-intel$ cat meta-mymachine/recipes-kernel/linux/linux-yocto_3.0.bbappend

FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"

COMPATIBLE_MACHINE_mymachine = "mymachine"
KMACHINE_mymachine = "yocto/standard/common-pc/atom-pc"
KERNEL_FEATURES_append_mymachine += " cfg/smp.scc"

SRCREV_machine_pn-linux-yocto_mymachine ?= "1e18e44adbe79b846e382370eb29bc4b8cd5a1a0"
SRCREV_meta_pn-linux-yocto_mymachine ?= "d05450e4aef02c1b7137398ab3a9f8f96da74f52"

----

trz@elmorro:/usr/local/dev/yocto/bsp-test/poky$ source oe-init-build-env
trz@elmorro:/usr/local/dev/yocto/bsp-test/poky$ bitbake core-image-sato

NOTE: Tasks Summary: Attempted 4426 tasks of which 247 didn't need to be rerun and 0 failed.
trz@elmorro:/usr/local/dev/yocto/bsp-test/poky/build


Tom


On Tue, 2011-11-01 at 12:48 -0700, James Abernathy wrote:
Just to clear up the basics, Prior to following Appendix A verbatim, I
did the following
1. install prerequisites from GS guide
2. git clone git://git.yoctoproject.org/poky
3. cd poky
4. git clone git://git.yoctoproject.org/meta-intel.git

I did not install the poky-extras. I assumed it only had to be
installed if you installed the kernel source for modification like in
Appendix b

Jim a




On Tue, Nov 1, 2011 at 3:40 PM, Tom Zanussi <tom.zanussi@...>
wrote:
Hi,

On Tue, 2011-11-01 at 11:37 -0700, James Abernathy wrote:
> I tried to duplicate the Yocto Project Decelopment Manual
Appendix A
> build of a Crownbay NOEMGD image, no changes just dulicate
the
> instructions. This is using the latest Yocto 1.1. I did
get a long
> way down the line, but had a fatal error in the last 2
steps.
>
> The only change I had to make was related to A.5.2.4. The
commit
> string for the SRCREV_meta_pn was different on the
> git.yoctoproject.org/cgit/cgi for the Meta commit so I used
what I
> found online. The first section of 126 task completed
without error.
> The next section of 4394 tasks failed on 4393. Not sure if
the error
> is obvious, but I wanted to run it by someone. Console error
log
> below:
>


Hmm, not sure what's going on here - I'm sure this example was
verified
several times, but just to make sure, what you're doing is
going through
'Appendix A. BSP Development Example' verbatim and getting
this?

The SRCREVs in either case look ok for this, so that shouldn't
be the
problem...

But let me go over the steps myself and see what I come up
with - will
let you know either way...

Tom


> NOTE: package core-image-sato-1.0-r0: task do_bootimg:
Started
> ERROR: Function 'build_boot_bin' failed
>
(see /home/jim/poky/yocto-build/tmp/work/mymachine-poky-linux/core-image-sato-1.0-r0/temp/log.do_bootimg.31418 for further information)
> ERROR: Logfile of failure stored
>
in: /home/jim/poky/yocto-build/tmp/work/mymachine-poky-linux/core-image-sato-1.0-r0/temp/log.do_bootimg.31418
> Log data follows:
> | install: cannot stat
>
`/home/jim/poky/yocto-build/tmp/sysroots/mymachine/kernel/bzImage': No
> such file or directory
> | ERROR: Function 'build_boot_bin' failed
>
(see /home/jim/poky/yocto-build/tmp/work/mymachine-poky-linux/core-image-sato-1.0-r0/temp/log.do_bootimg.31418 for further information)
> NOTE: package core-image-sato-1.0-r0: task do_bootimg:
Failed
> ERROR: Task 9
> (/home/jim/poky/meta/recipes-sato/images/core-image-sato.bb,
> do_bootimg) failed with exit code '1'
> ERROR:
'/home/jim/poky/meta/recipes-sato/images/core-image-sato.bb'
> failed
> jim@jim-ubuntu-10:~/poky/yocto-build$
>




Re: Build error while following Appendix A. Yocto Project Development manual

Tom Zanussi <tom.zanussi@...>
 

On Wed, 2011-11-02 at 05:19 -0700, Robert P. J. Day wrote:
just to clarify any overlooked issues ...

On Tue, 1 Nov 2011, Tom Zanussi wrote:

... I captured the steps I used below, which should work in the same
way for you.

trz@elmorro:/usr/local/dev/yocto$ mkdir bsp-test; cd bsp-test
trz@elmorro:/usr/local/dev/yocto/bsp-test$ git clone git://git.yoctoproject.org/poky
trz@elmorro:/usr/local/dev/yocto/bsp-test$ cd poky
trz@elmorro:/usr/local/dev/yocto/bsp-test/poky$ git checkout -b edison origin/edison
trz@elmorro:/usr/local/dev/yocto/bsp-test/poky$ git clone git://git.yoctoproject.org/meta-intel.git
trz@elmorro:/usr/local/dev/yocto/bsp-test/poky$ cd meta-intel
trz@elmorro:/usr/local/dev/yocto/bsp-test/poky/meta-intel$ git checkout -b edison origin/edison
trz@elmorro:/usr/local/dev/yocto/bsp-test/poky/meta-intel$ cp -a meta-crownbay/ meta-mymachine
trz@elmorro:/usr/local/dev/yocto/bsp-test/poky/meta-intel$ rm meta-mymachine/conf/machine/crownbay.conf
trz@elmorro:/usr/local/dev/yocto/bsp-test/poky/meta-intel$ mv meta-mymachine/conf/machine/crownbay-noemgd.conf meta-mymachine/conf/machine/mymachine.conf
should one still change the NAME or DESCRIPTION comments in that new
mymachine.conf file to reflect "mymachine" as the dev-manual suggests,
or can one just leave them referring to crownbay? recall that the
current dev-manual claims that you "need" to make those changes. if
you don't, that claim should be softened.
Right, not strictly needed, only for consistency, so the language should
be softened, I agree.

also, there's no mention of editing "layer.conf" to reflect
"mymachine" as directed in dev-manual:

BBFILE_COLLECTIONS += "mymachine"

should that not be done? again, the current dev-manual states that
that change is "needed".
That is needed, but the steps that required editing files aren't easily
captured in a transcript, so I didn't capture those, but they are still
required. I should have added a <do editing step xxx from the doc here>
to make that clear, though I did mention that other than the
kernel .bbappend, the steps I went through were pretty much as
described. Anyway, hopefully we can get the changes from this thread in
the doc and it will then all fit together.

trz@elmorro:/usr/local/dev/yocto/bsp-test/poky/meta-intel$ rm -rf meta-mymachine/recipes-bsp/formfactor/formfactor/crownbay/
trz@elmorro:/usr/local/dev/yocto/bsp-test/poky/meta-intel$ mv meta-mymachine/recipes-bsp/formfactor/formfactor/crownbay-noemgd meta-mymachine/recipes-bsp/formfactor/formfactor/mymachine
trz@elmorro:/usr/local/dev/yocto/bsp-test/poky/meta-intel$ rm -rf meta-mymachine/recipes-graphics/xorg-xserver/xserver-xf86-config/crownbay
don't you also have to rename "crownbay-noemgd/" to "mymachine/"
under that recipes-graphics/ directory as well, as the dev-manual
directs? you don't mention that here. you also don't mention making
Right, I missed that step. It still builds, though there would be
problems with X at runtime due to this.

editing changes to recipes-core/tasks/task-core-tools.bbappend as
dev-manual suggests. not necessary?
Yes, necessary, again, I didn't add the notes about editing.

Tom

Here's the resulting linux-yocto_3.0.bbappend:

trz@elmorro:/usr/local/dev/yocto/bsp-test/poky/meta-intel$ cat meta-mymachine/recipes-kernel/linux/linux-yocto_3.0.bbappend

FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"

COMPATIBLE_MACHINE_mymachine = "mymachine"
KMACHINE_mymachine = "yocto/standard/common-pc/atom-pc"
KERNEL_FEATURES_append_mymachine += " cfg/smp.scc"

SRCREV_machine_pn-linux-yocto_mymachine ?= "1e18e44adbe79b846e382370eb29bc4b8cd5a1a0"
SRCREV_meta_pn-linux-yocto_mymachine ?= "d05450e4aef02c1b7137398ab3a9f8f96da74f52"
ok, just took that verbatim.

trz@elmorro:/usr/local/dev/yocto/bsp-test/poky$ source oe-init-build-env
trz@elmorro:/usr/local/dev/yocto/bsp-test/poky$ bitbake core-image-sato

NOTE: Tasks Summary: Attempted 4426 tasks of which 247 didn't need to be rerun and 0 failed.
trz@elmorro:/usr/local/dev/yocto/bsp-test/poky/build
other than sourcing from one directory level up and making the
appropriate changes in conf/local.conf to refer to "mymachine", no
difference here. just started the build ...

rday


[PATCH] oprofileui: allow build of server without X libs

Paul Eggleton
 

Fix the configure script to allow oprofile-server to be built
standalone (without needing GTK+ and other X-requiring libraries)

Signed-off-by: Paul Eggleton <paul.eggleton@...>
---
configure.ac | 15 +++++++++++----
1 files changed, 11 insertions(+), 4 deletions(-)

diff --git a/configure.ac b/configure.ac
index d49952e..2a7010b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -29,9 +29,11 @@ AC_ARG_ENABLE(client,
AM_CONDITIONAL(ENABLE_SERVER, test x$enable_server = xyes)
AM_CONDITIONAL(ENABLE_CLIENT, test x$enable_client = xyes)

-PKG_CHECK_MODULES(OPROFILEUI, [glib-2.0 libglade-2.0 gtk+-2.0 libxml-2.0 gconf-2.0])
-AC_SUBST(OPROFILEUI_CFLAGS)
-AC_SUBST(OPROFILEUI_LIBS)
+AS_IF([test "x$enable_client" = "xyes"], [
+ PKG_CHECK_MODULES(OPROFILEUI, [glib-2.0 libglade-2.0 gtk+-2.0 libxml-2.0 gconf-2.0])
+ AC_SUBST(OPROFILEUI_CFLAGS)
+ AC_SUBST(OPROFILEUI_LIBS)
+])

PKG_CHECK_MODULES(OPROFILE_SERVER, [glib-2.0])
AC_SUBST(OPROFILE_SERVER_CFLAGS)
@@ -41,7 +43,12 @@ AC_ARG_WITH(avahi,
[AC_HELP_STRING([--with-avahi], [Use Avahi to announce and search for OProfile servers])],
with_avahi="$withval", with_avahi=no)
if test $with_avahi = "yes"; then
- PKG_CHECK_MODULES(AVAHI, [avahi-client avahi-glib avahi-ui])
+ AS_IF([test "x$enable_client" = "xyes"], [
+ PKG_CHECK_MODULES(AVAHI, [avahi-client avahi-glib avahi-ui])
+ ],[
+ PKG_CHECK_MODULES(AVAHI, [avahi-client avahi-glib])
+ ])
+
AC_DEFINE_UNQUOTED(WITH_AVAHI, [1], [Using Avahi])
fi
AM_CONDITIONAL(WITH_AVAHI, test x$with_avahi = xyes)
--
1.7.5.4


Re: Build error while following Appendix A. Yocto Project Development manual

Robert P. J. Day
 

just to clarify any overlooked issues ...

On Tue, 1 Nov 2011, Tom Zanussi wrote:

... I captured the steps I used below, which should work in the same
way for you.

trz@elmorro:/usr/local/dev/yocto$ mkdir bsp-test; cd bsp-test
trz@elmorro:/usr/local/dev/yocto/bsp-test$ git clone git://git.yoctoproject.org/poky
trz@elmorro:/usr/local/dev/yocto/bsp-test$ cd poky
trz@elmorro:/usr/local/dev/yocto/bsp-test/poky$ git checkout -b edison origin/edison
trz@elmorro:/usr/local/dev/yocto/bsp-test/poky$ git clone git://git.yoctoproject.org/meta-intel.git
trz@elmorro:/usr/local/dev/yocto/bsp-test/poky$ cd meta-intel
trz@elmorro:/usr/local/dev/yocto/bsp-test/poky/meta-intel$ git checkout -b edison origin/edison
trz@elmorro:/usr/local/dev/yocto/bsp-test/poky/meta-intel$ cp -a meta-crownbay/ meta-mymachine
trz@elmorro:/usr/local/dev/yocto/bsp-test/poky/meta-intel$ rm meta-mymachine/conf/machine/crownbay.conf
trz@elmorro:/usr/local/dev/yocto/bsp-test/poky/meta-intel$ mv meta-mymachine/conf/machine/crownbay-noemgd.conf meta-mymachine/conf/machine/mymachine.conf
should one still change the NAME or DESCRIPTION comments in that new
mymachine.conf file to reflect "mymachine" as the dev-manual suggests,
or can one just leave them referring to crownbay? recall that the
current dev-manual claims that you "need" to make those changes. if
you don't, that claim should be softened.

also, there's no mention of editing "layer.conf" to reflect
"mymachine" as directed in dev-manual:

BBFILE_COLLECTIONS += "mymachine"

should that not be done? again, the current dev-manual states that
that change is "needed".

trz@elmorro:/usr/local/dev/yocto/bsp-test/poky/meta-intel$ rm -rf meta-mymachine/recipes-bsp/formfactor/formfactor/crownbay/
trz@elmorro:/usr/local/dev/yocto/bsp-test/poky/meta-intel$ mv meta-mymachine/recipes-bsp/formfactor/formfactor/crownbay-noemgd meta-mymachine/recipes-bsp/formfactor/formfactor/mymachine
trz@elmorro:/usr/local/dev/yocto/bsp-test/poky/meta-intel$ rm -rf meta-mymachine/recipes-graphics/xorg-xserver/xserver-xf86-config/crownbay
don't you also have to rename "crownbay-noemgd/" to "mymachine/"
under that recipes-graphics/ directory as well, as the dev-manual
directs? you don't mention that here. you also don't mention making
editing changes to recipes-core/tasks/task-core-tools.bbappend as
dev-manual suggests. not necessary?

Here's the resulting linux-yocto_3.0.bbappend:

trz@elmorro:/usr/local/dev/yocto/bsp-test/poky/meta-intel$ cat meta-mymachine/recipes-kernel/linux/linux-yocto_3.0.bbappend

FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"

COMPATIBLE_MACHINE_mymachine = "mymachine"
KMACHINE_mymachine = "yocto/standard/common-pc/atom-pc"
KERNEL_FEATURES_append_mymachine += " cfg/smp.scc"

SRCREV_machine_pn-linux-yocto_mymachine ?= "1e18e44adbe79b846e382370eb29bc4b8cd5a1a0"
SRCREV_meta_pn-linux-yocto_mymachine ?= "d05450e4aef02c1b7137398ab3a9f8f96da74f52"
ok, just took that verbatim.

trz@elmorro:/usr/local/dev/yocto/bsp-test/poky$ source oe-init-build-env
trz@elmorro:/usr/local/dev/yocto/bsp-test/poky$ bitbake core-image-sato

NOTE: Tasks Summary: Attempted 4426 tasks of which 247 didn't need to be rerun and 0 failed.
trz@elmorro:/usr/local/dev/yocto/bsp-test/poky/build
other than sourcing from one directory level up and making the
appropriate changes in conf/local.conf to refer to "mymachine", no
difference here. just started the build ...

rday

--

========================================================================
Robert P. J. Day Ottawa, Ontario, CANADA
http://crashcourse.ca

Twitter: http://twitter.com/rpjday
LinkedIn: http://ca.linkedin.com/in/rpjday
========================================================================


Re: Build error while following Appendix A. Yocto Project Development manual

Tom Zanussi <tom.zanussi@...>
 

Hi James,

I'm still not sure what happened in your case to cause this problem, but
I just went through the Appendix A example pretty much as described, and
got a good build out of it. There was one particular part of the
example that wasn't exactly clear and that could definitely cause some
build problems if you did it incorrectly (the section that makes changes
to linux-yocto_3.0.bbappend, which in the example has a custom branch in
the .bbappend file, but has the explanation using atom-pc).

I'll work with Scott to make sure that part gets cleaned up, along with
the other comments that should get pulled in, but in the meantime, I
captured the steps I used below, which should work in the same way for
you.

trz@elmorro:/usr/local/dev/yocto$ mkdir bsp-test; cd bsp-test
trz@elmorro:/usr/local/dev/yocto/bsp-test$ git clone git://git.yoctoproject.org/poky
trz@elmorro:/usr/local/dev/yocto/bsp-test$ cd poky
trz@elmorro:/usr/local/dev/yocto/bsp-test/poky$ git checkout -b edison origin/edison
trz@elmorro:/usr/local/dev/yocto/bsp-test/poky$ git clone git://git.yoctoproject.org/meta-intel.git
trz@elmorro:/usr/local/dev/yocto/bsp-test/poky$ cd meta-intel
trz@elmorro:/usr/local/dev/yocto/bsp-test/poky/meta-intel$ git checkout -b edison origin/edison
trz@elmorro:/usr/local/dev/yocto/bsp-test/poky/meta-intel$ cp -a meta-crownbay/ meta-mymachine
trz@elmorro:/usr/local/dev/yocto/bsp-test/poky/meta-intel$ rm meta-mymachine/conf/machine/crownbay.conf
trz@elmorro:/usr/local/dev/yocto/bsp-test/poky/meta-intel$ mv meta-mymachine/conf/machine/crownbay-noemgd.conf meta-mymachine/conf/machine/mymachine.conf
trz@elmorro:/usr/local/dev/yocto/bsp-test/poky/meta-intel$ rm -rf meta-mymachine/recipes-bsp/formfactor/formfactor/crownbay/
trz@elmorro:/usr/local/dev/yocto/bsp-test/poky/meta-intel$ mv meta-mymachine/recipes-bsp/formfactor/formfactor/crownbay-noemgd meta-mymachine/recipes-bsp/formfactor/formfactor/mymachine
trz@elmorro:/usr/local/dev/yocto/bsp-test/poky/meta-intel$ rm -rf meta-mymachine/recipes-graphics/xorg-xserver/xserver-xf86-config/crownbay

----
The Developer's Manual seems to want to base the BSP on atom-pc for
this example, so we need to specify the atom-pc branch and get the
SRCREVs for atom-pc or the step that modifies the
linux-yocto_3.0.bbappend. So in
meta-yocto/recipes-kernel/linux/linux-yocto_3.0.bbappend, we find both
the KMACHINE branch we need, and the SRCREV on that branch we need for
edison. Since that doesn't specify the meta branch, but the base
recipe does, we can look at the SRCREV_meta there
(meta/recipes-kernel/linux/linux-yocto_3.0.bb) for the SRCREV of the
meta branch, which already matches what we're using, so no change
needed there.

Here's the resulting linux-yocto_3.0.bbappend:

trz@elmorro:/usr/local/dev/yocto/bsp-test/poky/meta-intel$ cat meta-mymachine/recipes-kernel/linux/linux-yocto_3.0.bbappend

FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"

COMPATIBLE_MACHINE_mymachine = "mymachine"
KMACHINE_mymachine = "yocto/standard/common-pc/atom-pc"
KERNEL_FEATURES_append_mymachine += " cfg/smp.scc"

SRCREV_machine_pn-linux-yocto_mymachine ?= "1e18e44adbe79b846e382370eb29bc4b8cd5a1a0"
SRCREV_meta_pn-linux-yocto_mymachine ?= "d05450e4aef02c1b7137398ab3a9f8f96da74f52"

----

trz@elmorro:/usr/local/dev/yocto/bsp-test/poky$ source oe-init-build-env
trz@elmorro:/usr/local/dev/yocto/bsp-test/poky$ bitbake core-image-sato

NOTE: Tasks Summary: Attempted 4426 tasks of which 247 didn't need to be rerun and 0 failed.
trz@elmorro:/usr/local/dev/yocto/bsp-test/poky/build


Tom

On Tue, 2011-11-01 at 12:48 -0700, James Abernathy wrote:
Just to clear up the basics, Prior to following Appendix A verbatim, I
did the following
1. install prerequisites from GS guide
2. git clone git://git.yoctoproject.org/poky
3. cd poky
4. git clone git://git.yoctoproject.org/meta-intel.git

I did not install the poky-extras. I assumed it only had to be
installed if you installed the kernel source for modification like in
Appendix b

Jim a




On Tue, Nov 1, 2011 at 3:40 PM, Tom Zanussi <tom.zanussi@...>
wrote:
Hi,

On Tue, 2011-11-01 at 11:37 -0700, James Abernathy wrote:
> I tried to duplicate the Yocto Project Decelopment Manual
Appendix A
> build of a Crownbay NOEMGD image, no changes just dulicate
the
> instructions. This is using the latest Yocto 1.1. I did
get a long
> way down the line, but had a fatal error in the last 2
steps.
>
> The only change I had to make was related to A.5.2.4. The
commit
> string for the SRCREV_meta_pn was different on the
> git.yoctoproject.org/cgit/cgi for the Meta commit so I used
what I
> found online. The first section of 126 task completed
without error.
> The next section of 4394 tasks failed on 4393. Not sure if
the error
> is obvious, but I wanted to run it by someone. Console error
log
> below:
>


Hmm, not sure what's going on here - I'm sure this example was
verified
several times, but just to make sure, what you're doing is
going through
'Appendix A. BSP Development Example' verbatim and getting
this?

The SRCREVs in either case look ok for this, so that shouldn't
be the
problem...

But let me go over the steps myself and see what I come up
with - will
let you know either way...

Tom


> NOTE: package core-image-sato-1.0-r0: task do_bootimg:
Started
> ERROR: Function 'build_boot_bin' failed
>
(see /home/jim/poky/yocto-build/tmp/work/mymachine-poky-linux/core-image-sato-1.0-r0/temp/log.do_bootimg.31418 for further information)
> ERROR: Logfile of failure stored
>
in: /home/jim/poky/yocto-build/tmp/work/mymachine-poky-linux/core-image-sato-1.0-r0/temp/log.do_bootimg.31418
> Log data follows:
> | install: cannot stat
>
`/home/jim/poky/yocto-build/tmp/sysroots/mymachine/kernel/bzImage': No
> such file or directory
> | ERROR: Function 'build_boot_bin' failed
>
(see /home/jim/poky/yocto-build/tmp/work/mymachine-poky-linux/core-image-sato-1.0-r0/temp/log.do_bootimg.31418 for further information)
> NOTE: package core-image-sato-1.0-r0: task do_bootimg:
Failed
> ERROR: Task 9
> (/home/jim/poky/meta/recipes-sato/images/core-image-sato.bb,
> do_bootimg) failed with exit code '1'
> ERROR:
'/home/jim/poky/meta/recipes-sato/images/core-image-sato.bb'
> failed
> jim@jim-ubuntu-10:~/poky/yocto-build$
>




[PATCH] Small number of obvious fixes to BSP appendix in dev manual

Robert P. J. Day
 

Some fairly straightforward to Appendix A: BSP Development Example
in the Yocto Project Development Manual:

* Remove obsolete commands
* Fix spelling mistakes.

Signed-off-by: Robert P. J. Day <rpjday@...>

---

there are more changes i want to make, but this first pass should
represent changes that are absolute no-brainers.

diff --git a/documentation/dev-manual/dev-manual-bsp-appendix.xml b/documentation/dev-manual/dev-manual-bsp-appendix.xml
index 485064d..32cd62d 100644
--- a/documentation/dev-manual/dev-manual-bsp-appendix.xml
+++ b/documentation/dev-manual/dev-manual-bsp-appendix.xml
@@ -232,7 +232,6 @@
the remaining one that doesn't support EMGD.
These commands take care of the <filename>recipes-bsp</filename> recipes:
<literallayout class='monospaced'>
- $ rm -rf meta-mymachine/recipes-graphics/xorg-xserver/*emgd*
$ mv meta-mymachine/recipes-bsp/formfactor/formfactor/crownbay-noemgd/ \
meta-mymachine/recipes-bsp/formfactor/formfactor/mymachine
</literallayout>
@@ -248,7 +247,6 @@
be sure to rename remaining directories appropriately.
The following commands clean up the <filename>recipes-graphics</filename> directory:
<literallayout class='monospaced'>
- $ rm -rf meta-mymachine/recipes-graphics/xorg-xserver/xserver-xf86-emgd*
$ rm -rf meta-mymachine/recipes-graphics/xorg-xserver/xserver-xf86-config/crownbay
$ mv meta-mymachine/recipes-graphics/xorg-xserver/xserver-xf86-config/crownbay-noemgd \
meta-mymachine/recipes-graphics/xorg-xserver/xserver-xf86-config/mymachine
@@ -420,7 +418,7 @@
statements that do not support your targeted hardware in addition to the inclusion
of any new recipes you might need.
In this example, it was simply a matter of ridding the new layer
- <filename>meta-machine</filename> of any code that supported the EMGD features
+ <filename>meta-mymachine</filename> of any code that supported the EMGD features
and making sure we were identifying the kernel that supports our example, which
is the <filename>atom-pc-standard</filename> kernel.
We did not introduce any new recipes to the layer.
@@ -455,7 +453,7 @@
Thus, entering the previous command created the <filename>yocto-build</filename> directory.
If you do not provide a name for the build directory it defaults to
<filename>build</filename>.
- The <filename>yocot-build</filename> directory contains a
+ The <filename>yocto-build</filename> directory contains a
<filename>conf</filename> directory that has
two configuration files you will need to check: <filename>bblayers.conf</filename>
and <filename>local.conf</filename>.</para></listitem>

--

========================================================================
Robert P. J. Day Ottawa, Ontario, CANADA
http://crashcourse.ca

Twitter: http://twitter.com/rpjday
LinkedIn: http://ca.linkedin.com/in/rpjday
========================================================================


Re: Build error while following Appendix A. Yocto Project Development manual

Robert P. J. Day
 

On Tue, 1 Nov 2011, Tom Zanussi wrote:

... snip ...

Or at least that's what I'm building now. I'll post the full transcript
assuming I get a good build out of it...
i'm also into task 301 of 4426 of a build on my wicked cool,
quad-core ASUS laptop. i don't think this is going to take long.
more later ...

rday

--

========================================================================
Robert P. J. Day Ottawa, Ontario, CANADA
http://crashcourse.ca

Twitter: http://twitter.com/rpjday
LinkedIn: http://ca.linkedin.com/in/rpjday
========================================================================


Re: Build error while following Appendix A. Yocto Project Development manual

Tom Zanussi <tom.zanussi@...>
 

On Tue, 2011-11-01 at 15:47 -0700, Robert P. J. Day wrote:
some questions/observations as i'm getting close to the end of this
appendix (some of which you've already seen and addressed), all done
on my 64-bit ubuntu 11.10 system:

* section A.3: rather than force the reader to follow a link or go
to an earlier section, why not just supply the command to check out
meta-intel/?

$ git clone http://git.yoctoproject.org/cgit/cgit.cgi/meta-intel
Makes sense to me. Also, the same comment would apply to the main poky
repo as well.

* section A.5.1: is it actually *necessary* to delete the
crownbay.conf file, and to change the comments in the mymachine.conf
file? admittedly, it's nice to keep things consistent, but if the
text claims that something is "needed", then it really should be
required.
No, not strictly necessary, but assuming you're using these instructions
to create a new BSP, definitely desirable.


* section A.5.2.1: as we've noted, that first command can be tossed.
in addition, should one remove the "crownbay" directory from that
location? since "crownbay" content is being removed from other
locations, it would be nice to be consistent.

* section A.5.2.2: delete first command
I think that's right.

* section A.5.2.4: the "SRCREV_meta" values listed in the appendix
don't match what's in the actual file. so what are the correct
values?
Well, this example seems to assume you want to base it on the atom-pc
branch, so I guess we should use the value for that branch in meta-yocto
(meta-yocto/recipes-kernel/linux/linux-yocto_3.0.bbappend). The meta
branch SRCREV should be inherited from the main recipe
(meta/recipes-kernel/linux/linux-yocto_3.0.bb) which looks like it
matches the current value and doesn't need to be changed.

Or at least that's what I'm building now. I'll post the full transcript
assuming I get a good build out of it...

Tom

... back to work ...

rday


Re: Build error while following Appendix A. Yocto Project Development manual

Robert P. J. Day
 

some questions/observations as i'm getting close to the end of this
appendix (some of which you've already seen and addressed), all done
on my 64-bit ubuntu 11.10 system:

* section A.3: rather than force the reader to follow a link or go
to an earlier section, why not just supply the command to check out
meta-intel/?

$ git clone http://git.yoctoproject.org/cgit/cgit.cgi/meta-intel

* section A.5.1: is it actually *necessary* to delete the
crownbay.conf file, and to change the comments in the mymachine.conf
file? admittedly, it's nice to keep things consistent, but if the
text claims that something is "needed", then it really should be
required.

* section A.5.2.1: as we've noted, that first command can be tossed.
in addition, should one remove the "crownbay" directory from that
location? since "crownbay" content is being removed from other
locations, it would be nice to be consistent.

* section A.5.2.2: delete first command

* section A.5.2.4: the "SRCREV_meta" values listed in the appendix
don't match what's in the actual file. so what are the correct
values?

... back to work ...

rday

--

========================================================================
Robert P. J. Day Ottawa, Ontario, CANADA
http://crashcourse.ca

Twitter: http://twitter.com/rpjday
LinkedIn: http://ca.linkedin.com/in/rpjday
========================================================================


Re: Build error while following Appendix A. Yocto Project Development manual

Robert P. J. Day
 

On Tue, 1 Nov 2011, Tom Zanussi wrote:

On Tue, 2011-11-01 at 14:37 -0700, Robert P. J. Day wrote:
On Tue, 1 Nov 2011, Tom Zanussi wrote:
... snip ...

Hmm, not sure what's going on here - I'm sure this example was
verified several times, but just to make sure, what you're doing is
going through 'Appendix A. BSP Development Example' verbatim and
getting this?
ironically, i'm working on this very example and something in the
dev manual doesn't look right. section A.5.2.1:

These commands take care of the recipes-bsp recipes:

$ rm -rf meta-mymachine/recipes-graphics/xorg-xserver/*emgd*
... snip ...

why is that command referring to the recipes-graphics directory when
this section is supposed to be adjusting recipes-bsp?

or have i screwed something up?
You're right, that line shouldn't be there (it should be removed
from the instructions). The emgd recipes were moved out of
meta-crownbay and into meta-intel/common, so this step is no longer
needed.
let me finish following this through and i'll make notes on anything
else that looks odd and report back.

rday

--

========================================================================
Robert P. J. Day Ottawa, Ontario, CANADA
http://crashcourse.ca

Twitter: http://twitter.com/rpjday
LinkedIn: http://ca.linkedin.com/in/rpjday
========================================================================


Re: Build error while following Appendix A. Yocto Project Development manual

Tom Zanussi <tom.zanussi@...>
 

On Tue, 2011-11-01 at 14:46 -0700, Tom Zanussi wrote:
On Tue, 2011-11-01 at 14:37 -0700, Robert P. J. Day wrote:
On Tue, 1 Nov 2011, Tom Zanussi wrote:

Hi,

On Tue, 2011-11-01 at 11:37 -0700, James Abernathy wrote:
I tried to duplicate the Yocto Project Decelopment Manual Appendix A
build of a Crownbay NOEMGD image, no changes just dulicate the
instructions. This is using the latest Yocto 1.1. I did get a long
way down the line, but had a fatal error in the last 2 steps.

The only change I had to make was related to A.5.2.4. The commit
string for the SRCREV_meta_pn was different on the
git.yoctoproject.org/cgit/cgi for the Meta commit so I used what I
found online. The first section of 126 task completed without error.
The next section of 4394 tasks failed on 4393. Not sure if the error
is obvious, but I wanted to run it by someone. Console error log
below:
Hmm, not sure what's going on here - I'm sure this example was
verified several times, but just to make sure, what you're doing is
going through 'Appendix A. BSP Development Example' verbatim and
getting this?
ironically, i'm working on this very example and something in the
dev manual doesn't look right. section A.5.2.1:

These commands take care of the recipes-bsp recipes:

$ rm -rf meta-mymachine/recipes-graphics/xorg-xserver/*emgd*
... snip ...

why is that command referring to the recipes-graphics directory when
this section is supposed to be adjusting recipes-bsp?

or have i screwed something up?
You're right, that line shouldn't be there (it should be removed from
the instructions). The emgd recipes were moved out of meta-crownbay and
into meta-intel/common, so this step is no longer needed.
Probably what was meant was this instead:

rm -rf meta-mymachine/recipes-bsp/formfactor/formfactor/crownbay/

And of course the first line in section A.5.2.2. doesn't apply and
should be removed.

rm -rf meta-mymachine/recipes-graphics/xorg-xserver/xserver-xf86-emgd*

Tom

Tom


rday

_______________________________________________
yocto mailing list
yocto@...
https://lists.yoctoproject.org/listinfo/yocto


Re: Build error while following Appendix A. Yocto Project Development manual

Tom Zanussi <tom.zanussi@...>
 

On Tue, 2011-11-01 at 14:37 -0700, Robert P. J. Day wrote:
On Tue, 1 Nov 2011, Tom Zanussi wrote:

Hi,

On Tue, 2011-11-01 at 11:37 -0700, James Abernathy wrote:
I tried to duplicate the Yocto Project Decelopment Manual Appendix A
build of a Crownbay NOEMGD image, no changes just dulicate the
instructions. This is using the latest Yocto 1.1. I did get a long
way down the line, but had a fatal error in the last 2 steps.

The only change I had to make was related to A.5.2.4. The commit
string for the SRCREV_meta_pn was different on the
git.yoctoproject.org/cgit/cgi for the Meta commit so I used what I
found online. The first section of 126 task completed without error.
The next section of 4394 tasks failed on 4393. Not sure if the error
is obvious, but I wanted to run it by someone. Console error log
below:
Hmm, not sure what's going on here - I'm sure this example was
verified several times, but just to make sure, what you're doing is
going through 'Appendix A. BSP Development Example' verbatim and
getting this?
ironically, i'm working on this very example and something in the
dev manual doesn't look right. section A.5.2.1:

These commands take care of the recipes-bsp recipes:

$ rm -rf meta-mymachine/recipes-graphics/xorg-xserver/*emgd*
... snip ...

why is that command referring to the recipes-graphics directory when
this section is supposed to be adjusting recipes-bsp?

or have i screwed something up?
You're right, that line shouldn't be there (it should be removed from
the instructions). The emgd recipes were moved out of meta-crownbay and
into meta-intel/common, so this step is no longer needed.

Tom


rday


Re: Build error while following Appendix A. Yocto Project Development manual

Robert P. J. Day
 

On Tue, 1 Nov 2011, Tom Zanussi wrote:

Hi,

On Tue, 2011-11-01 at 11:37 -0700, James Abernathy wrote:
I tried to duplicate the Yocto Project Decelopment Manual Appendix A
build of a Crownbay NOEMGD image, no changes just dulicate the
instructions. This is using the latest Yocto 1.1. I did get a long
way down the line, but had a fatal error in the last 2 steps.

The only change I had to make was related to A.5.2.4. The commit
string for the SRCREV_meta_pn was different on the
git.yoctoproject.org/cgit/cgi for the Meta commit so I used what I
found online. The first section of 126 task completed without error.
The next section of 4394 tasks failed on 4393. Not sure if the error
is obvious, but I wanted to run it by someone. Console error log
below:
Hmm, not sure what's going on here - I'm sure this example was
verified several times, but just to make sure, what you're doing is
going through 'Appendix A. BSP Development Example' verbatim and
getting this?
ironically, i'm working on this very example and something in the
dev manual doesn't look right. section A.5.2.1:

These commands take care of the recipes-bsp recipes:

$ rm -rf meta-mymachine/recipes-graphics/xorg-xserver/*emgd*
... snip ...

why is that command referring to the recipes-graphics directory when
this section is supposed to be adjusting recipes-bsp?

or have i screwed something up?

rday

--

========================================================================
Robert P. J. Day Ottawa, Ontario, CANADA
http://crashcourse.ca

Twitter: http://twitter.com/rpjday
LinkedIn: http://ca.linkedin.com/in/rpjday
========================================================================


Re: Build error while following Appendix A. Yocto Project Development manual

Jim Abernathy
 

The odd thing is not only is the bzImage file is missing, but also is the whole kernel directory that bzImage is supposed to be locate in.
 
/home/jim/poky/yocto-build/tmp/sysroots/mymachine/kernel/bzImage

In the sysroots/mymachine/ directory there is only:
 
lib/
shlibs/
usr/
 
Jim A
 

On Tue, Nov 1, 2011 at 3:55 PM, Tom Zanussi <tom.zanussi@...> wrote:
On Tue, 2011-11-01 at 12:48 -0700, James Abernathy wrote:
> Just to clear up the basics, Prior to following Appendix A verbatim, I
> did the following
> 1. install prerequisites from GS guide
> 2. git clone git://git.yoctoproject.org/poky
> 3. cd poky
> 4. git clone git://git.yoctoproject.org/meta-intel.git
>
> I did not install the poky-extras. I assumed it only had to be
> installed if you installed the kernel source for modification like in
> Appendix b
>

Yeah, normally, assuming you're using an existing kernel branch.  But
you didn't get a build error for the kernel, so I'm assuming that's the
case.

Tom

> Jim a
>
>
>
>
> On Tue, Nov 1, 2011 at 3:40 PM, Tom Zanussi <tom.zanussi@...>
> wrote:
>         Hi,
>
>         On Tue, 2011-11-01 at 11:37 -0700, James Abernathy wrote:
>         > I tried to duplicate the Yocto Project Decelopment Manual
>         Appendix A
>         > build of a Crownbay NOEMGD image,  no changes just dulicate
>         the
>         > instructions.  This is using the latest Yocto 1.1.  I did
>         get a long
>         > way down the line, but had a fatal error in the last 2
>         steps.
>         >
>         > The only change I had to make was related to A.5.2.4.  The
>         commit
>         > string for the SRCREV_meta_pn was different on the
>         > git.yoctoproject.org/cgit/cgi for the Meta commit so I used
>         what I
>         > found online.  The first section of 126 task completed
>         without error.
>         > The next section of 4394 tasks failed on 4393.  Not sure if
>         the error
>         > is obvious, but I wanted to run it by someone. Console error
>         log
>         > below:
>         >
>
>
>         Hmm, not sure what's going on here - I'm sure this example was
>         verified
>         several times, but just to make sure, what you're doing is
>         going through
>         'Appendix A. BSP Development Example' verbatim and getting
>         this?
>
>         The SRCREVs in either case look ok for this, so that shouldn't
>         be the
>         problem...
>
>         But let me go over the steps myself and see what I come up
>         with - will
>         let you know either way...
>
>         Tom
>
>
>         >  NOTE: package core-image-sato-1.0-r0: task do_bootimg:
>         Started
>         > ERROR: Function 'build_boot_bin' failed
>         >
>         (see /home/jim/poky/yocto-build/tmp/work/mymachine-poky-linux/core-image-sato-1.0-r0/temp/log.do_bootimg.31418 for further information)
>         > ERROR: Logfile of failure stored
>         >
>         in: /home/jim/poky/yocto-build/tmp/work/mymachine-poky-linux/core-image-sato-1.0-r0/temp/log.do_bootimg.31418
>         > Log data follows:
>         > | install: cannot stat
>         >
>         `/home/jim/poky/yocto-build/tmp/sysroots/mymachine/kernel/bzImage': No
>         > such file or directory
>         > | ERROR: Function 'build_boot_bin' failed
>         >
>         (see /home/jim/poky/yocto-build/tmp/work/mymachine-poky-linux/core-image-sato-1.0-r0/temp/log.do_bootimg.31418 for further information)
>         > NOTE: package core-image-sato-1.0-r0: task do_bootimg:
>         Failed
>         > ERROR: Task 9
>         > (/home/jim/poky/meta/recipes-sato/images/core-image-sato.bb,
>         > do_bootimg) failed with exit code '1'
>         > ERROR:
>         '/home/jim/poky/meta/recipes-sato/images/core-image-sato.bb'
>         > failed
>         > jim@jim-ubuntu-10:~/poky/yocto-build$
>         >
>
>
>
>




Re: Build error while following Appendix A. Yocto Project Development manual

Tom Zanussi <tom.zanussi@...>
 

On Tue, 2011-11-01 at 12:48 -0700, James Abernathy wrote:
Just to clear up the basics, Prior to following Appendix A verbatim, I
did the following
1. install prerequisites from GS guide
2. git clone git://git.yoctoproject.org/poky
3. cd poky
4. git clone git://git.yoctoproject.org/meta-intel.git

I did not install the poky-extras. I assumed it only had to be
installed if you installed the kernel source for modification like in
Appendix b
Yeah, normally, assuming you're using an existing kernel branch. But
you didn't get a build error for the kernel, so I'm assuming that's the
case.

Tom

Jim a




On Tue, Nov 1, 2011 at 3:40 PM, Tom Zanussi <tom.zanussi@...>
wrote:
Hi,

On Tue, 2011-11-01 at 11:37 -0700, James Abernathy wrote:
> I tried to duplicate the Yocto Project Decelopment Manual
Appendix A
> build of a Crownbay NOEMGD image, no changes just dulicate
the
> instructions. This is using the latest Yocto 1.1. I did
get a long
> way down the line, but had a fatal error in the last 2
steps.
>
> The only change I had to make was related to A.5.2.4. The
commit
> string for the SRCREV_meta_pn was different on the
> git.yoctoproject.org/cgit/cgi for the Meta commit so I used
what I
> found online. The first section of 126 task completed
without error.
> The next section of 4394 tasks failed on 4393. Not sure if
the error
> is obvious, but I wanted to run it by someone. Console error
log
> below:
>


Hmm, not sure what's going on here - I'm sure this example was
verified
several times, but just to make sure, what you're doing is
going through
'Appendix A. BSP Development Example' verbatim and getting
this?

The SRCREVs in either case look ok for this, so that shouldn't
be the
problem...

But let me go over the steps myself and see what I come up
with - will
let you know either way...

Tom


> NOTE: package core-image-sato-1.0-r0: task do_bootimg:
Started
> ERROR: Function 'build_boot_bin' failed
>
(see /home/jim/poky/yocto-build/tmp/work/mymachine-poky-linux/core-image-sato-1.0-r0/temp/log.do_bootimg.31418 for further information)
> ERROR: Logfile of failure stored
>
in: /home/jim/poky/yocto-build/tmp/work/mymachine-poky-linux/core-image-sato-1.0-r0/temp/log.do_bootimg.31418
> Log data follows:
> | install: cannot stat
>
`/home/jim/poky/yocto-build/tmp/sysroots/mymachine/kernel/bzImage': No
> such file or directory
> | ERROR: Function 'build_boot_bin' failed
>
(see /home/jim/poky/yocto-build/tmp/work/mymachine-poky-linux/core-image-sato-1.0-r0/temp/log.do_bootimg.31418 for further information)
> NOTE: package core-image-sato-1.0-r0: task do_bootimg:
Failed
> ERROR: Task 9
> (/home/jim/poky/meta/recipes-sato/images/core-image-sato.bb,
> do_bootimg) failed with exit code '1'
> ERROR:
'/home/jim/poky/meta/recipes-sato/images/core-image-sato.bb'
> failed
> jim@jim-ubuntu-10:~/poky/yocto-build$
>




Re: Build error while following Appendix A. Yocto Project Development manual

Jim Abernathy
 

Just to clear up the basics, Prior to following Appendix A verbatim, I did the following
1. install prerequisites from GS guide
2. git clone git://git.yoctoproject.org/poky
3. cd poky
4. git clone git://git.yoctoproject.org/meta-intel.git
 
I did not install the poky-extras. I assumed it only had to be installed if you installed the kernel source for modification like in Appendix b
 
Jim a


 

On Tue, Nov 1, 2011 at 3:40 PM, Tom Zanussi <tom.zanussi@...> wrote:
Hi,

On Tue, 2011-11-01 at 11:37 -0700, James Abernathy wrote:
> I tried to duplicate the Yocto Project Decelopment Manual Appendix A
> build of a Crownbay NOEMGD image,  no changes just dulicate the
> instructions.  This is using the latest Yocto 1.1.  I did get a long
> way down the line, but had a fatal error in the last 2 steps.
>
> The only change I had to make was related to A.5.2.4.  The commit
> string for the SRCREV_meta_pn was different on the
> git.yoctoproject.org/cgit/cgi for the Meta commit so I used what I
> found online.  The first section of 126 task completed without error.
> The next section of 4394 tasks failed on 4393.  Not sure if the error
> is obvious, but I wanted to run it by someone. Console error log
> below:
>

Hmm, not sure what's going on here - I'm sure this example was verified
several times, but just to make sure, what you're doing is going through
'Appendix A. BSP Development Example' verbatim and getting this?

The SRCREVs in either case look ok for this, so that shouldn't be the
problem...

But let me go over the steps myself and see what I come up with - will
let you know either way...

Tom

>  NOTE: package core-image-sato-1.0-r0: task do_bootimg: Started
> ERROR: Function 'build_boot_bin' failed
> (see /home/jim/poky/yocto-build/tmp/work/mymachine-poky-linux/core-image-sato-1.0-r0/temp/log.do_bootimg.31418 for further information)
> ERROR: Logfile of failure stored
> in: /home/jim/poky/yocto-build/tmp/work/mymachine-poky-linux/core-image-sato-1.0-r0/temp/log.do_bootimg.31418
> Log data follows:
> | install: cannot stat
> `/home/jim/poky/yocto-build/tmp/sysroots/mymachine/kernel/bzImage': No
> such file or directory
> | ERROR: Function 'build_boot_bin' failed
> (see /home/jim/poky/yocto-build/tmp/work/mymachine-poky-linux/core-image-sato-1.0-r0/temp/log.do_bootimg.31418 for further information)
> NOTE: package core-image-sato-1.0-r0: task do_bootimg: Failed
> ERROR: Task 9
> (/home/jim/poky/meta/recipes-sato/images/core-image-sato.bb,
> do_bootimg) failed with exit code '1'
> ERROR: '/home/jim/poky/meta/recipes-sato/images/core-image-sato.bb'
> failed
> jim@jim-ubuntu-10:~/poky/yocto-build$
>




Re: Build error while following Appendix A. Yocto Project Development manual

Tom Zanussi <tom.zanussi@...>
 

Hi,

On Tue, 2011-11-01 at 11:37 -0700, James Abernathy wrote:
I tried to duplicate the Yocto Project Decelopment Manual Appendix A
build of a Crownbay NOEMGD image, no changes just dulicate the
instructions. This is using the latest Yocto 1.1. I did get a long
way down the line, but had a fatal error in the last 2 steps.

The only change I had to make was related to A.5.2.4. The commit
string for the SRCREV_meta_pn was different on the
git.yoctoproject.org/cgit/cgi for the Meta commit so I used what I
found online. The first section of 126 task completed without error.
The next section of 4394 tasks failed on 4393. Not sure if the error
is obvious, but I wanted to run it by someone. Console error log
below:
Hmm, not sure what's going on here - I'm sure this example was verified
several times, but just to make sure, what you're doing is going through
'Appendix A. BSP Development Example' verbatim and getting this?

The SRCREVs in either case look ok for this, so that shouldn't be the
problem...

But let me go over the steps myself and see what I come up with - will
let you know either way...

Tom

NOTE: package core-image-sato-1.0-r0: task do_bootimg: Started
ERROR: Function 'build_boot_bin' failed
(see /home/jim/poky/yocto-build/tmp/work/mymachine-poky-linux/core-image-sato-1.0-r0/temp/log.do_bootimg.31418 for further information)
ERROR: Logfile of failure stored
in: /home/jim/poky/yocto-build/tmp/work/mymachine-poky-linux/core-image-sato-1.0-r0/temp/log.do_bootimg.31418
Log data follows:
| install: cannot stat
`/home/jim/poky/yocto-build/tmp/sysroots/mymachine/kernel/bzImage': No
such file or directory
| ERROR: Function 'build_boot_bin' failed
(see /home/jim/poky/yocto-build/tmp/work/mymachine-poky-linux/core-image-sato-1.0-r0/temp/log.do_bootimg.31418 for further information)
NOTE: package core-image-sato-1.0-r0: task do_bootimg: Failed
ERROR: Task 9
(/home/jim/poky/meta/recipes-sato/images/core-image-sato.bb,
do_bootimg) failed with exit code '1'
ERROR: '/home/jim/poky/meta/recipes-sato/images/core-image-sato.bb'
failed
jim@jim-ubuntu-10:~/poky/yocto-build$


Build error while following Appendix A. Yocto Project Development manual

Jim Abernathy
 

I tried to duplicate the Yocto Project Decelopment Manual Appendix A build of a Crownbay NOEMGD image,  no changes just dulicate the instructions.  This is using the latest Yocto 1.1.  I did get a long way down the line, but had a fatal error in the last 2 steps.
 

The only change I had to make was related to A.5.2.4.  The commit string for the SRCREV_meta_pn was different on the git.yoctoproject.org/cgit/cgi for the Meta commit so I used what I found online.  The first section of 126 task completed without error. The next section of 4394 tasks failed on 4393.  Not sure if the error is obvious, but I wanted to run it by someone. Console error log below:

 NOTE: package core-image-sato-1.0-r0: task do_bootimg: Started
ERROR: Function 'build_boot_bin' failed (see /home/jim/poky/yocto-build/tmp/work/mymachine-poky-linux/core-image-sato-1.0-r0/temp/log.do_bootimg.31418 for further information)
ERROR: Logfile of failure stored in: /home/jim/poky/yocto-build/tmp/work/mymachine-poky-linux/core-image-sato-1.0-r0/temp/log.do_bootimg.31418
Log data follows:
| install: cannot stat `/home/jim/poky/yocto-build/tmp/sysroots/mymachine/kernel/bzImage': No such file or directory
| ERROR: Function 'build_boot_bin' failed (see /home/jim/poky/yocto-build/tmp/work/mymachine-poky-linux/core-image-sato-1.0-r0/temp/log.do_bootimg.31418 for further information)
NOTE: package core-image-sato-1.0-r0: task do_bootimg: Failed
ERROR: Task 9 (/home/jim/poky/meta/recipes-sato/images/
core-image-sato.bb, do_bootimg) failed with exit code '1'
ERROR: '/home/jim/poky/meta/recipes-sato/images/
core-image-sato.bb' failed
jim@jim-ubuntu-10:~/poky/yocto-build$


Re: [PATCH] Fix HOMEPAGE values in libzypp and sat-solver .bb files

Richard Purdie
 

On Fri, 2011-10-28 at 13:27 -0400, Robert P. J. Day wrote:
Fix obvious typoes in .bb files for libzypp and sat-solver packages,
and update the HOMEPAGE for sat-solver to refer to the sat-solver home
page itself, rather than the libzypp home page.

Signed-off-by: Robert P. J. Day <rpjday@...>

---

diff --git a/meta/recipes-extended/libzypp/libzypp_git.bb b/meta/recipes-extended/libzypp/libzypp_git.bb
index 7d9382a..20e8f7c 100644
--- a/meta/recipes-extended/libzypp/libzypp_git.bb
+++ b/meta/recipes-extended/libzypp/libzypp_git.bb
@@ -1,4 +1,4 @@
-HOMEPAGE = "http://en.opensue.org/Portal:Libzypp"
+HOMEPAGE = "http://en.opensuse.org/Portal:Libzypp"
DESCRIPTION = "The ZYpp Linux Software management framework"

LICENSE = "GPLv2+"
diff --git a/meta/recipes-extended/sat-solver/sat-solver_git.bb b/meta/recipes-extended/sat-solver/sat-solver_git.bb
index b616c57..e243c6a 100644
--- a/meta/recipes-extended/sat-solver/sat-solver_git.bb
+++ b/meta/recipes-extended/sat-solver/sat-solver_git.bb
@@ -1,5 +1,5 @@
DESCRIPTION = "Sat Solver"
-HOMEPAGE = "http://en.opensue.org/Portal:Libzypp"
+HOMEPAGE = "http://http://en.opensuse.org/openSUSE:Libzypp_satsolver"

LICENSE = "BSD"
LIC_FILES_CHKSUM = "file://LICENSE.BSD;md5=62272bd11c97396d4aaf1c41bc11f7d8"
I've merged this to master, thanks.

Richard