Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add information about --enable-qemu-system #1625

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,29 @@ rv64imac with lp64 and rv64imafc with lp64 will reuse this multi-lib set.
./configure --with-multilib-generator="rv64ima-lp64--f*c"
```

#### Enabling QEMU System Targets

The `--enable-qemu-system` configuration flag allows you to include QEMU system emulation targets in addition to the default user-mode emulation.

- **Enabled targets**:
- `riscv64-linux-user`
- `riscv32-linux-user`
- `riscv64-softmmu`
- `riscv32-softmmu`

- **Default targets** (without this flag):
- `riscv64-linux-user`
- `riscv32-linux-user`

Use this option if you need full system emulation for RISC-V. Example configuration:

```bash
./configure --enable-qemu-system --prefix=/opt/riscv
make build-sim SIM=qemu
```

This flag is particularly useful for developers testing and emulating full RISC-V systems rather than just user-space applications.

### Test Suite

The Dejagnu test suite has been ported to RISC-V. This can be run with a
Expand Down