Pandora Pandora Open Embedded Tree


dflemstr

It's a ball.
Joined
Jul 31, 2008
Messages
2,514
Location
Stockholm, Sweden
Website
Visit site
Hey,
just wondering if someone could post their "tree/build/conf/local.conf" file for the "official" Pandora image. I don't want to choose the wrong machine name, distro version, the wrong recipes, and so on, and would appreciate if there was an "official" conf somewhere.

Also, do I have to use the git.openpandora.org OE mirror or can the latest "official" version be used too?

Why do I need this? Because I want a scratchbox2 environment of course!
 
I guess it's supposed to be in
http://git.openpandora.org/cgi-bin/gitweb.cgi?p=pandora-oe-environment.git
..but DjWillis forgot local.conf or something?

here is what I use (could be wrong, recommend catching DjWillis):
Code:
DL_DIR = "/home/notaz/stuff/oe/sources"
BBFILES := "/home/notaz/stuff/oe/openembedded/recipes/*/*.bb /home/notaz/stuff/oe/openpandora.oe/recipes/*/*.bb"
BBMASK = ""
PREFERRED_PROVIDERS = "virtual/qte:qte virtual/libqpe:libqpe-opie"
PREFERRED_PROVIDERS += " virtual/libsdl:libsdl-x11"
PREFERRED_PROVIDERS += " virtual/${TARGET_PREFIX}gcc-initial:gcc-cross-initial"
PREFERRED_PROVIDERS += " virtual/${TARGET_PREFIX}gcc-intermediate:gcc-cross-intermediate"
PREFERRED_PROVIDERS += " virtual/${TARGET_PREFIX}gcc:gcc-cross"
PREFERRED_PROVIDERS += " virtual/${TARGET_PREFIX}g++:gcc-cross"
MACHINE = "omap3-pandora"
DISTRO = "angstrom-2008.1"
 
Ok, thanks for that, now for a few related things
First, hadn't noticed that the pandora-oe-environment finally got populated, but nice to see it filled at last. Here's a quick patch to make the scripts executable [0].

Anyways, here's my new local.conf file if someone's interested [1]. It would be nice if someone could merge all of this to produce a *completely* self-generating OEtree package...

[0]
Code:
From f08ed765848cabc021aa1abc7d05b0f4158afcae Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?David=20Flemstr=C3=B6m?= <david.flemstrom@sgmnmgljskaldjalsdkjö.jldhkjaslkhjdkl>
Date: Thu, 10 Jun 2010 18:35:12 +0200
Subject: [PATCH] Changed file modes for scripts

---
 0 files changed, 0 insertions(+), 0 deletions(-)
 mode change 100644 => 100755 initial-setup.sh
 mode change 100644 => 100755 op-env-oe.sh
 mode change 100644 => 100755 use-release-2010-05-1.sh
 mode change 100644 => 100755 use-tip.sh

diff --git a/initial-setup.sh b/initial-setup.sh
old mode 100644
new mode 100755
diff --git a/op-env-oe.sh b/op-env-oe.sh
old mode 100644
new mode 100755
diff --git a/use-release-2010-05-1.sh b/use-release-2010-05-1.sh
old mode 100644
new mode 100755
diff --git a/use-tip.sh b/use-tip.sh
old mode 100644
new mode 100755
-- 
1.7.0.1
[1]
Code:
DL_DIR = "${OE_ENV_TOP}/sources"
TMPDIR = "${OE_ENV_TOP}/${DISTRO}-dev"
IMAGE_FSTYPES += " tar.bz2 "

INHERIT += " rm_work "

BBFILES := "${OE_METADATA}/openembedded/recipes/*/*.bb ${OE_METADATA}/openpandora.oe/recipes/*/*.bb"
BBMASK = ""

PREFERRED_PROVIDERS = "virtual/qte:qte virtual/libqpe:libqpe-opie"
PREFERRED_PROVIDERS += " virtual/libsdl:libsdl-x11"
PREFERRED_PROVIDERS += " virtual/${TARGET_PREFIX}gcc-initial:gcc-cross-initial"
PREFERRED_PROVIDERS += " virtual/${TARGET_PREFIX}gcc-intermediate:gcc-cross-intermediate"
PREFERRED_PROVIDERS += " virtual/${TARGET_PREFIX}gcc:gcc-cross"
PREFERRED_PROVIDERS += " virtual/${TARGET_PREFIX}g++:gcc-cross"

PARALLEL_MAKE = "-j4"
BB_NUMBER_THREADS = "4"

OESTATS_BUILDER = "dflemstr"
DISTRO ?= "angstrom-2008.1"
MACHINE ?= "omap3-pandora"
 
Yeah will point DjWillis here when he appears,
BTW he made a blog post about OE here:
http://blogs.distant-earth.com/wp/?p=90
 
Fark,

Yep, when I popped my setup scripts into GIT I forgot to commit the local.conf (and I even updated the article to suggest people got the scripts from GIT ;) ).

I'll sort that in a moment but there is a copy on my site in http://www.distant-earth.com/op/openpandora-oe-setup.zip.nope if you need it right now.

Just grab the local.conf from that, the scripts are not the same as the ones in GIT IIRC ;) .

Oh and thanks for the mode patch, I'll commit that.

John

EDIT: All committed and GIT all fixed up now.
 
I would appreciate it if we can agree to put crucial information like this into the wiki instead of scattering it all over random blogs.
 
Thank goodness, I thought I was going mad.

Hey DJWillis, can you confirm that snd-usb-audio.ko is a module now, not built in? It would be more helpful to have it as a module because some USB-MIDI devices aren't class-compliant until after you upload a firmware shim, and thats difficult to do if you can't completely unload the module first ..
 
dbr said:
I would appreciate it if we can agree to put crucial information like this into the wiki instead of scattering it all over random blogs.

I totally agree with this ;)
 
Last edited by a moderator:
torpor said:
Thank goodness, I thought I was going mad.

Hey DJWillis, can you confirm that snd-usb-audio.ko is a module now, not built in? It would be more helpful to have it as a module because some USB-MIDI devices aren't class-compliant until after you upload a firmware shim, and thats difficult to do if you can't completely unload the module first ..

Torpor,

It is going forward, not sure how to cleanly fit this into the confines of a hotfix but the latest GIT has it building as a module now, sorry about that.

John
 
Last edited by a moderator:
So, whatever I do, I always get the following error on my Fedora 13 host:
Code:
NOTE: Task failed: ('function do_compile failed', '/home/david/src/pandora/tmp/angstrom.5/work/x86_64-linux/m4-native-1.4.14-r0.0/temp/log.do_compile.27687')
ERROR: Logfile of failure stored in: /home/david/src/pandora/tmp/angstrom.5/work/x86_64-linux/m4-native-1.4.14-r0.0/temp/log.do_compile.27687
Log data follows:
| NOTE: make -j 4
| make  all-recursive
| make[1]: Entering directory `/home/david/src/pandora/tmp/angstrom.5/work/x86_64-linux/m4-native-1.4.14-r0.0/m4-1.4.14'
| Making all in .
| make[2]: Entering directory `/home/david/src/pandora/tmp/angstrom.5/work/x86_64-linux/m4-native-1.4.14-r0.0/m4-1.4.14'
| make[2]: Nothing to be done for `all-am'.
| make[2]: Leaving directory `/home/david/src/pandora/tmp/angstrom.5/work/x86_64-linux/m4-native-1.4.14-r0.0/m4-1.4.14'
| Making all in examples
| make[2]: Entering directory `/home/david/src/pandora/tmp/angstrom.5/work/x86_64-linux/m4-native-1.4.14-r0.0/m4-1.4.14/examples'
| make[2]: Nothing to be done for `all'.
| make[2]: Leaving directory `/home/david/src/pandora/tmp/angstrom.5/work/x86_64-linux/m4-native-1.4.14-r0.0/m4-1.4.14/examples'
| Making all in lib
| make[2]: Entering directory `/home/david/src/pandora/tmp/angstrom.5/work/x86_64-linux/m4-native-1.4.14-r0.0/m4-1.4.14/lib'
| make  all-am
| make[3]: Entering directory `/home/david/src/pandora/tmp/angstrom.5/work/x86_64-linux/m4-native-1.4.14-r0.0/m4-1.4.14/lib'
| make[3]: Leaving directory `/home/david/src/pandora/tmp/angstrom.5/work/x86_64-linux/m4-native-1.4.14-r0.0/m4-1.4.14/lib'
| make[2]: Leaving directory `/home/david/src/pandora/tmp/angstrom.5/work/x86_64-linux/m4-native-1.4.14-r0.0/m4-1.4.14/lib'
| Making all in src
| make[2]: Entering directory `/home/david/src/pandora/tmp/angstrom.5/work/x86_64-linux/m4-native-1.4.14-r0.0/m4-1.4.14/src'
| gcc -std=gnu99   -isystem/home/david/src/pandora/tmp/angstrom.5/staging/x86_64-linux/usr/include -O2 -g  -L/home/david/src/pandora/tmp/angstrom.5/staging/x86_64-linux/usr/lib -Wl,-rpath-link,/home/david/src/pandora/tmp/angstrom.5/staging/x86_64-linux/usr/lib -Wl,-rpath,/home/david/src/pandora/tmp/angstrom.5/staging/x86_64-linux/usr/lib -Wl,-O1 -o m4 m4.o builtin.o debug.o eval.o format.o freeze.o input.o macro.o output.o path.o symtab.o ../lib/libm4.a
| path.o: In function `m4_fopen':
| /home/david/src/pandora/tmp/angstrom.5/work/x86_64-linux/m4-native-1.4.14-r0.0/m4-1.4.14/src/path.c:118: undefined reference to `S_ISDIR'
| collect2: ld returned 1 exit status
| make[2]: *** [m4] Error 1
| make[2]: Leaving directory `/home/david/src/pandora/tmp/angstrom.5/work/x86_64-linux/m4-native-1.4.14-r0.0/m4-1.4.14/src'
| make[1]: *** [all-recursive] Error 1
| make[1]: Leaving directory `/home/david/src/pandora/tmp/angstrom.5/work/x86_64-linux/m4-native-1.4.14-r0.0/m4-1.4.14'
| make: *** [all] Error 2
| FATAL: oe_runmake failed
| ERROR: Function do_compile failed
NOTE: package m4-native-1.4.14-r0.0: task do_compile: Failed
ERROR: TaskFailed event exception, aborting
ERROR: Task 3342 (/home/david/src/pandora/metadata/openembedded.git/recipes/m4/m4-native_1.4.14.bb, do_compile) failed with 256

Should I compile an external cross-compiler and somehow use that instead?
 
Back
Top