You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
fpga-cruft/scripts/forksand-trellis-linux-litex

20 lines
688 B

5 years ago
#!/bin/bash
rm -rf /home/jebba/devel/FPGA/litex/linux-on-litex-vexriscv/build
cd /home/jebba/devel/FPGA/litex/linux-on-litex-vexriscv/
./make.py --board=trellisboard --build
./make.py --board=trellisboard --load
lxterm /dev/ttyUSB1 --speed=1e6
#openocd -f /home/jebba/devel/FPGA/litex/linux-on-litex-vexriscv/prog/trellisboard.cfg -c "init; svf /home/jebba/devel/FPGA/litex/linux-on-litex-vexriscv/build/trellisboard/gateware/top.svf ; exit"
#echo "To boot Linux from SLOW serial run:"
#echo "lxterm --images=/home/jebba/devel/FPGA/muh/jeboot.json /dev/ttyUSB1 --no-crc --speed=1e6"
#echo "To just connect run, then TFTP boot is fastest:"
#echo "lxterm /dev/ttyUSB1 --speed=1e6"