summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorAmaury Pouly <amaury.pouly@gmail.com>2017-09-17 22:32:13 +0200
committerAmaury Pouly <amaury.pouly@gmail.com>2017-09-17 23:47:49 +0200
commit127e6bbfddab60039085d4ad74a8baae18372717 (patch)
treec6545a1d988d0b4f6c141202889013fa4ac54844 /tools
parentaedf4d2a578141e50c4a868d6d24b4e5a97755c7 (diff)
downloadrockbox-127e6bbfddab60039085d4ad74a8baae18372717.tar.gz
rockbox-127e6bbfddab60039085d4ad74a8baae18372717.tar.bz2
rockbox-127e6bbfddab60039085d4ad74a8baae18372717.zip
Add support for the NWZ-E350bootloader_nwze350_v1
Strangely it has the SAME encryption key as the E450. Either they didn't bother changing it or more likely they have exactly the same internals and a slightly different case. Change-Id: I39ab88845b3e40db34160c2e61dde421f391df44
Diffstat (limited to 'tools')
-rwxr-xr-xtools/configure45
-rw-r--r--tools/scramble.c4
2 files changed, 37 insertions, 12 deletions
diff --git a/tools/configure b/tools/configure
index 6e44adef16..bd5fba6607 100755
--- a/tools/configure
+++ b/tools/configure
@@ -1504,17 +1504,17 @@ cat <<EOF
200) SDL ==HiFi E.T.== 191) HM-801
201) Android 210) MA9
202) Nokia N8xx 211) MA9C ==Sony==
- 203) Nokia N900 212) MA8 220) NWZ-E370/E380 series
- 204) Pandora 213) MA8C 221) NWZ-E360 series
- 205) Samsung YP-R0 222) NWZ-E450 series
- 206) Android MIPS ==IHIFI== 223) NWZ-E460 series
- 207) Android x86 230) 760 224) NWZ-E470 series
- 208) Samsung YP-R1 231) 960 225) NWZ-E580 series
- 226) NWZ-A10 series
- ==iBasso== 227) NW-A20 series
- 232) DX50 228) NWZ-A860 series
- 233) DX90 229) NWZ-S750 series
-
+ 203) Nokia N900 212) MA8 219) NWZ-E350 series
+ 204) Pandora 213) MA8C 220) NWZ-E370/E380 series
+ 205) Samsung YP-R0 221) NWZ-E360 series
+ 206) Android MIPS ==IHIFI== 222) NWZ-E450 series
+ 207) Android x86 230) 760 223) NWZ-E460 series
+ 208) Samsung YP-R1 231) 960 224) NWZ-E470 series
+ 225) NWZ-E580 series
+ ==iBasso== 226) NWZ-A10 series
+ 232) DX50 227) NW-A20 series
+ 233) DX90 228) NWZ-A860 series
+ 229) NWZ-S750 series
EOF
buildfor=`input`;
@@ -3829,6 +3829,29 @@ fi
t_model="ma"
;;
+ 219|sonynwze350)
+ application="yes"
+ target_id=105
+ modelname="sonynwze350"
+ target="SONY_NWZE350"
+ 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=e350"
+ bootoutput="bootloader-nwze350.sony"
+ appextra="gui:recorder"
+ plugins=""
+ swcodec="yes"
+ toolset=$genericbitmaptools
+ t_cpu="hosted"
+ t_manufacturer="sonynwz"
+ t_model="nwze350"
+ uname=`uname`
+ sonynwzcc
+ ;;
+
220|sonynwze370)
target_id=88
modelname="sonynwze370"
diff --git a/tools/scramble.c b/tools/scramble.c
index 81a796479b..14be30de69 100644
--- a/tools/scramble.c
+++ b/tools/scramble.c
@@ -130,7 +130,7 @@ void usage(void)
"\t 747p, x777, nn2g, m244, cli+, fuz2, hd20, hd30,\n"
"\t ip6g, rk27, clzp, zxf2, zxf3, fuz+, e370, e360,\n"
"\t zxfi, zmoz, zen, zenv, ypz5, zxfs, e450, e460,\n"
- "\t e470,e580,a10,a20,a860,s750)\n");
+ "\t e470,e580,a10,a20,a860,s750,e350)\n");
printf("\nNo option results in Archos standard player/recorder format.\n");
exit(1);
@@ -399,6 +399,8 @@ int main (int argc, char** argv)
modelnum = 107;
else if (!strcmp(&argv[1][5], "s750")) /* Sony NWZ-S750 series */
modelnum = 108;
+ else if (!strcmp(&argv[1][5], "e350")) /* Sony NWZ-E350 series */
+ modelnum = 109;
else {
fprintf(stderr, "unsupported model: %s\n", &argv[1][5]);
return 2;