From: Magnus D. <mag...@gm...> - 2007-11-06 11:43:22
|
On Sep 21, 2007 3:07 PM, Paul Mundt <le...@li...> wrote: > On Sat, Sep 15, 2007 at 11:00:46AM +0900, shinkoi2005 wrote: > > > Is the libata code working properly with 8 bit reads? Is this patch > > > all it takes to get CF working on R2D-1? > > > > At least, cf_ide_resources[](register map) is also incorrect with R2D-PLUS. > > Please check follow kernel which support P2D-PLUS and AT/PC arch's ATA register map. > > <http://www.superh-linux.org/archive/bsp/sh7751r_r2d/linux-2.6.14.4-R2D+_20060906.tar.bz2> > > R2D* board's ide register map is compatible without register access size. > > > > Here is the same patch... > > I can boot R2D-1 from IDE's rootfs with this patch. > > > I suppose we can do this, I'll tidy up the patch a bit and apply it, > thanks. It's probably worth doing the same thing for R7780RP, at least > for the 2 or 3 people that have one of those antiquated things :-) I happen to have two of these R2D-1 boards and I can't get CF working using the latest kernel (latest sh-2.6 git, post 2.6.24-rc1) : ... irq 107: nobody cared (try booting with the "irqpoll" option) [stack dump] [call trace] handlers: [<8c24f660>] (ata_interrupt+0x0/0x240) Disabling IRQ #107 ... I can get things working by hacking in code to enable polling in pata_platform.c though, so I assume that the IO-ports are ok. The CF seems just fine on my R2D-PLUS board. CF on R2D-1 is broken for me. / magnus |