引导图形化 MIPS QEMU 机器

Booting a Graphical MIPS QEMU Machine

我想启动 QEMU MIPS 架构机器 运行 Linux 的一些发行版。我一直在查看此文档 (https://www.linux-mips.org/wiki/QEMU),但我卡在了这部分

[ralf@box qemu]$ qemu-system-mips -kernel /tftboot/192.168.0.1/vmlinux.bin -m 16 -nographic

(qemu) mips_r4k_init: start
mips_r4k_init: load BIOS '/usr/local/share/qemu/mips_bios.bin' size 131072
qemu: could not load MIPS bios '/usr/local/share/qemu/mips_bios.bin'

[ralf@box qemu]$

There currently is no MIPS BIOS file for QEMU (see firmware). However if passed a
 -kernel argument qemu will not call the firmware at all, so this does no harm at all. Therefore, a command such as
    dd if=/dev/zero of=/usr/local/share/qemu/mips_bios.bin bs=1024 count=128
    will generate a firmware file that will do the job for now.

我很困惑我应该为内核传递什么论点? /usr/local/share/qemu/mips_bios.bin 参数是编译后的 Linux 图像吗?

如果可能的话,我希望模拟器有一个GUI。我也不知道这是怎么实现的。

谢谢。

您不再需要创建 mips_bios.bin 文件。如果您在 运行 qemu-system-mips 时在同一文件夹中有一个该名称的文件,它将拾取它。如果你这样做,我会删除它。这是关于它的一些历史的 wiki link:

https://www.linux-mips.org/wiki/QEMU

有关使用图形和 qemu 的 mips 特定内核的一个很好的示例,请查看此 link:

http://shadow-file.blogspot.com/2013/05/running-debian-mips-linux-in-qemu.html