diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1999-04-23 16:35:11 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1999-04-23 16:35:11 +0000 |
commit | 16a384cfb161f6a3dbcd69fc3b788b6dbc229669 (patch) | |
tree | dbbb2e908c64a7f8de5d4c99c16559158b99f1cf /c/src/lib/libbsp/i386/ts_386ex/tools/coff2bin | |
parent | Added lstat(). (diff) | |
download | rtems-16a384cfb161f6a3dbcd69fc3b788b6dbc229669.tar.bz2 |
New BSP from Tony R. Ambardar <tonya@ece.ubc.ca> from the
University of British Columbia. The BSP is for:
Yes, this is the "entry model" of a series of boards from Technologic
Systems. Costs <$200 I believe. They have a WWW page at www.t-systems.com.
I am letting them know about the availability of this BSP too.
Diffstat (limited to 'c/src/lib/libbsp/i386/ts_386ex/tools/coff2bin')
-rwxr-xr-x | c/src/lib/libbsp/i386/ts_386ex/tools/coff2bin | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/c/src/lib/libbsp/i386/ts_386ex/tools/coff2bin b/c/src/lib/libbsp/i386/ts_386ex/tools/coff2bin new file mode 100755 index 0000000000..fbe5ed5ca3 --- /dev/null +++ b/c/src/lib/libbsp/i386/ts_386ex/tools/coff2bin @@ -0,0 +1,23 @@ +#!/bin/sh +# Just a Q&D prog to convert a bunch of RTEMS generated COFF files to raw +# binary images that can be loaded on the TS-1325. The converted files are +# saved in the current directory. +# +# Tony Ambardar + +OBJCOPY=/usr/local/rtems/bin/i386-rtems-objcopy + +if [ $# = 0 ] +then + echo "Description: Convert RTEMS coff files to raw binary files." + echo "Usage: coff2bin <list-of-coff-files>" + echo + exit 1 +fi + +for i in $* +do + OUTFILE=$(basename `echo $i | sed 's/\.[a-zA-Z0-9]*$//g'`.bin) + $OBJCOPY -O binary $i $OUTFILE +done + |