AtomBusMon/target/lx9_dave/gen_mcs.sh
David Banks 131312e0e9 Multiboot: initial impl
Change-Id: I7efa2cf8079b4bfc1e89c5c26ecce30dfae34782
2019-10-16 15:49:58 +01:00

29 lines
933 B
Bash
Executable File

#!/bin/bash
. /opt/Xilinx/14.7/ISE_DS/settings64.sh
# The S25FL032P has space for ~12 designs if they are uncompressed
#
#-u 150000 \
#-u 1A4000 \
#-u 1F8000 \
#-u 24C000 \
#-u 2A0000 \
#-u 2F4000 \
#-u 348000 \
#-u 39C000 \
DIR=releases
NAME=${DIR}/IceMulti_$(date +"%Y%m%d_%H%M")_$USER
mkdir -p ${DIR}
promgen \
-u 0 loader/working/MultiBootLoader.bit \
-u 54000 unknown/working/UnknownAdapter.bit \
-u A8000 ice6502/ice6502.bit \
-u FC000 icez80/icez80.bit \
-o $NAME.mcs -p mcs -w -spi -s 8192
rm -f $NAME.cfi $NAME.prm