summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSzymon Dziok <b0hoon@o2.pl>2010-01-30 21:11:18 +0000
committerSzymon Dziok <b0hoon@o2.pl>2010-01-30 21:11:18 +0000
commitc2bd57a9b0a74d6c4dc0e94c62c41e2b84136d90 (patch)
treeac2573b1677a757f0f7cf193f066183d85d01266
parentf6b46caa404b15987ee0ccb14060306e531ee592 (diff)
downloadrockbox-c2bd57a9b0a74d6c4dc0e94c62c41e2b84136d90.tar.gz
rockbox-c2bd57a9b0a74d6c4dc0e94c62c41e2b84136d90.tar.bz2
rockbox-c2bd57a9b0a74d6c4dc0e94c62c41e2b84136d90.zip
PBell vibe 500: ROLO fix
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24385 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--firmware/export/config/vibe500.h1
-rwxr-xr-xtools/configure4
-rw-r--r--tools/scramble.c2
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 {