Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Last revisionBoth sides next revision | ||
openeuler_risc-v_qemu_install [2023/04/28 02:23] – Change PowerShell script misaka00251 | openeuler_risc-v_qemu_install [2023/04/28 02:32] – Add macOS & fix links 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 | ||
</ | </ | ||