U-Boot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Vlad Lungu <vlad.lungu@windriver.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] How do work qemu_mips image?
Date: Tue, 17 Jun 2008 16:41:33 +0300	[thread overview]
Message-ID: <4857BF0D.2070608@windriver.com> (raw)
In-Reply-To: <29ab51dc0806160351l4c24159dw36f7abdda2204266@mail.gmail.com>

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

  parent reply	other threads:[~2008-06-17 13:41 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-16 10:51 [U-Boot-Users] How do work qemu_mips image? Nobuhiro Iwamatsu
2008-06-16 11:05 ` Nobuhiro Iwamatsu
2008-06-17 13:41 ` Vlad Lungu [this message]
2008-06-18  1:58   ` Nobuhiro Iwamatsu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4857BF0D.2070608@windriver.com \
    --to=vlad.lungu@windriver.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox