mirror of
https://github.com/captain-amygdala/pistorm.git
synced 2026-01-23 18:56:55 +00:00
PiSCSI Boot ROM progress, various fixes and enhancements, TD64 support Added updated open source RTL and bit stream by Niklas Ekström (https://github.com/niklasekstrom)
34 lines
731 B
Batchfile
34 lines
731 B
Batchfile
set quartus_bin_path=C:\intelFPGA_lite\20.1\quartus\bin64
|
|
set piaddress=192.168.1.144
|
|
|
|
%quartus_bin_path%\quartus_sh --flow compile pistorm
|
|
if %errorlevel% neq 0 GOTO ERRORCOMPILE
|
|
|
|
%quartus_bin_path%\quartus_cpf -c -q 100KHz -g 3.3 -n p output_files\pistorm.pof bitstream.svf
|
|
if %errorlevel% neq 0 GOTO ERRORSVF
|
|
|
|
echo y | pscp -l pi -pw raspberry -P 22 bitstream.svf %piaddress%:./pistorm/bitstream.svf
|
|
if %errorlevel% neq 0 GOTO ERRORSCP
|
|
|
|
echo y | plink -l pi -pw raspberry -P 22 %piaddress% "cd pistorm && ./nprog.sh"
|
|
if %errorlevel% neq 0 GOTO ERRORPROG
|
|
|
|
goto done
|
|
|
|
:ERRORCOMPILE
|
|
echo "ERROR COMPILE"
|
|
goto done
|
|
|
|
:ERRORSVF
|
|
echo "ERROR SVF"
|
|
goto done
|
|
|
|
:ERRORSCP
|
|
echo "ERROR SCP"
|
|
goto done
|
|
|
|
:ERRORPROG
|
|
echo "ERROR PROGRAMM"
|
|
|
|
:DONE
|