Quantcast

Using the Open Embedded Build System for Overo Series Tutorial

classic Classic list List threaded Threaded
11 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Using the Open Embedded Build System for Overo Series Tutorial

davidlopez
Hi all,

I'm working on a project where I need to replicate this tutorial: JumpTekNow - Streaming video with Gumstix, GStreamer and the DSP

But before I try that, I wanted to at least be able to complete the tutorial on Open Embedded found here

When attempting my first build I tried: $ bitbake omap3-console-image
and then at task 1719 I run into this:

NOTE: Running task 1719 of 5154 (ID: 896, /home/david/overo-oe/org.openembedded.dev/recipes/linux/linux-omap3_git.bb, do_fetch)
NOTE: package linux-omap3-3.2-r103: task do_fetch: Started
--2013-02-27 17:11:14--  http://www.angstrom-distribution.org/unstable/sources/git_www.sakoman.com.git.linux-omap-2.6.git_33128932803c3f8c35fe8dae257901deb60db2aa.tar.gz
 Resolving www.angstrom-distribution.org... 188.40.83.200
 Connecting to www.angstrom-distribution.org|188.40.83.200|:80... connected.
 HTTP request sent, awaiting response... 404 Not Found
 2013-02-27 17:11:16 ERROR 404: Not Found.
 
 fatal: remote error: access denied or repository not exported: /git/linux-omap-2.6.git
 Cloning into /home/david/overo-oe/sources/git/www.sakoman.com.git.linux-omap-2.6.git...
NOTE: package linux-omap3-3.2-r103: task Fetch failed: Unable to fetch URL git://www.sakoman.com/git/linux-omap-2.6.git;branch=omap-3.2;protocol=git from any source.: Failed
ERROR: Function 'Fetch failed: Unable to fetch URL git://www.sakoman.com/git/linux-omap-2.6.git;branch=omap-3.2;protocol=git from any source.' failed
ERROR: Task 896 (/home/david/overo-oe/org.openembedded.dev/recipes/linux/linux-omap3_git.bb, do_fetch) failed with exit code '1'
ERROR: '/home/david/overo-oe/org.openembedded.dev/recipes/linux/linux-omap3_git.bb' failed


Looks like git://www.sakoman.com/git/linux-omap-2.6.git doesn't exist, is there somewhere else I can find it, or an updated tutorial?

Thanks,
David
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Using the Open Embedded Build System for OveroSeries Tutorial

Paul D. DeRocco
> From: davidlopez [mailto:[hidden email]]
>
> I'm working on a project where I need to replicate this tutorial:
> JumpTekNow - Streaming video with Gumstix, GStreamer and the DSP
> <http://jumpnowtek.com/index.php?option=com_content&view=artic
> le&id=81:gumstix-dsp-gstreamer&catid=35:gumstix&Itemid=67>  
>
> But before I try that, I wanted to at least be able to
> complete the tutorial
> on Open Embedded found  here
> <http://gumstix.org/software-development/open-embedded/61-usin
> g-the-open-embedded-build-system.html>  
>
> When attempting my first build I tried: $ bitbake omap3-console-image
> and then at task 1719 I run into this:

<etc.>

I had a similar problem. Someone said that those instructions were out of
date, and pointed me to these:

 
https://github.com/gumstix/Gumstix-YoctoProject-Repo/blob/master/README.md

They worked.

--

Ciao,               Paul D. DeRocco
Paul                mailto:[hidden email]


------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
gumstix-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gumstix-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Using the Open Embedded Build System for Overo Series Tutorial

gilles TALIS
In reply to this post by davidlopez
Hi David,



Cheers,
Gilles.


2013/2/27 davidlopez <[hidden email]>
Hi all,

I'm working on a project where I need to replicate this tutorial:
JumpTekNow - Streaming video with Gumstix, GStreamer and the DSP
<http://jumpnowtek.com/index.php?option=com_content&view=article&id=81:gumstix-dsp-gstreamer&catid=35:gumstix&Itemid=67>

But before I try that, I wanted to at least be able to complete the tutorial
on Open Embedded found  here
<http://gumstix.org/software-development/open-embedded/61-using-the-open-embedded-build-system.html>

When attempting my first build I tried: $ bitbake omap3-console-image
and then at task 1719 I run into this:

NOTE: Running task 1719 of 5154 (ID: 896,
/home/david/overo-oe/org.openembedded.dev/recipes/linux/linux-omap3_git.bb,
do_fetch)
NOTE: package linux-omap3-3.2-r103: task do_fetch: Started
--2013-02-27 17:11:14--
http://www.angstrom-distribution.org/unstable/sources/git_www.sakoman.com.git.linux-omap-2.6.git_33128932803c3f8c35fe8dae257901deb60db2aa.tar.gz
 Resolving www.angstrom-distribution.org... 188.40.83.200
 Connecting to www.angstrom-distribution.org|188.40.83.200|:80... connected.
 HTTP request sent, awaiting response... 404 Not Found
 2013-02-27 17:11:16 ERROR 404: Not Found.

 fatal: remote error: access denied or repository not exported:
/git/linux-omap-2.6.git
 Cloning into
/home/david/overo-oe/sources/git/www.sakoman.com.git.linux-omap-2.6.git...
NOTE: package linux-omap3-3.2-r103: task Fetch failed: Unable to fetch URL
git://www.sakoman.com/git/linux-omap-2.6.git;branch=omap-3.2;protocol=git
from any source.: Failed
ERROR: Function 'Fetch failed: Unable to fetch URL
git://www.sakoman.com/git/linux-omap-2.6.git;branch=omap-3.2;protocol=git
from any source.' failed
ERROR: Task 896
(/home/david/overo-oe/org.openembedded.dev/recipes/linux/linux-omap3_git.bb,
do_fetch) failed with exit code '1'
ERROR:
'/home/david/overo-oe/org.openembedded.dev/recipes/linux/linux-omap3_git.bb'
failed


Looks like git://www.sakoman.com/git/linux-omap-2.6.git doesn't exist, is
there somewhere else I can find it, or an updated tutorial?

Thanks,
David



--
View this message in context: http://gumstix.8.n6.nabble.com/Using-the-Open-Embedded-Build-System-for-Overo-Series-Tutorial-tp4966912.html
Sent from the Gumstix mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
gumstix-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gumstix-users


------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
gumstix-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gumstix-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Using the Open Embedded Build System for Overo Series Tutorial

davidlopez
Okay so I went into home/david/overo-oe/org.openembedded.dev/recipes/linux/linux-omap3_git.bb and I changed the URL to git://www.sakoman.com/git/linux.git as Gilles recommended. That seemed to work but now I get stuck at task 2572. Once again it seems that a link is dead: http://www.ralinktech.com.tw/data/RT71W_Firmware_V1.8.zip
Is there an updated link that I could use in its place? Otherwise I'll have to go with the instructions that Paul linked me to.


NOTE: Running task 2572 of 5154 (ID: 196, /home/david/overo-oe/org.openembedded.dev/recipes/rt2x00/rt73-firmware_1.8.bb, do_fetch)
NOTE: package rt73-firmware-1.8-r1: task do_fetch: Started
--2013-02-28 10:17:10--  http://www.ralinktech.com.tw/data/RT71W_Firmware_V1.8.zip
 Resolving www.ralinktech.com.tw... 60.244.123.131
 Connecting to www.ralinktech.com.tw|60.244.123.131|:80... connected.
 HTTP request sent, awaiting response... 302 Found
 Location: http://www.ralinktech.com/en/ [following]
 --2013-02-28 10:17:11--  http://www.ralinktech.com/en/
 Resolving www.ralinktech.com... 219.87.157.83
 Connecting to www.ralinktech.com|219.87.157.83|:80... connected.
 HTTP request sent, awaiting response... 200 OK
 Length: 2308 (2.3K) [text/html]
 Saving to: `/home/david/overo-oe/sources/RT71W_Firmware_V1.8.zip'
 
      0K ..                                                    100% 2.99M=0.001s
 
 2013-02-28 10:17:11 (2.99 MB/s) - `/home/david/overo-oe/sources/RT71W_Firmware_V1.8.zip' saved [2308/2308]
 
ERROR: The checksums for "/home/david/overo-oe/sources/RT71W_Firmware_V1.8.zip" did not match.
  MD5: expected "1e7a5dc574e0268574fcda3fd5cf52f7", got "fcc21c44388da2c78a8b94ed440f9e14"
  SHA256: expected "e2d3ac1aaf4815e0c9531bc3fb7f56f30604cd52351332f1f8d6a28bb9a953bf", got "c62190cc01f495fc6adffc555704a35656748b82a98fdbdaca28d8b84e73f7e1"

NOTE: package rt73-firmware-1.8-r1: task Fetch failed: http://www.ralinktech.com.tw/data/RT71W_Firmware_V1.8.zip checksum mismatch.: Failed
ERROR: Function 'Fetch failed: http://www.ralinktech.com.tw/data/RT71W_Firmware_V1.8.zip checksum mismatch.' failed
ERROR: Task 196 (/home/david/overo-oe/org.openembedded.dev/recipes/rt2x00/rt73-firmware_1.8.bb, do_fetch) failed with exit code '1'
ERROR: '/home/david/overo-oe/org.openembedded.dev/recipes/rt2x00/rt73-firmware_1.8.bb' failed
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Using the Open Embedded Build System for Overo Series Tutorial

bhamadicharef
You need to obtain the md5sum and sha256sum using
md5sum RT71W_Firmware_V1.8.zip > RT71W_Firmware_V1.8.zip.md5
sha256sum RT71W_Firmware_V1.8.zip > RT71W_Firmware_V1.8.zip.sha256

the actual string values can be updated into the recipe .bb file too

I will try to redo this tutorial too ... managed to follow it all the way a long
time ago but last time it failed !

Brahim
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Using the Open Embedded Build System for Overo Series Tutorial

bhamadicharef
http://pkgs.fedoraproject.org/repo/pkgs/rt73usb-firmware/RT71W_Firmware_V1.8.zip/1e7a5dc574e0268574fcda3fd5cf52f7/

md5sum  is likely to be 1e7a5dc574e0268574fcda3fd5cf52f7 ...

Hope this helps

Brahim
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Using the Open Embedded Build System for Overo Series Tutorial

Hartmut Behrens
In reply to this post by davidlopez
On Thu, Feb 28, 2013 at 12:25 AM, davidlopez <[hidden email]> wrote:
> I'm working on a project where I need to replicate this tutorial:
> JumpTekNow - Streaming video with Gumstix, GStreamer and the DSP
> <http://jumpnowtek.com/index.php?option=com_content&view=article&id=81:gumstix-dsp-gstreamer&catid=35:gumstix&Itemid=67>
>
> But before I try that, I wanted to at least be able to complete the tutorial
> on Open Embedded found  here
> <http://gumstix.org/software-development/open-embedded/61-using-the-open-embedded-build-system.html>

Hi David,

You may be better off trying
https://github.com/adam-lee/Gumstix-YoctoProject-Repo instead to get a
meta-gumstix layer built before moving onto the streaming video
tutorial. I have been using it recently and it builds without a
glitch.

Hartmut

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
gumstix-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gumstix-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Using the Open Embedded Build System for Overo Series Tutorial

davidlopez
This post was updated on .
In reply to this post by davidlopez
Thanks for the help, I was able to compile everything successfully, however I have one last question:

I've created a bootable SD card before following the tutorial, using the prebuilt images available for download. However when I did that I used four files:

-mlo-updated
-omap3-desktop-nand-image-overo-booted.tar.bz2
-u-boot.bin
-uImage

Now I want to do the same but using the files that I've just compiled, but I only have:

-Angstrom-dsp-desktop-image-glibc-ipk-2011.03-overo.rootfs.tar.bz2
-u-boot-overo-2011-09+r76+gitr0f331e606c80166c1bfe5cac40dfc0616708f31b-r76.bin
-uImage-3.2-r103-overo.bin

So should I just use the mlo-updated file available for download since I don't have a x-loader binary image in my tmp/deploy/glibc/images/overo folder?
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Using the Open Embedded Build System for Overo Series Tutorial

Trevor Woerner-6
On Tue, Mar 5, 2013 at 4:16 PM, davidlopez <[hidden email]> wrote:
> Now I want to do the same but using the files that I've just compiled, but I
> only have:
>
> -Angstrom-dsp-desktop-image-glibc-ipk-2011.03-overo.rootfs.tar.bz2
> -u-boot-overo-2011-09+r76+gitr0f331e606c80166c1bfe5cac40dfc0616708f31b-r76.bin
> -uImage-3.2-r103-overo.bin
>
> So should I just use the mlo-updated file available for download since I
> don't have a x-loader binary image in my tmp/deploy folder?

There was a time when you had to issue a separate:

    $ bitbake x-load

to build MLO, is this still the case? (I'm not at home so I can't
check for myself, sorry)

------------------------------------------------------------------------------
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the  
endpoint security space. For insight on selecting the right partner to
tackle endpoint security challenges, access the full report.
http://p.sf.net/sfu/symantec-dev2dev
_______________________________________________
gumstix-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gumstix-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Using the Open Embedded Build System for Overo Series Tutorial

davidlopez
In reply to this post by davidlopez
Thanks for the help everyone. I was able to compile all the files successfully! After copying mlo-updated, u-boot-overo.bin, and uImage-overo.bin to the boot partition on my SD, and then unpacking dsp-desktop-image-overo.tar.bz2 to rootfs partition, I am able to successfully boot into angstrom.

However the issue I am having now is this:

Running /usr/share/ti/gst/omap3530/loadmodules.shWaiting for connection on channel 1
Disabling lock debugging due to kernel taint
CMEMK module: built on Mar  6 2013 at 12:22:21
  Reference Linux version 3.2.0
  File /home/david/overo-oe/tmp/work/overo-angstrom-linux-gnueabi/ti-linuxutils-1_2_25_05_11-r103d/linuxutils_2_25_05_11/packages/ti/sdo/linuxutils/cmem/src/module/cmemk.c
CMEM Range Overlaps Kernel Physical - allowing overlap
CMEM phys_start (0x86300000) overlaps kernel (0x80000000 -> 0x9f400000)
CMEMK Error: Failed to request_mem_region(0x86300000, 16777216)
FATAL: Error inserting cmemk (/lib/modules/3.2.0/kernel/drivers/dsp/cmemk.ko): Bad address
DSPLINK Module (1.65.00.03) created on Date: Mar  6 2013 Time: 12:19:22
SDMAK module: built on Mar  6 2013 at 12:22:25
  Reference Linux version 3.2.0
  File /home/david/overo-oe/tmp/work/overo-angstrom-linux-gnueabi/ti-linuxutils-1_2_25_05_11-r103d/linuxutils_2_25_05_11/packages/ti/sdo/linuxutils/sdma/src/module/sdmak.c
  done

This error comes from the start up script mentioned in the tutorial I am following: http://jumpnowtek.com/index.php?option=com_content&view=article&id=81:gumstix-dsp-gstreamer&catid=35:gumstix&Itemid=67

Any idea how to edit the startup script so that I can assign the correct memory to the cmemk module?
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Using the Open Embedded Build System for Overo Series Tutorial

davidlopez
**UPDATE**

At this point I believe I've worked out all the issues as far as compiling an image goes.
As stated previously I am trying to follow this tutorial: http://jumpnowtek.com/index.php?option=com_content&view=article&id=81:gumstix-dsp-gstreamer&catid=35:gumstix&Itemid=67

My first issues were overcome by replacing bad links in the recipe files, such as replacing git://www.sakoman.com/git/linux-omap-2.6.git with git://www.sakoman.com/git/linux.git (thanks Gilles!)  (and thanks to Brahim for the fedoraproject.org link)

Also realized that by default it was compiling with 3.2.0 kernel, instead of 2.6.34 as recommended by the tutorial. I tried changing the preferred version and using a linux_omap3_2.6.34 recipe, but it wouldn't compile. Instead I stuck with the 3.2 kernel and followed DaWan's instructions for replacing the ti_linuxutils_2.25 with a 3.22.00.02 recipe in this thread: http://gumstix.8.n6.nabble.com/Using-TI-DSP-link-with-3-0-0-kernel-td4626788.html

Finally after that compiled successfully I used the mlo-updated file from the tested, stable images download site, along with the u-boot.bin, uImage, and dsp-desktop-image.tar.bz2 that I baked, to make a bootable SD card

The last issue I was having with memory was due to me skipping over the steps in the jumpnowtek tutorial for allocating memory for the dsp from within uboot. Once I figured out my mistake I was able to boot into angstrom, edited the interfaces file to allow for eth0 functionality,  and finally ready to begin working with gstreamer!

I ran the gstreamer test from the tutorial:
gst-launch -v videotestsrc ! video/x-raw-yuv,width=640,height=480 \
    ! TIVidenc1 codecName=h264enc engineName=codecServer ! rtph264pay pt=96 \
    ! udpsink host=192.168.10.4 port=4000

and ran into this error:
WARNING: erroneous pipeline: could not parse caps "video/x-raw-yuv,width=640,height=480 \"

Hopefully this error doesn't have something to do with me compiling the custom image, and is purely an issue with gstreamer. I'll continue looking into it, but hopefully someone can offer some insight.

I've been working on an Overo Fire Storm, and my camera is a Logitech pro9000 by the way.
Loading...