Re: problems bringing up CF based file system (2.6.25)

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

 



>On Thu, May 22, 2008 at 10:52 AM, David Woodhouse <dwmw2@xxxxxxxxxxxxx> wrote:
> On Thu, 2008-05-22 at 10:24 -0700, vb wrote:
>> Do I have to describe the CF card in the dreaded DTS file (I don't see
>> any reference to IDE in the prom*.c and friends though).
>
> Yes, you do. Use libata instead of the old IDE driver, and see
> pata_of_platform.

David, again thank you for this insight. I got to spend some more time
on this and (unfortunately!) have some more questions:

SCSI support gets added as soon as CONFIG_ATA gets enabled in
drivers/ata/Kconfig - is this intentional/necessary? My embedded
target sure doesn't have any SCSI hardware, all it needs is a CF card
support in true IDE mode.

These are config flags added 'automagically' as soon as ATA is enabled
does it make sense?

  CONFIG_SCSI=y
  CONFIG_SCSI_DMA=y
  CONFIG_SCSI_LOWLEVEL=y
  CONFIG_SCSI_PROC_FS=y
  CONFIG_SCSI_WAIT_SCAN=m


Also where one can find definitions of the  values included in the
pata block of the OF tree - specifically for 'pio-mode' and 'reg' as
in arch/powerpc/boot/dts/mpc8349emitx.dts:

pata@3,0 {
       compatible = "fsl,mpc8349emitx-pata", "ata-generic";
       reg = <0x3 0x0 0x10 0x3 0x20c 0x4>;
       reg-shift = <1>;
       pio-mode = <6>;
       interrupts = <23 0x8>;
       interrupt-parent = <&ipic>;
};


All clues/pointers will be highly appreciated,
thank you in advance,
/vb
--
To unsubscribe from this list: send the line "unsubscribe linux-embedded" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Gstreamer Embedded]     [Linux MMC Devel]     [U-Boot V2]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux ARM Kernel]     [Linux OMAP]     [Linux SCSI]

  Powered by Linux