* Implement and test direct file FIASCO flash - openfiasco receives options for grepping for pieces and be verbose - fixed flashing order using grep options xloader, secondary, kernel, initfs, rootfs - Tested and working - Added parser for the hw revision string

* Autodetect device hw revision and setup the subversion string
  on the fly.
This commit is contained in:
pancake committed 2008-12-08 18:13:36 +01:00
1 parent 3d427bfd77
commit 5a96158322
7 files changed
+101 -37

No files matched your search

+10
View File
@@ -86,6 +86,16 @@ void flash_image(const char *filename, const char *piece, const char *version)
unsigned char nolofiller[128];
ushort hash = do_hash_file(filename);
if (piece == NULL) {
//exit(1);
piece = fpid_file(filename);
if (piece == NULL) {
printf("Unknown piece type\n");
return;
}
printf("Piece type: %s\n", piece);
}
if (version)
vlen = strlen(version)+1;