Meta-Texasinstruments

Hi,

I have been trying to build the Poky Linux distribution with the Texas
Instruments overlay as described in http://elinux.org/BeagleBoard/Poky.
After going through the tutorial and running the bitbake omap-image-
min-gst command the image starts to build. After half an hour or so
the build will stop saying it cant fetch the kernel v2.6.28-felipec1.
After reading around I understand that this kernel is no longer
available and 2.6.32-felipec1 is now the preferred version.

I altered the linux-beagle_git.bb to try and fetch the new kernel as
below, but it still throws an error (error is at very bottom. Any help
would be much appreciated - Thanks.

ROVIDES="virtual/dspbridge-module"
RPROVIDES="virtual/dspbridge-module"

require linux-omap.inc

PR = "r0"
DEFAULT_PREFERENCE = "1"

FILESDIR = "${FILE_DIRNAME}/${PN}-git/${MACHINE}"

S = "${WORKDIR}/git"
#SRC_URI = "git://github.com/felipec/linux-omap.git;protocol=git"
#SRCREV = "9f40e7784c723e23175c6c2c50256fd010e559c4"
#PV = "2.6.28-felipec1+${PR}+git${SRCREV}"

SRC_URI = "git://gitorious.org/~felipec/linux-omap/
felipec.git;branch=fc-omap-2.6.32;protocol=git"
SRCREV = "166fba316e30952d5a474bc8a5c916ed1f4d2bb3"
PV = "2.6.32-felipec1+git${SRCREV}"

NOTE: Handling BitBake files: | (1183/1183) [100 %]
NOTE: Parsing finished. 1121 cached, 0 parsed, 62 skipped, 0 masked.
NOTE: Cache is clean, not saving.
NOTE: build 201007010010: started

OE Build Configuration:
BB_VERSION = "1.8.11"
METADATA_REVISION = "5728"
TARGET_ARCH = "arm"
TARGET_OS = "linux-gnueabi"
MACHINE = "beagleboard"
DISTRO = "tilinux"
DISTRO_VERSION = "0.1"
TARGET_FPU = "soft"

NOTE: Resolving any missing task queue dependencies
NOTE: preferred version
1.1.99.1+gitrd23aad31338e7d869d878d5aa1b6b91d20287005 of libx11-native
not available (for item libx11-native)
NOTE: Preparing runqueue
NOTE: Executing runqueue
NOTE: Running task 514 of 2105 (ID: 408, /home/stuart/pokypurple2/poky/
meta-texasinstruments/packages/linux/linux-beagle_git.bb, do_fetch)
NOTE: package linux-beagle-2.6.32-
felipec1+git166fba316e30952d5a474bc8a5c916ed1f4d2bb3: started
NOTE: package linux-beagle-2.6.32-
felipec1+git166fba316e30952d5a474bc8a5c916ed1f4d2bb3-r0: task
do_fetch: started
NOTE: fetch
http://pokylinux.org/sources/git_gitorious.org.~felipec.linux-omap.felipec.git_166fba316e30952d5a474bc8a5c916ed1f4d2bb3.tar.gz
--2010-07-01 00:10:48--
http://pokylinux.org/sources/git_gitorious.org.~felipec.linux-omap.felipec.git_166fba316e30952d5a474bc8a5c916ed1f4d2bb3.tar.gz
Resolving pokylinux.org... 70.86.75.186
Connecting to pokylinux.org|70.86.75.186|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2010-07-01 00:10:48 ERROR 404: Not Found.

NOTE: fetch http://pokylinux.org/sources/git_gitorious.org.~felipec.linux-omap.felipec.git.tar.gz
--2010-07-01 00:10:48-- http://pokylinux.org/sources/git_gitorious.org.~felipec.linux-omap.felipec.git.tar.gz
Resolving pokylinux.org... 70.86.75.186
Connecting to pokylinux.org|70.86.75.186|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2010-07-01 00:10:49 ERROR 404: Not Found.

Initialized empty Git repository in /home/stuart/pokypurple2/poky/
sources/git/gitorious.org.~felipec.linux-omap.felipec.git/.git/
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed
fetch-pack from 'git://gitorious.org/~felipec/linux-omap/felipec.git'
failed.
NOTE: Task failed: Fetch failed: Fetch command export GIT_CONFIG=/home/
stuart/pokypurple2/poky/build/tmp/staging/i686-linux/usr/etc/
gitconfig; export PATH=/home/stuart/pokypurple2/poky/build/tmp/staging/
i686-linux/usr/bin/beagleboard-none-linux-gnueabi:/home/stuart/
pokypurple2/poky/build/tmp/staging/i686-linux/usr/sbin:/home/stuart/
pokypurple2/poky/build/tmp/staging/i686-linux/usr/bin:/home/stuart/
pokypurple2/poky/build/tmp/cross/armv7a/bin:/home/stuart/pokypurple2/
poky/build/tmp/staging/i686-linux/sbin:/home/stuart/pokypurple2/poky/
build/tmp/staging/i686-linux/bin::/usr/local/csl/arm-2008q3/bin:/home/
stuart/pokypurple2/poky/bitbake//bin/:/home/stuart/pokypurple2/poky/
scripts:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/
usr/games; git clone -n git://gitorious.org/~felipec/linux-omap/felipec.git
/home/stuart/pokypurple2/poky/sources/git/gitorious.org.~felipec.linux-
omap.felipec.git failed with signal 1, output:
Initialized empty Git repository in /home/stuart/pokypurple2/poky/
sources/git/gitorious.org.~felipec.linux-omap.felipec.git/.git/
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed
fetch-pack from 'git://gitorious.org/~felipec/linux-omap/felipec.git'
failed.

NOTE: package linux-beagle-2.6.32-
felipec1+git166fba316e30952d5a474bc8a5c916ed1f4d2bb3-r0: task
do_fetch: failed
ERROR: TaskFailed event exception, aborting
NOTE: package linux-beagle-2.6.32-
felipec1+git166fba316e30952d5a474bc8a5c916ed1f4d2bb3: failed
ERROR: Build of /home/stuart/pokypurple2/poky/meta-texasinstruments/
packages/linux/linux-beagle_git.bb do_fetch failed
ERROR: Task 408 (/home/stuart/pokypurple2/poky/meta-texasinstruments/
packages/linux/linux-beagle_git.bb, do_fetch) failed
NOTE: Tasks Summary: Attempted 513 tasks of which 513 didn't need to
be rerun and 1 failed.
ERROR: '/home/stuart/pokypurple2/poky/meta-texasinstruments/packages/
linux/linux-beagle_git.bb' failed
NOTE: build 201007010010: completed

You can also try angstrom, that has much better support for beagle and already has the gstreamer-ti DSP components integrated, as well as the sgx drivers.

Thanks Koen Kooi I will give that a shot. I didn't realise Angstrom
included the Texas components. Can you recommend a good tutorial to
get me started please?

Also if anyone does know what was wrong with my previous post I would
be very grateful for some help. I've spent hours trying to build Poky
and am too stubborn to admit defeat!!

Thanks

Or you can try marmita:

http://elinux.org/BeagleBoard/Marmita

Hey, Stu!

Hi,
I have been trying to build the Poky Linux distribution with the Texas
Instruments overlay as described in BeagleBoard/Poky - eLinux.org.
After going through the tutorial and running the bitbake omap-image-
min-gst command the image starts to build. After half an hour or so
the build will stop saying it cant fetch the kernel v2.6.28-felipec1.
After reading around I understand that this kernel is no longer
available and 2.6.32-felipec1 is now the preferred version.

Yeah. I would have liked that kernel version to stay around for a
little longer, but it's gone from the GIT repository. That said, the
Wiki page is rather old, almost as old as the 2.6.28 kernel itself,
and I'm not sure the rest of the packages will be in their original
locations. Please update it as you see fit, but bear in mind that it
was last updated on May 2009.

I altered the linux-beagle_git.bb to try and fetch the new kernel as
below, but it still throws an error (error is at very bottom. Any help
would be much appreciated - Thanks.

[...]

/home/stuart/pokypurple2/poky/sources/git/gitorious.org.~felipec.linux-
omap.felipec.git failed with signal 1, output:
Initialized empty Git repository in /home/stuart/pokypurple2/poky/
sources/git/gitorious.org.~felipec.linux-omap.felipec.git/.git/
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed
fetch-pack from 'git://gitorious.org/~felipec/linux-omap/felipec.git'
failed.

[...]

I have seen that error too, and the problem lies in the server, I was
told. That happened to me only with kernels (big repositories) hosted
on Gitorious. You should try some more as eventually it works, or
change the protocol to http, or clone it yourself and host it on
another server.

Greetings!

Daniel Díaz
yosoy@danieldiaz.org

Thanks guys ill look into them. I wasn't aware Angstrom included the
DSP components

Just an extra comment:

Angstrom by default uses DSPLink, meanwhile marmita enables DSPBridge.
Check the differences here:
http://elinux.org/BeagleBoard/DSP_Clarification

vmjl

opkg install gstreamer-ti or select the matching checkboxes in narcissus.

regards,

Koen