# HG changeset patch # User Mychaela Falconia # Date 1445558752 0 # Node ID 2a63c80c59d5d49c4bcd34258f7352ee7c9703ad # Parent 000bf2b7521eddc97ac7051ca9196a2367fcd753 copyout.sh: enhanced version from current leo2moko-debug imported diff -r 000bf2b7521e -r 2a63c80c59d5 g23m/copyout.sh --- a/g23m/copyout.sh Fri Oct 23 00:04:12 2015 +0000 +++ b/g23m/copyout.sh Fri Oct 23 00:05:52 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