From: daniel tian <daniel.xntian@gmail.com>
To: aurelien@aurel32.net
Cc: qemu-devel@nongnu.org
Subject: [Qemu-devel] running qemu-system-mipsel with VGA graphic mode based malta board kernel
Date: Wed, 3 Feb 2010 16:23:01 +0800 [thread overview]
Message-ID: <121fadb81002030023uba7d71cn5ab5bfa5beb9addb@mail.gmail.com> (raw)
Hi, Aurelien Jarno:
I just encounter a problem in running kernel on qemu mips malta board,
I don't know how to bring up the graphic mode.
with the option --nographic, it's ok: the kernel and rootfs run successfully.
But I after removing the --nographic, qemu window is black-blank, no
single word was displayed.
I am wondering whether the graphic mode is supported in qemu mips-malta board.
The command I run:
qemu-system-mipsel -M malta -kernel vmlinux-malta -hda
~/rootfs_poky.ext2 -append "root=/dev/hda rootfstype=ext2
console=ttyS0" -nographic
And I hacked and debug the qemu source code in gdb.
there is a member variable in structure VGACommonState is ar_index.
this variable is always 0 after being reset in function "vga_reset".
this will cause the "graphic_mode" variable in vga_update_display
function always being set as GMODE_BLANK.
There are several functions which will rewrite the VGACommonState
.ar_index, such as vga_ioport_write, cirrus_vga_save,cirrus_vga_load,
vga_save, but they were not triggerred.
Do I miss something?
I don't where I could get some help, so after gotta your name in
mips-malta.c, maybe youcan give me some advice.
Thanks very much!
daniel.tian
next reply other threads:[~2010-02-03 8:23 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-02-03 8:23 daniel tian [this message]
2010-02-06 21:37 ` [Qemu-devel] running qemu-system-mipsel with VGA graphic mode based malta board kernel Aurelien Jarno
2010-02-06 23:34 ` Stefan Weil
2010-02-11 6:40 ` daniel tian
2010-05-08 8:24 ` daniel tian
2010-05-08 8:39 ` Stefan Weil
2010-05-08 8:50 ` daniel tian
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=121fadb81002030023uba7d71cn5ab5bfa5beb9addb@mail.gmail.com \
--to=daniel.xntian@gmail.com \
--cc=aurelien@aurel32.net \
--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).