%TOC% %RED%This port status applies to both the NWZ-E370 and E380 series.%ENDCOLOR% ---+ Port Status | *driver* | *status* | *comments* | | LCD | %GREEN%95%%ENDCOLOR% | LCD is working. Still lacking lcd sleep, and inversion. | | Keys | %GREEN%100%%ENDCOLOR% | Physical keys are handled. | | Music playback | %GREEN%100%%ENDCOLOR% | Everything works. | | FM Radio | | See SigmatelSTFM1000 | | Power Management | %YELLOW%90%%ENDCOLOR% | Everything works but battery is not calibrated. | | Storage | %GREEN%100%%ENDCOLOR% | Internal storage works | | Clock/voltage | %GREEN%100%%ENDCOLOR% | Everything works. | | USB | %GREEN%100%%ENDCOLOR% | Everything is implemented. | | Manual | %RED%0%%ENDCOLOR% | TBD | | Rockbox Utility | %ORANGE%50%%ENDCOLOR% | Rockbox Uility can produce a valid firmware image but it cannot extract it from the device. | ---+ Daily builds You can find prebuilt version of Rockbox (development version) here: [[http://build.rockbox.org/data/rockbox-sonynwze370.zip][nwze370.zip]]. Unpack it at the root of the device, it should create a =.rockbox= directory. ---+ Bootloader features The bootloader comes with a number of features which allow to recover from potential problematic situations. ---++ Booting to the OF The bootloader can either boot rockbox or the OF. By default it will boot rockbox. The bootloader will boot the OF if you hold *back* for at least one second. This works *independently* from the power source. ---+ Getting the firmware #GetFirmware There is no firmware upgrade available for this player so one has to extract it from the device. Since this procedure is not implemented in RockboxUtility, it has to be done manually. Alternatively, I uploaded a copy of it here: [[https://www.dropbox.com/s/hbe1xmt7ovj6fcu/sonynwze370_1.0.1.firmware.sb][firmware.sb]]. ---++ Manual method ---+++ Linux You will need the libsgutils2-dev package. Go into =utils/imxtools/scsitools=, run =make=. You should have an executable called =scsitool=, run it as root to extract the firmware: =./scsitool -x firmware.sb /dev/mydev=. Of course replace =/dev/mydev= by the path to your device (typically =/dev/sdb=). ---+ Installing the bootloader The bootloader can be built using three different methods. The easiest will be rockbox utility, but this is not yet implemented. For now, the prebuilt method below is recommended, and only slightly more complex. ---++ Automatic method Not yet implemented in Rockbox Utility ---++ Prebuilt method #PrebuiltMethod First, make sure you have downloaded a copy of rockbox as described above. I prebuilt a complete bootloader image out of version 1.0.1 of the OF. It can be found here: [[https://www.dropbox.com/s/28kilkwkjdt51uq/sonynwze370_rb_firmware.sb][firmware.sb]]. Download it, *rename it* to =firmware.sb= , put it at the root of the device, unmount properly and reboot. If you do not have rockbox bootloader already installed, you might need to reset the device using the hole behind the device. If you already have a rockbox bootloader installed, make sure you boot in *OF USB mode*, otherwise it will not work. To boot in OF USB mode, power down the device, hold any button except power and plug the USB cable. When unplugging the USB cable, hold any button except power so that it reboots in OF and performs the upgrade. Note that you must also install Rockbox to be able to use your player, the bootloader need only to be installed once. If you want to boot to the OF, press any key other than power on boot. ---++ Manual method ---+++ Linux This method should only be required for developers. Users can download already built copies of the firmware above. This method requires the following things: * a working cross-compiler (arm-elf-eabi), see HowToCompile * a copy of the source code, see HowToCompile * a copy of the latest firmware, either use the link above or extract it from the device. See above sections. First you need to compile the bootloader, to do this follow the instructions from HowToCompile and when running the configure script, select the sony NWZ-E370 and bootloader build. After the build, you should get a =bootloader-nwze370.sony= file (you don't need to go further than the 5. Build step in HowToCompile). Then you need to build the mkimxboot tool in =rbutil/mkimxboot=. To do so, just cd into =rbutil/mkimxboot= and run =make=. It should produce a =mkimxboot= executable. Finally, you need to run the tool with the correct parameters. Assuming you are in =rbutil/mkimxboot=, run: =./mkimxboot -i sony-firmware.sb -b bootloader-nwze370.sony -o firmware.sb -t dualboot= You should replace =sony-firmware.sb= by the path to the firmware you downloaded or extract from the device, and replace =bootloader-nwze370.creative= by the path to the =bootloader-nwze370.creative= file produced by the compilation. Note that this command will produce a file called =firmware.sb= so if you put a copy of the =firmware.sb= file from the device in this directory, rename it to something else like =sony-firmware.sb= before running the command. Once you have the =sony-firmware.sb= file, proceed as in the [[SonyNWZE370Port#PrebuiltMethod]]. ---+ Uninstalling the bootloader To uninstall the bootloader, simply install the original firmware. More precisely, proceed as in the [[SonyNWZE370Port#PrebuiltMethod]] section but put the original firmware file instead of the patched one. To get a copy of the original firmware, refer to [[SonyNWZE370Port#GetFirmware]]. ---+ Recovery procedure If for any reason your device doesn't work anymore (doesn't boot, stuck in the bootloader and even the OF doesn't work or if a firmware upgrade failed). You might need to recover your device. You should not attempt this without an advice from someone knowledgeable. The point of the recovery procedure is too reinstall the OF and will remove any trace of the rockbox bootloader. ---++ Linux TODO -- Main.MichaelGiacomelli - 19 Jun 2016
r9 - 21 Sep 2016 - 19:49:56 -
Copyright © by the contributing authors.