This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: how to choose the package and the multi-thread
- To: kiki w <kiki_wus at yahoo dot com>
- Subject: Re: [ECOS] how to choose the package and the multi-thread
- From: Jonathan Larmour <jlarmour at redhat dot com>
- Date: Fri, 05 Oct 2001 22:11:57 +0100
- Cc: ecos-discuss at sources dot redhat dot com
- References: <20011005184010.65497.qmail@web11303.mail.yahoo.com>
kiki w wrote:
>
> Hi,
>
> >From what you said, my understanding is:
>
> 1. Without porting redboot on a custom board, we
> could use the functions such as cyg_thread_create
> to develop our application software (when building
> the eCos library, what we need to do is only to
> include ecos kernel and untron package) and run
> that code in RAM of our board. We do not need
> any debugger program running on the custom board.
Well, yes. Although I thought you wanted to go straight to running your
application from ROM. You would have to set your configuration not to
believe a ROM monitor is present though. And if you want debugging, you
would have to include GDB stubs in your app.
But porting RedBoot is as easy as porting eCos. It uses the same HAL as
eCos after all! It's probably easier to port RedBoot as you'll have to do
more or less the same work when porting eCos.
> 2. we could finally build the binary image for ROM by
> setting up the startup type to ROM and using some
> flash programmer to download that image into ROM.
>
> Is my understanding correct? Thanks!
Yes.
Jifl
--
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine