Commit graph

11 commits

Author SHA1 Message Date
Dominik Riebeling
b82963bd9d Move mknkboot.[ch] to beastpatcher folder.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23372 a1c6a512-1295-4272-9138-f99709370657
2009-10-27 21:15:21 +00:00
Dominik Riebeling
55cd14f875 Make beastpatcher build with VS2005 again.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22821 a1c6a512-1295-4272-9138-f99709370657
2009-09-24 20:46:19 +00:00
Dominik Riebeling
6d1d9bed3e Integrate mknkboot into beastpatcher.
Add a new option to beastpatcher to patch and upload an original firmware file.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22745 a1c6a512-1295-4272-9138-f99709370657
2009-09-20 08:28:18 +00:00
Dominik Riebeling
dad3f29993 Split out file access from mknkboot handling.
- make main dualboot creation function work on buffers instead of files.
  This is to be used in beastpatcher and simplifies error handling a bit.
- prepare for building with beastpatcher.
- export dualboot creation function.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22740 a1c6a512-1295-4272-9138-f99709370657
2009-09-19 21:29:08 +00:00
Dominik Riebeling
d270452402 Refactor mknkboot in preparation for beastpatcher integration.
- separate patching from main function.
- improve cleaning up open files / allocated memory on errors.
- correct check for number of arguments.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22723 a1c6a512-1295-4272-9138-f99709370657
2009-09-17 21:03:40 +00:00
Dave Chapman
0792eea4f2 Change the mknkboot license to BSD to enable its code to be incorporated into beastpatcher.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22710 a1c6a512-1295-4272-9138-f99709370657
2009-09-16 21:24:49 +00:00
Daniel Stenberg
2acc0ac542 Updated our source code header to explicitly mention that we are GPL v2 or
later. We still need to hunt down snippets used that are not. 1324 modified
files...
http://www.rockbox.org/mail/archive/rockbox-dev-archive-2008-06/0060.shtml


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17847 a1c6a512-1295-4272-9138-f99709370657
2008-06-28 18:10:04 +00:00
Michael Sevakis
2920359cca Unreverse Gigabeat S bootloader. Boot Rockbox with hold switch off.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17203 a1c6a512-1295-4272-9138-f99709370657
2008-04-21 04:34:39 +00:00
Will Robertson
735790fde0 Some general housekeeping. Fixed a few yellows, made the volume buttons work in lists. ROLO now works also thanks to rob's work on the D2.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17139 a1c6a512-1295-4272-9138-f99709370657
2008-04-16 08:30:30 +00:00
Dave Chapman
4fb825eed9 Make the Gigabeat-S bootloader dual-boot. The hold switch is used to choose what to boot - because it is a simple GPIO test.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15828 a1c6a512-1295-4272-9138-f99709370657
2007-11-27 01:25:11 +00:00
Dave Chapman
fe16efdd0c Initial version of mknkboot - a utility to replace "merge0.cpp" to insert a Rockbox bootloader into a Gigabeat-S nk.bin firmware update image. This was rewritten from scratch, but has been tested to produce output files identical to merge0.cpp.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15570 a1c6a512-1295-4272-9138-f99709370657
2007-11-11 12:08:06 +00:00