summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rwxr-xr-xtools/configure2
-rw-r--r--tools/scramble.c4
2 files changed, 4 insertions, 2 deletions
diff --git a/tools/configure b/tools/configure
index d2b0bfc626..917e963e97 100755
--- a/tools/configure
+++ b/tools/configure
@@ -1481,7 +1481,7 @@ EOF
1481 target="-DCOWON_D2" 1481 target="-DCOWON_D2"
1482 memory=32 1482 memory=32
1483 arm926ejscc 1483 arm926ejscc
1484 tool="cp " 1484 tool="$rootdir/tools/scramble -add=d2"
1485 boottool="$rootdir/tools/scramble -tcc=crc" 1485 boottool="$rootdir/tools/scramble -tcc=crc"
1486 bmp2rb_mono="$rootdir/tools/bmp2rb -f 0" 1486 bmp2rb_mono="$rootdir/tools/bmp2rb -f 0"
1487 bmp2rb_native="$rootdir/tools/bmp2rb -f 4" 1487 bmp2rb_native="$rootdir/tools/bmp2rb -f 4"
diff --git a/tools/scramble.c b/tools/scramble.c
index 6d69f9175e..ee731cfd0d 100644
--- a/tools/scramble.c
+++ b/tools/scramble.c
@@ -108,7 +108,7 @@ void usage(void)
108 "\t-add=X Rockbox generic \"add-up\" checksum format\n" 108 "\t-add=X Rockbox generic \"add-up\" checksum format\n"
109 "\t (X values: h100, h120, h140, h300, ipco, nano, ipvd, mn2g\n" 109 "\t (X values: h100, h120, h140, h300, ipco, nano, ipvd, mn2g\n"
110 "\t ip3g, ip4g, mini, iax5, h10, h10_5gb, tpj2,\n" 110 "\t ip3g, ip4g, mini, iax5, h10, h10_5gb, tpj2,\n"
111 "\t c200, e200, giga, gigs, m100, m500)\n" 111 "\t c200, e200, giga, gigs, m100, m500, d2)\n"
112 "\nNo option results in Archos standard player/recorder format.\n"); 112 "\nNo option results in Archos standard player/recorder format.\n");
113 113
114 exit(1); 114 exit(1);
@@ -256,6 +256,8 @@ int main (int argc, char** argv)
256 modelnum = 22; 256 modelnum = 22;
257 else if(!strcmp(&argv[1][5], "m100")) 257 else if(!strcmp(&argv[1][5], "m100"))
258 modelnum = 23; 258 modelnum = 23;
259 else if(!strcmp(&argv[1][5], "d2"))
260 modelnum = 24;
259 else { 261 else {
260 fprintf(stderr, "unsupported model: %s\n", &argv[1][5]); 262 fprintf(stderr, "unsupported model: %s\n", &argv[1][5]);
261 return 2; 263 return 2;