This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Starting with eCos : i386 target and hello application
- From: "f dot carrai at libero dot it" <f dot carrai at libero dot it>
- To: ecos-discuss at ecos dot sourceware dot org
- Date: Fri, 30 Mar 2012 16:18:46 +0200 (CEST)
- Subject: [ECOS] Starting with eCos : i386 target and hello application
- Reply-to: "f dot carrai at libero dot it" <f dot carrai at libero dot it>
Hello everybody,
this is my first question to the list. Iâm not able to run the âhelloâ
application sampled in Ecos v3.0. Iâm working with a standard i386 PC as
target
on which I successfully installed GRUB and REDBOOT. When Redboot starts it
shows:
Platform: PC (I386)
RAM: 0x00100000-0x040F0000 [0x00195130-0x01000000]
I built eCos using the âi386 PC target with RTL8139 ethernetâ template and
then the hello application from the examples.
When I try to download via TFTP the âhelloâ image, I got âCanât load ELF File
â program headers out of orderâ.
While investigating, I realized the start address of the Redboot and of Hello
are the same : 0x0108000.
Here Iâm confused. May I load the hello code everywhere in the available RAM ?
Just to try, I loaded the image at 0x0208000 and the expected âRaw file
loadedâ:â show up.
But when I gave the GO command nothing happened.
Before to continue, am I doing right ?
Thanks in advance.
Fab
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss