This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: help for a ecos beginner
- From: Andrew Lunn <andrew dot lunn at ascom dot ch>
- To: F dot T dot Nilsson at hw dot ac dot uk
- Cc: ecos-discuss at sources dot redhat dot com
- Date: Thu, 8 May 2003 15:39:38 +0200
- Subject: Re: [ECOS] help for a ecos beginner
- References: <1052400688.3eba5c30c41d8@wmail2.hw.ac.uk>
I suggest you get hold of the book:
Embedded Software Development with eCos
Anthony Massa
ISBN: 0130354732
It will give you a lot of background information.
> Here are my queries (I apologise if some of them are stupid)
>
> 1. What is a GDB stub and do I need to UU encode it for download to
> board. And is the stub an image of the components I choose at the build?
GDB stub is what runs on the target. It talks to gdb on the host. eCos
has a stub template, but its not used much now. Instead everyone
installs redboot the bootloader. It contains a stub, but also has many
more features. The installation guide will show you have to install
redboot.
> 2. There are two different templates for arm (PID and e7t), which
> should I use? There seems to be more information about the PID.
They are targets, not templates. Each target is for a specific board. So, what board do you have? Use that target.
> 4. How would I go about including my own c program in the build?
You don't. Once you have redboot working, you can then start
developing real applications. You will then need the net template
probably. See the getting started give on the website. It does some
simple programs, hello world etc.
Andrew
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss