summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rwxr-xr-xtools/configure45
-rw-r--r--tools/scramble.c6
2 files changed, 48 insertions, 3 deletions
diff --git a/tools/configure b/tools/configure
index e3a2e3d37d..4e548eea91 100755
--- a/tools/configure
+++ b/tools/configure
@@ -1330,8 +1330,9 @@ cat <<EOF
1330 203) Nokia N900 190) HM-60x 1330 203) Nokia N900 190) HM-60x
1331 204) Pandora ==HiFi E.T.== 191) HM-801 1331 204) Pandora ==HiFi E.T.== 191) HM-801
1332 205) Samsung YP-R0 210) MA9 1332 205) Samsung YP-R0 210) MA9
1333 206) Android MIPS 1333 206) Android MIPS ==Sony==
1334 207) Android x86 1334 207) Android x86 220) NWZ-E370 series
1335 221) NWZ-E360 series
1335EOF 1336EOF
1336 1337
1337 buildfor=`input`; 1338 buildfor=`input`;
@@ -3434,6 +3435,46 @@ fi
3434 t_model="ma" 3435 t_model="ma"
3435 ;; 3436 ;;
3436 3437
3438 220|sonynwze370)
3439 target_id=88
3440 modelname="sonynwze370"
3441 target="SONY_NWZE370"
3442 memory=32
3443 bmp2rb_mono="$rootdir/tools/bmp2rb -f 0"
3444 bmp2rb_native="$rootdir/tools/bmp2rb -f 4"
3445 tool="$rootdir/tools/scramble -add=e370"
3446 output="rockbox.sony"
3447 bootoutput="bootloader-nwze370.sony"
3448 appextra="gui:recorder:radio"
3449 plugins=""
3450 swcodec="yes"
3451 toolset=$scramblebitmaptools
3452 t_cpu="arm"
3453 t_manufacturer="imx233"
3454 t_model="sony-nwz"
3455 arm926ejscc
3456 ;;
3457
3458 221|sonynwze360)
3459 target_id=89
3460 modelname="sonynwze360"
3461 target="SONY_NWZE360"
3462 memory=32
3463 bmp2rb_mono="$rootdir/tools/bmp2rb -f 0"
3464 bmp2rb_native="$rootdir/tools/bmp2rb -f 4"
3465 tool="$rootdir/tools/scramble -add=e360"
3466 output="rockbox.sony"
3467 bootoutput="bootloader-nwze360.sony"
3468 appextra="gui:recorder:radio"
3469 plugins=""
3470 swcodec="yes"
3471 toolset=$scramblebitmaptools
3472 t_cpu="arm"
3473 t_manufacturer="imx233"
3474 t_model="sony-nwz"
3475 arm926ejscc
3476 ;;
3477
3437 *) 3478 *)
3438 echo "Please select a supported target platform!" 3479 echo "Please select a supported target platform!"
3439 exit 7 3480 exit 7
diff --git a/tools/scramble.c b/tools/scramble.c
index e948026f76..7b164e0899 100644
--- a/tools/scramble.c
+++ b/tools/scramble.c
@@ -128,7 +128,7 @@ void usage(void)
128 "\t 9200, 1630, 6330, ldax, m200, c100, clip, e2v2,\n" 128 "\t 9200, 1630, 6330, ldax, m200, c100, clip, e2v2,\n"
129 "\t m2v4, fuze, c2v2, clv2, y820, y920, y925, x747,\n" 129 "\t m2v4, fuze, c2v2, clv2, y820, y920, y925, x747,\n"
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+)\n"); 131 "\t ip6g, rk27, clzp, zxf2, zxf3, fuz+, e370, e360)\n");
132 printf("\nNo option results in Archos standard player/recorder format.\n"); 132 printf("\nNo option results in Archos standard player/recorder format.\n");
133 133
134 exit(1); 134 exit(1);
@@ -365,6 +365,10 @@ int main (int argc, char** argv)
365 modelnum = 82; 365 modelnum = 82;
366 else if (!strcmp(&argv[1][5], "zxf3")) /* Creative Zen X-Fi3 */ 366 else if (!strcmp(&argv[1][5], "zxf3")) /* Creative Zen X-Fi3 */
367 modelnum = 83; 367 modelnum = 83;
368 else if (!strcmp(&argv[1][5], "e370")) /* Sony NWZ-E370 series */
369 modelnum = 88;
370 else if (!strcmp(&argv[1][5], "e360")) /* Sony NWZ-E360 series */
371 modelnum = 89;
368 else { 372 else {
369 fprintf(stderr, "unsupported model: %s\n", &argv[1][5]); 373 fprintf(stderr, "unsupported model: %s\n", &argv[1][5]);
370 return 2; 374 return 2;