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: ecos-discuss at sources dot redhat dot com
- Subject: Re: [ECOS] how to choose the package and the multi-thread
- From: kiki w <kiki_wus at yahoo dot com>
- Date: Fri, 5 Oct 2001 10:31:25 -0700 (PDT)
hi,
Thanks for your reply, for my first question, I got
the following after using arm-elf-size
$ arm-elf-size hello.exe
text data bss dec hex filename
26660 2320 15404 44384 ad60 hello.exe
is it bytes or bits?
I am still not quite clear about the answer for the my
second question:
you said"you can build eCos applications to run
directly
from ROM. That's all RedBoot is - an eCos
applicatino built to run from ROM." ---- But How can I
build ecos
application to run directly fro ROM? the following is
what I did:
1. build templates: choose EB40 and default package
2. Once I have the EB40 template selected, click on
the "eCos HAL"package to open it up. Next, click on
the "Atmel evaluation board (EB40)" package
to open it. Choose startup type from the RAM to ROM.
3. Build the library.
I was wondering whether what I did is correct.
Then I download an application code into the board
(with linking to the new liarary),but I got the
following
error message from the gdb consile window:
Loading section .rom_vectors, size 0x40 lma 0x1010000
loading section .text, size 0x65dc lma 0x1010040
..............................
.............................(omit )
start address 0x1010040 , load size 28980
transfer rate : 23181 bits/sec, 491 bytes/write
RDI_execute: undefined instruction
program received signal SIGILL, ILLegal instruction.
0x101005c in_initMemory ( )
SO what is the problem? also address starts with
0x01000000 in eb40 are flash memory. maybe
this is the problem?
Thanks in advance.
--- Jonathan Larmour <jlarmour@redhat.com> wrote:
> > 2. I know a lot functions of eCos need
> > the redboot running on the board, my question is:
> > if I only want to use the kernel and muiti-threads
> > functions of eCos, do I have to port redboot on
> > our board?
>
> No, you can build eCos applications to run directly
> from ROM. That's all
> RedBoot is - an eCos applicatino built to run from
> ROM.
>
>> 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
__________________________________________________
Do You Yahoo!?
NEW from Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month.
http://geocities.yahoo.com/ps/info1