diff options
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/configure | 24 | ||||
-rw-r--r-- | tools/scramble.c | 4 |
2 files changed, 27 insertions, 1 deletions
diff --git a/tools/configure b/tools/configure index a9a6d55abf..1281d9446f 100755 --- a/tools/configure +++ b/tools/configure | |||
@@ -1088,6 +1088,7 @@ cat <<EOF | |||
1088 | 1088 | ||
1089 | ==MPIO== == Application == | 1089 | ==MPIO== == Application == |
1090 | 170) HD200 200) Application | 1090 | 170) HD200 200) Application |
1091 | 171) HD300 | ||
1091 | 1092 | ||
1092 | EOF | 1093 | EOF |
1093 | 1094 | ||
@@ -2717,6 +2718,29 @@ fi | |||
2717 | t_model="hd200" | 2718 | t_model="hd200" |
2718 | ;; | 2719 | ;; |
2719 | 2720 | ||
2721 | 171|mpiohd300) | ||
2722 | target_id=70 | ||
2723 | modelname="mpiohd300" | ||
2724 | target="-DMPIO_HD300" | ||
2725 | memory=16 # always | ||
2726 | coldfirecc | ||
2727 | tool="$rootdir/tools/scramble -add=hd30" | ||
2728 | bmp2rb_mono="$rootdir/tools/bmp2rb -f 0" | ||
2729 | bmp2rb_native="$rootdir/tools/bmp2rb -f 2" | ||
2730 | output="rockbox.mpio" | ||
2731 | bootoutput="bootloader.mpio" | ||
2732 | appextra="recorder:gui:radio" | ||
2733 | plugins="" | ||
2734 | swcodec="yes" | ||
2735 | # toolset is the tools within the tools directory that we build for | ||
2736 | # this particular target. | ||
2737 | toolset="$genericbitmaptools" | ||
2738 | # architecture, manufacturer and model for the target-tree build | ||
2739 | t_cpu="coldfire" | ||
2740 | t_manufacturer="mpio" | ||
2741 | t_model="hd300" | ||
2742 | ;; | ||
2743 | |||
2720 | 200|app*) | 2744 | 200|app*) |
2721 | target_id=100 | 2745 | target_id=100 |
2722 | modelname="application" | 2746 | modelname="application" |
diff --git a/tools/scramble.c b/tools/scramble.c index 7d33e4b203..b460d51c5e 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, hd20)\n"); | 128 | "\t 747p, x777, nn2g, m244, cli+, fuz2, hd20, hd30)\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); |
@@ -330,6 +330,8 @@ int main (int argc, char** argv) | |||
330 | modelnum = 131; | 330 | modelnum = 131; |
331 | else if (!strcmp(&argv[1][5], "hd20")) /* MPIO HD200 */ | 331 | else if (!strcmp(&argv[1][5], "hd20")) /* MPIO HD200 */ |
332 | modelnum = 69; | 332 | modelnum = 69; |
333 | else if (!strcmp(&argv[1][5], "hd30")) /* MPIO HD300 */ | ||
334 | modelnum = 70; | ||
333 | else { | 335 | else { |
334 | fprintf(stderr, "unsupported model: %s\n", &argv[1][5]); | 336 | fprintf(stderr, "unsupported model: %s\n", &argv[1][5]); |
335 | return 2; | 337 | return 2; |