diff options
author | Maurus Cuelenaere <mcuelenaere@gmail.com> | 2009-08-16 21:03:22 +0000 |
---|---|---|
committer | Maurus Cuelenaere <mcuelenaere@gmail.com> | 2009-08-16 21:03:22 +0000 |
commit | e49ffb23fc36e8a2ed468c7679219fe42da61889 (patch) | |
tree | 602b8bcfcb54d9980875b1a1c4bf4c5081f3cc90 | |
parent | 4fb3ee1a24a7ee2b04417781975166ae15b8ed06 (diff) | |
download | rockbox-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.h | 2 | ||||
-rw-r--r-- | rbutil/rbutilqt/rbutil.ini | 30 | ||||
-rwxr-xr-x | tools/configure | 4 | ||||
-rw-r--r-- | tools/scramble.c | 6 |
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 | |||
44 | platform33=iaudiom3 | 44 | platform33=iaudiom3 |
45 | platform40=gigabeatf | 45 | platform40=gigabeatf |
46 | platform44=ondavx747 | 46 | platform44=ondavx747 |
47 | platform45=ondavx747p | ||
48 | platform46=ondavx777 | ||
47 | platform50=sansae200 | 49 | platform50=sansae200 |
48 | platform51=sansac200 | 50 | platform51=sansac200 |
49 | platform52=sansae200v2 | 51 | platform52=sansae200v2 |
@@ -492,7 +494,33 @@ manualname= | |||
492 | brand=Onda | 494 | brand=Onda |
493 | usbid=0x07c4a4a5 | 495 | usbid=0x07c4a4a5 |
494 | configure_modelname=ondavx747 | 496 | configure_modelname=ondavx747 |
495 | targetid=44 | 497 | targetid=45 |
498 | encoder=rbspeex | ||
499 | |||
500 | [ondavx747p] | ||
501 | name=VX747+ | ||
502 | buildserver_modelname=ondavx747p | ||
503 | bootloadermethod=chinachip | ||
504 | bootloadername=/onda/vx747p/ccpmp.bin | ||
505 | bootloaderfile=/SG301.HXF | ||
506 | manualname= | ||
507 | brand=Onda | ||
508 | usbid=0x07c4a4a5 | ||
509 | configure_modelname=ondavx747p | ||
510 | targetid=54 | ||
511 | encoder=rbspeex | ||
512 | |||
513 | [ondavx777] | ||
514 | name=VX777 | ||
515 | buildserver_modelname=ondavx777 | ||
516 | bootloadermethod=chinachip | ||
517 | bootloadername=/onda/vx777/ccpmp.bin | ||
518 | bootloaderfile=/VX777.HXF | ||
519 | manualname= | ||
520 | brand=Onda | ||
521 | usbid=0x07c4a4a5 | ||
522 | configure_modelname=ondavx777 | ||
523 | targetid=61 | ||
496 | encoder=rbspeex | 524 | encoder=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; |