public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: Gary Thomas <gthomas@redhat.com>
To: Carlo Agostini <carlo.agostini@yacme.com>
Cc: ecos-discuss@sources.redhat.com
Subject: Re: [ECOS] Problem with hello ... entry point
Date: Mon, 03 Sep 2001 20:40:00 -0000	[thread overview]
Message-ID: <999574659.2048.9.camel@station91> (raw)
In-Reply-To: <3B939F4F.D15734D4@yacme.com>

On 03 Sep 2001 17:18:39 +0200, Carlo Agostini wrote:
> 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
> 

Don't use "raw" loads here.  Convert your ELF file to S-records using
'objcopy -O srec' and then use the RedBoot load command without '-r'.

> 
> 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


  reply	other threads:[~2001-09-03 20:40 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-09-03  8:17 Carlo Agostini
2001-09-03 20:40 ` Gary Thomas [this message]
     [not found]   ` <3B95DC90.F0202A01@yacme.com>
2001-09-05  1:14     ` Gary Thomas
2001-09-06 23:47 ` Jonathan Larmour

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=999574659.2048.9.camel@station91 \
    --to=gthomas@redhat.com \
    --cc=carlo.agostini@yacme.com \
    --cc=ecos-discuss@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).