summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorKarl Kurbjun <kkurbjun@gmail.com>2007-09-30 17:12:20 +0000
committerKarl Kurbjun <kkurbjun@gmail.com>2007-09-30 17:12:20 +0000
commit3f9a9a1a01df7c73b569232f96a4170ed8910ea2 (patch)
treece63caadc9db19950436cf48c3fdf484329b3d59 /tools
parent34308c152206b9c476bf241a93978c0bb624e316 (diff)
downloadrockbox-3f9a9a1a01df7c73b569232f96a4170ed8910ea2.zip
rockbox-3f9a9a1a01df7c73b569232f96a4170ed8910ea2.tar.gz
rockbox-3f9a9a1a01df7c73b569232f96a4170ed8910ea2.tar.bz2
rockbox-3f9a9a1a01df7c73b569232f96a4170ed8910ea2.tar.xz
Fix the bootloader, and give the M:Robe it's own scramble
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14922 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'tools')
-rwxr-xr-xtools/configure2
-rw-r--r--tools/scramble.c6
2 files changed, 5 insertions, 3 deletions
diff --git a/tools/configure b/tools/configure
index 085c110..ec0fa02 100755
--- a/tools/configure
+++ b/tools/configure
@@ -1287,7 +1287,7 @@ EOF
target="-DMROBE_500"
memory=64 # always
arm9tdmicc
- tool="$rootdir/tools/scramble -add=giga"
+ tool="$rootdir/tools/scramble -add=m500"
bmp2rb_mono="$rootdir/tools/bmp2rb -f 0"
bmp2rb_native="$rootdir/tools/bmp2rb -f 4"
output="rockbox.mrobe500"
diff --git a/tools/scramble.c b/tools/scramble.c
index ad12883..ba0eda3 100644
--- a/tools/scramble.c
+++ b/tools/scramble.c
@@ -107,7 +107,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, h10, h10_5gb, tpj2,\n"
- "\t c200, e200)\n"
+ "\t c200, e200, giga, m500)\n"
"\nNo option results in Archos standard player/recorder format.\n");
exit(1);
@@ -249,8 +249,10 @@ int main (int argc, char** argv)
modelnum = 19;
else if(!strcmp(&argv[1][5], "c200"))
modelnum = 20;
- else if(!strcmp(&argv[1][5], "gigs"))
+ else if(!strcmp(&argv[1][5], "gigs"))
modelnum = 21;
+ else if(!strcmp(&argv[1][5], "m500"))
+ modelnum = 22;
else {
fprintf(stderr, "unsupported model: %s\n", &argv[1][5]);
return 2;