Commit graph

113 commits

Author SHA1 Message Date
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
Dave Chapman
2c096e463d It turns out that in-place UCL decompression isn't as easy as we thought, so we copy the OF to an unused part of RAM before decompressing it. This works - I have successfully patched m300a-1.1.17A.bin and installed on my Clip with this code. Thanks to Rafael Carre (funman) for the actual patch.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18679 a1c6a512-1295-4272-9138-f99709370657
2008-10-01 23:19:14 +00:00
Dave Chapman
caeaf76930 Correct the content of an error message (thanks to Jens for spotting) and fix a warning
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18678 a1c6a512-1295-4272-9138-f99709370657
2008-10-01 19:54:12 +00:00
Dave Chapman
fc7221649d We need to strip the header (26 bytes) from the UCL file - based on the information in tools/ucl2src.pl. Also add some sanity checking of the UCL file.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18677 a1c6a512-1295-4272-9138-f99709370657
2008-10-01 18:28:55 +00:00
Dave Chapman
5891a38486 Bug fix #1 for mkamsboot - pass the correct parameters to the ucl unpack function.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18676 a1c6a512-1295-4272-9138-f99709370657
2008-10-01 10:25:31 +00:00
Dave Chapman
757f5112e2 Untested (i.e. will almost certainly brick your device if you attempt to use it) first attempt at making mkamsboot store the original firmware as a UCL compressed image. If it works, then this means we have about 40KB (depending on target and OF version) for our bootloader code. I repeat: This is UNTESTED and needs reviewing fully before attempting to install on a device.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18675 a1c6a512-1295-4272-9138-f99709370657
2008-10-01 09:15:44 +00:00
Dave Chapman
fe72d57996 Original, unmodified version of the ARM thumb implementation of the UCL ucl_nrv2e_decompress_8 function from upx-3.03 - licensed under the GPL (v2 or later). This will be used to decompress the original firmware image in the next version of mkamsboot.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18674 a1c6a512-1295-4272-9138-f99709370657
2008-10-01 08:13:10 +00:00
Dave Chapman
0326055f91 We don't know how to increase the firmware size, so abort instead of creating a bricking firmware. Suggested by Rafaël Carré (funman).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18663 a1c6a512-1295-4272-9138-f99709370657
2008-09-29 09:27:35 +00:00
Robert Menes
063d37b08f Oops, big oops: revert the PID values back to their proper values. Oversight on my part. :)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18656 a1c6a512-1295-4272-9138-f99709370657
2008-09-27 16:51:46 +00:00
Robert Menes
f83fc36d88 Gave meizu_dfu's source the official Rockbox header. No functional changes.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18655 a1c6a512-1295-4272-9138-f99709370657
2008-09-27 16:37:16 +00:00
Marcoen Hirschberg
403427911c revert accidental commit
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18545 a1c6a512-1295-4272-9138-f99709370657
2008-09-17 23:24:23 +00:00
Marcoen Hirschberg
48e45f5751 add Meizu M6SP and M3 ports
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18544 a1c6a512-1295-4272-9138-f99709370657
2008-09-17 23:22:11 +00:00
Maurus Cuelenaere
e3f1a3f33e ZenUtils:
* Add support for ZEN Mozaic
 * Add checking for valid FRESC when decrypting


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18511 a1c6a512-1295-4272-9138-f99709370657
2008-09-14 11:20:29 +00:00
Frank Gevaerts
c487c01d46 fix meizu_dfu endianness issues
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18508 a1c6a512-1295-4272-9138-f99709370657
2008-09-13 16:23:01 +00:00
Dominik Wenger
f414c6e19f WpsEditor: add linenumbrs WpsEditor: Add linenumbers to the WPS Code, and highlight the error line, if parsing fails. (FS#9362)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18483 a1c6a512-1295-4272-9138-f99709370657
2008-09-10 19:41:18 +00:00
Dominik Wenger
c104c24887 Wpseditor: fix compiling. I forgot a new file.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18481 a1c6a512-1295-4272-9138-f99709370657
2008-09-10 19:14:14 +00:00
Dominik Wenger
c1aabc87a5 WpsEditor: Add rockbox/gpl copyright headers to all source files.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18464 a1c6a512-1295-4272-9138-f99709370657
2008-09-08 21:00:29 +00:00
Maurus Cuelenaere
11eff09e70 * Clean up screenshot a bit and make it more self-descriptive
* Make mkzenboot truly standalone


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18443 a1c6a512-1295-4272-9138-f99709370657
2008-09-07 21:45:52 +00:00
Dominik Wenger
66b211addd WpsEditor: add support for greyscale targets.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18424 a1c6a512-1295-4272-9138-f99709370657
2008-09-05 18:57:47 +00:00
Frank Gevaerts
6ea90671d8 remove -Wno-pointer-sign. This will make warnings reappear, but the warnings should really be fixed at the source
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18418 a1c6a512-1295-4272-9138-f99709370657
2008-09-04 21:05:16 +00:00
Frank Gevaerts
333f7e98fb silence warnings
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18414 a1c6a512-1295-4272-9138-f99709370657
2008-09-04 19:06:51 +00:00