* 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:
1 parent
3d427bfd77
commit
5a96158322
7 files changed
+101
-37
No files matched your search
+6
-1
@@ -46,8 +46,13 @@ void cmd_help(char *line)
|
||||
|
||||
void cmd_info(char *line)
|
||||
{
|
||||
char *p, str[128];
|
||||
get_sw_version();
|
||||
get_hw_revision(); // get hardware revision:
|
||||
get_hw_revision(str, 128); // get hardware revision:
|
||||
p = strstr(str, "hw_rev:");
|
||||
if (p) // TODO: delimit string by comma
|
||||
printf("SubVersionString autodetected: '%s'\n", p+7);
|
||||
else printf("SubVersionString autodetected: (error)\n");
|
||||
get_root_device(); // only for flashing
|
||||
get_usb_mode();
|
||||
get_rd_mode();
|
||||
|
||||
Reference in new issue
Block a user