[U-Boot-Users] How do work qemu_mips image?

Vlad Lungu vlad.lungu at windriver.com
Tue Jun 17 15:41:33 CEST 2008


Nobuhiro Iwamatsu wrote:
> Hi,  all.
> 
> I want to use MIPS archtechtute on Qemu.
> I compiled qemu_mips and read doc/README.qemu_mips and was going
> to work it, but U-boot boot stopped.
> Is this right behavior?

I forgot to look if the README is the right one, but ...

> Please give me advice to work a qemu_mips image on Qemu.
> 
> -------
> U-boot version:
>   Get from Git tree ( hash:a94f22f08f280905926219e568568964cb9eeb9d)
[snip]
> use Qemu version:
>   0.9.1
> 
> U-boot log:
>   $ ln -s u-boot.bin mips_bios.bin
>   $ xps-iwamatsu(iwamatsu:)$ qemu-system-mips -L . /dev/null -nographic
I think that's the problem. There was a patch to Qemu on April 23 to add flash support
to the qemu_mips target. Now you have to do qemu-system-mips -pflash filename. Just copy
u-boot.bin to filename before.

> 
>   U-Boot 1.3.3-00235-ga94f22f-dirty (Jun 16 2008 - 19:18:35)
> 
>   Board: Qemu -M mips CPU: 24Kf proc_id=0x19300
>   DRAM:  128 MB
>   (stopped)

If it says something like " invalid flash size 0Mb " after DRAM: 128 MB then it stops
that's definitely your problem. Use SVN HEAD from Qemu instead of 0.9.1.

Regards,
Vlad




More information about the U-Boot mailing list