mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-27 23:42:58 +02:00
Image backup apollo Part #6
- Menu option for including kernel/uldr/u-boot in the image backup - Menu option for creating an image with a different erasesize Tank <=> Trinity
This commit is contained in:
@@ -79,19 +79,40 @@ class CFlashExpert : public CProgressWindow
|
||||
int showFileSelector(const std::string & actionkey);
|
||||
|
||||
bool checkSize(int mtd, std::string &backupFile);
|
||||
void readmtd(int readmtd);
|
||||
#ifdef BOXMODEL_APOLLO
|
||||
bool readDevtableFile(std::string &devtableFile, CMkfsJFFS2::v_devtable_t &v_devtable);
|
||||
void readmtdJFFS2(std::string &filename);
|
||||
#endif
|
||||
|
||||
public:
|
||||
#ifdef BOXMODEL_APOLLO
|
||||
bool forceOtherFilename;
|
||||
std::string otherFilename;
|
||||
int createimage_other;
|
||||
#endif
|
||||
CFlashExpert();
|
||||
static CFlashExpert* getInstance();
|
||||
int exec(CMenuTarget* parent, const std::string & actionKey);
|
||||
void writemtd(const std::string & filename, int mtdNumber);
|
||||
void readmtd(int readmtd);
|
||||
|
||||
};
|
||||
|
||||
#ifdef BOXMODEL_APOLLO
|
||||
class CFlashExpertSetup : public CMenuTarget
|
||||
{
|
||||
private:
|
||||
int width;
|
||||
|
||||
int showMenu();
|
||||
void readMTDPart(int mtd, const std::string &fileName);
|
||||
|
||||
public:
|
||||
CFlashExpertSetup();
|
||||
// ~CFlashExpertSetup();
|
||||
|
||||
int exec(CMenuTarget* parent, const std::string &actionKey);
|
||||
};
|
||||
#endif // BOXMODEL_APOLLO
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user