From: daniel tian <daniel.xntian@gmail.com>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] how could I see boot message in qemu without -nographic
Date: Mon, 10 May 2010 10:20:46 +0800 [thread overview]
Message-ID: <i2g121fadb81005091920x159b1070wd1c9c33293d0434c@mail.gmail.com> (raw)
hi, all:
I just finished a mips qemu with framebuffer graphic display. graphics
card is not based on Cirrus.
I defined a virtual graphic card with features following:
1. support only 32bpp (true color)framebuffer.
2. display resolution only support width X height = 640 X 480.
3. with only register support: Framebuffer Address. when kernel
allocate the framebuffer memory, the start address will be filled into
this register.
The qemu I ported is based on qemu- 0.11.1, a function named
"framebuffer_update_display" is called to display the linux XWindow.
The mips machine is revised from mips malta board. I just replaced the
Cirrus Card with mavrix-lcd (my virtual display card I named.) .So
anyelse left is almost same as the malta board.
A poky (an openembedded based linux for embedded.) was built for qemu testing.
By the way, the poky can run in qemu with -nographic mode. but after I
added the virtual graphic card in qemu (of course, a new framebuffer
driver was written in kernel for this new virtual card.), with graphic
mode, the qemu shows a window which displays the poky startup
pecertage.
But here is the problem, the qemu got stunk when the poky startup
almost finished(there is an progress bar show the startup percentage
). I don't know what happening. because no console text showed.
and the qemu still runs ok when -nographic option is used.
is there any way that can let the qemu show both the linux startup
console message in terminal, and SDL simulator window.
Here is the command I used to run qemu:
qemu-system-mipsel -M mavrix -kernel ../kernel/vmlinux -hda
~/rootfs_poky.ext2 -append "root=/dev/hda rootfstype=ext2
console=ttyS0"
My friend told me maybe the wrong console used in command line caused
the linux can not login successfully.
Any idear?
didanyone also have this problem before.
Any suggestions is appreciated.
daniel
reply other threads:[~2010-05-10 2:20 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=i2g121fadb81005091920x159b1070wd1c9c33293d0434c@mail.gmail.com \
--to=daniel.xntian@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).