release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide



Search | Go
Wiki > Main > SonyNWZE370 > SonyNWZE370Port (r1)

Port Status

driver status comments
LCD 95% LCD is working. Still lacking lcd sleep, and inversion.
Keys 100% Physical keys are handled. Hold is working
Music playback 100% Everything works.
FM Radio 0% We don't have a DRI driver so we FM doesn't work.
Power Management 90% Everything works but battery is not calibrated.
Storage 100% Internal storage works
Clock/voltage 100% Everything works.
USB 100% Everything is implemented.
Manual 0% TBD
Rockbox Utility 50% 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: 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

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: [[][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).

Building the bootloader

The bootloader can be built using three different methods. The recommend one is the automatic method using RockboxUtility. The semi-automatic method requires a working cross-compiler and a copy of the Rockbox source code.

Automatic method

TIDI

Semi-Automatic method

Prebuilt

I prebuild a complete bootloader image out of version 1.0.0 of the OF. It can be found here: [[][firmware.sb]]. Download it, rename it to firmware.sb , put it at the root of the device, unmount properly and reboot. 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.

Linux

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.

Finally, plug your Sony NWZ-E370 and put the firmware.sb file at the root of the file system, unmount and unplugged just like a regular firmware update. Note that if you already have a rockbox bootloader installed you need to reboot to the OF for the upgrade to be effective.

Of course, to run rockbox, you will also need to do a normal build of rockbox and put rockbox on your device (see HowToCompile but this time to a normal Sony NWZ-E370 build and go until the 6. Install step). Alternatively, you can download the current build here: [http://build.rockbox.org/data/rockbox-nwze370.zip].

If you want to boot to the OF, press any key other than power on boot.

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

-- AmauryPouly - 28 Sep 2013
Edit | Attach | Print version | History: r4 < r3 < r2 < r1 | Backlinks | View wiki text | More topic actions...
r1 - 28 Sep 2013 - 10:49:52 - AmauryPouly

Parents: SonyNWZE370
Copyright by the contributing authors.