lowRISC / lowRISC/epic-c-example
Error when run with spike
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 14
- Forks
- 5
- PR merge metrics
- No merged PRs in 30d
Description
Hi, I tried to run the example and it showed the error as follow:
spike --isa=rv32imc -m0x00002000:0xFFFE000,0x10000000:0x70000000,0x80000000:0x80000000 kernel
devices at [2000, 10000000) and [2000000, 20c0000) overlap
The issue may due to the newer version of spike.
Anyway, I think the memory region suggested by -m option in Makefile should be adjusted to make the example work.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in the Makefile at the -m memory-region setting and compare it with the overlap reported by the shown spike command. Run the example with the adjusted region and confirm that Spike no longer reports overlapping devices and the kernel starts successfully.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- build-system, embedded-iot
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100