public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: "Huang Qiang" <jameshq@liverpool.ac.uk>
To: "eCos" <ecos-discuss@sources.redhat.com>
Subject: RE: [ECOS] How to create a Bin file for downloading
Date: Tue, 24 Apr 2001 03:19:00 -0000	[thread overview]
Message-ID: <KIEBICHBADHFCLGCKOPDKEGBCBAA.jameshq@liv.ac.uk> (raw)
In-Reply-To: <3AE5512C.A2D80E5E@redhat.com>

Thank you Jonathan.

But...
Can I get the program in ELF format under windows 2000? How to get it?
I used to get a file name a.out. what can I do with this file.

command used to create this file:
arm-elf-gcc -g -I/c/ecos-work/E7T_install/include
led.c -L/c/ecos-work/E7T_install/lib -Ttarget.ld -nostdlib

after that I got a file name: a.out
I used to download it by using Insight 5.0 but now I want to install in in
the target's flash memory by using Redboot.

regards!


-----Original Message-----
From: ecos-discuss-owner@sources.redhat.com
[ mailto:ecos-discuss-owner@sources.redhat.com]On Behalf Of Jonathan
Larmour
Sent: 24 April 2001 11:11
To: Huang Qiang
Cc: eCos
Subject: Re: [ECOS] How to create a Bin file for downloading


Huang Qiang wrote:
>
> While using eCos configuration tool and the cross compiler and linker how
to
> build a program to be store in the target's flash memory and start it at
the
> startup?

to create a binfile on ARM use:

arm-elf-objcopy -O binary file file.bin

where file is the program in ELF format.

How to get it onto your board is board dependent. For the EB40 I don't know
I'm afraid.

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

  reply	other threads:[~2001-04-24  3:19 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-04-24  2:27 Huang Qiang
2001-04-24  3:10 ` Jonathan Larmour
2001-04-24  3:19   ` Huang Qiang [this message]
2001-04-24  3:24     ` Jonathan Larmour
2001-04-24  6:18   ` Lewin A.R.W. Edwards

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=KIEBICHBADHFCLGCKOPDKEGBCBAA.jameshq@liv.ac.uk \
    --to=jameshq@liverpool.ac.uk \
    --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).