Project

General

Profile

« Previous | Next » 

Revision 954

Added by markw almost 6 years ago

Do not trash the firmware if there is no zpu build

View differences:

makemifv2
export VERSION=`cat VERSION`
echo "D:$TODAY:"
echo "V:$VERSION:"
if [[ ! -f ../firmware_eclairexl/ECLAIREXL.bin ]] ; then
echo 'File "../firmware_eclairexl/ECLAIREXL.bin" is not there, aborting.'
exit
fi
cat ../firmware_eclairexl/ECLAIREXL.bin |sed -e "s/Date:YYYYMMDD Core:XX/Date:$TODAY Core:$VERSION/" > ../firmware_eclairexl/ECLAIREXL.bin_dated
../firmware_eclairexl/mif_file_stuff/zpuromgen ../firmware_eclairexl/ECLAIREXL.bin_dated > zpu_rom.mif_insidesv2
cat ../firmware_eclairexl/mif_file_stuff/rom_prologue_40.vhd zpu_rom.mif_insidesv2 ../firmware_eclairexl/mif_file_stuff/rom_epilogue.vhd > zpu_romv2.mif

Also available in: Unified diff