[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
pmac kernel & disk image wanted (was Re: [Qemu-devel] [PATCH] sh4: mmio
pmac kernel & disk image wanted (was Re: [Qemu-devel] [PATCH] sh4: mmio based CF support on r2d board.)
Thu, 09 Oct 2008 00:20:08 +0900
Thunderbird 220.127.116.11 (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.
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,
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.
- pmac kernel & disk image wanted (was Re: [Qemu-devel] [PATCH] sh4: mmio based CF support on r2d board.),
Shin-ichiro KAWASAKI <=