qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: rui chen <chennrui@gmail.com>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] endless loop when use qemu-system-mipsel to load bios
Date: Sat, 12 Nov 2011 02:26:38 +0800	[thread overview]
Message-ID: <CAMOKqh+d7d56d+3jgaAH2yncMJSq-Z23dVZO7YHVgw9xTesBZQ@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 763 bytes --]

Hi all,
    When I try to use command line "qemu-system-mipsel -M malta -L .
-nographic" to run redboot,  it will have an endless loop, then I find this
bug, here is my patch:


Author: Chen Rui <chennrui@gmail.com>
Date:   Sat Nov 12 01:38:23 2011 +0800

    resolve an endless loop when use qemu-system-mipsel to load bios

    Signed-off-by: Chen Rui <chennrui@gmail.com>

diff --git a/hw/mips_malta.c b/hw/mips_malta.c
index bb49749..e7dfbd6 100644
--- a/hw/mips_malta.c
+++ b/hw/mips_malta.c
@@ -911,6 +911,7 @@ void mips_malta_init (ram_addr_t ram_size,
             uint32_t *end = addr + bios_size;
             while (addr < end) {
                 bswap32s(addr);
+                addr++;
             }
         }
 #endif


-- 
rui chen
=======
   B.R

[-- Attachment #2: Type: text/html, Size: 982 bytes --]

             reply	other threads:[~2011-11-11 18:26 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-11 18:26 rui chen [this message]
2011-11-15 14:41 ` [Qemu-devel] endless loop when use qemu-system-mipsel to load bios Markus Armbruster
2011-11-16 15:21   ` rui chen
2011-12-03 22:27     ` Stefan Weil
2011-12-06 10:44       ` [Qemu-devel] [Qemu-trivial] " Stefan Hajnoczi

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=CAMOKqh+d7d56d+3jgaAH2yncMJSq-Z23dVZO7YHVgw9xTesBZQ@mail.gmail.com \
    --to=chennrui@gmail.com \
    --cc=qemu-devel@nongnu.org \
    /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;
as well as URLs for NNTP newsgroup(s).