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
led: Invalid argument / # mount -t vfat /dev/sda2 /mnt/cf mount: Mounting /dev/sda2 on /mnt/cf failed: Invalid argument I still need to figure out what I may be doing wrong here, but wanted to post the results I have so far in case they are useful. -- View this message in context: http://www.nabb

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
ailman/listinfo/linuxppc-dev > > -- View this message in context: http://www.nabble.com/Compact-Flash-on-8349mITX-tp18754330p19904213.html Sent from the linuxppc-dev mailing list archive at Nabble.com. ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev

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
__ > Linuxppc-dev mailing list > Linuxppc-dev@ozlabs.org > https://ozlabs.org/mailman/listinfo/linuxppc-dev > > -- View this message in context: http://www.nabble.com/Compact-Flash-on-8349mITX-tp18754330p199031

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
speed to PIO0 [...] -- View this message in context: http://www.nabble.com/Compact-Flash-on-8349mITX-tp18754330p19900326.html Sent from the linuxppc-dev mailing list archive at Nabble.com. ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev

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

Compact Flash on 8349mITX

2008-07-31 Thread Sparks, Sam
Hello All, I'm using the latest 2.2.26 kernel image from linux/kernel/git/benh/powerpc.git on a mpc8349mITX, and trying to get Compact Flash to work. The kernel booted fine, but I was surprised to see Compact Flash IRQ was not being handled. Does irq polling need to be used for compact flash to wo