qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] Cutting a new QEMU release


From: Rob Landley
Subject: Re: [Qemu-devel] Cutting a new QEMU release
Date: Wed, 11 Feb 2009 15:49:16 -0600
User-agent: KMail/1.10.1 (Linux/2.6.27-9-generic; KDE/4.1.2; x86_64; ; )

On Saturday 07 February 2009 09:29:42 Shin-ichiro KAWASAKI wrote:
> Anthony Liguori wrote:
> > What do people think?  TCG seems to be in a good place.  We've got
> > virtio, KVM, live migration, tons of new devices, bsd-user, etc.
>
> The development of sh4 is rather slow, you know. Then there is no need to
> think about it to decide when to cut the next version.
>
> From the point of view from sh4 system emulation, that's a good news.
> It is a good way to provide current features for sh4 developers.
> But before release, I hope these two points would handled by anyone.
>
> [1] USB support
>
> Current sh4 system emulation (r2d board) does not support USB host.
> Without it, the graphic console does not receive any key input
> via USB keyboard emulation.  Then, graphics console is not available
> now.  I guess sh4 developers would feel it strange.
>
> Following patch adds usb host.
>
>     http://lists.gnu.org/archive/html/qemu-devel/2008-12/msg01620.html
>
> It does not apply to current svn head, because of line mismatch.
> I'm willing to post new version, if the patch is OK.
> Could anyone review it?
>
>
> [2] sh4 kernel & disk image on QEMU's download page
>
> It's a bothering work to make kernel & disk image for sh4.  Not to obstruct
> sh4 developers with it, I provide a small (4MB) set at following URL.
>
> http://www.assembla.com/spaces/qemu-sh4/documents/b18oeq850r3AhNab7jnrAJ/do
>wnload?filename=sh-test-0.1.tar.bz2

I downloaded this and tried it out with an svn snapshot from today (svn 6613), 
built on Ubuntu 8.10 with default "./configure; make; sudo make install".


Your README has a typo, it says "-kernel r2d_zImage" but the one you've 
packaged is just "zImage".  Once that's worked around, it pops up a qemu 
window within which it boots to a login prompt, but I can't type anything.  
This is the USB issue you mentioned, confirmed by the stdout from qemu:

  char device redirected to /dev/pts/14
  Warning: could not add USB device keyboard
  long read to SH7750_WCR1_A7 (0x000000001f800008) ignored
  long read to SH7750_WCR2_A7 (0x000000001f80000c) ignored
  long read to SH7750_WCR3_A7 (0x000000001f800010) ignored
  long read to SH7750_MCR_A7 (0x000000001f800014) ignored
  long read to SH7750_MCR_A7 (0x000000001f800014) ignored

I thought I'd work around that with a serial console (which is what I actually 
use for in my FWL project anyway), but I can't get that to work either.  Your 
command line -appends "console=ttySC0,115200" and "early_printk=serial" but 
ctrl-alt-2 shows nothing, and booting with
-nographic gives no output.

Also, going back to ctrl-alt-1 doesn't redraw the vga screen.  (The screen 
will partially redraw itself if it's still producing output, but it never 
redraws the penguin logo at the top of the frame buffer, and if the console 
has finished producing output it just stays black from then on.)

This is more functionality than I've ever gotten out of sh4, and I really look 
forward to adding sh4 support to http://impactlinux.com/fwl .  If I can get a 
serial console working I'm probably good to go, but right now it's not quite 
working for me yet...

Your README says that you can extract the config.gz from the kernel with 
linux/scripts/extract-ikconfig, but when I tried it it said:

  ERROR: Unable to extract kernel configuration information.
         This kernel image may not have the config info.

Obviously, I can't get it by logging in and catting /proc/config.gz without a 
working keyboard or serial console...

Rob




reply via email to

[Prev in Thread] Current Thread [Next in Thread]