SATA support?
Hi,
I'm trying to compile AHCI support but I'm running into a lot of problems. It looks like AHCI is based off of SCSI whereas other SATA drivers appear not to be. Is ahci.c being maintained or should I use one of the other drivers? Currently for my testing I have a couple Silicon Image 3132 PCIe boards.
-Aaron Williams
Hi Aaron,
Le 08/02/2011 22:58, Aaron Williams a ?crit :
Quoted 8 lines
Hi,
I'm trying to compile AHCI support but I'm running into a lot of problems. It looks like AHCI is based off of SCSI whereas other SATA drivers appear not to be. Is
ahci.cbeing maintained or should I use one of the other drivers? Currently for my testing I have a couple Silicon Image 3132 PCIe boards.-Aaron Williams
I cannot answer on SATA[/PCIe] as such, but depending on your requirements and your hardware, you may possibly find it easier to use IDE/(P)ATA hardware emulation like I did on the ARM edminiv2 board.
Amicalement,
Signature · 1 line
Albert.
Quoted 11 lines · Albert ARIBAUD
Hi Aaron,
Le 08/02/2011 22:58, Aaron Williams a ?crit :
Quoted 8 lines
Hi,
I'm trying to compile AHCI support but I'm running into a lot of problems. It looks like AHCI is based off of SCSI whereas other SATA drivers appear not to be. Is
ahci.cbeing maintained or should I use one of the other drivers? Currently for my testing I have a couple Silicon Image 3132 PCIe boards.
Quoted 7 lines
Quoted 1 line
-Aaron Williams
I cannot answer on SATA[/PCIe] as such, but depending on your requirements and your hardware, you may possibly find it easier to use IDE/(P)ATA hardware emulation like I did on the ARM edminiv2 board.
Amicalement,
One problem is that we're already using the IDE/(P)ATA for our compact flash which is not on the PCI bus. I was hoping to use the SATA AHCI support but it looks like it hasn't been maintained.
-Aaron
Le 10/02/2011 02:23, Aaron Williams a ?crit :
Quoted 18 lines · Albert ARIBAUD
Quoted 17 lines
Hi Aaron,
Le 08/02/2011 22:58, Aaron Williams a ?crit :
Quoted 9 lines
Hi,
I'm trying to compile AHCI support but I'm running into a lot of problems. It looks like AHCI is based off of SCSI whereas other SATA drivers appear not to be. Is
ahci.cbeing maintained or should I use one of the other drivers? Currently for my testing I have a couple Silicon Image 3132 PCIe boards.-Aaron Williams
I cannot answer on SATA[/PCIe] as such, but depending on your requirements and your hardware, you may possibly find it easier to use IDE/(P)ATA hardware emulation like I did on the ARM edminiv2 board.
Quoted 5 lines
Quoted 1 line
Amicalement,
One problem is that we're already using the IDE/(P)ATA for our compact flash which is not on the PCI bus. I was hoping to use the SATA AHCI support but it looks like it hasn't been maintained.
Hmm... I see an awful hack coming: you could try and define CONFIG_SYS_ATA_BASE_ADDR, CONFIG_SYS_ATA_IDE0_OFFSET and CONFIG_SYS_ATA_IDE1_OFFSET so that IDE0 points to the CompactFlash port and IDE1 points to the SATA compatibility register. Not sure how this would work out as a not-so-quick-but-very-dirty fix.
The cleaner way would be to modify cmd_ide.c to not limit itself to two ports, and not use offsets but a real port base, and then in your case, properly declare IDE0 and IDE1 for CompactFlash and SATA respectively.
I had started such work, actually, to support a LaCie board with two SATA controllers with four ports each; I'll try and dig it out.
Amicalement,
Signature · 1 line
Albert.