Re: "Real" USB3 mass storage speed

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

 



On 12/02/2014 03:20 PM, Felipe Balbi wrote:
> 
> Sebastian, do you still have any notes on how to use UASP gadget with
> either RAM or a real storage backend ?

I have a shell script dated 2k11:

CONFIGFS=/sys/kernel/config/;
TARGET=$CONFIGFS/target/core/
FABRIC=$CONFIGFS/target/loopback/

mkdir -p $TARGET/rd_mcp_0/ramdisk
echo -n rd_pages=32768 > $TARGET/rd_mcp_0/ramdisk/control
echo -n 1 > $TARGET/rd_mcp_0/ramdisk/enable

mkdir -p $FABRIC/naa.6001405c3214b06a/tpgt_1
mkdir $FABRIC/naa.6001405c3214b06a/tpgt_1/lun/lun_0
echo -n naa.6001405c3214b06b > $FABRIC/naa.6001405c3214b06a/tpgt_1/nexus

ln -sv $TARGET/rd_mcp_0/ramdisk
$FABRIC/naa.6001405c3214b06a/tpgt_1/lun/lun_0/virtual_scsi_port

---
and a link
http://article.gmane.org/gmane.linux.scsi.target.devel/654

> 
> cheers
> 

Sebastian
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux