summaryrefslogtreecommitdiffstats
path: root/utils/MTP
AgeCommit message (Collapse)AuthorFilesLines
2020-08-05beastpatcher: don't hardcode lib paths.Dominik Riebeling1-1/+4
Let the linker find libmtp / libusb. Also don't insist on linking them statically -- current Debian doesn't have a static libmtp. Set STATIC to force linking statically. Change-Id: I3ce9cea832705c87f08054435eadf9f169afedb2
2014-12-13MTP: put libs after files in the Makefile, to please old gcc versionsAmaury Pouly1-1/+1
Change-Id: I6de6771bd8888e40fb9dafa3c84653c8c680bbef
2011-11-06Bulk convert all DOS line endings to UNIX.Torne Wuff1-8/+8
For the git migration we want a nice clean repository with UNIX line endings. git does not use svn:eol-style, we just need the file contents to be sane. Sorry everybody. I know this messes up blame. Scumbag *NIX developer says migrating to git will make line ending issues go away; commits giant change to svn which changes line endings anyway. :) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30924 a1c6a512-1295-4272-9138-f99709370657
2011-10-30Fix a typo spotted from r30864.Robert Menes1-1/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30865 a1c6a512-1295-4272-9138-f99709370657
2011-10-30beastpatcher: check WMP version.Dominik Riebeling3-0/+53
The current implementation fails silently if Windows Media Player is version 10. Add a check and inform the user if the version installed is too old to work properly with beastpatcher. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30864 a1c6a512-1295-4272-9138-f99709370657
2011-08-25Don't close file descriptor twiceThomas Jarosch1-1/+0
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30352 a1c6a512-1295-4272-9138-f99709370657
2011-06-08Remove superfluous executable bits on a bunch of files.Torne Wuff2-0/+0
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29986 a1c6a512-1295-4272-9138-f99709370657
2010-06-19Add error messages to a few more failure cases to beastpatcher.Dominik Riebeling1-1/+10
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26978 a1c6a512-1295-4272-9138-f99709370657
2010-06-17Make sure files which aren't windows-specific use \n line endings onlyRafaël Carré2-319/+319
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26893 a1c6a512-1295-4272-9138-f99709370657
2009-12-04Revert an accidental commit that I didn't want to go in.Robert Menes1-1/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23839 a1c6a512-1295-4272-9138-f99709370657
2009-12-03Another round of plugin keymaps for the Philips GoGear SA9200.Robert Menes1-1/+1
Just a few more to go... git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23838 a1c6a512-1295-4272-9138-f99709370657
2009-11-01Adjust mknkboot sources path to recently changed location.Dominik Riebeling1-2/+2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23458 a1c6a512-1295-4272-9138-f99709370657
2009-10-31Correct the bootloader download path.Dave Chapman1-1/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23431 a1c6a512-1295-4272-9138-f99709370657
2009-10-30Add support for building OSX disk image of beastpatcher.Barry Wardell1-1/+7
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23424 a1c6a512-1295-4272-9138-f99709370657
2009-10-30Get beastpatcher working on OSX.Barry Wardell2-10/+31
I don't know why we need to split the compiling and linking steps on OSX, but this was the only way I could get static linking against libusb and libmtp to work. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23418 a1c6a512-1295-4272-9138-f99709370657
2009-10-28Update bootloader download location and add a note about building with VS2005.Dominik Riebeling1-1/+7
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23381 a1c6a512-1295-4272-9138-f99709370657
2009-10-27Move mknkboot.[ch] to beastpatcher folder.Dominik Riebeling3-6/+377
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23372 a1c6a512-1295-4272-9138-f99709370657
2009-09-24Make beastpatcher build with VS2005 again.Dominik Riebeling1-4/+12
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22821 a1c6a512-1295-4272-9138-f99709370657
2009-09-24Add non-interactive mode to beastpatcher.Dominik Riebeling3-35/+42
- 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-20Integrate mknkboot into beastpatcher.Dominik Riebeling4-44/+100
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-18Fix signedness mismatch.Dominik Riebeling3-4/+4
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22733 a1c6a512-1295-4272-9138-f99709370657
2009-08-23Extend beastpatcher command line.Dominik Riebeling5-20/+102
- 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-06-13Make bin2c compile with VS2005 and move it to a separate folder as its ↵Dominik Riebeling1-2/+2
getting used by different tools now. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21272 a1c6a512-1295-4272-9138-f99709370657
2009-06-13Refactor sendfirm functionality in beastpatcher and do some code police.Dominik Riebeling5-65/+90
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21271 a1c6a512-1295-4272-9138-f99709370657
2009-06-13Build beastpatcher by incorporating the MTP_DLL code instead of linking the DLL.Dominik Riebeling1-14/+48
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21270 a1c6a512-1295-4272-9138-f99709370657
2009-06-13Some more MTP_DLL cleanup.Dominik Riebeling7-62/+11
- 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-12Fix beastpatcher on linux and code police.Dominik Riebeling3-20/+25
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21263 a1c6a512-1295-4272-9138-f99709370657
2009-06-12Implement sendfirm functionality in beastpatcher. Set svn:eol-style properties.Dominik Riebeling10-1039/+1241
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21260 a1c6a512-1295-4272-9138-f99709370657
2009-06-11Allow building beastpatcher with libmtp 0.2.[0-5].Dominik Riebeling2-1/+7
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21249 a1c6a512-1295-4272-9138-f99709370657
2009-06-08Remove never used code -- libmtp is not used on Windows.Dominik Riebeling1-4/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21227 a1c6a512-1295-4272-9138-f99709370657
2009-06-08Major W32 beastpatcher rework (FS#10220).Dominik Riebeling14-300/+1524
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-05-16Support building beastpatcher with MinGW.Dominik Riebeling1-0/+7
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20960 a1c6a512-1295-4272-9138-f99709370657
2009-02-22Initial (untested) attempt at a Windows version. The MTP_DLL.dll library ↵Dave Chapman6-13/+183
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-22Initial version of a BSD-licensed beastpatcher utility for Gigabeat S ↵Dave Chapman6-0/+596
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-19MTP_DLL:Maurus Cuelenaere7-99/+150
* 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-18Fix old libmtp detection on Ubuntu systems that don't support echo -e.Nicolas Pennequin1-2/+2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20039 a1c6a512-1295-4272-9138-f99709370657
2009-02-08extract LIBMTP_VERSION from header, and use that to set -DOLDMTP when ↵Andrew Mahone1-1/+4
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-07Fix compilation of sendfirm with 0.3.x versions of libmtp and keep a (hacky) ↵Nils Wallménius2-5/+12
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-01-04Remove executable property that somehow got setMichael Giacomelli1-0/+0
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19666 a1c6a512-1295-4272-9138-f99709370657
2009-01-04Commit utility to dump the OF from a rockboxed Gigabeat S. Searches the ↵Michael Giacomelli1-0/+143
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
2008-08-27MTP:Maurus Cuelenaere6-102/+185
* Add Win32 progress callback reporting support git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18355 a1c6a512-1295-4272-9138-f99709370657
2008-07-04Fix infinite loop in sendfirm_win.cpp and other minor fixesMaurus Cuelenaere4-32/+3
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17939 a1c6a512-1295-4272-9138-f99709370657
2008-07-04Make sendfirm_win.c compile and workMaurus Cuelenaere4-5/+14
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17938 a1c6a512-1295-4272-9138-f99709370657
2008-07-03Forgot the actual file..Maurus Cuelenaere1-0/+80
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17934 a1c6a512-1295-4272-9138-f99709370657
2008-07-03Add example program + fix some mistakesMaurus Cuelenaere5-2/+10
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17933 a1c6a512-1295-4272-9138-f99709370657
2008-07-03Add sendfirm Windows version, currently in the form of a DLL so it could Maurus Cuelenaere8-0/+533
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-06-28Updated our source code header to explicitly mention that we are GPL v2 orDaniel Stenberg1-2/+4
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-04-24Remove an unused variable.Maurus Cuelenaere1-2/+0
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17243 a1c6a512-1295-4272-9138-f99709370657
2007-11-22Firmware update utility for the Gigabeat S and probably other MTP devices. ↵Nicolas Pennequin2-0/+147
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