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

Nobuhiro Iwamatsu iwamatsu at nigauri.org
Wed Jun 18 03:58:40 CEST 2008


Hi, Vlad.

2008/6/17 Vlad Lungu <vlad.lungu at windriver.com>:
>> 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.

I used newist Qemu and use -pflash option.
Work fine!

Thank you for yor advice.

Best regards,
 Nobuhiro
-- 
----------------------------------
Nobuhiro Iwamatsu




More information about the U-Boot mailing list