summaryrefslogtreecommitdiffstats
path: root/zpu/roadshow/roadshow/build/makefirmware.sh
blob: b44559bb16667a0000a0c3321dd33df45ef95226 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
echo >$2 ZylinPhiFirmware

if [ x"$3" = x ] ;then
	echo "No ic300.bit embedded into .phi"
else
	echo "Embed ic300.bit into .phi"
	echo >>$2 "FPGA: `wc -c $3 | grep -o -e \[0-9\]*`"
	cat >>$2 $1
fi
echo "Writing application"
echo >>$2 "Application: `wc -c $1 | grep -o -e \[0-9\]*`"
cat >>$2 $1
echo >>$2 Done
OpenPOWER on IntegriCloud