Open d0ntrash opened 3 years ago
I have been trying to but unable to.
https://github.com/llvm-mirror/compiler-rt
seems to be a location we can try to point it to, but could not find where to change it in the code.
Does anyone have an idea ?
Also don't know where to change it, but after an initial (unsuccessful) run of icebreaker.py
, changing the compiler_rt section of .git/modules/soc/deps/litex/config
to:
[submodule "litex/soc/software/compiler_rt"]
active = true
url = https://github.com/litex-hub/pythondata-software-compiler_rt
seems to have enabled icebreaker.py
to run and build to completion.
I also had to change the VexRiscv-verilog repo link as well:
[submodule "litex/soc/software/compiler_rt"] active = true url = https://github.com/litex-hub/pythondata-software-compiler_rt
[submodule "litex/soc/cores/cpu/vexriscv/verilog"] path = litex/soc/cores/cpu/vexriscv/verilog url = https://github.com/litex-hub/pythondata-cpu-vexriscv.git
And then do a git submodule update .
For whatever reason, I also failed timing at the default 21MHz. I lowered it to 12MHz (to match the Icebreaker default) and passed. The clock can be changed in the icebreaker.py script or as an argument.
Did you ever manage to figure out how to clock it higher @jaycosper ?
@sedurCode I did not clock it at the full 21MHz, but got to 20MHz. It was barely failing timing, but I did not spend the effort to fully debug. from icebreaker.py:
The submodule "litex @ fbadfa1" uses an outdated URL in .gitmodules:
The URL is not reachable anymore. It seems like llvm moved to
https://github.com/llvm/llvm-project
. This leads to an error while installing submodules using thelxbuildenv.py
scirpt.Using the LiteX master branch instead seams to break some more things.
Does anyone have an ideas on how to fix this easily?