imxtools: introduce the new scsitool
commitb86b0a1b44f88e74a82da81eebae02828d6d09fc
authorAmaury Pouly <amaury.pouly@gmail.com>
Tue, 11 Dec 2012 19:15:51 +0000 (11 20:15 +0100)
committerAmaury Pouly <amaury.pouly@gmail.com>
Tue, 11 Dec 2012 19:20:49 +0000 (11 20:20 +0100)
tree461e27b71dde3a476e951a67d0b2f4cee5ad782a
parentfb05b3e6983e08e0125e2156232b16e55fd571a5
imxtools: introduce the new scsitool

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
utils/imxtools/scsitools/Makefile [new file with mode: 0644]
utils/imxtools/scsitools/misc.c [new file with mode: 0644]
utils/imxtools/scsitools/misc.h [new file with mode: 0644]
utils/imxtools/scsitools/scsitool.c [new file with mode: 0644]
utils/imxtools/scsitools/stmp_scsi.h [new file with mode: 0644]