diff options
-rw-r--r-- | firmware/export/config/vibe500.h | 1 | ||||
-rwxr-xr-x | tools/configure | 4 | ||||
-rw-r--r-- | tools/scramble.c | 2 |
3 files changed, 5 insertions, 2 deletions
diff --git a/firmware/export/config/vibe500.h b/firmware/export/config/vibe500.h index 2d0b4505dc..915b93b1c6 100644 --- a/firmware/export/config/vibe500.h +++ b/firmware/export/config/vibe500.h @@ -186,6 +186,7 @@ /* and doesn't handle them in the drive firmware */ /* #define MAX_PHYS_SECTOR_SIZE 1024 */ +#define MI4_FORMAT #define BOOTFILE_EXT "mi4" #define BOOTFILE "rockbox." BOOTFILE_EXT #define BOOTDIR "/.system" diff --git a/tools/configure b/tools/configure index 1fe81909b9..20a7029a9b 100755 --- a/tools/configure +++ b/tools/configure @@ -2462,14 +2462,14 @@ fi target="-DPBELL_VIBE500" memory=32 # always arm7tdmicc - tool="$rootdir/tools/scramble -mi4v3 -model=vibe500 -type=RBOS" + tool="$rootdir/tools/scramble -mi4v3 -model=v500 -type=RBOS" bmp2rb_mono="$rootdir/tools/bmp2rb -f 0" bmp2rb_native="$rootdir/tools/bmp2rb -f 5" output="jukebox.mi4" appextra="recorder:gui" plugins="no" swcodec="yes" - boottool="$rootdir/tools/scramble -mi4v3 -model=vibe500 -type=RBBL" + boottool="$rootdir/tools/scramble -mi4v3 -model=v500 -type=RBBL" bootoutput="rockbox.mi4" # toolset is the tools within the tools directory that we build for # this particular target. diff --git a/tools/scramble.c b/tools/scramble.c index 3ee8b26aa4..7d981ae23d 100644 --- a/tools/scramble.c +++ b/tools/scramble.c @@ -322,6 +322,8 @@ int main (int argc, char** argv) modelnum = 65; else if (!strcmp(&argv[1][5], "cli+")) /* Sansa Clip+ */ modelnum = 66; + else if (!strcmp(&argv[1][5], "v500")) /* Packard Bell Vibe 500 */ + modelnum = 67; else if (!strcmp(&argv[1][5], "m244")) modelnum = 131; else { |