Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
openeuler_risc-v_qemu_install [2022/03/01 06:57] – [公共 CI 机器上编译用户模式的 QEMU] misaka00251 | openeuler_risc-v_qemu_install [2023/04/28 02:23] – Change PowerShell script misaka00251 | ||
---|---|---|---|
Line 33: | Line 33: | ||
qemu-system-riscv64 ` | qemu-system-riscv64 ` | ||
-nographic -machine virt ` | -nographic -machine virt ` | ||
- | -smp 2 -m 4G ` | + | -smp 8 -m 16G ` |
- | -kernel | + | -display sdl ` |
- | -drive file=openEuler-preview.riscv64.qcow2, | + | -kernel |
+ | -bios none ` | ||
+ | -drive file=openEuler-22.03-V2-xfce-qemu-preview.qcow2, | ||
+ | -device virtio-vga | ||
-device virtio-blk-device, | -device virtio-blk-device, | ||
-device virtio-net-device, | -device virtio-net-device, | ||
- | -netdev user, | + | -netdev user, |
- | -append ' | + | -device qemu-xhci -usb -device usb-kbd -device usb-tablet |
- | -bios none | + | -append ' |
</ | </ | ||
Line 128: | Line 131: | ||
$ cd qemu | $ cd qemu | ||
$ git checkout stable-6.1 | $ git checkout stable-6.1 | ||
- | $ ./configure --target-list=riscv64-softmmu, | + | $ ./configure --target-list=riscv64-softmmu, |
$ make | $ make | ||
$ make install | $ make install | ||
Line 142: | Line 145: | ||
</ | </ | ||
- | 随后 '' | + | 随后 '' |
:!: 公共机器上无需再去 openEuler 官方下载相关文件,Wechat@nil 准备了一份放在了 / | :!: 公共机器上无需再去 openEuler 官方下载相关文件,Wechat@nil 准备了一份放在了 / | ||
+ | |||
+ | ==== 我的虚拟环境没空间了 ==== | ||
+ | |||
+ | 这我还真在编译 openjdk 的时候遇到了。 | ||
+ | |||
+ | 首先关机,然后使用 '' | ||
+ | |||
+ | 然后使用 '' | ||
+ | |||
+ | 接下来,进入系统并安装 '' | ||
+ | |||
+ | 然后输入 '' |