summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rwxr-xr-xtools/configure25
-rw-r--r--tools/scramble.c4
2 files changed, 27 insertions, 2 deletions
diff --git a/tools/configure b/tools/configure
index bfc581f6c0..52eef68008 100755
--- a/tools/configure
+++ b/tools/configure
@@ -1512,7 +1512,7 @@ cat <<EOF
1512 208) Samsung YP-R1 231) 960 225) NWZ-E580 series 1512 208) Samsung YP-R1 231) 960 225) NWZ-E580 series
1513 226) NWZ-A10 series 1513 226) NWZ-A10 series
1514 ==iBasso== 227) NW-A20 series 1514 ==iBasso== 227) NW-A20 series
1515 232) DX50 1515 232) DX50 228) NWZ-A860 series
1516 233) DX90 1516 233) DX90
1517 1517
1518EOF 1518EOF
@@ -4007,6 +4007,29 @@ fi
4007 sonynwzcc 4007 sonynwzcc
4008 ;; 4008 ;;
4009 4009
4010 228|sonynwza860)
4011 application="yes"
4012 target_id=103
4013 modelname="sonynwza860"
4014 target="SONY_NWZA860"
4015 memory=16
4016 bmp2rb_mono="$rootdir/tools/bmp2rb -f 0"
4017 bmp2rb_native="$rootdir/tools/bmp2rb -f 4"
4018 tool="cp"
4019 output="rockbox.sony"
4020 boottool="$rootdir/tools/scramble -add=a860"
4021 bootoutput="bootloader-nwza860.sony"
4022 appextra="gui:recorder"
4023 plugins=""
4024 swcodec="yes"
4025 toolset=$genericbitmaptools
4026 t_cpu="hosted"
4027 t_manufacturer="sonynwz"
4028 t_model="nwza860"
4029 uname=`uname`
4030 sonynwzcc
4031 ;;
4032
4010 230|ihifi760) 4033 230|ihifi760)
4011 target_id=92 4034 target_id=92
4012 modelname="ihifi760" 4035 modelname="ihifi760"
diff --git a/tools/scramble.c b/tools/scramble.c
index 935eae002f..5ff45b3e44 100644
--- a/tools/scramble.c
+++ b/tools/scramble.c
@@ -130,7 +130,7 @@ void usage(void)
130 "\t 747p, x777, nn2g, m244, cli+, fuz2, hd20, hd30,\n" 130 "\t 747p, x777, nn2g, m244, cli+, fuz2, hd20, hd30,\n"
131 "\t ip6g, rk27, clzp, zxf2, zxf3, fuz+, e370, e360,\n" 131 "\t ip6g, rk27, clzp, zxf2, zxf3, fuz+, e370, e360,\n"
132 "\t zxfi, zmoz, zen, zenv, ypz5, zxfs, e450, e460,\n" 132 "\t zxfi, zmoz, zen, zenv, ypz5, zxfs, e450, e460,\n"
133 "\t e470,e580,a10,a20)\n"); 133 "\t e470,e580,a10,a20,a860)\n");
134 printf("\nNo option results in Archos standard player/recorder format.\n"); 134 printf("\nNo option results in Archos standard player/recorder format.\n");
135 135
136 exit(1); 136 exit(1);
@@ -395,6 +395,8 @@ int main (int argc, char** argv)
395 modelnum = 104; 395 modelnum = 104;
396 else if (!strcmp(&argv[1][5], "a20")) /* Sony NW-A20 series */ 396 else if (!strcmp(&argv[1][5], "a20")) /* Sony NW-A20 series */
397 modelnum = 106; 397 modelnum = 106;
398 else if (!strcmp(&argv[1][5], "a860")) /* Sony NWZ-A860 series */
399 modelnum = 107;
398 else { 400 else {
399 fprintf(stderr, "unsupported model: %s\n", &argv[1][5]); 401 fprintf(stderr, "unsupported model: %s\n", &argv[1][5]);
400 return 2; 402 return 2;