mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-10 21:55:10 -05:00
* 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
This commit is contained in:
parent
4fb3ee1a24
commit
e49ffb23fc
4 changed files with 36 additions and 6 deletions
|
|
@ -31,7 +31,7 @@
|
|||
#define MODEL_NAME "Onda VX767"
|
||||
|
||||
/* For Rolo and boot loader */
|
||||
#define MODEL_NUMBER 36
|
||||
#define MODEL_NUMBER 64
|
||||
|
||||
//#define HAVE_ATA_SD
|
||||
//#define HAVE_HOTSWAP
|
||||
|
|
|
|||
|
|
@ -44,6 +44,8 @@ platform32=iaudiox5v
|
|||
platform33=iaudiom3
|
||||
platform40=gigabeatf
|
||||
platform44=ondavx747
|
||||
platform45=ondavx747p
|
||||
platform46=ondavx777
|
||||
platform50=sansae200
|
||||
platform51=sansac200
|
||||
platform52=sansae200v2
|
||||
|
|
@ -492,7 +494,33 @@ manualname=
|
|||
brand=Onda
|
||||
usbid=0x07c4a4a5
|
||||
configure_modelname=ondavx747
|
||||
targetid=44
|
||||
targetid=45
|
||||
encoder=rbspeex
|
||||
|
||||
[ondavx747p]
|
||||
name=VX747+
|
||||
buildserver_modelname=ondavx747p
|
||||
bootloadermethod=chinachip
|
||||
bootloadername=/onda/vx747p/ccpmp.bin
|
||||
bootloaderfile=/SG301.HXF
|
||||
manualname=
|
||||
brand=Onda
|
||||
usbid=0x07c4a4a5
|
||||
configure_modelname=ondavx747p
|
||||
targetid=54
|
||||
encoder=rbspeex
|
||||
|
||||
[ondavx777]
|
||||
name=VX777
|
||||
buildserver_modelname=ondavx777
|
||||
bootloadermethod=chinachip
|
||||
bootloadername=/onda/vx777/ccpmp.bin
|
||||
bootloaderfile=/VX777.HXF
|
||||
manualname=
|
||||
brand=Onda
|
||||
usbid=0x07c4a4a5
|
||||
configure_modelname=ondavx777
|
||||
targetid=61
|
||||
encoder=rbspeex
|
||||
|
||||
[smsgyh820]
|
||||
|
|
|
|||
4
tools/configure
vendored
4
tools/configure
vendored
|
|
@ -2148,7 +2148,7 @@ fi
|
|||
;;
|
||||
|
||||
120|ondavx747)
|
||||
target_id=44
|
||||
target_id=45
|
||||
modelname="ondavx747"
|
||||
target="-DONDA_VX747"
|
||||
memory=16
|
||||
|
|
@ -2170,7 +2170,7 @@ fi
|
|||
;;
|
||||
|
||||
121|ondavx767)
|
||||
target_id=45
|
||||
target_id=64
|
||||
modelname="ondavx767"
|
||||
target="-DONDA_VX767"
|
||||
memory=16 #FIXME
|
||||
|
|
|
|||
|
|
@ -304,8 +304,6 @@ int main (int argc, char** argv)
|
|||
modelnum = 45;
|
||||
else if (!strcmp(&argv[1][5], "747p"))
|
||||
modelnum = 54;
|
||||
else if (!strcmp(&argv[1][5], "x777"))
|
||||
modelnum = 61;
|
||||
else if (!strcmp(&argv[1][5], "y820")) /* Samsung YH-820 */
|
||||
modelnum = 57;
|
||||
else if (!strcmp(&argv[1][5], "y920")) /* Samsung YH-920 */
|
||||
|
|
@ -314,6 +312,10 @@ int main (int argc, char** argv)
|
|||
modelnum = 59;
|
||||
else if (!strcmp(&argv[1][5], "clv2")) /* Sansa Clipv2 */
|
||||
modelnum = 60;
|
||||
else if (!strcmp(&argv[1][5], "x777"))
|
||||
modelnum = 61;
|
||||
else if (!strcmp(&argv[1][5], "x767"))
|
||||
modelnum = 64;
|
||||
else {
|
||||
fprintf(stderr, "unsupported model: %s\n", &argv[1][5]);
|
||||
return 2;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue