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
bc18818547
Some more MTP_DLL cleanup.
...
- don't use precompiled headers.
- prepare for direct incorporation of the library.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21269 a1c6a512-1295-4272-9138-f99709370657
2009-06-13 08:12:41 +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
Maurus Cuelenaere
5883f09ace
MTP_DLL:
...
* update license to BSD
* clean some comments
* add README file
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20049 a1c6a512-1295-4272-9138-f99709370657
2009-02-19 18:36:57 +00:00
Nicolas Pennequin
6a3779b543
Fix old libmtp detection on Ubuntu systems that don't support echo -e.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20039 a1c6a512-1295-4272-9138-f99709370657
2009-02-18 14:50:46 +00:00
Andrew Mahone
f9b7572c1b
extract LIBMTP_VERSION from header, and use that to set -DOLDMTP when building sendfirm, rather than trying to build each way
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19945 a1c6a512-1295-4272-9138-f99709370657
2009-02-08 16:59:06 +00:00
Nils Wallménius
ef726cee67
Fix compilation of sendfirm with 0.3.x versions of libmtp and keep a (hacky) fallback for building with the older 0.2.x also fix a pair of 64 bit warnings
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19941 a1c6a512-1295-4272-9138-f99709370657
2009-02-07 21:00:18 +00:00
Michael Giacomelli
870c58619d
Remove executable property that somehow got set
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19666 a1c6a512-1295-4272-9138-f99709370657
2009-01-04 01:39:57 +00:00
Michael Giacomelli
76c093d39c
Commit utility to dump the OF from a rockboxed Gigabeat S. Searches the partition for deleted nk.bin and restores it. Should work if run immediately after install the bootloader, but may not work later. Current version asks the user to md5sum the file, but probably should do it automatically.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19665 a1c6a512-1295-4272-9138-f99709370657
2009-01-04 01:34:37 +00:00
Maurus Cuelenaere
79177edfb2
MTP:
...
* Add Win32 progress callback reporting support
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18355 a1c6a512-1295-4272-9138-f99709370657
2008-08-27 23:07:08 +00:00
Maurus Cuelenaere
33d8bb15e2
Fix infinite loop in sendfirm_win.cpp and other minor fixes
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17939 a1c6a512-1295-4272-9138-f99709370657
2008-07-04 12:45:24 +00:00
Maurus Cuelenaere
46d8302c7d
Make sendfirm_win.c compile and work
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17938 a1c6a512-1295-4272-9138-f99709370657
2008-07-04 11:38:08 +00:00
Maurus Cuelenaere
be0bccfe98
Forgot the actual file..
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17934 a1c6a512-1295-4272-9138-f99709370657
2008-07-03 23:30:51 +00:00
Maurus Cuelenaere
936650104d
Add example program + fix some mistakes
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17933 a1c6a512-1295-4272-9138-f99709370657
2008-07-03 23:30:28 +00:00
Maurus Cuelenaere
b42a51bf64
Add sendfirm Windows version, currently in the form of a DLL so it could
...
be easy integrated into programs (will require VS2005 to compile)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17932 a1c6a512-1295-4272-9138-f99709370657
2008-07-03 22:01:37 +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
Maurus Cuelenaere
35f41e666d
Remove an unused variable.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17243 a1c6a512-1295-4272-9138-f99709370657
2008-04-24 20:21:47 +00:00
Nicolas Pennequin
3e2c51d82c
Firmware update utility for the Gigabeat S and probably other MTP devices. Based on libmtp's sendfile.c example, tweaked by Maurus Cuelenaere and me to send firmware files.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15755 a1c6a512-1295-4272-9138-f99709370657
2007-11-22 18:07:40 +00:00