summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorMark Arigo <markarigo@gmail.com>2008-05-21 03:55:17 +0000
committerMark Arigo <markarigo@gmail.com>2008-05-21 03:55:17 +0000
commitb4275d4941e464c851ae3f5fe33c80f56ea365e5 (patch)
tree6f82b4e9cc490bf759dc4e1c64b4416d3b2d4879 /tools
parent4c99f9a74964c4a44ca27a216f302bdc79b23121 (diff)
downloadrockbox-b4275d4941e464c851ae3f5fe33c80f56ea365e5.tar.gz
rockbox-b4275d4941e464c851ae3f5fe33c80f56ea365e5.tar.bz2
rockbox-b4275d4941e464c851ae3f5fe33c80f56ea365e5.zip
Philips GoGear SA9200 port. Working bootloader and normal builds, including sound. No touchpad now, buttons limited to using vol+/vol-/power for up/down/select. Rockbox USB is enabled since the OF is MTP only...read the warnings on the PortalPlayerUsb wiki page.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17591 a1c6a512-1295-4272-9138-f99709370657
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;