Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
openeuler_risc-v_qemu_install [2022/03/01 17:35] – Add disk space misaka00251 | openeuler_risc-v_qemu_install [2023/04/28 02:34] (current) – Disclaimer misaka00251 | ||
---|---|---|---|
Line 3: | Line 3: | ||
不要忘记安装最新版的 [[https:// | 不要忘记安装最新版的 [[https:// | ||
- | 去 [[https:// | + | 去 [[https:// |
- | * fw_payload_oe.elf | + | * fw_payload_oe.elf |
* openEuler-preview.riscv64.qcow2 | * openEuler-preview.riscv64.qcow2 | ||
Line 26: | Line 26: | ||
-append ' | -append ' | ||
-bios none | -bios none | ||
+ | </ | ||
+ | |||
+ | macOS 下启动: | ||
+ | |||
+ | <file powershell run.sh> | ||
+ | cmd=" | ||
+ | -machine virt -nographic \ | ||
+ | -display cocoa, | ||
+ | -smp " | ||
+ | -audiodev coreaudio, | ||
+ | -bios " | ||
+ | -drive file=" | ||
+ | -object rng-random, | ||
+ | -device virtio-vga \ | ||
+ | -device virtio-rng-device, | ||
+ | -device virtio-blk-device, | ||
+ | -device virtio-net-device, | ||
+ | -netdev user, | ||
+ | -device qemu-xhci -usb -device usb-kbd -device usb-tablet -device usb-audio, | ||
+ | |||
+ | eval $cmd | ||
</ | </ | ||
Line 33: | Line 54: | ||
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 50: | Line 74: | ||
默认的用户名为 '' | 默认的用户名为 '' | ||
+ | |||
+ | 注意,以下都很老了(已经不存在这些问题),仅仅作为存档用途出现在这里。 | ||
===== 软件源 ===== | ===== 软件源 ===== |