summaryrefslogtreecommitdiff
path: root/utils/jz4740_tools (follow)
Commit message (Collapse)AuthorAge
* Fix crash on uninitialized variableThomas Jarosch2015-01-13
| | | | | | | | | | | The WRITE() macro checks if the "fw" pointer is open upon fwrite() error. Since fw was not initialized before use, it might crash for non-zero fw. cppcheck reported. [utils/jz4740_tools/HXFreplace.c:187]: (error) Uninitialized variable: fw Change-Id: I558170f9f17828c9fd515a5da36ad8b5cb30a9ad
* jz4740 usbtool: Fix undefined behavior in set_reg()Thomas Jarosch2015-01-04
| | | | | | | | | | | | | | The variable 'i' should actually be 'size'. See the read_reg() function above it. Confirmed via private email from Maurus Cuelenaere. Thanks! (who also remembered having trouble reading/setting registers over USB back then ;)) cppcheck reported: [rockbox/utils/jz4740_tools/jz4740_usbtool.c:281]: (error) Uninitialized variable: i Change-Id: I0f34834335e89d2504e7597e8db22cf69b5ca7e7
* Fix off-by-one buffer errorThomas Jarosch2011-10-14
| | | | | | | | The _GET_CPU macro will write a terminating zero at cpu[8]. Detected by cppcheck git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30749 a1c6a512-1295-4272-9138-f99709370657
* Remove superfluous executable bits on a bunch of files.Torne Wuff2011-06-08
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29986 a1c6a512-1295-4272-9138-f99709370657
* Make sure files which aren't windows-specific use \n line endings onlyRafaël Carré2010-06-17
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26893 a1c6a512-1295-4272-9138-f99709370657
* jz4740_tools : bin2c.c location has changedRafaël Carré2009-06-19
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21356 a1c6a512-1295-4272-9138-f99709370657
* Update jz4740_tools READMEMaurus Cuelenaere2009-04-21
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20770 a1c6a512-1295-4272-9138-f99709370657
* Jz4740 USB tool:Maurus Cuelenaere2009-04-04
| | | | | | | | * 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
* Fix Jz4740 USB tools warningsMaurus Cuelenaere2009-03-31
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20592 a1c6a512-1295-4272-9138-f99709370657
* Make Jz4740 USB tools a bit more configurable by letting you choose what ↵Maurus Cuelenaere2009-03-20
| | | | | | file you want to upload when doing usbtool 10 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20415 a1c6a512-1295-4272-9138-f99709370657
* Fix array sizesFrank Gevaerts2008-12-12
| | | | | | | Fix some error handling git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19406 a1c6a512-1295-4272-9138-f99709370657
* Commit DLanalyser tool, made by Jin LeMaurus Cuelenaere2008-10-27
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18896 a1c6a512-1295-4272-9138-f99709370657
* ... but still be compatible with OF..Maurus Cuelenaere2008-09-03
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18396 a1c6a512-1295-4272-9138-f99709370657
* * Clean up Jz4740 USB tool a bitMaurus Cuelenaere2008-09-03
| | | | | | | | * 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
* Fix compiling of Jz4740 usbtoolMaurus Cuelenaere2008-09-01
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18380 a1c6a512-1295-4272-9138-f99709370657
* Jz4740 USB tool:Maurus Cuelenaere2008-08-24
| | | | | | | * Add preliminary support for NAND & ROM dump git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18341 a1c6a512-1295-4272-9138-f99709370657
* Jz4740 tools:Maurus Cuelenaere2008-08-12
| | | | | | | | * Add HXF2IHFS by William Poetra Yoga Hadisoeseno * Don't do usb_set_configuration() calls on Linux in USB tool git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18256 a1c6a512-1295-4272-9138-f99709370657
* Jz4740 USB utility:Maurus Cuelenaere2008-08-12
| | | | | | | | * Fix potential segmentation faults * Add support for the VX767 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18252 a1c6a512-1295-4272-9138-f99709370657
* Better check what happened after doing search-and-replace all..Maurus Cuelenaere2008-08-07
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18207 a1c6a512-1295-4272-9138-f99709370657
* jz4740 utilities:Maurus Cuelenaere2008-08-07
| | | | | | | | | * Fix TABs problem * Add IHFSsplit made by William Poetra Yoga Hadisoeseno * Fix compilation warnings git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18206 a1c6a512-1295-4272-9138-f99709370657
* Don't erase people's NAND flash...Maurus Cuelenaere2008-07-30
| | | | | | | (aka fix usbtool) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18150 a1c6a512-1295-4272-9138-f99709370657
* Make the usbtool README more clearMaurus Cuelenaere2008-07-17
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18082 a1c6a512-1295-4272-9138-f99709370657
* Jz4740 Tools:Maurus Cuelenaere2008-07-03
| | | | | | | | | | * update Makefile * add README * update svn properties * fix small mistakes git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17926 a1c6a512-1295-4272-9138-f99709370657
* Updated our source code header to explicitly mention that we are GPL v2 orDaniel Stenberg2008-06-28
| | | | | | | | | later. We still need to hunt down snippets used that are not. 1324 modified files... http://www.rockbox.org/mail/archive/rockbox-dev-archive-2008-06/0060.shtml git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17847 a1c6a512-1295-4272-9138-f99709370657
* Fix checksum issuesMaurus Cuelenaere2008-06-28
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17842 a1c6a512-1295-4272-9138-f99709370657
* Rename jz4740 tools + add some new onesMaurus Cuelenaere2008-06-28
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17840 a1c6a512-1295-4272-9138-f99709370657