diff options
author | Mark Arigo <markarigo@gmail.com> | 2009-05-25 21:10:45 +0000 |
---|---|---|
committer | Mark Arigo <markarigo@gmail.com> | 2009-05-25 21:10:45 +0000 |
commit | 758bb3bc628705ff8e5c677b3b2d87720c726c13 (patch) | |
tree | d78cbf984e4bc613b0b76fcf4a5f090ab1d774b8 /tools | |
parent | d2ea7db6f55cbb121870ecd41d4d80581354b799 (diff) | |
download | rockbox-758bb3bc628705ff8e5c677b3b2d87720c726c13.tar.gz rockbox-758bb3bc628705ff8e5c677b3b2d87720c726c13.zip |
3 new ports: Samsung YH-820, YH-920, and YH-925. Mostly functional. Audio working on 820 & 925 (untested on the 920). No battery readings. No recording. No plugins. Keymap needs work.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21083 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/configure | 112 | ||||
-rw-r--r-- | tools/scramble.c | 9 |
2 files changed, 101 insertions, 20 deletions
diff --git a/tools/configure b/tools/configure index c5fcb84b34..d8eef9f0af 100755 --- a/tools/configure +++ b/tools/configure | |||
@@ -736,25 +736,27 @@ cat <<EOF | |||
736 | 5) Ondio FM 15) H10 5/6Gb 25) Mini 1G | 736 | 5) Ondio FM 15) H10 5/6Gb 25) Mini 1G |
737 | 6) AV300 26) Mini 2G | 737 | 6) AV300 26) Mini 2G |
738 | ==Toshiba== 27) 1G, 2G | 738 | ==Toshiba== 27) 1G, 2G |
739 | 40) Gigabeat F | 739 | ==Cowon/iAudio== 40) Gigabeat F |
740 | ==Cowon/iAudio== 41) Gigabeat S ==SanDisk== | 740 | 30) X5/X5V/X5L 41) Gigabeat S ==SanDisk== |
741 | 30) X5/X5V/X5L 50) Sansa e200 | 741 | 31) M5/M5L 50) Sansa e200 |
742 | 31) M5/M5L ==Tatung== 51) Sansa e200R | 742 | 32) 7 ==Tatung== 51) Sansa e200R |
743 | 32) 7 60) Elio TPJ-1022 52) Sansa c200 | 743 | 33) D2 60) Elio TPJ-1022 52) Sansa c200 |
744 | 33) D2 53) Sansa m200 | 744 | 34) M3/M3L 53) Sansa m200 |
745 | 34) M3/M3L ==Olympus== 54) Sansa c100 | 745 | ==Olympus== 54) Sansa c100 |
746 | 70) M:Robe 500 55) Sansa Clip | 746 | ==Creative== 70) M:Robe 500 55) Sansa Clip |
747 | ==Creative== 71) M:Robe 100 56) Sansa e200v2 | 747 | 90) Zen Vision:M 30GB 71) M:Robe 100 56) Sansa e200v2 |
748 | 90) Zen Vision:M 30GB 57) Sansa m200v4 | 748 | 91) Zen Vision:M 60GB 57) Sansa m200v4 |
749 | 91) Zen Vision:M 60GB ==Philips== 58) Sansa Fuze | 749 | 92) Zen Vision ==Philips== 58) Sansa Fuze |
750 | 92) Zen Vision 100) GoGear SA9200 59) Sansa c200v2 | 750 | 100) GoGear SA9200 59) Sansa c200v2 |
751 | 101) GoGear HDD1630/ | 751 | ==Onda== 101) GoGear HDD1630/ |
752 | HDD1830 ==Logik== | 752 | 120) VX747 HDD1830 ==Logik== |
753 | ==Onda== 80) DAX 1GB MP3/DAB | 753 | 121) VX767 80) DAX 1GB MP3/DAB |
754 | 120) VX747 ==Meizu== | 754 | 122) VX747+ ==Meizu== |
755 | 121) VX767 110) M6SL ==Lyre project== | 755 | 110) M6SL ==Lyre project== |
756 | 122) VX747+ 111) M6SP 130) Lyre proto 1 | 756 | ==Samsung== 111) M6SP 130) Lyre proto 1 |
757 | 112) M3 | 757 | 140) YH-820 112) M3 |
758 | 141) YH-920 | ||
759 | 142) YH-925 | ||
758 | EOF | 760 | EOF |
759 | 761 | ||
760 | buildfor=`input`; | 762 | buildfor=`input`; |
@@ -2048,6 +2050,78 @@ fi | |||
2048 | t_model="lyre_proto1" | 2050 | t_model="lyre_proto1" |
2049 | ;; | 2051 | ;; |
2050 | 2052 | ||
2053 | 140|yh_820) | ||
2054 | target_id=57 | ||
2055 | modelname="yh_820" | ||
2056 | target="-DSAMSUNG_YH820" | ||
2057 | memory=32 # always | ||
2058 | arm7tdmicc | ||
2059 | tool="$rootdir/tools/scramble -mi4v2 -model=y820 -type=RBOS" | ||
2060 | bmp2rb_mono="$rootdir/tools/bmp2rb -f 0" | ||
2061 | bmp2rb_native="$rootdir/tools/bmp2rb -f 4" | ||
2062 | output="rockbox.mi4" | ||
2063 | appextra="recorder:gui" | ||
2064 | plugins="" | ||
2065 | swcodec="yes" | ||
2066 | boottool="$rootdir/tools/scramble -mi4v2 -model=y820 -type=RBBL" | ||
2067 | bootoutput="FW_YH820.mi4" | ||
2068 | # toolset is the tools within the tools directory that we build for | ||
2069 | # this particular target. | ||
2070 | toolset=$scramblebitmaptools | ||
2071 | # architecture, manufacturer and model for the target-tree build | ||
2072 | t_cpu="arm" | ||
2073 | t_manufacturer="samsung" | ||
2074 | t_model="yh820" | ||
2075 | ;; | ||
2076 | |||
2077 | 141|yh_920) | ||
2078 | target_id=58 | ||
2079 | modelname="yh_920" | ||
2080 | target="-DSAMSUNG_YH920" | ||
2081 | memory=32 # always | ||
2082 | arm7tdmicc | ||
2083 | tool="$rootdir/tools/scramble -mi4v2 -model=y920 -type=RBOS" | ||
2084 | bmp2rb_mono="$rootdir/tools/bmp2rb -f 0" | ||
2085 | bmp2rb_native="$rootdir/tools/bmp2rb -f 2" | ||
2086 | output="rockbox.mi4" | ||
2087 | appextra="recorder:gui" | ||
2088 | plugins="" | ||
2089 | swcodec="yes" | ||
2090 | boottool="$rootdir/tools/scramble -mi4v2 -model=y920 -type=RBBL" | ||
2091 | bootoutput="PP5020.mi4" | ||
2092 | # toolset is the tools within the tools directory that we build for | ||
2093 | # this particular target. | ||
2094 | toolset=$scramblebitmaptools | ||
2095 | # architecture, manufacturer and model for the target-tree build | ||
2096 | t_cpu="arm" | ||
2097 | t_manufacturer="samsung" | ||
2098 | t_model="yh920" | ||
2099 | ;; | ||
2100 | |||
2101 | 142|yh_925) | ||
2102 | target_id=59 | ||
2103 | modelname="yh_925" | ||
2104 | target="-DSAMSUNG_YH925" | ||
2105 | memory=32 # always | ||
2106 | arm7tdmicc | ||
2107 | tool="$rootdir/tools/scramble -mi4v2 -model=y925 -type=RBOS" | ||
2108 | bmp2rb_mono="$rootdir/tools/bmp2rb -f 0" | ||
2109 | bmp2rb_native="$rootdir/tools/bmp2rb -f 4" | ||
2110 | output="rockbox.mi4" | ||
2111 | appextra="recorder:gui" | ||
2112 | plugins="" | ||
2113 | swcodec="yes" | ||
2114 | boottool="$rootdir/tools/scramble -mi4v2 -model=y925 -type=RBBL" | ||
2115 | bootoutput="FW_YH925.mi4" | ||
2116 | # toolset is the tools within the tools directory that we build for | ||
2117 | # this particular target. | ||
2118 | toolset=$scramblebitmaptools | ||
2119 | # architecture, manufacturer and model for the target-tree build | ||
2120 | t_cpu="arm" | ||
2121 | t_manufacturer="samsung" | ||
2122 | t_model="yh925" | ||
2123 | ;; | ||
2124 | |||
2051 | *) | 2125 | *) |
2052 | echo "Please select a supported target platform!" | 2126 | echo "Please select a supported target platform!" |
2053 | exit 7 | 2127 | exit 7 |
diff --git a/tools/scramble.c b/tools/scramble.c index 0efb8e2631..a11a5d5263 100644 --- a/tools/scramble.c +++ b/tools/scramble.c | |||
@@ -122,7 +122,8 @@ void usage(void) | |||
122 | "\t (X values: h100, h120, h140, h300, ipco, nano, ipvd, mn2g\n" | 122 | "\t (X values: h100, h120, h140, h300, ipco, nano, ipvd, mn2g\n" |
123 | "\t ip3g, ip4g, mini, iax5, iam5, iam3, h10, h10_5gb,\n" | 123 | "\t ip3g, ip4g, mini, iax5, iam5, iam3, h10, h10_5gb,\n" |
124 | "\t tpj2, c200, e200, giga, gigs, m100, m500, d2,\n"); | 124 | "\t tpj2, c200, e200, giga, gigs, m100, m500, d2,\n"); |
125 | printf("\t 9200, 1630, ldax, m200, clip, e2v2, m2v4, fuze)\n"); | 125 | printf("\t 9200, 1630, ldax, m200, clip, e2v2, m2v4, fuze,\n" |
126 | "\t y820, y920, y925)\n"); | ||
126 | printf("\nNo option results in Archos standard player/recorder format.\n"); | 127 | printf("\nNo option results in Archos standard player/recorder format.\n"); |
127 | 128 | ||
128 | exit(1); | 129 | exit(1); |
@@ -297,6 +298,12 @@ int main (int argc, char** argv) | |||
297 | modelnum = 44; | 298 | modelnum = 44; |
298 | else if (!strcmp(&argv[1][5], "x747")) | 299 | else if (!strcmp(&argv[1][5], "x747")) |
299 | modelnum = 45; | 300 | modelnum = 45; |
301 | else if (!strcmp(&argv[1][5], "y820")) /* Samsung YH-820 */ | ||
302 | modelnum = 57; | ||
303 | else if (!strcmp(&argv[1][5], "y920")) /* Samsung YH-920 */ | ||
304 | modelnum = 58; | ||
305 | else if (!strcmp(&argv[1][5], "y925")) /* Samsung YH-925 */ | ||
306 | modelnum = 59; | ||
300 | else { | 307 | else { |
301 | fprintf(stderr, "unsupported model: %s\n", &argv[1][5]); | 308 | fprintf(stderr, "unsupported model: %s\n", &argv[1][5]); |
302 | return 2; | 309 | return 2; |