1 Star 1 Fork 11

gnss2020/Penglai-Enclave

forked from ipads/Penglai-Enclave 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
run_openeuler.sh 842 Bytes
一键复制 编辑 原始数据 按行查看 历史
Dong Du 提交于 2021-06-07 17:02 . Penglai based on OpenSBI (#7)
#!/bin/bash
qemu-system-riscv64 -nographic -machine virt \
-smp 1 -m 2G \
-kernel ./opensbi-0.9/build-oe/qemu-virt/platform/generic/firmware/fw_payload.elf \
-drive file=openEuler-preview.riscv64.qcow2,format=qcow2,id=hd0 \
-object rng-random,filename=/dev/urandom,id=rng0 \
-device virtio-rng-device,rng=rng0 \
-device virtio-blk-device,drive=hd0 \
-device virtio-net-device,netdev=usernet \
-netdev user,id=usernet,hostfwd=tcp::12055-:22 \
-append 'root=/dev/vda1 rw console=ttyS0 systemd.default_timeout_start_sec=600 selinux=0 highres=off mem=4096M earlycon' \
-bios none
## For v0.9, use the following path
#-kernel ./opensbi-0.9/build-oe/qemu-virt/platform/generic/firmware/fw_payload.elf \
## For v0.6, use the following path
#-kernel ./opensbi-0.6/build-oe/qemu-virt/platform/qemu/virt/firmware/fw_payload.elf \
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/gnss2020/Penglai-Enclave.git
git@gitee.com:gnss2020/Penglai-Enclave.git
gnss2020
Penglai-Enclave
Penglai-Enclave
opensbi

搜索帮助

D67c1975 1850385 1daf7b77 1850385