simple sample application and its execution

Hi,
I am new to BB, Can any one point me to get the below info?

1. where I can get simple sample application
2. guide to load and run the application

Thanks a lot

What kind of application are you after…? The Angstrom Distribution is popular starting point:
http://www.angstrom-distribution.org/node/47

What kind of application are you after...? The Angstrom Distribution is popular starting point:http://www.angstrom-distribution.org/node/47

The application that uses both ARM core and TMS320C64x+ cores.
Could you please point me where I can get guidelines to load and run
the demo application ?

Hi,
I have downloaded below files at http://www.angstrom-distribution.org/demo/beagleboard/

1. Angstrom-Beagleboard-demo-image-glibc-ipk-2009.X-stable-20090612--
beagleboard.rootfs.tar.bz2
2. MLO
3. README.txt
4. md5sums
5. modules-2.6.29-r37-beagleboard.tgz
6. u-boot.bin
7. uImage
8. uImage-2.6.29-r37-beagleboard.bin
9. x-load.bin.ift

I have Windows PC and I can login to SuSE using Putty.
I tried to extract " Angstrom-Beagleboard-demo-image-glibc-ipk-2009.X-
stable-20090612--beagleboard.rootfs.tar.bz2 "
but I got errors.. http://pastebin.com/m5cf20946

what these zip files contains?where can I find the guide how to use
above stuff and load & run the demo application.
Do I need to keep all these files in SD card? or do I need to extract
and build anything?
what are the tools used for formatting SD card on windows machine? any
guide?

Kindly help out to newbie.

try this

$~>bunzip2 Angstrom-Beagleboard-demo-image-glibc-ipk-2009.X-stable-20090612–beagleboard.rootfs.tar.bz2

$~>tar -xvf Angstrom-Beagleboard-demo-image-glibc-ipk-2009.X-stable-20090612–beagleboard.rootfs.tar

Vasanth:
Thanks a lot !

Can you help out to run the demo codes successfully on BB ?
Previous mail contains my queries. Kindly help.

Thank you.

I am newbie to linux and BB.
I would like test any sample application ( PCM playback also fine at
start up) on BB.
PCM play : keeping PCM file or wav file in SD card and give play
command
In this Angstrom demo image, where can I find demo application files
and guide to test ?

I understood that I have to format SDcard as two partitions and copy
1. MLO, uImage-2.6.29-r37-beagleboard.bin as uImage.bin, u-boot.bin
and x-load.bin.ift in FAT32 partition
2. Angstrom-Beagleboard-demo-image-glibc-ipk-2009.X-stable-20090612--
beagleboard.rootfs.tar.bz2 in ext3 partition

but when I have to untar Angstrom-Beagleboard-demo-image-glibc-
ipk-2009.X-stable-20090612--
beagleboard.rootfs.tar.bz2 ?

where I have to keep and untar modules-2.6.29-r37-beagleboard.tgz ?

Can anyone help out on this ?

hi,

firstly u need linux box to do dual partition SD card u can get the procedure from http://code.google.com/p/beagleboard/wiki/LinuxBootDiskFormat
and then
http://code.google.com/p/beagleboard/wiki/HowToGetAngstromRunning
i believe u have seen this. this is great tutorial for beginners

follow this and there is light…

Hi Vasanth,
I saw the links but I have some doubts and confusing as I am new to
Linux, OMAP, BB.

First If I test any simple application on BB, it will be greatful.
I would like test any sample application (wav/PCM file playback also
fine at start up) on BB.
wave/PCM file play : keeping PCM file or wav file in SD card and give
play command.
Can you point me to get such stuff ?

I think after completing the simple test it is better to test Angstrom
demo image.
Can you suggest in this regard ?
In this Angstrom demo image, where can I find demo application files?
( is Angstrom-Beagle....tar.bz2 is having that stuff ?)
For testing Angstrom demo image, I understood that I have to format
SDcard as two partitions
and copy
1. MLO, uImage-2.6.29-r37-beagleboard.bin as uImage.bin, u-boot.bin
and x-load.bin.ift in FAT32 partition
2. Angstrom-Beagleboard-demo-image-glibc-ipk-2009.X-stable-20090612--
beagleboard.rootfs.tar.bz2 in ext3 partition

but when I have to untar Angstrom-Beagleboard-...rootfs.tar.bz2 ?
immediately after partitioning as ext3 in Linux PC or uImage will take
care this ?

Where I have to keep and untar modules-2.6.29-r37-beagleboard.tgz ?

Is my understanding correct ?

Please guide me towards success.

Thanks in advance.

hi emperor,

first step creating boot partition

copy MLO, uImage, uboot etc except Angstrom tar ball in partition 1 - FAT32
in second partition ext3 copy Angstrom to card and untar it inside the card.

now card is ready for BB.

To test your application thats code written by you you need to have this setup
arm compiler toolchain u can get it from codesourcery a link which is very helpfull below
http://code.google.com/p/beagleboard/wiki/BeagleSourceCode
setup this tool chain and cross compile ur codes for omap architecture

i dont know if u can get the codes for the application u mentioned but i have fair idea that u need alsa libraries cross compiled for omap and then u can write ur application and cross compile put it inside card and test it on BB

u can try this for now u’ll learn as and when u go ahead