[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: QEMU MIPS Debian8.4 run issue



Dear Christian,

  Thanks for your replay, I found the root cause. Need use -M malata parameter.

Regards,
Yanfei

2016-05-27 22:38 GMT+08:00 Christian Seiler <christian@iwakd.de>:
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


Reply to: