On 05/27/2016 06:23 AM, 飞颜 wrote: > QEMU start command below: > qemu-system-mips -M mips -kernel vmlinux-3.16.0-4-4kc-malta -initrd > initrd.gz -hda hda.img -append "root=/dev/ram console=ttyS0" -nographice > > Only show message below, can not run. > qemu: Warning, could not load MIPS bios 'mips_bios.bin'
This looks a lot like: https://www.linux-mips.org/wiki/QEMU#MIPS_BIOS_not_found_on_startup Since you start the whole thing with a -kernel command line, the firmware is actually irrelevant - so you could just create a dummy file for the MIPS BIOS: (as root) dd if=/dev/zero of=/usr/share/qemu/mips_bios.bin bs=1024 count=128 Then the Qemu command should work. (Not tested, though, I've only ever used qemu-user with MIPS, not qemu-system.) Hope that helps. Regards, Christian