forked from len0rd/rockbox
Add support for the Sony NWZ-S750
Change-Id: I9050129949809b3dbe9f4f9e816f8980c4f3a904
This commit is contained in:
parent
3d815406f4
commit
91d3c8e459
6 changed files with 51 additions and 2 deletions
|
|
@ -597,6 +597,8 @@ Lyre prototype 1 */
|
||||||
#include "config/sonynwze470.h"
|
#include "config/sonynwze470.h"
|
||||||
#elif defined(SONY_NWZA860)
|
#elif defined(SONY_NWZA860)
|
||||||
#include "config/sonynwza860.h"
|
#include "config/sonynwza860.h"
|
||||||
|
#elif defined(SONY_NWZS750)
|
||||||
|
#include "config/sonynwzs750.h"
|
||||||
#else
|
#else
|
||||||
/* no known platform */
|
/* no known platform */
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
17
firmware/export/config/sonynwzs750.h
Normal file
17
firmware/export/config/sonynwzs750.h
Normal file
|
|
@ -0,0 +1,17 @@
|
||||||
|
/*
|
||||||
|
* This config file is for the Sony NWZ-S750 series
|
||||||
|
*/
|
||||||
|
|
||||||
|
/* For Rolo and boot loader */
|
||||||
|
#define MODEL_NUMBER 108
|
||||||
|
|
||||||
|
#define MODEL_NAME "Sony NWZ-S750 Series"
|
||||||
|
|
||||||
|
/* LCD dimensions */
|
||||||
|
#define LCD_WIDTH 240
|
||||||
|
#define LCD_HEIGHT 320
|
||||||
|
/* sqrt(240^2 + 320^2) / 2 = 200 */
|
||||||
|
#define LCD_DPI 200
|
||||||
|
|
||||||
|
#include "sonynwzlinux.h"
|
||||||
|
|
||||||
|
|
@ -51,6 +51,7 @@ static const struct nwz_model_desc_t nwz_models[] =
|
||||||
{ "Sony NWZ-A10 Series", "a10", 104, "nwz-a10" },
|
{ "Sony NWZ-A10 Series", "a10", 104, "nwz-a10" },
|
||||||
{ "Sony NW-A20 Series", "a20", 106, "nw-a20" },
|
{ "Sony NW-A20 Series", "a20", 106, "nw-a20" },
|
||||||
{ "Sony NWZ-A860 Series", "a860", 107, "nwz-a860" },
|
{ "Sony NWZ-A860 Series", "a860", 107, "nwz-a860" },
|
||||||
|
{ "Sony NWZ-S750 Series", "s750", 108, "nwz-s750" },
|
||||||
};
|
};
|
||||||
|
|
||||||
#define NR_NWZ_MODELS (sizeof(nwz_models) / sizeof(nwz_models[0]))
|
#define NR_NWZ_MODELS (sizeof(nwz_models) / sizeof(nwz_models[0]))
|
||||||
|
|
|
||||||
|
|
@ -390,6 +390,10 @@ $releasenotes="/wiki/ReleaseNotes314";
|
||||||
name => 'Sony NWZ-A860',
|
name => 'Sony NWZ-A860',
|
||||||
status => 2,
|
status => 2,
|
||||||
},
|
},
|
||||||
|
'sonynwzs750' => {
|
||||||
|
name => 'Sony NWZ-S750',
|
||||||
|
status => 2,
|
||||||
|
},
|
||||||
'creativezenxfi' => {
|
'creativezenxfi' => {
|
||||||
name => 'Creative Zen X-Fi',
|
name => 'Creative Zen X-Fi',
|
||||||
status => 3
|
status => 3
|
||||||
|
|
|
||||||
25
tools/configure
vendored
25
tools/configure
vendored
|
|
@ -1513,7 +1513,7 @@ cat <<EOF
|
||||||
226) NWZ-A10 series
|
226) NWZ-A10 series
|
||||||
==iBasso== 227) NW-A20 series
|
==iBasso== 227) NW-A20 series
|
||||||
232) DX50 228) NWZ-A860 series
|
232) DX50 228) NWZ-A860 series
|
||||||
233) DX90
|
233) DX90 229) NWZ-S750 series
|
||||||
|
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
|
|
@ -4030,6 +4030,29 @@ fi
|
||||||
sonynwzcc
|
sonynwzcc
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
229|sonynwzs750)
|
||||||
|
application="yes"
|
||||||
|
target_id=104
|
||||||
|
modelname="sonynwzs750"
|
||||||
|
target="SONY_NWZS750"
|
||||||
|
memory=16
|
||||||
|
bmp2rb_mono="$rootdir/tools/bmp2rb -f 0"
|
||||||
|
bmp2rb_native="$rootdir/tools/bmp2rb -f 4"
|
||||||
|
tool="cp"
|
||||||
|
output="rockbox.sony"
|
||||||
|
boottool="$rootdir/tools/scramble -add=s750"
|
||||||
|
bootoutput="bootloader-nwzs750.sony"
|
||||||
|
appextra="gui:recorder"
|
||||||
|
plugins=""
|
||||||
|
swcodec="yes"
|
||||||
|
toolset=$genericbitmaptools
|
||||||
|
t_cpu="hosted"
|
||||||
|
t_manufacturer="sonynwz"
|
||||||
|
t_model="nwzs750"
|
||||||
|
uname=`uname`
|
||||||
|
sonynwzcc
|
||||||
|
;;
|
||||||
|
|
||||||
230|ihifi760)
|
230|ihifi760)
|
||||||
target_id=92
|
target_id=92
|
||||||
modelname="ihifi760"
|
modelname="ihifi760"
|
||||||
|
|
|
||||||
|
|
@ -130,7 +130,7 @@ void usage(void)
|
||||||
"\t 747p, x777, nn2g, m244, cli+, fuz2, hd20, hd30,\n"
|
"\t 747p, x777, nn2g, m244, cli+, fuz2, hd20, hd30,\n"
|
||||||
"\t ip6g, rk27, clzp, zxf2, zxf3, fuz+, e370, e360,\n"
|
"\t ip6g, rk27, clzp, zxf2, zxf3, fuz+, e370, e360,\n"
|
||||||
"\t zxfi, zmoz, zen, zenv, ypz5, zxfs, e450, e460,\n"
|
"\t zxfi, zmoz, zen, zenv, ypz5, zxfs, e450, e460,\n"
|
||||||
"\t e470,e580,a10,a20,a860)\n");
|
"\t e470,e580,a10,a20,a860,s750)\n");
|
||||||
printf("\nNo option results in Archos standard player/recorder format.\n");
|
printf("\nNo option results in Archos standard player/recorder format.\n");
|
||||||
|
|
||||||
exit(1);
|
exit(1);
|
||||||
|
|
@ -397,6 +397,8 @@ int main (int argc, char** argv)
|
||||||
modelnum = 106;
|
modelnum = 106;
|
||||||
else if (!strcmp(&argv[1][5], "a860")) /* Sony NWZ-A860 series */
|
else if (!strcmp(&argv[1][5], "a860")) /* Sony NWZ-A860 series */
|
||||||
modelnum = 107;
|
modelnum = 107;
|
||||||
|
else if (!strcmp(&argv[1][5], "s750")) /* Sony NWZ-S750 series */
|
||||||
|
modelnum = 108;
|
||||||
else {
|
else {
|
||||||
fprintf(stderr, "unsupported model: %s\n", &argv[1][5]);
|
fprintf(stderr, "unsupported model: %s\n", &argv[1][5]);
|
||||||
return 2;
|
return 2;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue