public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] AEB-1 building apps for ROM
@ 2003-10-06 21:07 Gabriel Seher
  0 siblings, 0 replies; only message in thread
From: Gabriel Seher @ 2003-10-06 21:07 UTC (permalink / raw)
  To: ecos-discuss

Hello,

eCos ist entirely new ground for me, and while I was able to get a *lot* of
answers from the list archives, I still have some open ones, which may point
a single common problem. I finally decided to ask the list.

I am trying to build an application ("hello world" for now) for an AEB-1 and
have it start from FLASH, using the current tools and sources (eCos CD May
2003) on SuSE 8.2. Consulted the archives. No succcess so far. Here's what I
noticed:

1. My freshly installed eCos, using the config tool and following the
instructions in the manual does not build a proper GDB stub .UU file. What I
mean is that running hello using my built GDB stub doesn't work (getting
packet errors during 'load'), while using the .UU file from the CVS
repository works just fine. Ideas?

2. After building my GDB stub in the config tool I looked at the make
output. I discovered the following:

arm-elf-objcopy -O binary src/gdb_module.ncs.img src/gdb_module.ncs.bin

produces a warning: allocated section '.bss' not in segment. The same
message appears again 6 lines later, after the next arm-elf-objcopy.

And also when I try to arm-elf-objcopy my would-like-to-start-from-FLASH
hello app.

I don't know if this is to be worried about or not, since the config tool
completes with 'build finished' and the image doesn't seem suspicious,
except for the size, which is slightly larger than the .UU in the cvs - and
of course the fact that it refuses to work properly. Has anyone seen this
before?

Even being able to build working GDB stubs from scratch would be a nice step
forward - clearly not so much for the functionality but rather for my
understanding. I like to believe that once that's done, it's a short step to
have hello running upon power-on.

Thanks,

Gabriel


-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-10-06 21:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-10-06 21:07 [ECOS] AEB-1 building apps for ROM Gabriel Seher

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).