diff options
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/configure | 28 | ||||
-rw-r--r-- | tools/scramble.c | 4 |
2 files changed, 30 insertions, 2 deletions
diff --git a/tools/configure b/tools/configure index 87646148f2..186e0d5ace 100755 --- a/tools/configure +++ b/tools/configure | |||
@@ -930,9 +930,12 @@ cat <<EOF | |||
930 | ==Logik== | 930 | ==Logik== |
931 | ==Samsung== ==Tatung== 80) DAX 1GB MP3/DAB | 931 | ==Samsung== ==Tatung== 80) DAX 1GB MP3/DAB |
932 | 140) YH-820 150) Elio TPJ-1022 | 932 | 140) YH-820 150) Elio TPJ-1022 |
933 | 141) YH-920 ==Lyre project==1 | 933 | 141) YH-920 ==Lyre project== |
934 | 142) YH-925 ==Packard Bell== 130) Lyre proto 1 | 934 | 142) YH-925 ==Packard Bell== 130) Lyre proto 1 |
935 | 143) YP-S3 160) Vibe 500 131) Mini2440 | 935 | 143) YP-S3 160) Vibe 500 131) Mini2440 |
936 | |||
937 | ==MPIO== | ||
938 | 170) HD200 | ||
936 | EOF | 939 | EOF |
937 | 940 | ||
938 | buildfor=`input`; | 941 | buildfor=`input`; |
@@ -2525,6 +2528,29 @@ fi | |||
2525 | t_model="vibe500" | 2528 | t_model="vibe500" |
2526 | ;; | 2529 | ;; |
2527 | 2530 | ||
2531 | 170|hd200) | ||
2532 | target_id=69 | ||
2533 | modelname="mpiohd200" | ||
2534 | target="-DMPIO_HD200" | ||
2535 | memory=16 # always | ||
2536 | coldfirecc | ||
2537 | tool="$rootdir/tools/scramble -add=hd20" | ||
2538 | bmp2rb_mono="$rootdir/tools/bmp2rb -f 0" | ||
2539 | bmp2rb_native="$rootdir/tools/bmp2rb -f 7" | ||
2540 | output="rockbox.mpio" | ||
2541 | bootoutput="bootloader.mpio" | ||
2542 | appextra="recorder:gui" | ||
2543 | plugins="yes" | ||
2544 | swcodec="yes" | ||
2545 | # toolset is the tools within the tools directory that we build for | ||
2546 | # this particular target. | ||
2547 | toolset="$genericbitmaptools" | ||
2548 | # architecture, manufacturer and model for the target-tree build | ||
2549 | t_cpu="coldfire" | ||
2550 | t_manufacturer="mpio" | ||
2551 | t_model="hd200" | ||
2552 | ;; | ||
2553 | |||
2528 | *) | 2554 | *) |
2529 | echo "Please select a supported target platform!" | 2555 | echo "Please select a supported target platform!" |
2530 | exit 7 | 2556 | exit 7 |
diff --git a/tools/scramble.c b/tools/scramble.c index ed972f7768..7d33e4b203 100644 --- a/tools/scramble.c +++ b/tools/scramble.c | |||
@@ -125,7 +125,7 @@ void usage(void) | |||
125 | "\t tpj2, c200, e200, giga, gigs, m100, m500, d2,\n"); | 125 | "\t tpj2, c200, e200, giga, gigs, m100, m500, d2,\n"); |
126 | printf("\t 9200, 1630, 6330, ldax, m200, c100, clip, e2v2,\n" | 126 | printf("\t 9200, 1630, 6330, ldax, m200, c100, clip, e2v2,\n" |
127 | "\t m2v4, fuze, c2v2, clv2, y820, y920, y925, x747,\n" | 127 | "\t m2v4, fuze, c2v2, clv2, y820, y920, y925, x747,\n" |
128 | "\t 747p, x777, nn2g, m244, cli+, fuz2)\n"); | 128 | "\t 747p, x777, nn2g, m244, cli+, fuz2, hd20)\n"); |
129 | printf("\nNo option results in Archos standard player/recorder format.\n"); | 129 | printf("\nNo option results in Archos standard player/recorder format.\n"); |
130 | 130 | ||
131 | exit(1); | 131 | exit(1); |
@@ -328,6 +328,8 @@ int main (int argc, char** argv) | |||
328 | modelnum = 68; | 328 | modelnum = 68; |
329 | else if (!strcmp(&argv[1][5], "m244")) | 329 | else if (!strcmp(&argv[1][5], "m244")) |
330 | modelnum = 131; | 330 | modelnum = 131; |
331 | else if (!strcmp(&argv[1][5], "hd20")) /* MPIO HD200 */ | ||
332 | modelnum = 69; | ||
331 | else { | 333 | else { |
332 | fprintf(stderr, "unsupported model: %s\n", &argv[1][5]); | 334 | fprintf(stderr, "unsupported model: %s\n", &argv[1][5]); |
333 | return 2; | 335 | return 2; |