1
0
Fork 0
forked from len0rd/rockbox

imxtools/scsitools: add option to extract firmware from the device

Change-Id: Ib8cbf2f864a9375575cea0edbba48f740bf8f12e
This commit is contained in:
Amaury Pouly 2013-09-05 23:14:57 +02:00
parent 1ac762aebb
commit 3713bc4b7c
2 changed files with 148 additions and 9 deletions

View file

@ -71,6 +71,13 @@ struct scsi_stmp_logical_table_entry_t
uint64_t size; /* big-endian */
} __attribute__((packed));
#define SCSI_STMP_DRIVE_TYPE_USER 0
#define SCSI_STMP_DRIVE_TYPE_SYSTEM 1
#define SCSI_STMP_DRIVE_TYPE_JANUS 2
#define SCSI_STMP_DRIVE_TAG_USER_STORAGE 0xa
#define SCSI_STMP_DRIVE_TAG_SYSTEM_BOOT 0x50
struct scsi_stmp_logical_table_t
{
uint16_t count; /* big-endian */