rockbox/rbutil/mkamsboot
Rafaël Carré 27d529e186 mkamsboot / nrv2e_d8.S thubm decompressor : comment the use of mov pc, lr
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26449 a1c6a512-1295-4272-9138-f99709370657
2010-06-01 16:53:26 +00:00
..
dualboot mkamsboot / nrv2e_d8.S thubm decompressor : comment the use of mov pc, lr 2010-06-01 16:53:26 +00:00
dualboot.c Fuzev2: use enrd0 for USB detection, GPIO didn't work on some models 2010-05-18 00:11:42 +00:00
dualboot.h Fuzev2: use enrd0 for USB detection, GPIO didn't work on some models 2010-05-18 00:11:42 +00:00
main.c mkamsboot/rbutil/amsinfo : do not try to detect the model of a given Sansa AMS OF 2010-05-24 10:06:52 +00:00
Makefile Use build dir and respect TARGET_DIR when building mkamsboot. 2010-05-27 17:36:39 +00:00
md5.c
md5.h
mkamsboot.c mkamsboot/rbutil/amsinfo : do not try to detect the model of a given Sansa AMS OF 2010-05-24 10:06:52 +00:00
mkamsboot.h mkamsboot/rbutil/amsinfo : do not try to detect the model of a given Sansa AMS OF 2010-05-24 10:06:52 +00:00
README Clip+: boot to OF if USB is connected 2010-05-17 21:57:46 +00:00

mkamsboot
---------

A tool to inject a bootloader into a Sansa V2 (AMS) firmware file.


Usage
-----

mkamsboot <firmware file> <boot file> <output file>

<firmware file> is an original Sansa firmware file obtained from the Sansa
    forums for example : http://forums.sandisk.com/sansa/?category.id=devices

<boot file> is the code you want to execute (a rockbox bootloader), previously
    scrambled with tools/scramble utility.

<output file> is the resulting firmware file which you'll have to copy on your
    Sansa player. See "Firmware filenames".


Supported models
----------------

Sansa Clip  :   firmware version starting with "01."
Sansa Clip+ :   firmware version starting with "01."
Sansa Clipv2:   firmware version starting with "02."
Sansa Fuze  :   firmware version starting with "01."
Sansa Fuzev2:   firmware version starting with "02."
Sansa E200v2:   firmware version starting with "03."
Sansa C200v2:   firmware version starting with "03."
Sansa M200v4:   firmware version starting with "4."


Firmware filenames
------------------

For the firmware upgrade to happen, the firmware has to be named specially:

clip v2 :   m30pa.bin
clip    :   m300a.bin
clip+   :   clppa.bin
fuze    :   fuzea.bin
fuzev2  :   fuzpa.bin
e200v2  :   e200pa.bin
c200v2  :   c200pa.bin
m200v4  :   m200a.bin


Dual-Boot
---------

  The purpose of this program is to provide dual-boot between the original
firmware and the new (rockbox) firmware.

  By default the player will boot into the new firmware.

  To boot into the Original Firmware, you need to press the Left key.
  ***Note : on the c200v2 you need to press the Right key.
  ***Note : on the Clip+ you can alternatively press the Home key.

  The player will boot into the Original Firmware as well if it is powered up by
inserting an usb cable.
  ***Note : on the m200v4 powering up by usb will cause booting into the new firmware.

Hacking
-------

See comments in mkamsboot.c and dualboot/dualboot.S for more information.