Commit graph

93 commits

Author SHA1 Message Date
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
Maurus Cuelenaere
16c9b16ec2 WPS editor:
* Fix some typo's in TODO & README
 * Fix libwps Makefile in Windows


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18408 a1c6a512-1295-4272-9138-f99709370657
2008-09-04 15:19:59 +00:00
Maurus Cuelenaere
561df3827e WPS editor:
* Simplify Makefile
 * Get rid of buildall.*
 * Change library loading behaviour to work with MODEL_NAME
Screenshot:
 * Simplify Makefile
config-*.h:
 * Add MODEL_NAME


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18407 a1c6a512-1295-4272-9138-f99709370657
2008-09-04 14:49:53 +00:00
Maurus Cuelenaere
16b8817f9f WPS editor:
* Order is important in highlighting rules!


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18403 a1c6a512-1295-4272-9138-f99709370657
2008-09-03 20:59:55 +00:00
Maurus Cuelenaere
c1c1383e23 * WPS editor: set eol-style
* Add CLI-only screenshot utility (using libwps)


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18402 a1c6a512-1295-4272-9138-f99709370657
2008-09-03 20:51:13 +00:00
Dominik Wenger
254fa65c7b WpsEditor: commit FS#9344 by Rostislav Chekan - multitarget support (only colour targets for now)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18399 a1c6a512-1295-4272-9138-f99709370657
2008-09-03 19:24:50 +00:00
Maurus Cuelenaere
f3d5700df7 ... but still be compatible with OF..
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18396 a1c6a512-1295-4272-9138-f99709370657
2008-09-03 12:47:45 +00:00
Maurus Cuelenaere
aefbd6301a * Clean up Jz4740 USB tool a bit
* Make IHFSsplit compile under Windows
 * Change SDRAM base address + remove hack for Onda VX747


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18395 a1c6a512-1295-4272-9138-f99709370657
2008-09-03 12:42:14 +00:00
Maurus Cuelenaere
c9e31fba4d Fix compiling of Jz4740 usbtool
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18380 a1c6a512-1295-4272-9138-f99709370657
2008-09-01 19:56:12 +00:00
Frank Gevaerts
903156d5d9 cleanups by William Poetra Yoga Hadisoeseno
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18377 a1c6a512-1295-4272-9138-f99709370657
2008-09-01 08:56:54 +00:00
Frank Gevaerts
3409e9d195 code cleanup
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18375 a1c6a512-1295-4272-9138-f99709370657
2008-08-31 21:36:04 +00:00
Frank Gevaerts
6e24db0c82 fix meizu_dfu's buggy usb device id matching
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18373 a1c6a512-1295-4272-9138-f99709370657
2008-08-31 20:50:07 +00:00
Frank Gevaerts
5d22e3cbdd Add wpseditor, the Google Summer of Code 2008 project of Rostislav Chekan. Closes FS#9327
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18362 a1c6a512-1295-4272-9138-f99709370657
2008-08-29 21:08:38 +00:00
Frank Gevaerts
e645cede2b add Meizu M3, M6 TP, M6 SP and M6 SL dfu firmware recovery tool
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18360 a1c6a512-1295-4272-9138-f99709370657
2008-08-29 18:53:52 +00:00
Maurus Cuelenaere
79177edfb2 MTP:
* Add Win32 progress callback reporting support


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18355 a1c6a512-1295-4272-9138-f99709370657
2008-08-27 23:07:08 +00:00
Maurus Cuelenaere
bea2ab2398 ZenUtils:
* add FRESC encryption
 * clean up code a bit


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18345 a1c6a512-1295-4272-9138-f99709370657
2008-08-26 13:21:52 +00:00
Maurus Cuelenaere
606c798b9b Jz4740 USB tool:
* Add preliminary support for NAND & ROM dump


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18341 a1c6a512-1295-4272-9138-f99709370657
2008-08-24 21:18:22 +00:00
Maurus Cuelenaere
ced10d4db1 ZenUtils:
* Apply FS#9311 by Jelle Geerts: fix compiling on MingW
  * Make zen::find_firmware_offset() detect the offset better


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18340 a1c6a512-1295-4272-9138-f99709370657
2008-08-24 21:15:29 +00:00
Maurus Cuelenaere
ba284447d5 Fix little mistake; thanks to Dave Hooper
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18272 a1c6a512-1295-4272-9138-f99709370657
2008-08-13 21:00:29 +00:00
Maurus Cuelenaere
b2c19a5a26 Search-and-replace was a bit too excessive..
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18265 a1c6a512-1295-4272-9138-f99709370657
2008-08-12 23:53:08 +00:00
Maurus Cuelenaere
bc628fe5ce Zenutils:
* Make update_extract work again
 * Add other players to zen_crypt
 * Change stricmp() calls to strcasecmp() in zen_crypt


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18264 a1c6a512-1295-4272-9138-f99709370657
2008-08-12 23:51:04 +00:00