[Libre-soc-dev] LibreSOC Implementation on arty7 fpga dev boards.
Luke Kenneth Casson Leighton
lkcl at lkcl.net
Tue Oct 5 18:43:25 BST 2021
crowd-funded eco-conscious hardware: https://www.crowdsupply.com/eoma68
On Tue, Oct 5, 2021 at 6:05 PM varun mohan <varunmadhavam at gmail.com> wrote:
> Hi Luke,
> > this is *not* a difficult task if you are an experienced python
> > it should be well under 45 minutes of work and *only* result in around
> > 40-50 lines of code, absolute maximum.
> I have very basic knowledge of python but I tried. I have created a new
> fpga.py file with the suggested modifications. for the time being, kept here
hey that looks brilliant, it's exactly as i would expect it to look. you got
the variant="a7-100", toolchain="symbiflow", all the other args were
copied from the other two BaseSoCs, i'd expect that to work
> But while trying to generate the bitstream, I am hitting an error. Looks
> like it's while trying to compile some firmware for the SOC. Entire error
> log is kept here
> Can you please have a look and may be help to resolve the issue.
*sigh* that is very familiar, and down to using too modern (too recent) versions
under enormous time pressure i got things running, and had to "freeze" (use)
a version of litex that was up-to-date about... 15 months ago.
Las (the user on #libre-soc IRC libera chat) managed to get through this
by *back-dating* the version of litex *and all its dependencies) manually
checking out the required git commit versions around that time, and of course
i can't now remember where that was. we _did_ document it...
here you have to make sure you use the right version of nmigen and yosys:
got it! here's the list. you'll have to "git checkout xxxxxxxx" manually
in each subdirectory then apply the patch shown:
i've added that bugreport to this page:
if you could extract that list from the bugreport and put the names
of the litex sub-repos into the page that would be real handy.
apologies we haven't yet had time to do a script for this. if you'd
like to help write one that would be great, it would help everyone.
it can go in the dev-env-setup scripts, if you are happy with the Charter
and send me an ssh public key, you can add it yourself.
More information about the Libre-soc-dev