mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 17:31:11 +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
Origin commit data
------------------
Commit: d00cb6f8ec
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2013-09-24 (Tue, 24 Sep 2013)
Origin message was:
------------------
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