Please Guide

Hi All ,
I am in fix and need some info :-

  1. Can i use BB as basic board for basic development .
    ( What i mean is can i write an simple C / Assembly prog. and then load that prog. on it. Something like 8051 dev.Board )

  2. Or can i individually write an driver for the peripherals.( In that case is the required details & programming manual of other peripherals available)

Basically my need is any ARM board where i can work and understand the working of various peripherals (Like UART , SPI , I2C etc on ARM architecture )
Once i have command ,i can go on Linux porting .

SORRY if i have asked any non-relevant question. I taught to ask u all as u all have more exposure of ARM than me.
I can work on ARM just for study purpose.Would like to buy for study purpose and then Development( Long way to go).

Thank You
Ashish Mishra

Hi,
no one in this blog gives a jump start to a beginner. i dont know why…
But, i can tell you… this board is for more complex than 8051.
u can write c programs assembly programs etc… and run…
u can write a driver and njoy,
before u start to work on this board, u must have a great deal of understanding about kernel modules…

that is the real funda behind this board. write kernel modules and compile them to run…

Hi Yaswanth,
I can work on linux part.
Have worked on IPC , Modules and even Device Driver

I have limited ARM exposure , and that’s why looking for an ARM kit where in i can learn and also develop application.

a) As you said i can write C programmes & assembly on BB, how can i do this ?
Do i need ant particular IDE ? .
b) Or i can write modules (a sort of driver) for the peripherals and develop basic application to test the drivers.?(Actually this will be of much use to me as it will reduce the cost of expensive IDE . So i can work directly on BB with LINUX running and modules for peripherals)

IS the programming manual & memory mapping info available with BB.

Please help

Thank You
Ashish Mishra

u need to have a cross compiler installed in ur host computer…
then build the files and load it to ur board.
or opkg the cross compiler into ur board and build the files there itself.
but, building the files on beagle is not so preferred…
u check for code-sourcery g++ tool chain… it will be helpful in cross compiling c/assembly/c++ codes.

also go through the data sheet [3000+pages] if u want to learn about arm.

all the drivers etc etc must be cross compiled through the g++ tool chain…
go through website of codesourcery… toolchain

Most linux distro’s have a gcc package for the code-sourcery cross compiler, it is also available for windows and Macs. If you are trying to build the whole system the OpenEmbedded tool chain is the best way I know to get the whole thing working. For linux you can follow simple instructions to checkout there basic scripts and they will in turn download all the pieces and do the builds. What you end up with is directories or tar images of the filesystems to install on a flash card and boot. It uses bitbake which is a tool for describing modules and building them. It does the patching of most of the modules automatically and some find it too abstract, but starting from their simple install scripts which you can download from git you get up and running fairly quickly…

If you want an IDE eclipse will work with the tool chain. There are also some commercial packages, but I have no experience with anything other than the OEBB packages or gcc tools

Another option is going to Narcissus which will build the system with the packages you select and give you the disk images to download. If you select the development sdk packages you will be able to build locally.

Rich

Most linux distro’s have a gcc package for the code-sourcery cross compiler,

I booted angstrom package… does it have the inbuilt gcc??

it is also available for windows and Macs. If you are trying to build the whole system the OpenEmbedded tool chain is the best way I know to get the whole thing working. For linux you can follow simple instructions to checkout there basic scripts and they will in turn download all the pieces and do the builds. What you end up with is directories or tar images of the filesystems to install on a flash card and boot.

It uses bitbake which is a tool for describing modules and building them.

i dont have bitbake for my board, what should i do?

Most linux distro’s have a gcc package for the code-sourcery cross compiler,

I booted angstrom package… does it have the inbuilt gcc??

From where you got the Angstrom version for Beagle Board ?
You can build Angstrom with GCC support from narcissus .

it is also available for windows and Macs. If you are trying to build the whole system the OpenEmbedded tool chain is the best way I know to get the whole thing working. For linux you can follow simple instructions to checkout there basic scripts and they will in turn download all the pieces and do the builds. What you end up with is directories or tar images of the filesystems to install on a flash card and boot.

It uses bitbake which is a tool for describing modules and building them.

i dont have bitbake for my board, what should i do?

As rich mentioned you have to build your OpenEmbedded Environment in your Host PC and you can bitbake the specific package there which will create ipk packages.This Ipk pakcages can easily installed in your Angstrom /Beagle Board by using opkg command.

Pls refer the Angstrom User Manual, OE user Manual etc…