From: daniel tian <daniel.xntian@gmail.com>
To: Stefan Weil <weil@mail.berlios.de>, qemu-devel@nongnu.org
Cc: dennis.yxun@gmail.com, samh.huang@mavrixtech.com.cn,
peng.zheng@mavrixtech.com
Subject: Re: [Qemu-devel] running qemu-system-mipsel with VGA graphic mode based malta board kernel
Date: Sat, 8 May 2010 16:24:06 +0800 [thread overview]
Message-ID: <w2u121fadb81005080124nff119e90n4ef40ec33630bb73@mail.gmail.com> (raw)
In-Reply-To: <121fadb81002102240m591d0ea7j956278cb3334794d@mail.gmail.com>
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.
2010/2/11 daniel tian <daniel.xntian@gmail.com>:
> 2010/2/7 Stefan Weil <weil@mail.berlios.de>:
>> Aurelien Jarno schrieb:
>>> On Wed, Feb 03, 2010 at 04:23:01PM +0800, daniel tian wrote:
>>>
>>>> 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.
>>>>
>>>>
>>>
>>> I personally haven't been able to get the graphic mode working with
>>> mips-malta, but patches are welcome.
>>>
>>>
>>
>> At least framebuffer works for me (Tux in upper left corner
>> during boot) with all malta variants (big/little endian 32/64 bit).
>>
> so what the command to bringup qemu?
>
> Anyways, thanks for you guys suggestions.
>
next prev parent reply other threads:[~2010-05-08 8:24 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-02-03 8:23 [Qemu-devel] running qemu-system-mipsel with VGA graphic mode based malta board kernel daniel tian
2010-02-06 21:37 ` Aurelien Jarno
2010-02-06 23:34 ` Stefan Weil
2010-02-11 6:40 ` daniel tian
2010-05-08 8:24 ` daniel tian [this message]
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=w2u121fadb81005080124nff119e90n4ef40ec33630bb73@mail.gmail.com \
--to=daniel.xntian@gmail.com \
--cc=dennis.yxun@gmail.com \
--cc=peng.zheng@mavrixtech.com \
--cc=qemu-devel@nongnu.org \
--cc=samh.huang@mavrixtech.com.cn \
--cc=weil@mail.berlios.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;
as well as URLs for NNTP newsgroup(s).