summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorMaurus Cuelenaere <mcuelenaere@gmail.com>2008-04-24 20:08:28 +0000
committerMaurus Cuelenaere <mcuelenaere@gmail.com>2008-04-24 20:08:28 +0000
commit95167e01773dcfe8e5c1b356cfa1ea4b3a55441b (patch)
tree8b5312c5f1d1ecc8231bf8e14a1eb1678474bf8a /tools
parent46b492861152af9b91d3ab65ef0e5e14c876c3fc (diff)
downloadrockbox-95167e01773dcfe8e5c1b356cfa1ea4b3a55441b.tar.gz
rockbox-95167e01773dcfe8e5c1b356cfa1ea4b3a55441b.tar.bz2
rockbox-95167e01773dcfe8e5c1b356cfa1ea4b3a55441b.zip
Commit whole Creative Zen Vision:M target tree + all related firmware/
changes. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17241 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'tools')
-rwxr-xr-xtools/configure4
-rw-r--r--tools/scramble.c6
2 files changed, 7 insertions, 3 deletions
diff --git a/tools/configure b/tools/configure
index 151a4b70ff..93a0484b6a 100755
--- a/tools/configure
+++ b/tools/configure
@@ -1461,12 +1461,12 @@ fi
bmp2rb_native="$rootdir/tools/bmp2rb -f 4"
bmp2rb_remotemono="$rootdir/tools/bmp2rb -f 0"
bmp2rb_remotenative="$rootdir/tools/bmp2rb -f 0"
- tool="cp"
+ tool="$rootdir/tools/scramble -creative=zvm"
output="rockbox.zvm"
appextra="recorder:gui"
plugins=""
swcodec="yes"
- toolset=$gigabeatbitmaptools
+ toolset=$ipodbitmaptools
boottool="$rootdir/tools/scramble -creative=zvm"
bootoutput="rockbox.zvmboot"
# architecture, manufacturer and model for the target-tree build
diff --git a/tools/scramble.c b/tools/scramble.c
index 7aad4bfa92..a17b16efaa 100644
--- a/tools/scramble.c
+++ b/tools/scramble.c
@@ -117,7 +117,7 @@ void usage(void)
"\t-add=X Rockbox generic \"add-up\" checksum format\n"
"\t (X values: h100, h120, h140, h300, ipco, nano, ipvd, mn2g\n"
"\t ip3g, ip4g, mini, iax5, iam5, iam3, h10, h10_5gb,\n"
- "\t tpj2, c200, e200, giga, gigs, m100, m500, d2)\n");
+ "\t tpj2, c200, e200, giga, gigs, m100, m500, d2, zvm)\n");
printf("\nNo option results in Archos standard player/recorder format.\n");
exit(1);
@@ -269,6 +269,8 @@ int main (int argc, char** argv)
modelnum = 24;
else if(!strcmp(&argv[1][5], "iam3"))
modelnum = 25;
+ else if(!strcmp(&argv[1][5], "zvm"))
+ modelnum = 26;
else {
fprintf(stderr, "unsupported model: %s\n", &argv[1][5]);
return 2;
@@ -344,6 +346,8 @@ int main (int argc, char** argv)
return zvm_encode(iname, oname, ZENVISION);
else if(!strcmp(&argv[1][10], "zenv"))
return zvm_encode(iname, oname, ZENV);
+ else if(!strcmp(&argv[1][10], "zen"))
+ return zvm_encode(iname, oname, ZEN);
else {
fprintf(stderr, "unsupported Creative device: %s\n", &argv[1][10]);
return 2;