summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorMarcin Bukat <marcin.bukat@gmail.com>2010-04-26 21:40:00 +0000
committerMarcin Bukat <marcin.bukat@gmail.com>2010-04-26 21:40:00 +0000
commitb09d3aec392538ca0934644ff6357c41aaa4c323 (patch)
tree0603cf4ef59e84ee4e0c172e3b418d8dccac664c /tools
parentfa5cd0d3bf744f75be0593a7e2c2083810f16c21 (diff)
downloadrockbox-b09d3aec392538ca0934644ff6357c41aaa4c323.tar.gz
rockbox-b09d3aec392538ca0934644ff6357c41aaa4c323.tar.bz2
rockbox-b09d3aec392538ca0934644ff6357c41aaa4c323.zip
Add MPIO HD200 port - changed files
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25724 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'tools')
-rwxr-xr-xtools/configure28
-rw-r--r--tools/scramble.c4
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
==Logik==
==Samsung== ==Tatung== 80) DAX 1GB MP3/DAB
140) YH-820 150) Elio TPJ-1022
- 141) YH-920 ==Lyre project==1
+ 141) YH-920 ==Lyre project==
142) YH-925 ==Packard Bell== 130) Lyre proto 1
143) YP-S3 160) Vibe 500 131) Mini2440
+
+ ==MPIO==
+ 170) HD200
EOF
buildfor=`input`;
@@ -2525,6 +2528,29 @@ fi
t_model="vibe500"
;;
+ 170|hd200)
+ target_id=69
+ modelname="mpiohd200"
+ target="-DMPIO_HD200"
+ memory=16 # always
+ coldfirecc
+ tool="$rootdir/tools/scramble -add=hd20"
+ bmp2rb_mono="$rootdir/tools/bmp2rb -f 0"
+ bmp2rb_native="$rootdir/tools/bmp2rb -f 7"
+ output="rockbox.mpio"
+ bootoutput="bootloader.mpio"
+ appextra="recorder:gui"
+ plugins="yes"
+ swcodec="yes"
+ # toolset is the tools within the tools directory that we build for
+ # this particular target.
+ toolset="$genericbitmaptools"
+ # architecture, manufacturer and model for the target-tree build
+ t_cpu="coldfire"
+ t_manufacturer="mpio"
+ t_model="hd200"
+ ;;
+
*)
echo "Please select a supported target platform!"
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)
"\t tpj2, c200, e200, giga, gigs, m100, m500, d2,\n");
printf("\t 9200, 1630, 6330, ldax, m200, c100, clip, e2v2,\n"
"\t m2v4, fuze, c2v2, clv2, y820, y920, y925, x747,\n"
- "\t 747p, x777, nn2g, m244, cli+, fuz2)\n");
+ "\t 747p, x777, nn2g, m244, cli+, fuz2, hd20)\n");
printf("\nNo option results in Archos standard player/recorder format.\n");
exit(1);
@@ -328,6 +328,8 @@ int main (int argc, char** argv)
modelnum = 68;
else if (!strcmp(&argv[1][5], "m244"))
modelnum = 131;
+ else if (!strcmp(&argv[1][5], "hd20")) /* MPIO HD200 */
+ modelnum = 69;
else {
fprintf(stderr, "unsupported model: %s\n", &argv[1][5]);
return 2;