Commit graph

16 commits

Author SHA1 Message Date
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
0cab10e2f5 Add non-interactive mode to beastpatcher.
- Extend beastpatcher() to optionally work non-interactively.
- Don't ask for confirmation if beastpatcher was started with command line arguments.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22820 a1c6a512-1295-4272-9138-f99709370657
2009-09-24 17:07:08 +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
1b1bd7ef46 Fix signedness mismatch.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22733 a1c6a512-1295-4272-9138-f99709370657
2009-09-18 21:36:33 +00:00
Dominik Riebeling
d6b219387c Extend beastpatcher command line.
- prepare for building without included bootloader binary
- allow specifying a bootloader.bin file on the command line



git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22479 a1c6a512-1295-4272-9138-f99709370657
2009-08-23 20:06:46 +00:00
Dominik Riebeling
73f9bde908 Make bin2c compile with VS2005 and move it to a separate folder as its getting used by different tools now.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21272 a1c6a512-1295-4272-9138-f99709370657
2009-06-13 14:15:50 +00:00
Dominik Riebeling
1c83e6ab90 Refactor sendfirm functionality in beastpatcher and do some code police.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21271 a1c6a512-1295-4272-9138-f99709370657
2009-06-13 14:03:31 +00:00
Dominik Riebeling
ef4e8b2d81 Build beastpatcher by incorporating the MTP_DLL code instead of linking the DLL.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21270 a1c6a512-1295-4272-9138-f99709370657
2009-06-13 08:58:48 +00:00
Dominik Riebeling
94823c65ac Fix beastpatcher on linux and code police.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21263 a1c6a512-1295-4272-9138-f99709370657
2009-06-12 17:12:41 +00:00
Dominik Riebeling
11fa12c366 Implement sendfirm functionality in beastpatcher. Set svn:eol-style properties.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21260 a1c6a512-1295-4272-9138-f99709370657
2009-06-12 16:35:34 +00:00
Dominik Riebeling
864a4787b0 Allow building beastpatcher with libmtp 0.2.[0-5].
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21249 a1c6a512-1295-4272-9138-f99709370657
2009-06-11 19:55:28 +00:00
Dominik Riebeling
20a78a36f3 Remove never used code -- libmtp is not used on Windows.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21227 a1c6a512-1295-4272-9138-f99709370657
2009-06-08 22:33:36 +00:00
Dominik Riebeling
eebde2a367 Major W32 beastpatcher rework (FS#10220).
Update beastpatcher to scan for the device separately, rework MTP_DLL and modify to allow building with VS2005.
- include pstdint.h when building with VS2005 as VS doesn't have inttypes.h
- don't use bool in the DLL as VS doesn't support type bool in C.
- rearrange DLL files to avoid filename ambiguities with sendfirm.
- include MTP_DLL.h instead of duplicating prototypes. Adjust header for easy inclusion.
- make MTP_DLL project file also copy the resulting dll to MTP folder for convenience.
- extend MTP_DLL API for separate device scanning. Note that this (intentionally) breaks compatibility of the dll.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21221 a1c6a512-1295-4272-9138-f99709370657
2009-06-08 18:04:10 +00:00
Dominik Riebeling
1af18d52af Support building beastpatcher with MinGW.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20960 a1c6a512-1295-4272-9138-f99709370657
2009-05-16 10:51:20 +00:00
Dave Chapman
93f4bd351b Initial (untested) attempt at a Windows version. The MTP_DLL.dll library needs expanding to offer the same API as mtp_libmtp.c, but this needs someone with access to a MS compiler. Ideally we should also stop using a separate DLL and compile a single standalone beastpatcher.exe.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20088 a1c6a512-1295-4272-9138-f99709370657
2009-02-22 23:35:29 +00:00
Dave Chapman
c06071e2e7 Initial version of a BSD-licensed beastpatcher utility for Gigabeat S installation. Currently only compiles on Linux, but Windows and OS X support are planned.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20083 a1c6a512-1295-4272-9138-f99709370657
2009-02-22 13:54:46 +00:00