summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rwxr-xr-xtools/configure29
-rw-r--r--tools/scramble.c5
2 files changed, 31 insertions, 3 deletions
diff --git a/tools/configure b/tools/configure
index 7fffcfdb6a..324e7a3cc2 100755
--- a/tools/configure
+++ b/tools/configure
@@ -676,8 +676,9 @@ cat <<EOF
==Tatung== ==Olympus== ==Logik==
60) Elio TPJ-1022 70) M:Robe 500 80) DAX 1GB MP3/DAB
71) M:Robe 100
- ==Creative==
- 90) Zen Vision:M 30GB
+
+ ==Creative== ==Philips==
+ 90) Zen Vision:M 30GB 100) GoGear SA9200
91) Zen Vision:M 60GB
92) Zen Vision
@@ -1651,6 +1652,30 @@ fi
t_model="tpj1022"
;;
+ 100|sa9200)
+ target_id=41
+ modelname="sa9200"
+ target="-DPHILIPS_SA9200"
+ memory=32 # supposedly
+ arm7tdmicc
+ tool="$rootdir/tools/scramble -mi4v3 -model=9200 -type=RBOS"
+ bmp2rb_mono="$rootdir/tools/bmp2rb -f 0"
+ bmp2rb_native="$rootdir/tools/bmp2rb -f 4"
+ output="rockbox.mi4"
+ appextra="recorder:gui"
+ plugins=""
+ swcodec="yes"
+ boottool="$rootdir/tools/scramble -mi4v3 -model=9200 -type=RBBL"
+ bootoutput="FWImage.ebn"
+ # 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="philips"
+ t_model="sa9200"
+ ;;
+
*)
echo "Please select a supported target platform!"
exit
diff --git a/tools/scramble.c b/tools/scramble.c
index 3730f1b62a..c02c78916b 100644
--- a/tools/scramble.c
+++ b/tools/scramble.c
@@ -119,7 +119,8 @@ void usage(void)
"\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, iam5, iam3, h10, h10_5gb,\n"
- "\t tpj2, c200, e200, giga, gigs, m100, m500, d2)\n");
+ "\t tpj2, c200, e200, giga, gigs, m100, m500, d2,\n");
+ printf("\t 9200)\n");
printf("\nNo option results in Archos standard player/recorder format.\n");
exit(1);
@@ -271,6 +272,8 @@ int main (int argc, char** argv)
modelnum = 24;
else if(!strcmp(&argv[1][5], "iam3"))
modelnum = 25;
+ else if(!strcmp(&argv[1][5], "9200")) /* Philips SA9200 */
+ modelnum = 26;
else {
fprintf(stderr, "unsupported model: %s\n", &argv[1][5]);
return 2;