summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorMark Arigo <markarigo@gmail.com>2007-09-06 03:28:58 +0000
committerMark Arigo <markarigo@gmail.com>2007-09-06 03:28:58 +0000
commitdbc6b4e39a8f68708bc20a7b3295662c7871856a (patch)
tree725674ac56a56c80246181f1e42342ada60b7199 /tools
parent4f3bcbbb11905c95337fcbe670a1b7da477fbf13 (diff)
downloadrockbox-dbc6b4e39a8f68708bc20a7b3295662c7871856a.tar.gz
rockbox-dbc6b4e39a8f68708bc20a7b3295662c7871856a.tar.bz2
rockbox-dbc6b4e39a8f68708bc20a7b3295662c7871856a.zip
Sansa c200 port. Rockbox works with sound. Several features are disabled including some lcd options, FM radio, recording, and all plugins. Loading the OF from the Rockbox bootloader does not work.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14625 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'tools')
-rwxr-xr-xtools/configure29
-rw-r--r--tools/scramble.c5
2 files changed, 32 insertions, 2 deletions
diff --git a/tools/configure b/tools/configure
index 2549595a62..0aa3d21382 100755
--- a/tools/configure
+++ b/tools/configure
@@ -616,6 +616,7 @@ cat <<EOF
==iAudio== ==Toshiba== ==SanDisk==
30) X5/X5V/X5L 40) Gigabeat F 50) Sansa e200
31) M5/M5L 51) Sansa e200R
+ 52) Sansa c200
==Tatung==
60) Elio TPJ-1022
@@ -1311,6 +1312,32 @@ EOF
t_model="sansa-e200"
;;
+ 52|c200)
+ target_id=30
+ archos="c200"
+ target="-DSANSA_C200"
+ memory=32 # supposedly
+ arm7tdmicc
+ tool="$rootdir/tools/scramble -mi4v3 -model=c200 -type=RBOS"
+ bmp2rb_mono="$rootdir/tools/bmp2rb -f 0"
+ bmp2rb_native="$rootdir/tools/bmp2rb -f 4"
+ output="rockbox.mi4"
+ appextra="recorder:gui"
+ archosrom=""
+ flash=""
+ plugins=""
+ swcodec="yes"
+ boottool="$rootdir/tools/scramble -mi4v3 -model=c200 -type=RBBL"
+ bootoutput="firmware.mi4"
+ # toolset is the tools within the tools directory that we build for
+ # this particular target.
+ toolset="$genericbitmaptools scramble"
+ # architecture, manufacturer and model for the target-tree build
+ t_cpu="arm"
+ t_manufacturer="sandisk"
+ t_model="sansa-c200"
+ ;;
+
60|tpj1022)
target_id=25
archos="tpj1022"
@@ -1453,7 +1480,7 @@ fi
;;
[Mm])
appsdir='\$(ROOTDIR)/manual'
- firmdir='\$(ROOTDIR)/manual/platform' # No Makefile here. Effectively ignores target
+ firmdir='\$(ROOTDIR)/manual/platform' # No Makefile here. Effectively ig:res target
toolsdir=$firmdir;
toolset='';
apps="manual"
diff --git a/tools/scramble.c b/tools/scramble.c
index b7c8d1f41a..9f18e96e85 100644
--- a/tools/scramble.c
+++ b/tools/scramble.c
@@ -102,7 +102,8 @@ void usage(void)
"\t type of binary, eg. RBOS, RBBL\n"
"\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, e200)\n"
+ "\t ip3g, ip4g, mini, iax5, h10, h10_5gb, tpj2,\n"
+ "\t c200, e200)\n"
"\nNo option results in Archos standard player/recorder format.\n");
exit(1);
@@ -228,6 +229,8 @@ int main (int argc, char** argv)
modelnum = 18;
else if(!strcmp(&argv[1][5], "1g2g"))
modelnum = 19;
+ else if(!strcmp(&argv[1][5], "c200"))
+ modelnum = 20;
else {
fprintf(stderr, "unsupported model: %s\n", &argv[1][5]);
return 2;