summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaurus Cuelenaere <mcuelenaere@gmail.com>2009-08-16 21:03:22 +0000
committerMaurus Cuelenaere <mcuelenaere@gmail.com>2009-08-16 21:03:22 +0000
commite49ffb23fc36e8a2ed468c7679219fe42da61889 (patch)
tree602b8bcfcb54d9980875b1a1c4bf4c5081f3cc90
parent4fb3ee1a24a7ee2b04417781975166ae15b8ed06 (diff)
downloadrockbox-e49ffb23fc36e8a2ed468c7679219fe42da61889.tar.gz
rockbox-e49ffb23fc36e8a2ed468c7679219fe42da61889.zip
* Onda VX747/VX767: fix target_id & MODEL_NUMBER
* Add support to Rockbox Utility for Onda VX747+ & VX777 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22359 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--firmware/export/config-ondavx767.h2
-rw-r--r--rbutil/rbutilqt/rbutil.ini30
-rwxr-xr-xtools/configure4
-rw-r--r--tools/scramble.c6
4 files changed, 36 insertions, 6 deletions
diff --git a/firmware/export/config-ondavx767.h b/firmware/export/config-ondavx767.h
index d4873370dd..1d005b1d32 100644
--- a/firmware/export/config-ondavx767.h
+++ b/firmware/export/config-ondavx767.h
@@ -31,7 +31,7 @@
31#define MODEL_NAME "Onda VX767" 31#define MODEL_NAME "Onda VX767"
32 32
33/* For Rolo and boot loader */ 33/* For Rolo and boot loader */
34#define MODEL_NUMBER 36 34#define MODEL_NUMBER 64
35 35
36//#define HAVE_ATA_SD 36//#define HAVE_ATA_SD
37//#define HAVE_HOTSWAP 37//#define HAVE_HOTSWAP
diff --git a/rbutil/rbutilqt/rbutil.ini b/rbutil/rbutilqt/rbutil.ini
index 91770d72b3..61d14fa6a5 100644
--- a/rbutil/rbutilqt/rbutil.ini
+++ b/rbutil/rbutilqt/rbutil.ini
@@ -44,6 +44,8 @@ platform32=iaudiox5v
44platform33=iaudiom3 44platform33=iaudiom3
45platform40=gigabeatf 45platform40=gigabeatf
46platform44=ondavx747 46platform44=ondavx747
47platform45=ondavx747p
48platform46=ondavx777
47platform50=sansae200 49platform50=sansae200
48platform51=sansac200 50platform51=sansac200
49platform52=sansae200v2 51platform52=sansae200v2
@@ -492,7 +494,33 @@ manualname=
492brand=Onda 494brand=Onda
493usbid=0x07c4a4a5 495usbid=0x07c4a4a5
494configure_modelname=ondavx747 496configure_modelname=ondavx747
495targetid=44 497targetid=45
498encoder=rbspeex
499
500[ondavx747p]
501name=VX747+
502buildserver_modelname=ondavx747p
503bootloadermethod=chinachip
504bootloadername=/onda/vx747p/ccpmp.bin
505bootloaderfile=/SG301.HXF
506manualname=
507brand=Onda
508usbid=0x07c4a4a5
509configure_modelname=ondavx747p
510targetid=54
511encoder=rbspeex
512
513[ondavx777]
514name=VX777
515buildserver_modelname=ondavx777
516bootloadermethod=chinachip
517bootloadername=/onda/vx777/ccpmp.bin
518bootloaderfile=/VX777.HXF
519manualname=
520brand=Onda
521usbid=0x07c4a4a5
522configure_modelname=ondavx777
523targetid=61
496encoder=rbspeex 524encoder=rbspeex
497 525
498[smsgyh820] 526[smsgyh820]
diff --git a/tools/configure b/tools/configure
index b7fa988d11..486a4706db 100755
--- a/tools/configure
+++ b/tools/configure
@@ -2148,7 +2148,7 @@ fi
2148 ;; 2148 ;;
2149 2149
2150 120|ondavx747) 2150 120|ondavx747)
2151 target_id=44 2151 target_id=45
2152 modelname="ondavx747" 2152 modelname="ondavx747"
2153 target="-DONDA_VX747" 2153 target="-DONDA_VX747"
2154 memory=16 2154 memory=16
@@ -2170,7 +2170,7 @@ fi
2170 ;; 2170 ;;
2171 2171
2172 121|ondavx767) 2172 121|ondavx767)
2173 target_id=45 2173 target_id=64
2174 modelname="ondavx767" 2174 modelname="ondavx767"
2175 target="-DONDA_VX767" 2175 target="-DONDA_VX767"
2176 memory=16 #FIXME 2176 memory=16 #FIXME
diff --git a/tools/scramble.c b/tools/scramble.c
index 5d2b12fb84..ce06523db5 100644
--- a/tools/scramble.c
+++ b/tools/scramble.c
@@ -304,8 +304,6 @@ int main (int argc, char** argv)
304 modelnum = 45; 304 modelnum = 45;
305 else if (!strcmp(&argv[1][5], "747p")) 305 else if (!strcmp(&argv[1][5], "747p"))
306 modelnum = 54; 306 modelnum = 54;
307 else if (!strcmp(&argv[1][5], "x777"))
308 modelnum = 61;
309 else if (!strcmp(&argv[1][5], "y820")) /* Samsung YH-820 */ 307 else if (!strcmp(&argv[1][5], "y820")) /* Samsung YH-820 */
310 modelnum = 57; 308 modelnum = 57;
311 else if (!strcmp(&argv[1][5], "y920")) /* Samsung YH-920 */ 309 else if (!strcmp(&argv[1][5], "y920")) /* Samsung YH-920 */
@@ -314,6 +312,10 @@ int main (int argc, char** argv)
314 modelnum = 59; 312 modelnum = 59;
315 else if (!strcmp(&argv[1][5], "clv2")) /* Sansa Clipv2 */ 313 else if (!strcmp(&argv[1][5], "clv2")) /* Sansa Clipv2 */
316 modelnum = 60; 314 modelnum = 60;
315 else if (!strcmp(&argv[1][5], "x777"))
316 modelnum = 61;
317 else if (!strcmp(&argv[1][5], "x767"))
318 modelnum = 64;
317 else { 319 else {
318 fprintf(stderr, "unsupported model: %s\n", &argv[1][5]); 320 fprintf(stderr, "unsupported model: %s\n", &argv[1][5]);
319 return 2; 321 return 2;