Comments (4)
I tried this too and had similar but confusing results. Even though building the 32-bit pk puts the results in a riscv64-uknown-elf directory. Turns out that works but I tried moving them to the 32 bit dir before figuring out it was actually right. Just not what I expected. Seems spike looks for it there.
The correct configure lines are present in the build-rv32ima.sh script and I wanted to build a RV32i version (not ima) and so just adapted from that.
Also, you need to make fesvr before riscv-isa-sim. It all works in the end.
from riscv-pk.
Hi neocogent. Sadly, I only found the build-rv32ima.sh script after battling with the above, but it was good to see that I arrived at the right answer independently. :) Hopefully the README.md here can still be updated to save people some confusion and trouble. Good luck with your RV32i project.
from riscv-pk.
Facing the same issue.
I can't find build-rv32ima.sh
, but removing -m32
flags from Makefile
solves an issue (at least build succeeds).
from riscv-pk.
I can confirm that without -m32
pk seems usable with spike.
from riscv-pk.
Related Issues (20)
- error when build RV32 HOT 1
- RV32 bbl loader ../machine/minit.c:78: assertion failed: !(read_csr(misa) & fd_mask) HOT 1
- [question]A request on c-based bbl payload example
- Pk doesn't recognize vector instructions HOT 1
- Compiling error in Mac M1 HOT 1
- Error While configuring Berkeley boot loader HOT 2
- how to suppres "bbl loader" output by spike pk? HOT 1
- Redundant Load and Branch Instructions from HTIF while executing binaries HOT 3
- bbl error
- Loading large file into memory HOT 2
- could not open pk HOT 1
- "Cannot open output file dummy_payload" when building with docker HOT 1
- Linux kernel not showing output after earlycon0 disabled
- macOS 14,compile fail ,"./configure --prefix=/opt/riscv --with-arch=rv32gc --with-abi=ilp32d make linux"
- Issue with linux HOT 1
- pk: mmap based on `p_filesz` fails when it is 0 (zero) HOT 2
- Support RVC program without requiring RVC pk HOT 1
- Issue while installing the riscv-pk -- ../pk/pk.c:188: Error: unknown CSR `senvcfg' HOT 2
- GCC 15 + RVV cause illegal instruction sequence in PK HOT 1
- Issue when installing PK for RV32E
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from riscv-pk.