diff options
author | Mark Arigo <markarigo@gmail.com> | 2007-09-06 03:28:58 +0000 |
---|---|---|
committer | Mark Arigo <markarigo@gmail.com> | 2007-09-06 03:28:58 +0000 |
commit | dbc6b4e39a8f68708bc20a7b3295662c7871856a (patch) | |
tree | 725674ac56a56c80246181f1e42342ada60b7199 /tools | |
parent | 4f3bcbbb11905c95337fcbe670a1b7da477fbf13 (diff) | |
download | rockbox-dbc6b4e39a8f68708bc20a7b3295662c7871856a.tar.gz 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-x | tools/configure | 29 | ||||
-rw-r--r-- | tools/scramble.c | 5 |
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 | |||
616 | ==iAudio== ==Toshiba== ==SanDisk== | 616 | ==iAudio== ==Toshiba== ==SanDisk== |
617 | 30) X5/X5V/X5L 40) Gigabeat F 50) Sansa e200 | 617 | 30) X5/X5V/X5L 40) Gigabeat F 50) Sansa e200 |
618 | 31) M5/M5L 51) Sansa e200R | 618 | 31) M5/M5L 51) Sansa e200R |
619 | 52) Sansa c200 | ||
619 | 620 | ||
620 | ==Tatung== | 621 | ==Tatung== |
621 | 60) Elio TPJ-1022 | 622 | 60) Elio TPJ-1022 |
@@ -1311,6 +1312,32 @@ EOF | |||
1311 | t_model="sansa-e200" | 1312 | t_model="sansa-e200" |
1312 | ;; | 1313 | ;; |
1313 | 1314 | ||
1315 | 52|c200) | ||
1316 | target_id=30 | ||
1317 | archos="c200" | ||
1318 | target="-DSANSA_C200" | ||
1319 | memory=32 # supposedly | ||
1320 | arm7tdmicc | ||
1321 | tool="$rootdir/tools/scramble -mi4v3 -model=c200 -type=RBOS" | ||
1322 | bmp2rb_mono="$rootdir/tools/bmp2rb -f 0" | ||
1323 | bmp2rb_native="$rootdir/tools/bmp2rb -f 4" | ||
1324 | output="rockbox.mi4" | ||
1325 | appextra="recorder:gui" | ||
1326 | archosrom="" | ||
1327 | flash="" | ||
1328 | plugins="" | ||
1329 | swcodec="yes" | ||
1330 | boottool="$rootdir/tools/scramble -mi4v3 -model=c200 -type=RBBL" | ||
1331 | bootoutput="firmware.mi4" | ||
1332 | # toolset is the tools within the tools directory that we build for | ||
1333 | # this particular target. | ||
1334 | toolset="$genericbitmaptools scramble" | ||
1335 | # architecture, manufacturer and model for the target-tree build | ||
1336 | t_cpu="arm" | ||
1337 | t_manufacturer="sandisk" | ||
1338 | t_model="sansa-c200" | ||
1339 | ;; | ||
1340 | |||
1314 | 60|tpj1022) | 1341 | 60|tpj1022) |
1315 | target_id=25 | 1342 | target_id=25 |
1316 | archos="tpj1022" | 1343 | archos="tpj1022" |
@@ -1453,7 +1480,7 @@ fi | |||
1453 | ;; | 1480 | ;; |
1454 | [Mm]) | 1481 | [Mm]) |
1455 | appsdir='\$(ROOTDIR)/manual' | 1482 | appsdir='\$(ROOTDIR)/manual' |
1456 | firmdir='\$(ROOTDIR)/manual/platform' # No Makefile here. Effectively ignores target | 1483 | firmdir='\$(ROOTDIR)/manual/platform' # No Makefile here. Effectively ig:res target |
1457 | toolsdir=$firmdir; | 1484 | toolsdir=$firmdir; |
1458 | toolset=''; | 1485 | toolset=''; |
1459 | apps="manual" | 1486 | 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) | |||
102 | "\t type of binary, eg. RBOS, RBBL\n" | 102 | "\t type of binary, eg. RBOS, RBBL\n" |
103 | "\t-add=X Rockbox generic \"add-up\" checksum format\n" | 103 | "\t-add=X Rockbox generic \"add-up\" checksum format\n" |
104 | "\t (X values: h100, h120, h140, h300, ipco, nano, ipvd, mn2g\n" | 104 | "\t (X values: h100, h120, h140, h300, ipco, nano, ipvd, mn2g\n" |
105 | "\t ip3g, ip4g, mini, iax5, h10, h10_5gb, tpj2, e200)\n" | 105 | "\t ip3g, ip4g, mini, iax5, h10, h10_5gb, tpj2,\n" |
106 | "\t c200, e200)\n" | ||
106 | "\nNo option results in Archos standard player/recorder format.\n"); | 107 | "\nNo option results in Archos standard player/recorder format.\n"); |
107 | 108 | ||
108 | exit(1); | 109 | exit(1); |
@@ -228,6 +229,8 @@ int main (int argc, char** argv) | |||
228 | modelnum = 18; | 229 | modelnum = 18; |
229 | else if(!strcmp(&argv[1][5], "1g2g")) | 230 | else if(!strcmp(&argv[1][5], "1g2g")) |
230 | modelnum = 19; | 231 | modelnum = 19; |
232 | else if(!strcmp(&argv[1][5], "c200")) | ||
233 | modelnum = 20; | ||
231 | else { | 234 | else { |
232 | fprintf(stderr, "unsupported model: %s\n", &argv[1][5]); | 235 | fprintf(stderr, "unsupported model: %s\n", &argv[1][5]); |
233 | return 2; | 236 | return 2; |