|
|
|||||||||||||||||||||||||||||||||||||||||||||
Port Status
Bootloader featuresThe bootloader comes with a number of features which allow to recover from potential problematic situations.Booting to the OFThe bootloader can either boot rockbox or the OF. By default it will boot rockbox. The bootloader will boot the OF if volume down is hold while powering up. This works independently from the power source. For example, the following actions will boot the OF:
firmware.sb to the root of the filesystem.
Building the bootloaderThe 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
Semi-Automatic methodLinuxThis method requires the following things:
bootloader-fuzeplus.sansa 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 sandisk-firmware.sb -b bootloader-fuzeplus.sansa -o firmware.sb -t dualboot
You should replace sandisk-firmware.sb by the path to the firmware you downloaded from Sandisk and extracted from the archive, and replace bootloader-fuzeplus.sansa by the path to the bootloader-fuzeplus.sansa 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 Sandisk in this directory, rename it to something else like sandisk-firmware.sb before running the command.
Finally, plug your Fuze+ and put the firmware.sb file at the root of the file system, unmount and unplugged just like a regular firmware update.
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 Fuze+ build and go until the 6. Install step).
If you want to boot to the OF, press Volume Down on boot (hold it, press power, wait a few seconds and release it).
Alternative methodyou need
Recovery procedureIf 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.LinuxThis method requires the following things:
bootloader-fuzeplus.sansa 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.
Then you need to build the sbloader tool in utils/imxtools. To do so, just cd into utils/imxtools and run make. It should produce several executable and one of them is sbloader.
Then you need to run the tool with the correct parameters to build a recovery image. Assuming you are in rbutil/mkimxboot, run:
./mkimxboot -i sandisk-firmware.sb -b bootloader-fuzeplus.sansa -o recovery.sb -t recovery
Then put your device in recovery mode: power it off, hold volume up and plug the usb cable then release volume up after a few seconds. The screen should stay black and the device will report as a HID device.
Finally send it to your device using sbloader(replace blabla by the path to utils/imxtools)(you will probably need run it as root).
blabla/sbloader 1024 recovery.sb
The screen should display a few lines and the device you report as a mass storage but you OS will not be able to mount it. It should have 4 partitions. Assuming that it was detected as /dev/sdb, send the OF file to the second partition this way:
dd if=sandisk-firmware.sb bs=512 seek=4 of=/dev/sdb2
When done, unplug your device and you are done.
Battery BenchmarkSee http://www.rockbox.org/wiki/SansaRuntime -- AmauryPouly - 01 May 2011r63 - 06 Jun 2012 - 11:31:38 - AndrejSinicyn?
Copyright © by the contributing authors.
|