Implement dumping of partitions

This commit is contained in:
Such Meme, Many Skill
2020-04-04 18:40:27 +02:00
parent f93cc0ff44
commit a6eaa1ec51
7 changed files with 85 additions and 18 deletions

View File

@@ -108,4 +108,6 @@ extern menu_entry fs_menu_startdir[];
extern gpt_entry_rule gpt_fs_rules[];
extern menu_entry mmcmenu_start[];
extern menu_entry mmcmenu_start[];
extern menu_entry mmcmenu_filemenu[];

View File

@@ -81,5 +81,13 @@ gpt_entry_rule gpt_fs_rules[] = {
menu_entry mmcmenu_start[] = {
{"Back", COLOR_ORANGE, ISMENU},
{"RESERVED\n", COLOR_ORANGE, ISMENU}
{"RESERVED\n", COLOR_ORANGE, ISMENU},
{"BOOT0/1", COLOR_BLUE, isBOOT | ISMENU}
};
menu_entry mmcmenu_filemenu[] = {
{"Part:", COLOR_ORANGE, ISSKIP | ISMENU},
{NULL, COLOR_VIOLET, ISSKIP | ISMENU},
{"\nBack", COLOR_WHITE, ISMENU},
{"Dump to SD", COLOR_YELLOW, ISMENU}
};

View File

@@ -50,4 +50,5 @@ typedef struct {
u8 property;
} gpt_entry_rule;
#define isFS 0x80
#define isFS 0x80
#define isBOOT 0x2