drichmond / RISC-V-On-PYNQ

RISC-V Integration for PYNQ
Other
165 stars 57 forks source link

Known errors on the project #22

Open overcookedlobster opened 2 years ago

overcookedlobster commented 2 years ago

From reddit here.

First off i've been very interested in this project because the idea of it is very cool, but there seems to be issues that are out of my technical capability (just a graduate student with minimal experience with zynq and pynq development).

1st one is you can't use version PYNQ image 2.6 and 2.7 because they updated the python library so the pynq.xlnk is no longer functional and replaced w/ pynq.allocate.

2ndly

sudo -H pip3.6 install https://github.com/drichmond/RISC-V-On-PYNQ/

is the recommended instruction to install the contents onto the notebook but pip3.6 is no longer used in ubuntu18.04 version of the image so what i did was clone the repo and install after

sudo git clone https://github.com/drichmond/RISC-V-On-PYNQ
cd RISC-V-On-PYNQ
python setup.py install

i don't know whether it makes a difference or not in the resulting installed folder.

3rd is that we can't use version 2.1 and 2.2 because the 16.04 linux is no longer supported so you can't clone anything from the web, the error log was something along the line of t ssh request from git denied or something. manually adding a repo from copying from the computer using samba is slower than directly cloning from the web idk why

4th one is cloning the riscv-gnu toolchain. 16 gigs as the sd card can no longer pass since the size of the repo is now larger. but even if you did use larger card 32gb and above, the build.err would read as follows /bin/sh: 1: /home/xilinx/riscv-gnu-toolchain/riscv-binutils/configure: not found make: *** [stamps/build-binutils-newlib] Error 127

thus i can't really use it, currently on the PYNQ 2.4 image version.

anyway also wanted to ask, how to manually compile a program for the picorv32-bram variant, and how to initialize the binary onto the rom from jupyter notebook.

and can you include the .hwh files of the project?

thanks in advance, cool project.

ps: if you can make a youtube video explaining the project more thoroughly it would be hella awesome. just a suggestion, not a request.

drichmond commented 2 years ago

Thanks @overcookedlobster!

We'll take a look, but it might take a bit. It's conceivable that we can pull the RISC-V toolchain from apt in 18.04.

This repo was developed before the .hwh files were used/standard, but we'll see what we can do.

thetushargoyal commented 8 months ago

Hey, @drichmond! I was trying to run this repository but ran into the same issues as @overcookedlobster. Are these issues solved?

Thanks :)