lowRISC / lowrisc-chip

The root repo for lowRISC project and FPGA demos.
http://www.lowrisc.org/
Other
593 stars 149 forks source link

Syntax error during make nexys4_ddr_rocket #191

Closed pcotret closed 2 years ago

pcotret commented 3 years ago

Followed the instructions available at: https://www.cl.cam.ac.uk/~jrrk2/docs/docs/

make nexys4_ddr_rocket

I got the following error:

make fpga/work-fpga/nexys4_ddr_rocket/rocket_xilinx.mcs BOARD="nexys4_ddr" CPU="rocket" BITSIZE=0x400000 XILINX_PART="xc7a100tcsg324-1" XILINX_BOARD="digilentinc.com:nexys4_ddr:part0:1.1" VENDOR="sifive" MEMSIZE="0x8000000" BBL=/home/pascal/Documents/ensta/work/lowrisc/lowrisc-chip-ariane-v0.7/lowrisc-quickstart/rescue.bin |& tee nexys4_ddr_rocket.log
/bin/sh: 1: Syntax error: "&" unexpected
make: *** [Makefile:61: nexys4_ddr_rocket] Error 2
jrrk commented 3 years ago

As explained in the docs, /bin/sh should be linked to bash instead of dash.

pcotret commented 3 years ago

Got it, thanks.