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
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
Bertrik Sikken
91948d12aa
FS#9638 - temp_cue is unused and wasting memory.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19890 a1c6a512-1295-4272-9138-f99709370657
2009-01-31 19:41:29 +00:00
Maurus Cuelenaere
42f2dd8961
ZenUtils: fix offset detection
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19825 a1c6a512-1295-4272-9138-f99709370657
2009-01-23 17:44:34 +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
Frank Gevaerts
f6ac3ec7ed
Fix array sizes
...
Fix some error handling
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19406 a1c6a512-1295-4272-9138-f99709370657
2008-12-12 20:13:50 +00:00
Maurus Cuelenaere
0a61b71f73
Fix segmentation fault when no key was found.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19164 a1c6a512-1295-4272-9138-f99709370657
2008-11-21 12:37:00 +00:00
Maurus Cuelenaere
3b45b8cbf1
Commit DLanalyser tool, made by Jin Le
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18896 a1c6a512-1295-4272-9138-f99709370657
2008-10-27 18:45:01 +00:00
Vitja Makarov
7a6aeb8713
Don't exit with code 0 on do_patching() fail
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18795 a1c6a512-1295-4272-9138-f99709370657
2008-10-13 11:31:35 +00:00
Dave Chapman
3d30029883
Fix a nasty bug spotted by Rob Purchase - the uploaded file was being truncated to a multiple of 64 bytes (PACKET_SIZE).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18787 a1c6a512-1295-4272-9138-f99709370657
2008-10-12 18:10:39 +00:00
Maurus Cuelenaere
f5fcc76bbc
Fix menu (update to newer one)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18755 a1c6a512-1295-4272-9138-f99709370657
2008-10-09 12:28:09 +00:00
Maurus Cuelenaere
c626f47cb5
Add Rockbox layout to plugin API documentation
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18754 a1c6a512-1295-4272-9138-f99709370657
2008-10-09 12:24:57 +00:00
Maurus Cuelenaere
e7ea23b180
Improve plugin API documentation updater a bit
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18753 a1c6a512-1295-4272-9138-f99709370657
2008-10-09 11:48:26 +00:00
Maurus Cuelenaere
ae569c6f82
Functionize some stuff
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18751 a1c6a512-1295-4272-9138-f99709370657
2008-10-09 09:57:21 +00:00
Maurus Cuelenaere
8c0b661d07
Fix some issues with generation of plugin API documentation + make it more themeable
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18750 a1c6a512-1295-4272-9138-f99709370657
2008-10-09 09:49:53 +00:00
Maurus Cuelenaere
20fb47ec77
Commit FS#9462: an semi-automatic plugin API documentation generator
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18722 a1c6a512-1295-4272-9138-f99709370657
2008-10-06 22:19:54 +00:00
Dave Chapman
5b3627f7fb
Add iriver X20 support to tcctool - information contributed by Octavian Voicu.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18710 a1c6a512-1295-4272-9138-f99709370657
2008-10-05 00:36:12 +00:00
Dave Chapman
c6be818212
Move mkamsboot into the rbutil/mkamsboot/ directory - no other changes, so this should still work the same as before.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18706 a1c6a512-1295-4272-9138-f99709370657
2008-10-04 08:46:03 +00:00
Dave Chapman
c2933cd46e
Remove the dependency on sufficient free space in the padding at the end of the firmware block by storing the ucl unpack function in the main firmware block, immediately before the compressed firmware image. Also simplify the memcpy function in test.S. This has been tested successfully on a Clip.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18682 a1c6a512-1295-4272-9138-f99709370657
2008-10-02 12:37:47 +00:00