This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
developers:env_emul [2019/04/10 22:12] mick |
developers:env_emul [2019/04/12 19:16] (current) mick [Running Linux on QEMU] |
||
---|---|---|---|
Line 20: | Line 20: | ||
<code> | <code> | ||
- | <qemu install dir>/bin/qemu-system-riscv64 -nographic -machine virt -smp 8 -m 2G \ | + | <qemu install dir>/bin/qemu-system-riscv64 -nographic -machine virt -smp <number of cores> -m <X>G -s \ |
-bios <path to bbl or fw_jump.elf (in case of OpenSBI)> \ | -bios <path to bbl or fw_jump.elf (in case of OpenSBI)> \ | ||
-kernel <linux sources dir>/vmlinux \ | -kernel <linux sources dir>/vmlinux \ |