Re: UFS utilities

2017-12-05 Thread Bart Van Assche
On Mon, 2017-12-04 at 15:20 +, Bean Huo (beanhuo) wrote: > Also, is it possible bypass SCSI stacks and go into directly UFS stack? Hello Bean, Sorry but I think it would be wrong to bypass the block layer when submitting UFS commands. My understanding is that UFS devices are used in systems w

Re: UFS utilities

2017-12-05 Thread gre...@linuxfoundation.org
On Tue, Dec 05, 2017 at 03:44:19PM +, Bean Huo (beanhuo) wrote: > Hi, greg k-h > > > > >So what UFS commands are you missing that you need to see implemented? > > > >And again, have you checked the different forks of the driver? > > > > Seems there is something misunderstood, I want to use UP

Re: UFS utilities

2017-12-05 Thread Bean Huo (beanhuo)
Hi, greg k-h > >So what UFS commands are you missing that you need to see implemented? > >And again, have you checked the different forks of the driver? > Seems there is something misunderstood, I want to use UPIU, rather than CDB. Maybe it is not possible based on current UFS stacks. Of course,

Re: [EXT] Re: UFS utilities

2017-12-04 Thread gre...@linuxfoundation.org
On Mon, Dec 04, 2017 at 03:20:34PM +, Bean Huo (beanhuo) wrote: > Hi, Bart > Sorry for later! > > > >Hello Bean, > > > >Please be more specific. What is inconvenient about sg3_utils on embedded > >ARM systems? > > > Exactly, I don't know how to compile sg3_utils with static library, instead >

RE: [EXT] Re: UFS utilities

2017-12-04 Thread Bean Huo (beanhuo)
Hi, Bart Sorry for later! > >Hello Bean, > >Please be more specific. What is inconvenient about sg3_utils on embedded >ARM systems? > Exactly, I don't know how to compile sg3_utils with static library, instead of sharing library. I used following configuration Parameter: ./configure --enable-stati

Re: UFS utilities

2017-12-03 Thread Kyuho Choi
Hi, On 11/30/17, Bean Huo (beanhuo) wrote: > Hi, Greg > >>On Mon, Nov 27, 2017 at 11:25:47AM +, Bean Huo (beanhuo) wrote: >>> Hi, all >>> Is there someone knows if exists one utilis dedicated to UFS device, >>> rather >>than SCSI utils? >>> I have tried sg3-utils, but it is not convenient for

Re: UFS utilities

2017-11-29 Thread James Bottomley
On Wed, 2017-11-29 at 15:39 +, Bean Huo (beanhuo) wrote: > Thread-Topic: UFS utilities > Thread-Index: AdNpKDYJWTPjczfxQHC/pD9WNnnl4w== Could you fix your mail transfer agent?  It's using these non standard headers instead of the RFC mandated In-Reply-To: and References: The prob

Re: UFS utilities

2017-11-29 Thread Greg KH
On Wed, Nov 29, 2017 at 03:39:19PM +, Bean Huo (beanhuo) wrote: > Hi, Greg > > >On Mon, Nov 27, 2017 at 11:25:47AM +, Bean Huo (beanhuo) wrote: > >> Hi, all > >> Is there someone knows if exists one utilis dedicated to UFS device, rather > >than SCSI utils? > >> I have tried sg3-utils, but

Re: UFS utilities

2017-11-29 Thread Bean Huo (beanhuo)
Hi, Greg >On Mon, Nov 27, 2017 at 11:25:47AM +, Bean Huo (beanhuo) wrote: >> Hi, all >> Is there someone knows if exists one utilis dedicated to UFS device, rather >than SCSI utils? >> I have tried sg3-utils, but it is not convenient for the embedded ARM-based >system. >> And also it doesn't s

Re: UFS utilities

2017-11-27 Thread Bart Van Assche
On Mon, 2017-11-27 at 11:25 +, Bean Huo (beanhuo) wrote: > Is there someone knows if exists one utilis dedicated to UFS device, > rather than SCSI utils? I have tried sg3-utils, but it is not convenient > for the embedded ARM-based system. Hello Bean, Please be more specific. What is inconven

Re: UFS utilities

2017-11-27 Thread Greg KH
On Mon, Nov 27, 2017 at 11:25:47AM +, Bean Huo (beanhuo) wrote: > Hi, all > Is there someone knows if exists one utilis dedicated to UFS device, rather > than SCSI utils? > I have tried sg3-utils, but it is not convenient for the embedded ARM-based > system. > And also it doesn't support sev

UFS utilities

2017-11-27 Thread Bean Huo (beanhuo)
Hi, all Is there someone knows if exists one utilis dedicated to UFS device, rather than SCSI utils? I have tried sg3-utils, but it is not convenient for the embedded ARM-based system. And also it doesn't support several UFS special command. If we don't have this kind of tool for UFS, is it nec