Re: Compact Flash on 8349mITX

2008-10-10 Thread Anton Vorontsov
On Fri, Oct 10, 2008 at 10:14:17AM +0800, Wang Jian wrote: > How 8349mITX's compact flash is wired? FYI, the schematics are openly available. http://www.freescale.com/files/32bit/hardware_tools/schematics/MPC8349EMITXESCH.pdf?WT_TYPE=Schematics&WT_VENDOR=FREESCALE&WT_FILE_FORMAT=pdf&WT_ASSET=Down

Re: Compact Flash on 8349mITX

2008-10-10 Thread Anton Vorontsov
On Thu, Oct 09, 2008 at 08:27:05PM -0700, Jeff Borlin wrote: > > > Anton Vorontsov-2 wrote: > > > > This happens just before the PATA information is printed. I'm not > > libata expert; and from the brief look I don't see where libata > > clears any pending "unexpected" irqs. Just a guesswork, >

Re: Compact Flash on 8349mITX

2008-10-10 Thread Anton Vorontsov
On Fri, Oct 10, 2008 at 03:26:00PM +0800, Wang Jian wrote: > Jeff Borlin wrote: >> >> Anton Vorontsov-2 wrote: >>> This happens just before the PATA information is printed. I'm not >>> libata expert; and from the brief look I don't see where libata >>> clears any pending "unexpected" irqs. Just a g

Re: Compact Flash on 8349mITX

2008-10-10 Thread Wang Jian
Jeff Borlin wrote: Anton Vorontsov-2 wrote: This happens just before the PATA information is printed. I'm not libata expert; and from the brief look I don't see where libata clears any pending "unexpected" irqs. Just a guesswork, could you try this patch? This patch did not appear to change an

Re: Compact Flash on 8349mITX

2008-10-09 Thread Jeff Borlin
Anton Vorontsov-2 wrote: > > This happens just before the PATA information is printed. I'm not > libata expert; and from the brief look I don't see where libata > clears any pending "unexpected" irqs. Just a guesswork, > could you try this patch? > This patch did not appear to change anything.

Re: Compact Flash on 8349mITX

2008-10-09 Thread Wang Jian
How 8349mITX's compact flash is wired? If it is wired using 8 bit data bus line, without another patch, data transfer can't be done. Looking at logs Sam Sparks provided (without irq): ata1.00: failed to IDENTIFY (I/O error, err_mask=0x4) it seems data transfer failed. I have a 8 bit data trans

Re: Compact Flash on 8349mITX

2008-10-09 Thread Jeff Borlin
The version on the CD does not seem to see it at all: [...] U-Boot 1.3.4-rc1-00012-g1953d12 (Jul 28 2008 - 09:09:09) MPC83XX [...] Linux version 2.6.13.4 ([EMAIL PROTECTED]) (gcc version 3.4.3) #1 Thu Oct 19 16:27:15 EDT 2006 PCI2 confirm: isa_io_base = 0xfc00 Configure PCI2 controller isa_i

Re: Compact Flash on 8349mITX

2008-10-09 Thread Timur Tabi
On Thu, Oct 9, 2008 at 12:00 PM, Jeff Borlin <[EMAIL PROTECTED]> wrote: > > Can you point me to where that can be found? It's on the CD that came with the board. -- Timur Tabi Linux kernel developer at Freescale ___ Linuxppc-dev mailing list Linuxppc-d

Re: Compact Flash on 8349mITX

2008-10-09 Thread Anton Vorontsov
On Thu, Oct 09, 2008 at 08:52:09AM -0700, Jeff Borlin wrote: > > I have taken over this effort to get Compact Flash working on the 8349mITX > board and am running into these same issues. I can get uBoot to list the > contents of a CF card, U-Boot doesn't use interrupts. > but am running into a

Re: Compact Flash on 8349mITX

2008-10-09 Thread Jeff Borlin
Can you point me to where that can be found? Timur Tabi-3 wrote: > > I've heard on-and-off that there are problems with the CF support on > the 8349 ITX, but I've never had the chance to investigate it. > > Can you try using the latest BSP kernel and see if the problem is > present there? S

Re: Compact Flash on 8349mITX

2008-10-09 Thread Timur Tabi
On Thu, Oct 9, 2008 at 10:52 AM, Jeff Borlin <[EMAIL PROTECTED]> wrote: > > I have taken over this effort to get Compact Flash working on the 8349mITX > board and am running into these same issues. I can get uBoot to list the > contents of a CF card, but am running into a couple problems through t

RE: Compact Flash on 8349mITX

2008-10-09 Thread Jeff Borlin
I have taken over this effort to get Compact Flash working on the 8349mITX board and am running into these same issues. I can get uBoot to list the contents of a CF card, but am running into a couple problems through the kernel. There appears to be an IRQ problem and a general communication prob

RE: Compact Flash on 8349mITX

2008-07-31 Thread Sparks, Sam
>From: Sparks, Sam >Sent: Thursday, July 31, 2008 8:15 AM >Does irq polling need to be used for compact flash to work >with this version of the kernel on this board? When I remove the interrupt definition from the DTS (to cause irqpolling), the ata driver gets stuck in a loop displaying the foll