qemu-devel
[Top][All Lists]
Advanced

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

pmac kernel & disk image wanted (was Re: [Qemu-devel] [PATCH] sh4: mmio


From: Shin-ichiro KAWASAKI
Subject: pmac kernel & disk image wanted (was Re: [Qemu-devel] [PATCH] sh4: mmio based CF support on r2d board.)
Date: Thu, 09 Oct 2008 00:20:08 +0900
User-agent: Thunderbird 2.0.0.17 (Windows/20080914)

Paul Mundt wrote:
On Tue, Sep 23, 2008 at 01:31:36AM +0900, address@hidden wrote:
This patch adds emulation for a CompactFlash on sh4/r2d board. I can mount/umount and some read/writes with r2d-1 kernel (no irq mode).
No heavy/formal test has not be done, though.

The device is CF, but wired to be worked as True-IDE mode, and connected
 directly to SH bus. So, this code is to supports generally mmio based IDEs
 which are supported by "pata_platform" driver in linux kernel.

I wonder where to put function prototype for mmio_ide_init().
Currently, it is in r2d.c, but I believe it can be in more common place.

Any suggestions?

ide.c is likely the best place for it. It looks like there is a bit of
overlap with pmac_ide though. ARM and others that use pata_platform will
want to use this as well.

I confirmed that the mmio_ide patch works fine for SH4 system emulation.
I hope it to be merged into trunk.

By the way, I guess pmac_ide functions can be re-implemented with
mmio_ide functions.  Before trying this work, I want working kernel
and disk image for PowerMAC(g3bw) system emulation to check if new
implementation works fine or not.

The kernel and disk image for PREP are found at the following URL,
http://www.oszoo.org/wiki/index.php/Debian_Etch_ppc_(PowerPC)_-_Qemu_Ready
But PREP's ide feature does not use pmac_ide but uses isa_ide, so it
does not suit for my purpose.

Any indications or comments will be appreciated.

Regards,
Shin-ichiro KAWASAKI






reply via email to

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