Building Angstrom using openembedded

Hi

I am trying to build the latest version of Angstrom with the kernel
version: 2.6.37, however I keep running into roadblocks. I have OE
and Bitbake installed without having much issues using the
GettingStarted page from openembedded.org. I have built a base-image
and I have followed the SD formatting instructions from:
http://code.google.com/p/beagleboard/wiki/BeagleboardRevC3Validation.
My Angstrom tarball is no more than 6 mbs which is strange to me since
the demo version is at least 150mb. When I boot the beagleboard from
the SD card it has the following output:

.
.
.
//Normal BOOT output
Hit any key to stop autoboot: 0
mmc1 is available
The user button is currently PRESSED.
reading user.scr

** Unable to read "user.scr" from mmc 1:1 **
reading uImage

** Unable to read "uImage" from mmc 1:1 **
OMAP3 beagleboard.org #

The uImage used in this version works with the demo version. I also
used the one that was built along side with my Angstrom image, yet I
have yet to understand what is going on.

Any ideas on how to procede?

Thanks.
V

You're much better of following the actual angstrom instructions at http://www.angstrom-distribution.org/building-angstrom

I didn't follow those directions because I did not felt I understood
it well enough. The following line had confused me and still does:

MACHINE=beagleboard ./oebb.sh bitbake nano

I don't understand why ./oebb.sh bitbake nano is there. I am confused
because MACHINE=beagleboard goes into the conf file but the other half
seems out of place. Does this entire line go onto the terminal?

Also is there anyway to change kernel versions? I'd like to build a
uImage with kernel version 2.6.32 rather than 2.6.37. If anyone knows
that would be a great help. It seems to be the most difficult issue I
have been having lately. Thanks.

MACHINE=beagleboard ./oebb.sh bitbake nano
this means:

  1. just for current line you define that your machine is beagleboard
  2. you execute here a script ./oebb.sh
  3. bitbake nano are arguments for the script oebb.sh

If you want to do everything by yourself without magic scripts then your instructions are here:
http://wiki.openembedded.org/index.php/Getting_Started

2011/2/11 Naveen Dhawan <nndhawan@gmail.com>

I seriously recommend NOT using wiki.openembedded.org instructions if you want to build angstrom. I wish other people would do the same.

I wish people complaining about the content in wiki.openembedded.org
would fix things instead of complaining about it.
It is a wiki so people can help improving things.

Except that the wiki doesn't allow anonymous edits or allows people to register. So no, people can't help to improve things.

Regardless of that, The angstrom site is, was and always will be the reference for setting up an angstrom build.

Except that the wiki doesn't allow anonymous edits or allows people to register. So no, people can't help to improve things.

The spammers won, the OE wiki admins had to disable account creation
and anon edits. They can set you up with an account.

Regardless of that, The angstrom site is, was and always will be the reference for setting up an angstrom build.

Agreed. Distributions built with OpenEmbedded are free to provide
their own documentation.

Philip

Philip Balister wrote:

People Please this is off-topic. I did not have trouble using the
Openembedded gettingstarted page. I was successful at using the
instructions to setup my bitbake environment. Furthermore, if there is
any lack of documentation I would love to clear things up as I figure
them out since I have been getting closer and closer to getting this
to work. My issue is that there is not enough information of which I
can't collect and am forced to use the forums to hear from the
experiences of others. In any case I still cannot seem to get a
straight answer to this issue:

I looked into the oebb.sh and it contains everything the
gettingstarted page does as far as setting up the environment and
other things it seems. Its a nice script, but it didn't answer my
question about where I can force bitbake to change my kernel version
from 2.6.37 to 2.6.32. I feel like the line DISTRO="angstrom-2008.1"
might have something to do with it. Is there anyway someone can
answer this question for me?

This is important since you can't use software packages which you
cross-compile on your machine with the angstrom demo you use from the
internet because the kernel versions of Uimage are different.

Koen thanks for the suggestion, I will try out the script in case if
the OE documentation was lacking in instruction.

P.S. Also just a suggestion, it would be nice if step 2 of the
Angstrom page included a line that said use the terminal to execute
the following code. It would have avoided this headache. I'm new to
linux and It confused me because I started off using the instructions
on OE and MACHINE="beagleboard" is a line that goes into a local.conf
file. I didn't realize that this was a valid line to place in
terminal along with the execution of the shell script.

Thanks.
-V

so “drop it like its hot”

and follow the official TI linux release notes on omappedia to build Ubuntu

no one going to hire you with Angstrom Linux on your resume

— On Fri, 2/11/11, Koen Kooi koen@beagleboard.org wrote:


> From: Koen Kooi koen@beagleboard.org
> Subject: Re: [beagleboard] Re: Building Angstrom using openembedded
> To: beagleboard@googlegroups.com
> Date: Friday, February 11, 2011, 7:16 AM
>
> Op 11 feb 2011, om 14:05 heeft Frans Meulenbroeks het volgende geschreven:
>
> > 2011/2/11 Koen Kooi koen@beagleboard.org:
> >>
> >> Op 11 feb 2011, om 11:59 heeft Maxim Podbereznyy het volgende geschreven:
> >>
> >>> MACHINE=beagleboard ./oebb.sh bitbake nano
> >>> this means:
> >>>
> >>> 1) just for current line you define that your machine is beagleboard
> >>> 2) you execute here a script ./oebb.sh
> >>> 3) bitbake nano are arguments for the script oebb.sh
> >>>
> >>> If you want to do everything by yourself without magic scripts then your instructions are here:
> >>> http://wiki.openembedded.org/index.php/Getting_Started
> >>
> >> I seriously recommend NOT using wiki.openembedded.org instructions if you want to build angstrom. I wish other people would do the same.
> >
> > I wish people complaining about the content in wiki.openembedded.org
> > would fix things instead of complaining about it.
> > It is a wiki so people can help improving things.
>
> Except that the wiki doesn’t allow anonymous edits or allows people to register. So no, people can’t help to improve things.
>
> Regardless of that, The angstrom site is, was and always will be the reference for setting up an angstrom build.
>
> –
> You received this message because you are subscribed to the Google Groups “Beagle Board” group.
> To post to this group, send email to beagleboard@googlegroups.com.
> To unsubscribe from this group, send email to beagleboard+unsubscribe@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/beagleboard?hl=en.

|

Dear Naveen,

[…]

I looked into the oebb.sh and it contains everything the
gettingstarted page does as far as setting up the environment and
other things it seems. Its a nice script, but it didn't answer my
question about where I can force bitbake to change my kernel version
from 2.6.37 to 2.6.32. I feel like the line DISTRO="angstrom-2008.1"
might have something to do with it. Is there anyway someone can
answer this question for me?

This is important since you can't use software packages which you
cross-compile on your machine with the angstrom demo you use from the
internet because the kernel versions of Uimage are different.

please do `git grep` for `PREFERRED_VERSION` in the `angstrom-2008.1`
and `beagleboard` config files or `DEFAULT_PREFERENCE` in the
`linux….bb` recipes. I think these are the lines how to determine what
version is used.

[…]

Thanks,

Paul

Mark Lazarewicz <lazarman@yahoo.com> writes:

so “drop it like its hot”

and follow the official TI linux release notes on omappedia to build Ubuntu

no one going to hire you with Angstrom Linux on your resume

|

  • |

Mark,

Who do you work for? I’d like to know what .com you are trolling for so I can stay away from them.

Thanks,

Philip

no one *should* hire a troll like you, who did?

Thanks for the reply Paul. Your suggestion was well received as I am
understanding things a little bit better. Unfortunately I couldn't
find the field where the kernel version goes in the beagleboard or the
Angstrom-2008.1 files and I couldn't figure out which linux..bb file
would pertain to the one I wanted to look at. (There were many for
different machines but not the beagleboard :/). I did however saw it
in the Angstrom-2010.x.conf file so I see how it works there.

If you have any idea how the Angstrom-2008.1 is able to compile uImage
with the kernel 2.6.32 (as it did for me today) that would be great!
It would help me understand this stuff a little better. Thanks.
-V

Hi all,

i have got a project to build an application on OMAP3530 . This
board is developed by ema-tech. Its a clone of ’ beagleboard ’ I have
recently booted the board with kernel 2.6.32 and Angstrom that is
built for a different Board[ omap3evm]…

i have the following doubts…Please give me some help/direction to go
further…

  1. i built the angstrom in console only mode… Is it the reason why i
    dont see anything on my 4’3 inch touchscreen lcd display?
  2. i logged in through hyperterminal . i went through the file
    system. I could not find linux kernel source code in /usr/src… why
    does it happen?
  3. How do i device application for an embedded project using this
    Angstrom linux.
  4. How do i access interNet through the board…
    i did the following. ‘’ ifconfig and then tried to set a routing
    gateway accordingly ‘’ Does it suffice to access net?
  5. Does building the angstrom for a Different Board and running it on
    my Board have any issues which are not superficial? if yes, how can i
    resolve them?

Thank you…