Comments (2)
The -m
flag sets how much memory the target machine has. Beyond that, there is no practical limit--probably something in the terabyte range--beyond the host machine running out of memory, which of course would not manifest in this manner.
from riscv-isa-sim.
I see, nevertheless, can using initrd somehow overwrite spike's memory limits? Because interestingly, if I remove initrd flag, I can dump dts that sets memory to the asked amount, unless otherwise I get following error message:
Error: :9.27-38 Value out of range for 32-bit array element
Error: :10.25-36 Value out of range for 32-bit array element
FATAL ERROR: Syntax error parsing input tree
Child dtb process failed
And command and script that I am running for spike are the following:
./board/spike/riscv64/start.sh -m8192
#! /bin/sh
SCRIPT_DIR="$(dirname "$0")"
BR_BASEDIR="$(readlink -e "${SCRIPT_DIR}/../../..")"
export PATH="${BR_BASEDIR}/output/host/usr/bin:$PATH"
: "${SPIKE:=spike}"
exec "${SPIKE}"
--initrd "${BR_BASEDIR}"/output/images/rootfs.cpio
"${@}"
"${BR_BASEDIR}"/output/images/fw_payload.elf
from riscv-isa-sim.
Related Issues (20)
- Incorrect upward rounding result of `fsub.s` instruction HOT 7
- FENCE.TSO with invalid opcode HOT 1
- Label and register recognition in interactive debug mode HOT 2
- disabling user mode in misa - need some direction HOT 1
- Why does my custom instruction simulation run incorrectly?
- Debugging a simple "Hello, World!" program with Spike
- illegal instruction trap at vlm.v instr HOT 5
- [BUG] Entering interactive mode breaks UART input
- [BUG] instruction bugs for RV32 isa HOT 5
- Supporting variable XLEN HOT 3
- mseccfg useed and sseed bits cannot be modified when zkr is implemented
- [BUG] Spike incorrectly executes V extension instructions when vsstatus.vs is off and V=1. HOT 3
- frm is illegal value , a vector fp inst raise illegal inst but it still will make vs dirty HOT 1
- For the vfmv.v.f, fmv.w.x, fmv.x.w instructions, should spike consistently ignore the higher 32 bits when processing single-precision floating-point numbers? HOT 3
- mcontrol6.timing bit is set HOT 4
- Counter-intuitive MMIO device arguments behavior HOT 3
- reading mtinst gives illegal instruction exception HOT 1
- Spike setting VTYPE to 0x8000000000000000 for e16 mf8 HOT 1
- How can I read content from a file and use it as input for an ELF file HOT 4
- misa is not printed by the instruction csrrci HOT 1
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-isa-sim.