summaryrefslogtreecommitdiffstats
path: root/utils
AgeCommit message (Collapse)AuthorFilesLines
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-10-27Replace amsinfo by another version which:Rafaël Carré2-128/+473
- 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-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-08-17Utils/Analysis/Find_Addr.pl: fix wrongly recognizing addresses as being in ↵Maurus Cuelenaere1-3/+4
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-07-27hopefully fix the wpseditor... I cant get it to compile on a pre r22062 tree ↵Jonathan Gordon1-3/+5
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-16Add some notes describing how the bin2note exploit worksDave Chapman1-0/+24
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21904 a1c6a512-1295-4272-9138-f99709370657
2009-07-13Add some Makefile rules to demonstrate assembling, linking, converting to ↵Dave Chapman2-1/+18
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-13Add flashsplit utility, previously hosted on the wiki at ↵Dave Chapman3-0/+254
http://www.rockbox.org/wiki/IpodFlash git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21844 a1c6a512-1295-4272-9138-f99709370657
2009-07-13First commit of "bin2note" utility for exploiting the Notes buffer overflow ↵Dave Chapman3-0/+208
on the 2nd generation Nano. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21842 a1c6a512-1295-4272-9138-f99709370657
2009-07-08utils/analysis/find_addr.pl: fix detection of codec start addressMaurus Cuelenaere1-1/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21726 a1c6a512-1295-4272-9138-f99709370657
2009-07-01utils/analysis/find_addr.pl: also add support for plugins & codecsMaurus Cuelenaere1-5/+100
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21590 a1c6a512-1295-4272-9138-f99709370657
2009-07-01Add (better IMO) alternative for utils/analyis/objdiff.py (taken from Linux ↵Maurus Cuelenaere1-0/+80
kernel, scripts/bloat-o-meter.py) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21588 a1c6a512-1295-4272-9138-f99709370657
2009-06-28Add an utility to easily find the assembled instructions at a specific ↵Maurus Cuelenaere1-0/+176
memory location in a Rockbox binary git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21548 a1c6a512-1295-4272-9138-f99709370657
2009-06-28meizu_dfu:Bertrik Sikken2-2/+7
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-19jz4740_tools : bin2c.c location has changedRafaël Carré1-4/+4
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21356 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-10Fix ZenUtils compilationMaurus Cuelenaere11-3185/+756
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21242 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-28FS#10253 : mkamsboot v1.0mkamsboot_1.0Rafaël Carré1-0/+132
- 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-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-05-07Add the Sansa m200 to tcctool.Robert Menes1-0/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20869 a1c6a512-1295-4272-9138-f99709370657
2009-04-21Update jz4740_tools READMEMaurus Cuelenaere1-1/+2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20770 a1c6a512-1295-4272-9138-f99709370657
2009-04-10Add new directory under utils for code-analysis tools, and objdiff.py script ↵Andrew Mahone1-0/+54
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-04Jz4740 USB tool:Maurus Cuelenaere1-6/+4
* 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-03-31Fix Jz4740 USB tools warningsMaurus Cuelenaere1-2/+2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20592 a1c6a512-1295-4272-9138-f99709370657
2009-03-20Make Jz4740 USB tools a bit more configurable by letting you choose what ↵Maurus Cuelenaere3-110/+117
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-04Cosmetic fix: remove duplicate semicolonsBertrik Sikken1-1/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20198 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-31FS#9638 - temp_cue is unused and wasting memory.Bertrik Sikken2-2/+0
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19890 a1c6a512-1295-4272-9138-f99709370657
2009-01-23ZenUtils: fix offset detectionMaurus Cuelenaere1-4/+5
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19825 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-12-12Fix array sizesFrank Gevaerts1-2/+6
Fix some error handling git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19406 a1c6a512-1295-4272-9138-f99709370657