# HG changeset patch # User Space Falcon # Date 1441522929 0 # Node ID c6c83ac3c1fb76a1e63284dc937b7fc4a4318746 # Parent 8e7d4b264c730c8665e165fd33c0145d53862b3c copyout.sh: produce a binary version of the flashable image diff -r 8e7d4b264c73 -r c6c83ac3c1fb g23m/copyout.sh --- a/g23m/copyout.sh Sun Sep 06 06:52:39 2015 +0000 +++ b/g23m/copyout.sh Sun Sep 06 07:02:09 2015 +0000 @@ -2,6 +2,9 @@ # This shell script copies and renames the final output files from TI's # nasty build system. The latter gives these files insanely long names, # hence we need to rename them before we can work with them comfortably. +# We also produce a binary version for more reliable flashing with +# fc-loadtool. (We can do a CRC-32 check when flashing a binary image, +# but it is more difficult with SREC.) if [ "$1" = mfw -o "$1" = 2092 ] then @@ -23,3 +26,4 @@ cp -p __out__/$long_name/bin/$long_name.$ft $out/$out.$ft done cp -p __out__/$long_name/bin/str2ind.tab $out +mokosrec2bin $out/$out.m0 $out/$out.bin FF