We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
执行如下命令,buildroot能正常启动和登录 LD_LIBRARY_PATH=./host/lib ./host/csky-qemu/bin/qemu-system-riscv64 -M virt -kernel fw_jump.elf -device loader,file=Image,addr=0x80200000 -append "rootwait root=/dev/vda ro" -drive file=rootfs.ext2,format=raw,id=hd0 -device virtio-blk-device,drive=hd0 -nographic -smp 1 在上述命令后,添加如下参数,目的是能在/dev/disk/by-uuid下有相应磁盘进行后续mount,但实际上没有 -drive format=qcow2,file=lava-guest.qcow2,if=virtio,media=disk,id=lavates 相同的参数,在fedora上能挂载成功 qemu-system-riscv64 -machine virt -cpu rv64 -nographic -net nic,model=virtio,macaddr=52:54:00:12:34:59 -net user -m 1024 -monitor none -smp 4 -m 2048 -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::3333-:22 -bios Fedora-Developer-Rawhide-20200108.n.0-fw_payload-uboot-qemu-virt-smode.elf -drive format=raw,id=hd0,file=Fedora-Developer-Rawhide-20200108.n.0-sda.raw -drive format=qcow2,file=lava-guest.qcow2,media=disk,if=virtio,id=lavatest
The text was updated successfully, but these errors were encountered:
No branches or pull requests
执行如下命令,buildroot能正常启动和登录
LD_LIBRARY_PATH=./host/lib ./host/csky-qemu/bin/qemu-system-riscv64 -M virt -kernel fw_jump.elf -device loader,file=Image,addr=0x80200000 -append "rootwait root=/dev/vda ro" -drive file=rootfs.ext2,format=raw,id=hd0 -device virtio-blk-device,drive=hd0 -nographic -smp 1
在上述命令后,添加如下参数,目的是能在/dev/disk/by-uuid下有相应磁盘进行后续mount,但实际上没有
-drive format=qcow2,file=lava-guest.qcow2,if=virtio,media=disk,id=lavates
相同的参数,在fedora上能挂载成功
qemu-system-riscv64 -machine virt -cpu rv64 -nographic -net nic,model=virtio,macaddr=52:54:00:12:34:59 -net user -m 1024 -monitor none -smp 4 -m 2048 -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::3333-:22 -bios Fedora-Developer-Rawhide-20200108.n.0-fw_payload-uboot-qemu-virt-smode.elf -drive format=raw,id=hd0,file=Fedora-Developer-Rawhide-20200108.n.0-sda.raw -drive format=qcow2,file=lava-guest.qcow2,media=disk,if=virtio,id=lavatest
The text was updated successfully, but these errors were encountered: