summaryrefslogtreecommitdiffstats
path: root/rbutil/mkamsboot
AgeCommit message (Collapse)AuthorFilesLines
2009-06-04mkamsboot: refuse to patch an untested OF, and provide a list of tested OF ↵Rafaël Carré1-3/+21
versions git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21189 a1c6a512-1295-4272-9138-f99709370657
2009-05-28mkamsboot : brackets at the start of functions must be on their line - ↵Rafaël Carré1-16/+26
thanks to linuxstb for noticing git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21122 a1c6a512-1295-4272-9138-f99709370657
2009-05-28FS#10253 : mkamsboot v1.0mkamsboot_1.0Rafaël Carré14-817/+1054
- Bump version to 1.0 - Add Clipv2 target - Make mkamsboot work as a library (work by domonoky : FS#10185, with a few modifications by me) . Use a macro with variadic arguments for error cases in functions which might error. . Add detailed descriptions to functions exported by the library (in the header file) - modify bin2c.c to produce only one pair of .c/.h files with several files embedded in it - move files needing to be built by an ARM cross compiler into dualboot/ - commit produced .c/.h files (containing nrv2e_d8.S and dualboot.S built for Clip, Fuze, e200v2, c200v2, m200v4, Clipv2) - Write a real README file - cosmetics: indent dualboot.S properly, remove trailing spaces, limit lines to 80 characters - comments: add/correct comments in dualboot.S and mkamsboot.c - move back extract_fw.c to utils/AMS/hacking git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21118 a1c6a512-1295-4272-9138-f99709370657
2009-05-25mkamsboot: really error out if OF model is different from bootloader modelRafaël Carré1-2/+10
Error out if firmware md5sum isn't known, and leave the current code #if 0'ed for easier testing git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21073 a1c6a512-1295-4272-9138-f99709370657
2009-05-22mkamsboot : use left button for dual boot on Sansa Clip for consistency with ↵Rafaël Carré1-3/+3
other Sansa models git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21029 a1c6a512-1295-4272-9138-f99709370657
2009-05-22mkamsboot : remove a misleading comment (we only use IRAM)Rafaël Carré1-5/+2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21028 a1c6a512-1295-4272-9138-f99709370657
2009-04-11Support Fuze 01.02.26 OF version.Thomas Martitz1-0/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20688 a1c6a512-1295-4272-9138-f99709370657
2009-03-16Add md5 for clip OF version 1.01.32 to mkamsboot (verified to work)Bertrik Sikken1-0/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20326 a1c6a512-1295-4272-9138-f99709370657
2008-12-29Added dualboot usb detection for Clip, so OF boots on usb insert.Björn Stenberg1-0/+2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19613 a1c6a512-1295-4272-9138-f99709370657
2008-12-24Commit updated mkamsboot for c200v2 patching. Tested and seems to be ↵Michael Giacomelli3-25/+47
working using USB for dualboot. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19575 a1c6a512-1295-4272-9138-f99709370657
2008-12-15Add MD5 checksum for v1.01.22 of the Fuze original firmware.Dave Chapman1-0/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19444 a1c6a512-1295-4272-9138-f99709370657
2008-11-25m200v4: correct the BOOTDIR define, and invert the button check in the ↵Dominik Wenger1-3/+3
dualboot.S git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19217 a1c6a512-1295-4272-9138-f99709370657
2008-11-24mkamsboot: dualboot button for Sansa FuzeRafaël Carré1-3/+1
Sansa Fuze and e200v2 appear to have the same keymapping (except maybe for still missing buttons/wheel) Thanks to Thomas Martitz for his finding git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19201 a1c6a512-1295-4272-9138-f99709370657
2008-11-14Clean up the Makefile a little - no functional changes.Dave Chapman2-119/+65
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19106 a1c6a512-1295-4272-9138-f99709370657
2008-11-10grrr, I need to learn to do case insensitive grepping when that's the better ↵Daniel Stenberg1-2/+2
idea... git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19062 a1c6a512-1295-4272-9138-f99709370657
2008-11-10"mv m200v2 m200v4"Daniel Stenberg2-20/+21
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19060 a1c6a512-1295-4272-9138-f99709370657
2008-11-02mkamsboot: Use left button on e200v2 to dual boot (like e200v1)Rafaël Carré1-3/+3
Thanks to Michael Chicoine git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18973 a1c6a512-1295-4272-9138-f99709370657
2008-10-30mkamsboot: supports Fuze firmwaresRafaël Carré3-7/+30
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18936 a1c6a512-1295-4272-9138-f99709370657
2008-10-30Correct the MD5 sum for the Clip 1.1.29 firmware.Dave Chapman1-1/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18929 a1c6a512-1295-4272-9138-f99709370657
2008-10-30Add MD5 checksumming of the original firmware images - for extra safety, and ↵Dave Chapman4-20/+368
also because some Fuze firmwares have the same ID (or what we thought was the ID) as the M200 firmwares. Plus a few minor cleanups. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18927 a1c6a512-1295-4272-9138-f99709370657
2008-10-28Sansav2 dualboot: correctly use keyscan for ClipRafaël Carré1-8/+13
Make comments consistent between m200v2 and Clip (e200 doesn't use keyscan) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18900 a1c6a512-1295-4272-9138-f99709370657
2008-10-28mkamsboot: Fix makefile rules for e200v2 and m200v2Rafaël Carré1-3/+3
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18898 a1c6a512-1295-4272-9138-f99709370657
2008-10-19add sansa m200v2 support to mkamsboot.Dominik Wenger3-11/+52
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18840 a1c6a512-1295-4272-9138-f99709370657
2008-10-19Correct an error messageDave Chapman1-1/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18837 a1c6a512-1295-4272-9138-f99709370657
2008-10-19Add e200v2 and m200v2 targets. Move the telechips lcd-ssd1815.c (currently ↵Dave Chapman1-4/+4
used by Logik DAX and m200v1 ports) driver up in the target tree and share with the m200v2 - as2525 parts contributed by Rafael Carre. Includes the start (but is still very incomplete) of an LCD driver for the e200v2. m200v2 is not yet fully supported by mkamsboot - that will come soon. Also some minor cleanups for the Clip. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18836 a1c6a512-1295-4272-9138-f99709370657
2008-10-12Make mkamsboot safer by introducing the use of ".sansa" files to store Sansa ↵Dave Chapman1-9/+102
V2 bootloader and firmware files. These files are the same format (a simple 8-byte header consisting of a 32-bit checksum followed by 4-char model name is prepended to the binary data) as that used by lots of other Rockbox targets (.ipod, iriver etc). Support added to scramble/mkamsboot for both clip and e200v2, even though the latter is not in SVN yet. Also add a check of the whole-file original firmware checksum to mkamsboot and add a new $scramblebitmaptools toolset variable in configure. The output of this version of mkamsboot is confirmed to be md5sum-identical to the previous version. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18789 a1c6a512-1295-4272-9138-f99709370657
2008-10-11Add Rafael Carre to the (C) message in the output of mkamsboot. This should ↵Dave Chapman1-8/+2
be the last commit for a while... git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18772 a1c6a512-1295-4272-9138-f99709370657
2008-10-11Fix another bug in dualboot.S, add Rafael Carre as the (C) holder of ↵Dave Chapman2-24/+45
dualboot.S (most of the code there is his) and use the standard Rockbox header in mkamsboot.c. This code is still untested on target. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18771 a1c6a512-1295-4272-9138-f99709370657
2008-10-11Fix a bug in the uclcopy loop, plus add a warning to make sure people know ↵Dave Chapman2-1/+5
the untested status of this code. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18770 a1c6a512-1295-4272-9138-f99709370657
2008-10-11Fix some off-by-one errors, plus remove some unused variablesDave Chapman2-6/+4
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18768 a1c6a512-1295-4272-9138-f99709370657
2008-10-11Major rework of mkamsboot, extending work done by Rafael Carre. We now ↵Dave Chapman6-237/+613
build one "dualboot.bin" mini-bootloader per target and embed it in the mkamsboot binary. The user of mkamsboot just needs to provide an original firmware file, and a Rockbox bootloader file. This code currently supports just the Clip (hardware revision 1) and the E200v2 - button checks are needed for the other V2 targets. NOTE: This is completely untested on-target, and may brick your device. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18767 a1c6a512-1295-4272-9138-f99709370657
2008-10-04Move mkamsboot into the rbutil/mkamsboot/ directory - no other changes, so ↵Dave Chapman6-0/+785
this should still work the same as before. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18706 a1c6a512-1295-4272-9138-f99709370657