diff --git a/scripts/forksand-trellis-all b/scripts/forksand-trellis-all index 91c20e0..4e13e88 100755 --- a/scripts/forksand-trellis-all +++ b/scripts/forksand-trellis-all @@ -490,18 +490,15 @@ cp -p emulator/emulator.bin /srv/tftp/emulator.bin && \ # Load image on FPGA # XXX busted: ./make.py --board=trellisboard --load && \ -# Use this to flash since make.py broken: -#cd $FPGADIR -#openocd \ -# -f litex/linux-on-litex-vexriscv/prog/trellisboard.cfg \ -# -c "init; svf litex/litex-boards/litex_boards/partner/targets/soc_ethernetsoc_trellisboard/gateware/top.svf ; exit" -## -c "init; svf litex/linux-on-litex-vexriscv/build/trellisboard/gateware/top.svf ; exit" -cd .. ###################### # Load image on FPGA # ###################### -# Done above -# openocd +# Use this to flash since make.py broken: +cd $FPGADIR +openocd \ + -f ./prjtrellis/misc/openocd/trellisboard.cfg \ + -c "init; svf litex/linux-on-litex-vexriscv/build/trellisboard/gateware/trellisboard.svf ; exit" +cd .. ################### # Connect to FPGA # ###################