Commit graph

154 commits

Author SHA1 Message Date
Maurus Cuelenaere
3e89296d6a Import ipod-time-sync from libgpod
This copies ipod-time-sync from libgpod and strips it of
unneccesary code + Makefile and README are added.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24306 a1c6a512-1295-4272-9138-f99709370657
2010-01-21 11:57:01 +00:00
Rafaël Carré
c2dae8742c amsinfo: support clip+ firmware format
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24218 a1c6a512-1295-4272-9138-f99709370657
2010-01-13 02:25:58 +00:00
Robert Menes
9096114bd3 Revert an accidental commit that I didn't want to go in.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23839 a1c6a512-1295-4272-9138-f99709370657
2009-12-04 02:54:27 +00:00
Robert Menes
29d20d8068 Another round of plugin keymaps for the Philips GoGear SA9200.
Just a few more to go...


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23838 a1c6a512-1295-4272-9138-f99709370657
2009-12-03 23:13:45 +00:00
Dominik Riebeling
46da0818af Adjust mknkboot sources path to recently changed location.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23458 a1c6a512-1295-4272-9138-f99709370657
2009-11-01 10:47:58 +00:00
Dave Chapman
a9f3dde79c Correct the bootloader download path.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23431 a1c6a512-1295-4272-9138-f99709370657
2009-10-31 00:25:29 +00:00
Barry Wardell
9a765817d7 Add support for building OSX disk image of beastpatcher.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23424 a1c6a512-1295-4272-9138-f99709370657
2009-10-30 21:07:06 +00:00
Barry Wardell
304fcbe633 Get beastpatcher working on OSX.
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-30 13:31:04 +00:00
Dominik Riebeling
1992c389ae Update bootloader download location and add a note about building with VS2005.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23381 a1c6a512-1295-4272-9138-f99709370657
2009-10-28 20:51:41 +00:00
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
Rafaël Carré
03f88d53ee Replace amsinfo by another version which:
- supports Clipv2/Fuzev2 firmwares
- dumps firmware and library blocks in current directory
- adds assertions and boundaries checks about the firmware format
- has nice colors !

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23366 a1c6a512-1295-4272-9138-f99709370657
2009-10-27 11:19:49 +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
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
Maurus Cuelenaere
e251df9089 Utils/Analysis/Find_Addr.pl: fix wrongly recognizing addresses as being in codec or plugin space when their addresses were invalid
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22379 a1c6a512-1295-4272-9138-f99709370657
2009-08-17 13:42:52 +00:00
Jonathan Gordon
c6b1961d9d hopefully fix the wpseditor... I cant get it to compile on a pre r22062 tree so dunno if this is enough to get it going again
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22063 a1c6a512-1295-4272-9138-f99709370657
2009-07-27 07:34:50 +00:00
Dave Chapman
f8ec7e4ad4 Add some notes describing how the bin2note exploit works
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21904 a1c6a512-1295-4272-9138-f99709370657
2009-07-16 17:40:55 +00:00
Dave Chapman
b3f3300291 Add some Makefile rules to demonstrate assembling, linking, converting to binary file and finally converting to a notes .htm file.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21845 a1c6a512-1295-4272-9138-f99709370657
2009-07-13 19:17:41 +00:00
Dave Chapman
e8c588903c Add flashsplit utility, previously hosted on the wiki at http://www.rockbox.org/wiki/IpodFlash
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21844 a1c6a512-1295-4272-9138-f99709370657
2009-07-13 18:39:11 +00:00
Dave Chapman
af624e03c0 First commit of "bin2note" utility for exploiting the Notes buffer overflow on the 2nd generation Nano.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21842 a1c6a512-1295-4272-9138-f99709370657
2009-07-13 18:31:42 +00:00
Maurus Cuelenaere
0a59e04b30 utils/analysis/find_addr.pl: fix detection of codec start address
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21726 a1c6a512-1295-4272-9138-f99709370657
2009-07-08 19:38:46 +00:00
Maurus Cuelenaere
1176553a07 utils/analysis/find_addr.pl: also add support for plugins & codecs
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21590 a1c6a512-1295-4272-9138-f99709370657
2009-07-01 12:25:24 +00:00
Maurus Cuelenaere
a85f3695ef Add (better IMO) alternative for utils/analyis/objdiff.py (taken from Linux kernel, scripts/bloat-o-meter.py)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21588 a1c6a512-1295-4272-9138-f99709370657
2009-07-01 10:41:34 +00:00
Maurus Cuelenaere
e8f75ede18 Add an utility to easily find the assembled instructions at a specific memory location in a Rockbox binary
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21548 a1c6a512-1295-4272-9138-f99709370657
2009-06-28 18:51:38 +00:00
Bertrik Sikken
79642ea634 meizu_dfu:
1) add check on existance of file to be flashed
2) enable compiler warnings in Makefile
3) fix compiler warning about htonl (etc.)


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21538 a1c6a512-1295-4272-9138-f99709370657
2009-06-28 09:52:24 +00:00
Rafaël Carré
638df10119 jz4740_tools : bin2c.c location has changed
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21356 a1c6a512-1295-4272-9138-f99709370657
2009-06-19 23:00:07 +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
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
Maurus Cuelenaere
6c74a7db80 Fix ZenUtils compilation
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21242 a1c6a512-1295-4272-9138-f99709370657
2009-06-10 15:14:32 +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
Rafaël Carré
96165abec2 FS#10253 : mkamsboot v1.0
- Bump version to 1.0
- Add Clipv2 target
- Make mkamsboot work as a library (work by domonoky : FS#10185, with a few modifications by me)
  . Use a macro with variadic arguments for error cases in functions which might error.
  . Add detailed descriptions to functions exported by the library (in the header file)
- modify bin2c.c to produce only one pair of .c/.h files with several files embedded in it
- move files needing to be built by an ARM cross compiler into dualboot/
- commit produced .c/.h files (containing nrv2e_d8.S and dualboot.S built for Clip, Fuze, e200v2, c200v2, m200v4, Clipv2)
- Write a real README file
- cosmetics: indent dualboot.S properly, remove trailing spaces, limit lines to 80 characters
- comments: add/correct comments in dualboot.S and mkamsboot.c
- move back extract_fw.c to utils/AMS/hacking

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21118 a1c6a512-1295-4272-9138-f99709370657
2009-05-28 18:27:08 +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
Robert Menes
02512be758 Add the Sansa m200 to tcctool.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20869 a1c6a512-1295-4272-9138-f99709370657
2009-05-07 20:49:03 +00:00
Maurus Cuelenaere
034547c754 Update jz4740_tools README
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20770 a1c6a512-1295-4272-9138-f99709370657
2009-04-21 15:41:21 +00:00
Andrew Mahone
88e2c8849d Add new directory under utils for code-analysis tools, and objdiff.py script to display per-symbol size deltas between object files.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20672 a1c6a512-1295-4272-9138-f99709370657
2009-04-10 02:42:50 +00:00
Maurus Cuelenaere
c5a3c8c670 Jz4740 USB tool:
* Add a slight delay, so that the pre-boot code gets time to execute
 * Remove an unneeded check


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20616 a1c6a512-1295-4272-9138-f99709370657
2009-04-04 17:53:59 +00:00
Maurus Cuelenaere
d99913289b Fix Jz4740 USB tools warnings
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20592 a1c6a512-1295-4272-9138-f99709370657
2009-03-31 17:08:33 +00:00
Maurus Cuelenaere
c7b6ad5fdf Make Jz4740 USB tools a bit more configurable by letting you choose what file you want to upload when doing usbtool 10
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20415 a1c6a512-1295-4272-9138-f99709370657
2009-03-20 22:50:08 +00:00
Bertrik Sikken
4f87abf90a Cosmetic fix: remove duplicate semicolons
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20198 a1c6a512-1295-4272-9138-f99709370657
2009-03-04 18:15:06 +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