summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorMaurus Cuelenaere <mcuelenaere@gmail.com>2009-06-20 10:54:13 +0000
committerMaurus Cuelenaere <mcuelenaere@gmail.com>2009-06-20 10:54:13 +0000
commit582942016bdf3599952b343858ba9fb9785494e8 (patch)
tree05d17c750bc4ed952c0da49f9f000fc7ae96ed11 /tools
parentd13f49737a6a04fae8b8288ae6d25d33ac6e4dfc (diff)
downloadrockbox-582942016bdf3599952b343858ba9fb9785494e8.tar.gz
rockbox-582942016bdf3599952b343858ba9fb9785494e8.zip
* Commit a modified FS#10354 (thanks to Davide Quarta) - add support the VX747+ in scramble and configure
* Add support for the VX777 * Remove the touchscreen mode switching combo from the button driver git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21379 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'tools')
-rwxr-xr-xtools/configure29
-rw-r--r--tools/scramble.c7
2 files changed, 32 insertions, 4 deletions
diff --git a/tools/configure b/tools/configure
index 50091a5da3..e90a884602 100755
--- a/tools/configure
+++ b/tools/configure
@@ -774,6 +774,7 @@ cat <<EOF
774 120) VX747 110) M6SL 774 120) VX747 110) M6SL
775 121) VX767 111) M6SP ==Logik== 775 121) VX767 111) M6SP ==Logik==
776 122) VX747+ 112) M3 80) DAX 1GB MP3/DAB 776 122) VX747+ 112) M3 80) DAX 1GB MP3/DAB
777 123) VX777
777 778
778 ==Samsung== ==Tatung== ==Lyre project== 779 ==Samsung== ==Tatung== ==Lyre project==
779 140) YH-820 150) Elio TPJ-1022 130) Lyre proto 1 780 140) YH-820 150) Elio TPJ-1022 130) Lyre proto 1
@@ -2055,14 +2056,14 @@ fi
2055 target_id=54 2056 target_id=54
2056 modelname="ondavx747p" 2057 modelname="ondavx747p"
2057 target="-DONDA_VX747P" 2058 target="-DONDA_VX747P"
2058 memory=16 #FIXME 2059 memory=16
2059 mipselcc 2060 mipselcc
2060 tool="cp" 2061 tool="$rootdir/tools/scramble -add=747p"
2061 bmp2rb_mono="$rootdir/tools/bmp2rb -f 0" 2062 bmp2rb_mono="$rootdir/tools/bmp2rb -f 0"
2062 bmp2rb_native="$rootdir/tools/bmp2rb -f 4" 2063 bmp2rb_native="$rootdir/tools/bmp2rb -f 4"
2063 output="rockbox.vx747p" 2064 output="rockbox.vx747p"
2064 appextra="recorder:gui" 2065 appextra="recorder:gui"
2065 plugins="" #FIXME 2066 plugins="yes"
2066 swcodec="yes" 2067 swcodec="yes"
2067 toolset=$genericbitmaptools 2068 toolset=$genericbitmaptools
2068 boottool="cp" 2069 boottool="cp"
@@ -2073,6 +2074,28 @@ fi
2073 t_model="onda_vx747" 2074 t_model="onda_vx747"
2074 ;; 2075 ;;
2075 2076
2077 123|ondavx777)
2078 target_id=61
2079 modelname="ondavx777"
2080 target="-DONDA_VX777"
2081 memory=16
2082 mipselcc
2083 tool="$rootdir/tools/scramble -add=x777"
2084 bmp2rb_mono="$rootdir/tools/bmp2rb -f 0"
2085 bmp2rb_native="$rootdir/tools/bmp2rb -f 4"
2086 output="rockbox.vx777"
2087 appextra="recorder:gui"
2088 plugins="" #TODO
2089 swcodec="yes"
2090 toolset=$genericbitmaptools
2091 boottool="cp"
2092 bootoutput="rockboot.vx777"
2093 # architecture, manufacturer and model for the target-tree build
2094 t_cpu="mips"
2095 t_manufacturer="ingenic_jz47xx"
2096 t_model="onda_vx747"
2097 ;;
2098
2076 130|lyre_proto1) 2099 130|lyre_proto1)
2077 target_id=56 2100 target_id=56
2078 modelname="lyre_proto1" 2101 modelname="lyre_proto1"
diff --git a/tools/scramble.c b/tools/scramble.c
index 8bf8d3d034..cabe15f48d 100644
--- a/tools/scramble.c
+++ b/tools/scramble.c
@@ -123,7 +123,8 @@ void usage(void)
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, c100, clip, e2v2, m2v4,\n" 125 printf("\t 9200, 1630, ldax, m200, c100, clip, e2v2, m2v4,\n"
126 "\t fuze, c2v2, clv2, y820, y920, y925)\n"); 126 "\t fuze, c2v2, clv2, y820, y920, y925, x747, 747p, \n"
127 "\t x777)\n");
127 printf("\nNo option results in Archos standard player/recorder format.\n"); 128 printf("\nNo option results in Archos standard player/recorder format.\n");
128 129
129 exit(1); 130 exit(1);
@@ -300,6 +301,10 @@ int main (int argc, char** argv)
300 modelnum = 44; 301 modelnum = 44;
301 else if (!strcmp(&argv[1][5], "x747")) 302 else if (!strcmp(&argv[1][5], "x747"))
302 modelnum = 45; 303 modelnum = 45;
304 else if (!strcmp(&argv[1][5], "747p"))
305 modelnum = 54;
306 else if (!strcmp(&argv[1][5], "x777"))
307 modelnum = 61;
303 else if (!strcmp(&argv[1][5], "y820")) /* Samsung YH-820 */ 308 else if (!strcmp(&argv[1][5], "y820")) /* Samsung YH-820 */
304 modelnum = 57; 309 modelnum = 57;
305 else if (!strcmp(&argv[1][5], "y920")) /* Samsung YH-920 */ 310 else if (!strcmp(&argv[1][5], "y920")) /* Samsung YH-920 */