public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] sata_sil Driver on a PowerPC
@ 2011-12-19 21:26 johnc
  2011-12-20  4:41 ` Stefan Roese
  0 siblings, 1 reply; 4+ messages in thread
From: johnc @ 2011-12-19 21:26 UTC (permalink / raw)
  To: u-boot


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.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [U-Boot] sata_sil Driver on a PowerPC
  2011-12-19 21:26 [U-Boot] sata_sil Driver on a PowerPC johnc
@ 2011-12-20  4:41 ` Stefan Roese
  2011-12-20 12:59   ` John M Cavallo
  0 siblings, 1 reply; 4+ messages in thread
From: Stefan Roese @ 2011-12-20  4:41 UTC (permalink / raw)
  To: u-boot

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 at denx.de

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [U-Boot] sata_sil Driver on a PowerPC
  2011-12-20  4:41 ` Stefan Roese
@ 2011-12-20 12:59   ` John M Cavallo
  2011-12-20 13:03     ` Stefan Roese
  0 siblings, 1 reply; 4+ messages in thread
From: John M Cavallo @ 2011-12-20 12:59 UTC (permalink / raw)
  To: u-boot

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 at 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.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [U-Boot] sata_sil Driver on a PowerPC
  2011-12-20 12:59   ` John M Cavallo
@ 2011-12-20 13:03     ` Stefan Roese
  0 siblings, 0 replies; 4+ messages in thread
From: Stefan Roese @ 2011-12-20 13:03 UTC (permalink / raw)
  To: u-boot

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 at denx.de

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-12-20 13:03 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-19 21:26 [U-Boot] sata_sil Driver on a PowerPC johnc
2011-12-20  4:41 ` Stefan Roese
2011-12-20 12:59   ` John M Cavallo
2011-12-20 13:03     ` Stefan Roese

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox