[U-Boot] sata_sil Driver on a PowerPC

I am using the 405EX "Kilauea" Evaluation Board from Applied Micro, and am trying to get a Silicon Image 3124 PCIe to SATA adaptor working on it.
I have modified the Kilauea configuration to include the sata_sil driver with the following in the configuration file:
#define CONFIG_CMD_SATA
#define CONFIG_FSL_SATA 1 #define CONFIG_LIBATA 1 #define CONFIG_LBA48 1
#define CONFIG_SYS_SATA_MAX_DEVICE 2
#define CONFIG_MAC_PARTITION 1 #define CONFIG_DOS_PARTITION 1 #define CONFIG_ISO_PARTITION 1
The PCIe identifies SI 3124,
=> pci 1.0.0 Scanning PCI devices on bus 1 BusDevFun VendorId DeviceId Device Class Sub-Class _____________________________________________________________ 01.00.00 0x1095 0x3132 Mass storage controller 0x80
but the driver won't initialize,
=> sata init pci_hose_phys_to_bus: invalid physical address SATA0 (No RDY) SATA1 (No RDY)
When I boot to Linux and have full access to the drive, so it doesn't look like a hardware issue.
I have been searching the net for a working configuration, but no luck so far. Has anyone successfully used this driver?
BTW, I am using the v2011.12-rc1 build.
John.

Hi John,
On Monday 19 December 2011 22:26:09 johnc wrote:
I am using the 405EX "Kilauea" Evaluation Board from Applied Micro, and am trying to get a Silicon Image 3124 PCIe to SATA adaptor working on it.
I have modified the Kilauea configuration to include the sata_sil driver with the following in the configuration file:
#define CONFIG_CMD_SATA #define CONFIG_FSL_SATA 1
This is definitely wrong. "FSL" is for "Freescale". So its a driver for Freescales SoC SATA controller.
There is a driver for the SI3124 though. Try this in your config header:
#define CONFIG_CMD_SATA #define CONFIG_SATA_SIL3114 #define CONFIG_SYS_SATA_MAX_DEVICE 2 #define CONFIG_LIBATA #define CONFIG_LBA48
Not sure if it works though. I have never used this driver personally.
Best regards, Stefan
-- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-0 Fax: (+49)-8142-66989-80 Email: office@denx.de

On Monday, December 19, 2011 Stefan Roese sr@denx.de wrote
Hi John,
On Monday 19 December 2011 22:26:09 johnc wrote:
I am using the 405EX "Kilauea" Evaluation Board from Applied Micro, and am trying to get a Silicon Image 3124 PCIe to SATA adaptor working on it.
I have modified the Kilauea configuration to include the sata_sil driver with
the following in the configuration file: #define CONFIG_CMD_SATA #define CONFIG_FSL_SATA 1
This is definitely wrong. "FSL" is for "Freescale". So its a driver for Freescales SoC SATA controller.
There is a driver for the SI3124 though. Try this in your config header:
#define CONFIG_CMD_SATA #define CONFIG_SATA_SIL3114 #define CONFIG_SYS_SATA_MAX_DEVICE 2 #define CONFIG_LIBATA #define CONFIG_LBA48
Not sure if it works though. I have never used this driver personally.
Best regards, Stefan
-- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-0 Fax: (+49)-8142-66989-80 Email: office@denx.de
Stefan,
Thanks, but it didn't work. The 3114 is a very different beast from the 3132.
Re-reading the original message, I realized that I had copied the configuration from another attempt (I really have to work on my proof reeding skills). I should have said that I was using the sata_sil.c driver which claims to support the 3132. I am using the configuration:
#define CONFIG_CMD_SATA
#define CONFIG_SATA_SIL 1 #define CONFIG_LIBATA 1 #define CONFIG_LBA48 1
#define CONFIG_SYS_SATA_MAX_DEVICE 2
John.

On Tuesday 20 December 2011 13:59:12 John M Cavallo wrote:
Thanks, but it didn't work. The 3114 is a very different beast from the 3132.
I meant CONFIG_SATA_SIL.
Re-reading the original message, I realized that I had copied the configuration from another attempt (I really have to work on my proof reeding skills). I should have said that I was using the sata_sil.c driver which claims to support the 3132. I am using the configuration:
#define CONFIG_CMD_SATA
#define CONFIG_SATA_SIL 1 #define CONFIG_LIBATA 1 #define CONFIG_LBA48 1
#define CONFIG_SYS_SATA_MAX_DEVICE 2
If this doesn't work (I have never used it before), and nobody else has any ideas, then you need to debug this issue...
Best regards, Stefan
-- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-0 Fax: (+49)-8142-66989-80 Email: office@denx.de
participants (3)
-
John M Cavallo
-
johnc
-
Stefan Roese