linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* SATA in Target Mode
       [not found] <AANLkTinSg70pTj2uwnHuB4xT1I88nNU06l080_m9vngl@mail.gmail.com>
@ 2010-05-19  6:12 ` Jayaraman Thiruvady
  2010-05-19 15:48   ` Jeff Garzik
  0 siblings, 1 reply; 6+ messages in thread
From: Jayaraman Thiruvady @ 2010-05-19  6:12 UTC (permalink / raw)
  To: linux-ide; +Cc: Jayaraman Thiruvady

Hi,

      I am trying to make vdisk ( file disk ) to emulate as a SATA
drive. To do so, i thought of making a SATA port to target mode and
cross wire it with another SATA port ( initiator) and by mapping the
SATA target mode port with vdisk, the SATA initiator must detect the
vdisk as some SATA device to perform further. Is such scenario doable?

Is the place where i can find more details on how much scenario is
achievable and the details Marvell SATA support as target mode in
kernel-tree and its info supported chipsets?.

Regards,
Jayaraman.T

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

* Re: SATA in Target Mode
  2010-05-19  6:12 ` SATA in Target Mode Jayaraman Thiruvady
@ 2010-05-19 15:48   ` Jeff Garzik
  2010-05-20 10:15     ` saeed bishara
  0 siblings, 1 reply; 6+ messages in thread
From: Jeff Garzik @ 2010-05-19 15:48 UTC (permalink / raw)
  To: Jayaraman Thiruvady; +Cc: linux-ide

On 05/19/2010 02:12 AM, Jayaraman Thiruvady wrote:
> Hi,
>
>        I am trying to make vdisk ( file disk ) to emulate as a SATA
> drive. To do so, i thought of making a SATA port to target mode and
> cross wire it with another SATA port ( initiator) and by mapping the
> SATA target mode port with vdisk, the SATA initiator must detect the
> vdisk as some SATA device to perform further. Is such scenario doable?
>
> Is the place where i can find more details on how much scenario is
> achievable and the details Marvell SATA support as target mode in
> kernel-tree and its info supported chipsets?.

Unfortunately, nobody's really worked on it, as far as I know.

It would be great to see SATA target support, though.

	Jeff




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

* Re: SATA in Target Mode
  2010-05-19 15:48   ` Jeff Garzik
@ 2010-05-20 10:15     ` saeed bishara
  2010-05-20 10:38       ` Jayaraman Thiruvady
  0 siblings, 1 reply; 6+ messages in thread
From: saeed bishara @ 2010-05-20 10:15 UTC (permalink / raw)
  To: Jayaraman Thiruvady; +Cc: Jeff Garzik, linux-ide

On Wed, May 19, 2010 at 6:48 PM, Jeff Garzik <jeff@garzik.org> wrote:
> On 05/19/2010 02:12 AM, Jayaraman Thiruvady wrote:
>>
>> Hi,
>>
>>       I am trying to make vdisk ( file disk ) to emulate as a SATA
>> drive. To do so, i thought of making a SATA port to target mode and
>> cross wire it with another SATA port ( initiator) and by mapping the
>> SATA target mode port with vdisk, the SATA initiator must detect the
>> vdisk as some SATA device to perform further. Is such scenario doable?
>>
>> Is the place where i can find more details on how much scenario is
>> achievable and the details Marvell SATA support as target mode in
>> kernel-tree and its info supported chipsets?.
>
> Unfortunately, nobody's really worked on it, as far as I know.
>
> It would be great to see SATA target support, though.
>
>        Jeff
Jayaraman,
    I've implemented the target mode for the marvell sata controllers
(supported by sata_mv.c), but that wasn't based on the libata driver,
it was done on marvell's in house driver (GPL), please let me know if
you need reference code and information about the HW.

saeed

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

* Re: SATA in Target Mode
  2010-05-20 10:15     ` saeed bishara
@ 2010-05-20 10:38       ` Jayaraman Thiruvady
  2010-05-20 10:54         ` saeed bishara
  0 siblings, 1 reply; 6+ messages in thread
From: Jayaraman Thiruvady @ 2010-05-20 10:38 UTC (permalink / raw)
  To: saeed bishara; +Cc: Jeff Garzik, linux-ide

Hi Saeed,
>
>    I've implemented the target mode for the marvell sata controllers
> (supported by sata_mv.c), but that wasn't based on the libata driver,
> it was done on marvell's in house driver (GPL), please let me know if
> you need reference code and information about the HW.
>
     I would like try on the Marvell sata controller chip-set (HW).
Please let me know more details on hardware and its reference code.
Thanks in advance.

Regards,
Jayaraman.T

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

* Re: SATA in Target Mode
  2010-05-20 10:38       ` Jayaraman Thiruvady
@ 2010-05-20 10:54         ` saeed bishara
       [not found]           ` <AANLkTin4IluJ7Mafqh4yxuQWdtjXJbdJbo7WCYb6-L4n@mail.gmail.com>
  0 siblings, 1 reply; 6+ messages in thread
From: saeed bishara @ 2010-05-20 10:54 UTC (permalink / raw)
  To: Jayaraman Thiruvady; +Cc: Jeff Garzik, linux-ide

On Thu, May 20, 2010 at 1:38 PM, Jayaraman Thiruvady
<jayaraman.tg@gmail.com> wrote:
> Hi Saeed,
>>
>>    I've implemented the target mode for the marvell sata controllers
>> (supported by sata_mv.c), but that wasn't based on the libata driver,
>> it was done on marvell's in house driver (GPL), please let me know if
>> you need reference code and information about the HW.
>>
>     I would like try on the Marvell sata controller chip-set (HW).
> Please let me know more details on hardware and its reference code.
> Thanks in advance.
Here is the functional spec of the kw soc, this soc includes the sata
controller, this device supported by the sata_mv.c libata driver.
http://www.marvell.com/products/processors/embedded/kirkwood/FS_88F6180_9x_6281_OpenSource.pdf


saeed

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

* Re: SATA in Target Mode
       [not found]           ` <AANLkTin4IluJ7Mafqh4yxuQWdtjXJbdJbo7WCYb6-L4n@mail.gmail.com>
@ 2010-05-27 14:54             ` saeed bishara
  0 siblings, 0 replies; 6+ messages in thread
From: saeed bishara @ 2010-05-27 14:54 UTC (permalink / raw)
  To: khchen; +Cc: Jayaraman Thiruvady, Jeff Garzik, linux-ide

[-- Attachment #1: Type: text/plain, Size: 328 bytes --]

On Thu, May 27, 2010 at 2:55 PM, KueiHuan Chen <kueihuan.chen@gmail.com> wrote:
> Hi Saeed,
>
>   I am also interested in the reference code, could you please send me too ?
> I have a 6281, based board,  it seems can play with this cool stuff. Perhaps
> we could try to implement it in libata framework.
sure, attached

[-- Attachment #2: target_mode.zip --]
[-- Type: application/zip, Size: 217095 bytes --]

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

end of thread, other threads:[~2010-05-27 14:54 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <AANLkTinSg70pTj2uwnHuB4xT1I88nNU06l080_m9vngl@mail.gmail.com>
2010-05-19  6:12 ` SATA in Target Mode Jayaraman Thiruvady
2010-05-19 15:48   ` Jeff Garzik
2010-05-20 10:15     ` saeed bishara
2010-05-20 10:38       ` Jayaraman Thiruvady
2010-05-20 10:54         ` saeed bishara
     [not found]           ` <AANLkTin4IluJ7Mafqh4yxuQWdtjXJbdJbo7WCYb6-L4n@mail.gmail.com>
2010-05-27 14:54             ` saeed bishara

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).