Robert Schuster | 29 Mar 00:19
Picon

[oe] FYI: cmake introduction

Hi,
I just found a recording of the talk about cmake at FOSDEM 2009. I was
at this presentation and it helped me a lot understanding how to use it.

... and now just weeks later I can fumble around with our cmake.bbclass
and add a recipe that is using it (llvm 2.5).

Highly recommended:
http://free-electrons.com/pub/video/2009/fosdem/fosdem2009-neundorf-cmake.ogv

Regards
Robert

_______________________________________________
Openembedded-devel mailing list
Openembedded-devel <at> lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Ben Gamari | 10 Mar 17:26
Picon
Gravatar

Re: [beagleboard] Re: Avahi recipe

On 03/10/2009 09:00 AM, Koen Kooi wrote:
>
> BAD_RECOMMENDATIONS works at image time, not at dependency time.

So in that case there is absolutely nothing that can be done to 
eliminate about a days worth of unnecessary compilation without editing 
task-base.bb? Something doesn't seem right with this picture. Why is 
there no way to eliminate recommendations at build time? Building all of 
Gnome just for the sake of building it seems a little absurd. Is this 
just a known limitation of BAD_RECOMMENDATIONS?
Piero Pezzin | 26 Feb 15:16
Picon

Problem building avahi

Hi all,

I'm building a minimal distro for my platform (but the bb files are the same of the mx31ads at the moment).

I have the following problem when building avahi:


| make[2]: Entering directory `/home/piero/work/qong-nobk/openembedded/build/tmp/work/armv6-linux/avahi-0.6.24-r0/avahi-0.6.24/tmp/work/armv6-linux/avahi-0.6.24-r0/avahi-0.6.24/avahi-common'
| if /bin/sh ../libtool --tag=CC --mode=compile arm-linux-gcc -march=armv6j -mtune=arm1136jf-s -mfpu=vfp -mfloat-abi=softfp -mno-thumb-interwork -mno-thumb -DHAVE_CONFIG_H -I. -I. -I..   -isystem/home/piero/work/qong-nobk/openembedded/build/tmp/work/armv6-linux/avahi-0.6.24-r0/avahi-0.6.24/tmp/staging/armv6-linux/usr/include -I.. '-DDEBUG_TRAP=__asm__("int $3")' -pthread -DAVAHI_LOCALEDIR=\"/usr/share/locale\" -isystem/home/piero/work/qong-nobk/openembedded/build/tmp/work/armv6-linux/avahi-0.6.24-r0/avahi-0.6.24/tmp/staging/armv6-linux/usr/include -fexpensive-optimizations -fomit-frame-pointer -frename-registers -O2 -Wall -W -Wextra -pedantic -pipe -Wformat -Wold-style-definition -Wdeclaration-after-statement -Wfloat-equal -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wredundant-decls -Wmissing-noreturn -Wshadow -Wendif-labels -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Winline -fPIC -D_XOPEN_SOURCE=500 -D__EXTENSIONS__ -MT libavahi_common_la-malloc.lo -MD -MP -MF ".deps/libavahi_common_la-malloc.Tpo" -c -o libavahi_common_la-malloc.lo `test -f 'malloc.c' || echo './'`malloc.c; \
| then mv -f ".deps/libavahi_common_la-malloc.Tpo" ".deps/libavahi_common_la-malloc.Plo"; else rm -f ".deps/libavahi_common_la-malloc.Tpo"; exit 1; fi
| ../libtool: line 778: X--tag=CC: command not found
| ../libtool: line 811: libtool: ignoring unknown tag : command not found
| ../libtool: line 778: X--mode=compile: command not found
| ../libtool: line 928: *** Warning: inferring the mode of operation is deprecated.: command not found
| ../libtool: line 929: *** Future versions of Libtool will require -mode=MODE be specified.: command not found
| ../libtool: line 1072: Xarm-linux-gcc: command not found
| ../libtool: line 1072: X-march=armv6j: command not found
| ../libtool: line 1072: X-mtune=arm1136jf-s: command not found
| ../libtool: line 1072: X-mfpu=vfp: command not found
| ../libtool: line 1072: X-mfloat-abi=softfp: command not found
| ../libtool: line 1072: X-mno-thumb-interwork: command not found
| ../libtool: line 1072: X-mno-thumb: command not found
| ../libtool: line 1072: X-DHAVE_CONFIG_H: command not found
| ../libtool: line 1072: X-I.: command not found
| ../libtool: line 1072: X-I.: command not found
| ../libtool: line 1072: X-I..: command not found
| ../libtool: line 1072: X-isystem/home/piero/work/qong-nobk/openembedded/build/tmp/work/armv6-linux/avahi-0.6.24-r0/avahi-0.6.24/tmp/staging/armv6-linux/usr/include: No such file or directory
| ../libtool: line 1072: X-I..: command not found
| ../libtool: line 1072: X-DDEBUG_TRAP=__asm__("int $3"): command not found
| ../libtool: line 1072: X-pthread: command not found
| ../libtool: line 1072: X-DAVAHI_LOCALEDIR="/usr/share/locale": No such file or directory
| ../libtool: line 1072: X-isystem/home/piero/work/qong-nobk/openembedded/build/tmp/work/armv6-linux/avahi-0.6.24-r0/avahi-0.6.24/tmp/staging/armv6-linux/usr/include: No such file or directory
| ../libtool: line 1072: X-fexpensive-optimizations: command not found
| ../libtool: line 1072: X-fomit-frame-pointer: command not found
| ../libtool: line 1072: X-frename-registers: command not found
| ../libtool: line 1072: X-O2: command not found
| ../libtool: line 1072: X-Wall: command not found
| ../libtool: line 1072: X-W: command not found
| ../libtool: line 1072: X-Wextra: command not found
| ../libtool: line 1072: X-pedantic: command not found
| ../libtool: line 1072: X-pipe: command not found
| ../libtool: line 1072: X-Wformat: command not found
| ../libtool: line 1072: X-Wold-style-definition: command not found
| ../libtool: line 1072: X-Wdeclaration-after-statement: command not found
| ../libtool: line 1072: X-Wfloat-equal: command not found
| ../libtool: line 1072: X-Wmissing-declarations: command not found
| ../libtool: line 1072: X-Wmissing-prototypes: command not found
| ../libtool: line 1072: X-Wstrict-prototypes: command not found
| ../libtool: line 1072: X-Wredundant-decls: command not found
| ../libtool: line 1072: X-Wmissing-noreturn: command not found
| ../libtool: line 1072: X-Wshadow: command not found
| ../libtool: line 1072: X-Wendif-labels: command not found
| ../libtool: line 1072: X-Wpointer-arith: command not found
| ../libtool: line 1072: X-Wbad-function-cast: command not found
| ../libtool: line 1072: X-Wcast-qual: command not found
| ../libtool: line 1072: X-Wcast-align: command not found
| ../libtool: line 1072: X-Wwrite-strings: command not found
| ../libtool: line 1072: X-Winline: command not found
| ../libtool: line 1072: X-fPIC: command not found
| ../libtool: line 1072: X-D_XOPEN_SOURCE=500: command not found
| ../libtool: line 1072: X-D__EXTENSIONS__: command not found
| ../libtool: line 1072: X-MT: command not found
| ../libtool: line 1072: Xlibavahi_common_la-malloc.lo: command not found
| ../libtool: line 1072: X-MD: command not found
| ../libtool: line 1072: X-MP: command not found
| ../libtool: line 1072: X-MF: command not found
| ../libtool: line 1072: X.deps/libavahi_common_la-malloc.Tpo: No such file or directory
| ../libtool: line 1072: X-c: command not found
| ../libtool: line 1120: Xlibavahi_common_la-malloc.lo: command not found
| ../libtool: line 1125: libtool: compile: cannot determine name of library object from `': command not found
| make[2]: *** [libavahi_common_la-malloc.lo] Error 1

My configuration is the following:

NOTE: Handling BitBake files: | (6577/6577) [100 %]
NOTE: Parsing finished. 0 cached, 6291 parsed, 286 skipped, 0 masked.
NOTE: build 200902261349: started

OE Build Configuration:
BB_VERSION        = "1.8.12"
METADATA_BRANCH   = "org.openembedded.dev"
METADATA_REVISION = "b3f33ba5ab7caf583a6055045633857eebae8568"
TARGET_ARCH       = "arm"
TARGET_OS         = "linux"
MACHINE           = "qong"
DISTRO            = "minimal"
DISTRO_VERSION    = ".dev-snapshot-20090226"
TARGET_FPU        = "soft

I'm running OE on a CentOS 4.4 x86-64 machine.

Is there anyone who knows what's going on? The libtool script seems ok, I can't understand who/what puts all those Xs...

Thanks in advance and best regards.

Piero

_______________________________________________
Openembedded-users mailing list
Openembedded-users <at> lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-users
Martyn Welch | 25 Feb 10:47

Discussion regarding the future of OpenEmbedded mailing lists

Hi All,

This email is mainly targeted at those who are subscribed to the "openembedded-users" mailing list, who
are not also subscribed to the "openembedded-devel" list.

There has been a proposal on the openembedded-devel mailing list to re-organise the lists provided on
openembedded.org. The re-organisation has been discussed as part of a larger discussion into the
procedures that are used to review patches/changes to Openembedded, that aim to make the process more
efficient and transparent.

A proposal has been put forward to merge a number of the mailing lists. There are currently 7 OpenEmbeddded
mailing lists with the following purposes:

Openembedded-announce - (no description available)
Openembedded-commits - Commits to the OpenEmbedded metadata repository
Openembedded-devel - Using the OpenEmbedded metadata to build Distributions
Openembedded-issues - OE Issues
Openembedded-stablebranch - Discussion and review of changes to the stable branch and its policy
Openembedded-users - Using OE
Openembedded-private - (no description available)

The role each of these lists is currently poorly defined and in some cases either a list has too few
knowledgeable/key subscribers to properly answer the questions asked, have overlapping objectives or
would better serve the larger Openembedded community by being merged into a more active list. The
proposal is to merge the list to form 3 better defined lists:

Openembedded-devel - for humans to post patches and ask questions
Openembedded-commits - commits, bugs, logs, etc
Openembedded-private - core team

The plan (as I understand it - please correct me if I'm wrong) is to:
* Close OpenEmbedded Announce, It seems to have received no traffic since April 2007.
* Merge OpenEmbedded-issues into Openembedded-commits. This list will be for fairly verbose automated
messages and as such high traffic.
* Merge Openembedded-users and Openembedded-stablebranch in to Openembedded-devel. This will form a
single list for the discussion of changes and issues regarding the Openembedded platform and to ensure
all users and developers are aware of up coming changes and have a chance to be involved in any discussions.
It is believed this will also aid with spotting changes that should be ported from the development branch
to the stable branch and visa-versa.
* Retain Openembedded-private for private core-team discussions.

Initial support on Openembedded-devel has been very positive, though the views of those subscribed on the
Openembedded-users list are also important. Objections, suggestions and support for these plans are welcome.

Martyn

--

-- 
Martyn Welch MEng MPhil MIET (Principal Software Engineer)   T:+44(0)1327322748
GE Fanuc Intelligent Platforms Ltd,        |Registered in England and Wales
Tove Valley Business Park, Towcester,      |(3828642) at 100 Barbirolli Square,
Northants, NN12 6PF, UK T:+44(0)1327359444 |Manchester,M2 3AB  VAT:GB 729849476
Piero Pezzin | 24 Feb 14:51
Picon

Problem building bootstrap image for mx31ads

Hi all,

I have successfully run the bootstrap-image task for the mx31ads machine. When I try to load the root file system via NFS, I get the following error:

[    4.510000] Looking up port of RPC 100005/1 on 192.168.0.8
[    4.530000] VFS: Mounted root (nfs filesystem).
[    4.530000] Freeing init memory: 128K
[    4.630000] Kernel panic - not syncing: Attempted to kill init!
[    4.630000] Rebooting in 1 seconds..

If I try to run the file command on the init file included in the rfs, I see that it's built for the 2.4 kernel:

piero <at> piero-laptop:~/work2/oe/build/tmp/rootfs/sbin$ file init.sysvinit
init.sysvinit: ELF 32-bit LSB executable, ARM, version 1, for GNU/Linux 2.4.0, dynamically linked (uses shared libs), stripped

In my local.conf I have set the MACHINE="mx31ads" and DISTRO="generic" variables. I'm working on a ubuntu 8.04 machine and I have customized the .bb files to compile the 2.6.22.2 kernel that I need to use (instead of the 2.6.18 originally included in the .bb recipe).

Am I missing something? Can someone kindly help me understand what's happening?

Thanks in advance.

Piero

_______________________________________________
Openembedded-users mailing list
Openembedded-users <at> lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-users
Mauri Sandberg | 23 Feb 19:31
Picon
Favicon

building for dm7025 fails

.hmmessage P {margin:0px;padding:0px;} body.hmmessage {font-size:10pt;font-family:Verdana;} Hi,

I have a problem with building opendreambox-1.5 distro for dm7025 machine.

bitbake (v 1.8.13) fails immediately with an error message. The same error is repeated for various different packages.

<clip>
$ bitbake joe
ERROR: Error in executing: /home/maukka/oe/dm7025/openembedded/packages/libevent/libevent_1.1a.bb
ERROR: Exception:<type 'exceptions.UnboundLocalError'> Message:local variable 'bb' referenced before assignment
ERROR: Printing the environment of the function
ERROR:  0001:def __anonfunc():
ERROR:  0002:   import exceptions
ERROR:  0003:   need_host = bb.data.getVar('COMPATIBLE_HOST', d, 1)
ERROR:  0004:   if need_host:
ERROR:  0005:           import re
ERROR:  0006:           this_host = bb.data.getVar('HOST_SYS', d, 1)
ERROR:  0007:           if not re.match(need_host, this_host):
</clip>

Can anyone help me with this?

-- Mauri

Get news, entertainment and everything you care about at Live.com. Check it out!
_______________________________________________
Openembedded-users mailing list
Openembedded-users <at> lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-users
Picon

building net-snmp on arm target fails on configure (missing config.sub)

Hi,

I got an error building net-snmp-5.4.1 with up-to-date openembedded 
repository. Log complains about not be able to running a configuration 
script, which do not exists after fetching and patching.

I'm suspicious about that I 've to add an entry in checksums.ini, due 
mirror used  was not in it.
Anyway, it's the same checksum than original mirror.

Any thoughs about if is this a bug? Or I'm tainted something adding 
entry to checksums.ini?

Regards,

*EXISTING ENTRY IN CHECKSUMS.INI*
[http://heanet.dl.sourceforge.net/net-snmp/net-snmp-5.4.1.tar.gz]
md5=6c974df7a5a5b1579f72115e6b045bda
sha256=0ea976722c993c87dede8eb6348e6feb059e3851bbef2de824bf18ac97cdb565

*ADDED ENTRY TO CHECKSUMS.INI*
[http://downloads.sourceforge.net/net-snmp/net-snmp-5.4.1.tar.gz]
md5=6c974df7a5a5b1579f72115e6b045bda
sha256=0ea976722c993c87dede8eb6348e6feb059e3851bbef2de824bf18ac97cdb565

*BUILD LOG*

NOTE: Handling BitBake files: \ (6341/6341) [100 %]
NOTE: Parsing finished. 6055 cached, 0 parsed, 286 skipped, 0 masked.
NOTE: build 200902190741: started

OE Build Configuration:
BB_VERSION        = "1.8.10"
METADATA_BRANCH   = "org.openembedded.dev"
METADATA_REVISION = "55391f25a601adc1fc235bf1abc30017f10cd956"
TARGET_ARCH       = "arm"
TARGET_OS         = "linux-gnueabi"
MACHINE           = "colibri"
DISTRO            = "angstrom"
DISTRO_VERSION    = "2008.1-test-20090219"
TARGET_FPU        = "soft"

<snip>
*****************************************************************************************************
| configure: error: cannot run /bin/sh 
/home/vpalacio/bsp/oe_colibri/build/work/armv5te-angstrom-linux-gnueabi/net-snmp-5.4.1-r1/net-snmp-5.4.1/config.sub
**********************************************************************************************************
NOTE: Task failed: 
/home/vpalacio/bsp/oe_colibri/build/work/armv5te-angstrom-linux-gnueabi/net-snmp-5.4.1-r1/temp/log.do_configure.19005
NOTE: package net-snmp-5.4.1-r1: task do_configure: failed
ERROR: TaskFailed event exception, aborting
NOTE: package net-snmp-5.4.1: failed
ERROR: Build of 
/home/vpalacio/bsp//oe_colibri/openembedded/packages/net-snmp/net-snmp_5.4.1.bb 
do_configure failed
ERROR: Task 8 
(/home/vpalacio/bsp//oe_colibri/openembedded/packages/net-snmp/net-snmp_5.4.1.bb, 
do_configure) failed
NOTE: Tasks Summary: Attempted 332 tasks of which 332 didn't need to be 
rerun and 1 failed.

--

-- 

//*Víctor M. Palacio Tárrega*//
Theodore A. Roth | 19 Feb 01:58
Picon

building angstrom with uclibc fails

Hi,

I have been trying to build an initramfs image using angstrom for an
ARM based board. If I set ANGSTROMLIBC = "uclibc" in my local.conf,
the build failes exactly like this:

  http://tinderbox.openembedded.net/packages/339702/

When I manually changed conf/distro/include/angstrom.inc so that
ANGSTROM_ARM_INSTRUCTION_SET_armv5te = "arm" instead of "thumb", then
the build is ok.

In googling for a fix, I came across a reference which suggested
compiling uclibc as arm and then using thumb interworking for
applications. I was unable to figure out how to do this via a change
to some recipes or setting of some variable. Is this possible?

Also, it appears that I can not override the
ANGSTROM_ARM_INSTRUCTION_SET_armv5te variable without a patch like
this:

diff --git a/conf/distro/include/angstrom.inc b/conf/distro/include/angstrom.inc
index 60f2e55..50f15d4 100644
--- a/conf/distro/include/angstrom.inc
+++ b/conf/distro/include/angstrom.inc
@@ -31,9 +31,9 @@ require conf/distro/include/angstrom-${ANGSTROMLIBC}.inc

 # We can't do ARM_INSTRUCTION_SET_armv4t since that will
un-overridable in recipes like gcc
 ANGSTROM_ARM_INSTRUCTION_SET ?= "arm"
-ANGSTROM_ARM_INSTRUCTION_SET_armv4t = "thumb"
-ANGSTROM_ARM_INSTRUCTION_SET_armv5te = "thumb"
-ANGSTROM_ARM_INSTRUCTION_SET_armv5teb = "thumb"
+ANGSTROM_ARM_INSTRUCTION_SET_armv4t ?= "thumb"
+ANGSTROM_ARM_INSTRUCTION_SET_armv5te ?= "thumb"
+ANGSTROM_ARM_INSTRUCTION_SET_armv5teb ?= "thumb"

 ARM_INSTRUCTION_SET = "${ANGSTROM_ARM_INSTRUCTION_SET}"
(END)

So, this post boils down to two questions:

1: Should I just build all of angstrom with uClibc as arm by changing
the instruction set variable?

2: Is there a fix to allow building of uClibc as thumb?

My local setup is available here:
  http://github.com/troth/oe-setup/tree/master

My branch of org.openembedded.dev for the ts7800 board I am working
with is here:
  http://github.com/troth/oe-ts7xxx/tree/ts7800

Thanks,

Ted Roth
Guillaume Spalla | 16 Feb 10:06
Picon

Running "issue" on at91sam9263ek

Hi all,

I am building an image (console-image.bb) for an at91sam9263ek board. I am using the angstrom-2008.1 distribution. The kernel is 2.6.28, the gcc version 4.2.4, and my partition is in JFFS2. When I boot the board, everything looks ok until this line:

[42949375.840000] Warning: unable to open an initial console.

Then the system does not boot anymore. There is no kernel panic messages. If I reboot the board, then the system is working fine.
But if I use the same root file system in a read only format (cramfs / squashfs), then the system freezes at the same point and it never boots (even if I reboot several times).

Did anyone already encountered this problem?

Thanks in advance,

Best regards,

Guillaume Spalla

_______________________________________________
Openembedded-users mailing list
Openembedded-users <at> lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-users
Aurélien Gâteau | 14 Feb 14:14
Picon
Favicon

Building a chrooted system with OpenEmbedded

Hello,

I am in the process of building a chrooted system with OpenEmbedded: the 
device I target already runs an embedded linux distributions, but for 
various reasons I need to install a chrooted system inside it.

I would like to avoid building things I do not need, such as the kernel, 
but I can't find a way to disable it. Is it possible to avoid building 
the kernel?

Regards,
Aurélien
Arigead | 13 Feb 13:42
Picon

New hardware with a Mips processor


Hello all,
    I'm trying to find  some information on how you would add a totally
new development board to Openembedded so that I could build for the
board. There are some very brief outlines but I can't find anything that
looks like it's got all the info.

Don't I have to specify hardware specifics like memory maps and the like?

Any hints would be very gratefully received.

John

Gmane