summaryrefslogtreecommitdiff
path: root/utils/imxtools/scsitools/scsitool.c (follow)
Commit message (Collapse)AuthorAge
* imxtools: move firmware read/write to libraryAmaury Pouly2017-01-07
| | | | | | | Split the ugly firmware read/write into a API function and a much simplified code. Also the code can now report progress. Change-Id: I3f998eaf0c067c6da42b1d2dd9c5a5bf43c6915d
* imxtools/scsitools: move stmp scsi api to its own fileAmaury Pouly2017-01-07
| | | | | | No code modification code, just moving code around. Change-Id: I30744d3994aa7540f4b5b158f31b51959d5d8586
* imxtools/scsitools: rework stmp scsi APIAmaury Pouly2017-01-07
| | | | | | | | | | Sanitize the whole library by hiding most of the horrible details of the implementation. This means that all logical/drive/table attributes are exported in structures that are internally filled by higher-level API functions. This makes the code much more readable and prepares for a split between scsitool and the stmp scsi library. Change-Id: Id85d450b25cf99cd7c0896c6fc35bcd00babe9e1
* imxtools/scsitools: use new SCSI libraryAmaury Pouly2017-01-07
| | | | | | | The function names and prototypes are also normalized so make subsequent reworks easier. Change-Id: Ifa5d64aa144b11f8c087517ddc904744e3037361
* imxtools/scsitools: increase SCSI delay to 10 secondsAmaury Pouly2014-02-22
| | | | | | | On some OSes like Windows or if running in a virtual machine, the one second timeout might be too short. Change-Id: I717f7a2aaed1cb3d40e8fbe6f9b1081b43ceea95
* imxtools/scsitool: add progress indicatorAmaury Pouly2014-02-22
| | | | Change-Id: I061ddac4f882156139e38fa6d495fee86271a6aa
* imxtools/scsitool: improve output formattingAmaury Pouly2014-02-22
| | | | Change-Id: Ifc5b5252e1342f381356f7bd5c2fed5ad8beddfe
* imxtools/scsitools: tool can now write a firmware using SCSIAmaury Pouly2013-12-24
| | | | Change-Id: Iac803d4b2d48319a1a32d1101f5041d20174c7a1
* imxtools/scsitools: document some of the SCSI vendor commandsAmaury Pouly2013-10-10
| | | | Change-Id: I534fc467aad960c61b54d202096823d5c2c9a5e9
* imxtools/scsitools: add option to extract firmware from the deviceAmaury Pouly2013-09-05
| | | | Change-Id: Ib8cbf2f864a9375575cea0edbba48f740bf8f12e
* imxtools: add device info and serial number requests to scsitoolAmaury Pouly2013-07-07
| | | | Change-Id: I17b679062fa53c20034e7db6f4080f8762a7818c
* imx233: document some more stmp vendor scsi commandAmaury Pouly2013-07-03
| | | | Change-Id: Ie03c0c8288b4bd9c0b4beedae363cff6caf3c5cd
* imxtools/scsitools: add support for more commandsAmaury Pouly2013-01-15
| | | | Change-Id: Iddff64502ba357dcd36903d31015b9ae2d00ae62
* imxtools/nwztools: fix compilation for windowsAmaury Pouly2013-01-10
| | | | | | | | | There is a windows port of the sg_utils library for scsi pass- through. This little changes make it compile under mingw. A better fix would be to implement direct ioctl on both windows and linux but that's already better than nothing Change-Id: I0d77cd1bad69806a66f0590362f165f24fa240e9
* imxtools/scsitool: retrieve the minimum amount of inquiry dataAmaury Pouly2012-12-13
| | | | | | | Some device only report the minimum (36 bytes) amount of inquiry data so don't ask for more Change-Id: Ie74d659f6e27b077acba160aeb87d1e7edf82e66
* imxtools: introduce the new scsitoolAmaury Pouly2012-12-11
It appears that all devices based on the Sigmaltel SDK support a common vendor specific SCSI interface when in UMS mode. This applies to the STMP36xx and the STMP37xx. This interface supports many operations: - get device info - get device paritionning - get janus/drm info - read/write/allocate/erase any partition - reset (chip or to updater and/or recovery) This includes the ability to do a firmware upgrade by rewriting the firmware partition. The tool currently does mostly nothing but will be enhanced depending on the reverse engineering efforts and the use of it. It has been tested on the Fuze+ and the Zen X-Fi2/3. Change-Id: Ibd4b2ad364c03ada4f9001573ef4cc87cfb041d1