This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Problem with hello ... entry point


Hi

I have as soon as begun to use Redboot-eCos
and wanted of the  suggestions.


I have get the current version of eCos packages via CVS
I type the following in RedHat 7.1

ecosconfig new pc redboot
ecosconfig import ../i386/pc/...../redboot_FLOPPY.ecm
I do not use the memory flash

make


I 've successfully compiled both redboot.bin & redboot.elf

Redboot runs from a floppy disk on 486 pc

I have two PC (486 and Pentium)that communicates through serial port(I
use the program minicom(on Pentium))

I load with the serial port the compiled program hello with the tools
of  i386-.

I have loaded in memory RAM hello with the command load.



Platform: PC (I386)
Copyright (C) 2000, 2001, Red Hat, Inc.

RAM: 0x00000000-0x000a0000, 0x00088680-0x000a0000 available


load -v -r -m xmodem 0x00088680


file loaded 0x00088680-0x00163f80

Subsequently in memory I find


du -b 0x00088680 -l 0xff

0x00088680: 7F45 4C46 0101 0100  0000 0000 0000 0000
|.ELF............|
0x00088690: 0200 0300 0100 0000  0020 0000 3400 0000   |.........
..4...|
0x000886A0: 8C0B 0D00 0000 0000  3400 2000 0100 2800   |........4.
...(.|
0x000886B0: 1000 0D00 0100 0000  0010 0000 0020 0000   |.............
..|
0x000886C0: 0020 0000 4077 0100  E026 0200 0700 0000   |.
..@w...&......|
0x000886D0: 0010 0000 0000 0000  0000 0000 0000 0000
|................|
0x000886E0: 0000 0000 0000 0000  0000 0000 0000 0000
|................|
0x000886F0: 0000 0000 0000 0000  0000 0000 0000 0000
|................|
0x00088700: 0000 0000 0000 0000  0000 0000 0000 0000
|................|
0x00088710: 0000 0000 0000 0000  0000 0000 0000 0000
|................|
0x00088720: 0000 0000 0000 0000  0000 0000 0000 0000
|................|
0x00088730: 0000 0000 0000 0000  0000 0000 0000 0000
|................|
0x00088740: 0000 0000 0000 0000  0000 0000 0000 0000
|................|
0x00088750: 0000 0000 0000 0000  0000 0000 0000 0000
|................|


How I make to understand where is the entry point of the program hello ?


Thanking you in advance.

Carlo



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]