Closed sctincman closed 4 years ago
Yeah, the QEMU build got broke and is now out of sync with the upstream qemu. I will look into fixing that - thanks for reminding me :-)
If you use the latest release it should work: https://github.com/sifive/freedom-tools/tree/v2019.08.0
Excellent, and actually came after I removed the makefile steps that copy the scripts/qemu-sifive*.c files (but leave the sed file patching in place) to find that package and all the other packages build successfully as well :) I haven't tried to see if qemu itself runs correctly though.
Still broken on master ...
This should be fixed, but meanwhile, it would also be a good idea to change the default branch of freedom-tools to point at the v2019.08 branch, because the master branch is for development work and isn't supported.
master is now updated, and qemu builds fine - please try it out
Closing, as I believe the issue is solved in master.
While trying to build master branch on Ubuntu 19.10, I ran into this issue:
Appears that
sifive_prci.h
was renamed tosifive_{u,e}_prci.h
, but wasn't update inscripts/qemu-sifive-{u,e}.c
After editing those file and re-rerunning
make
I still hit compile time errors, as it appears the script files have become out of sync with upstream qemu (which appears to have sifive changes merged).There are at least differences between them (wc used for brevity)