|
|
|
@ -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 #
|
|
|
|
|
###################
|
|
|
|
|