This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
convert gdb_module.img to .bin using objcopy
- From: "AL Chane" <al_chane at issc dot com dot tw>
- To: <ecos-discuss at sources dot redhat dot com>
- Date: Wed, 13 Nov 2002 16:37:50 +0800
- Subject: [ECOS] convert gdb_module.img to .bin using objcopy
Hi, there,
I'm trying to bulild a GDB stub. After building,
gdb_module.img can be found under _install/bin.
What is the correct objcopy command to convert
gdb_module.img file to an executable binary file which
is loaded using ROM monitor to donwload to RAM and
run it?
I've tried the following:
objcopy -O binary gdb_module.img gdb_module.bin
Then download and run gdb_module.bin. But it doesn't
work.
thanks for the helps.
Al
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss