Pass width instead of x+width to ab_draw_markers()/cue_draw_markers() and don't recal...
[kugel-rb.git] / rbutil / mkamsboot / README
bloba9eba35d21450f4cf26f05a880505167cbe6e781
1 mkamsboot
2 ---------
4 A tool to inject a bootloader into a Sansa V2 (AMS) firmware file.
7 Usage
8 -----
10 mkamsboot <firmware file> <boot file> <output file>
12 <firmware file> is an original Sansa firmware file obtained from the Sansa
13     forums for example : http://forums.sandisk.com/sansa/?category.id=devices
15 <boot file> is the code you want to execute (a rockbox bootloader), previously
16     scrambled with tools/scramble utility.
18 <output file> is the resulting firmware file which you'll have to copy on your
19     Sansa player. See "Firmware filenames".
22 Supported models
23 ----------------
25 Sansa Clip  :   firmware version starting with "01."
26 Sansa Clip+ :   firmware version starting with "01."
27 Sansa Clipv2:   firmware version starting with "02."
28 Sansa Fuze  :   firmware version starting with "01."
29 Sansa E200v2:   firmware version starting with "03."
30 Sansa C200v2:   firmware version starting with "03."
31 Sansa M200v4:   firmware version starting with "4."
34 Firmware filenames
35 ------------------
37 For the firmware upgrade to happen, the firmware has to be named specially:
39 clip v2 :   m30pa.bin
40 clip    :   m300a.bin
41 clip+   :   clppa.bin
42 fuze    :   fuzea.bin
43 e200v2  :   e200pa.bin
44 c200v2  :   c200pa.bin
45 m200v4  :   m200a.bin
48 Dual-Boot
49 ---------
51   The purpose of this program is to provide dual-boot between the original
52 firmware and the new (rockbox) firmware.
54   By default the player will boot into the new firmware.
56   To boot into the Original Firmware, you need to press the Left key.
57   ***Note : on the c200v2 you need to press the Right key.
59   The player will boot into the Original Firmware as well if it is powered up by
60 inserting an usb cable.
61   ***Note : on the m200v4 powering up by usb will cause booting into the new
62 firmware
64 Hacking
65 -------
67 See comments in mkamsboot.c and dualboot/dualboot.S for more information.