summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorDave Chapman <dave@dchapman.com>2008-10-19 14:11:01 +0000
committerDave Chapman <dave@dchapman.com>2008-10-19 14:11:01 +0000
commit08c41d42bb699a1be99c9696b4d4fb7b40e8723a (patch)
tree2834231979d52b81a7860fd4a5e19ed79b3ffee7 /tools
parent14ee31865e366dc19fb87caf4877a8d93305a01b (diff)
downloadrockbox-08c41d42bb699a1be99c9696b4d4fb7b40e8723a.tar.gz
rockbox-08c41d42bb699a1be99c9696b4d4fb7b40e8723a.tar.bz2
rockbox-08c41d42bb699a1be99c9696b4d4fb7b40e8723a.zip
Add e200v2 and m200v2 targets. Move the telechips lcd-ssd1815.c (currently used by Logik DAX and m200v1 ports) driver up in the target tree and share with the m200v2 - as2525 parts contributed by Rafael Carre. Includes the start (but is still very incomplete) of an LCD driver for the e200v2. m200v2 is not yet fully supported by mkamsboot - that will come soon. Also some minor cleanups for the Clip.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18836 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'tools')
-rwxr-xr-xtools/configure42
-rw-r--r--tools/scramble.c4
2 files changed, 45 insertions, 1 deletions
diff --git a/tools/configure b/tools/configure
index c34ecec382..36597f524b 100755
--- a/tools/configure
+++ b/tools/configure
@@ -694,6 +694,8 @@ cat <<EOF
33) Cowon D2 53) Sansa m200
34) M3/M3L 54) Sansa c100
55) Sansa Clip
+ 56) Sansa e200v2
+ 57) Sansa m200v2
==Tatung== ==Olympus== ==Logik==
60) Elio TPJ-1022 70) M:Robe 500 80) DAX 1GB MP3/DAB
@@ -1698,6 +1700,46 @@ fi
;;
+ 56|e200v2)
+ target_id=51
+ modelname="e200v2"
+ target="-DSANSA_E200V2"
+ memory=2 # FIXME - a guess
+ arm9tdmicc
+ bmp2rb_mono="$rootdir/tools/bmp2rb -f 0"
+ bmp2rb_native="$bmp2rb_mono"
+ tool="$rootdir/tools/scramble -add=e2v2"
+ output="rockbox.sansa"
+ bootoutput="bootloader-e200v2.sansa"
+ appextra="recorder:gui"
+ plugins=""
+ toolset=$scramblebitmaptools
+ t_cpu="arm"
+ t_manufacturer="as3525"
+ t_model="sansa-clip"
+ ;;
+
+
+ 57|m200v2)
+ target_id=52
+ modelname="m200v2"
+ target="-DSANSA_M200V2"
+ memory=2 # FIXME - A guess
+ arm9tdmicc
+ bmp2rb_mono="$rootdir/tools/bmp2rb -f 0"
+ bmp2rb_native="$bmp2rb_mono"
+ tool="$rootdir/tools/scramble -add=m2v2"
+ output="rockbox.sansa"
+ bootoutput="bootloader-m200v2.sansa"
+ appextra="recorder:gui"
+ plugins=""
+ toolset=$scramblebitmaptools
+ t_cpu="arm"
+ t_manufacturer="as3525"
+ t_model="sansa-m200v2"
+ ;;
+
+
60|tpj1022)
target_id=25
modelname="tpj1022"
diff --git a/tools/scramble.c b/tools/scramble.c
index 429823aaa7..aaf3b9d232 100644
--- a/tools/scramble.c
+++ b/tools/scramble.c
@@ -122,7 +122,7 @@ void usage(void)
"\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");
- printf("\t 9200, 1630, ldax, m200, clip, e2v2)\n");
+ printf("\t 9200, 1630, ldax, m200, clip, e2v2, m2v2)\n");
printf("\nNo option results in Archos standard player/recorder format.\n");
exit(1);
@@ -289,6 +289,8 @@ int main (int argc, char** argv)
modelnum = 50;
else if (!strcmp(&argv[1][5], "e2v2"))
modelnum = 51;
+ else if (!strcmp(&argv[1][5], "m2v2"))
+ modelnum = 52;
else {
fprintf(stderr, "unsupported model: %s\n", &argv[1][5]);
return 2;