Fix creating fiasco images - added support for specifing device, hwrevs, version, mmc layout and auto align mmc images

Format of arguments for adding piece to fiasco image is now:
$ 0xFFFF -p [[[[dev:hw:]ver:]type:]file[%%layout]
This commit is contained in:
Pali Rohár committed 2012-06-23 13:11:54 +02:00
1 parent b4575a40fc
commit 1aca3bef85
3 files changed
+146 -24

No files matched your search

+1 -1
View File
@@ -124,7 +124,7 @@ int fiasco_new(const char *filename, const char *name);
void fiasco_data_read(struct header_t *header);
int fiasco_add_eof(int fd);
extern int (*fiasco_callback)(struct header_t *header);
int fiasco_add(int fd, const char *name, const char *file, const char *version);
int fiasco_add(int fd, const char *name, const char *file, const char *layout, const char *device, const char *hwrevs, const char *version);
int fiasco_pack(int optind, char *argv[]);
int nanddump(char *mtddev, unsigned long start_addr, unsigned long length, char *dumpfile, int isbl, int ioob);