summaryrefslogtreecommitdiffstats
path: root/rbutil/mkamsboot/mkamsboot.c
AgeCommit message (Collapse)AuthorFilesLines
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 Chapman1-23/+23
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 Chapman1-0/+4
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 Chapman1-5/+3
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 Chapman1-146/+283
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 Chapman1-0/+341
this should still work the same as before. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18706 a1c6a512-1295-4272-9138-f99709370657