openrisc / orpsoc-cores

Core description files for FuseSoC
124 stars 79 forks source link

Problem programming de0 nano project built with fusesoc #118

Closed BryanOrabutt closed 5 years ago

BryanOrabutt commented 5 years ago

Im having an issue using the fusesoc pgm de0_nano command. I used fusesoc build de0_nano --bootrom_file=~/.local/share/fusesoc/orpsoc-cores/systems/de0_nano/sw/spi_uimage_loader.vh --spi_flash_file=./vmlinux and the project built with no errors.

However when I use fusesoc pgm de0_nano I get the following error messages: File "/usr/bin/fusesoc", line 11, in <module> load_entry_point('fusesoc==1.9', 'console_scripts', 'fusesoc')() File "/usr/lib/python3.7/site-packages/fusesoc/main.py", line 569, in main args.func(cm, args) File "/usr/lib/python3.7/site-packages/fusesoc/main.py", line 78, in pgm flags, args.system, args.backendargs) File "/usr/lib/python3.7/site-packages/fusesoc/main.py", line 310, in run_backend backend = get_edatool(tool)(eda_api=edalizer.edalize, UnboundLocalError: local variable 'edalizer' referenced before assignment I have tried using the quartus_pgm --mode=jtag -o p\;de0_nano.sof but I don't get any linux shell output over my FTDI cable connected to the UART. I also tried other elf files instead of the vmlinux but none of them seem to work. Any help is appreciated.

BryanOrabutt commented 5 years ago

Sorry, i realize I accidentally posted this issue in the wrong github repo. Had many tabs open, my apologies!