summaryrefslogtreecommitdiffstats
path: root/utils/jz4740_tools/jz4740_usbtool.c
AgeCommit message (Collapse)AuthorFilesLines
2015-01-04jz4740 usbtool: Fix undefined behavior in set_reg()Thomas Jarosch1-7/+7
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
2011-10-14Fix off-by-one buffer errorThomas Jarosch1-2/+2
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
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 Cuelenaere1-92/+86
file you want to upload when doing usbtool 10 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20415 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
2008-09-03... but still be compatible with OF..Maurus Cuelenaere1-1/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18396 a1c6a512-1295-4272-9138-f99709370657
2008-09-03 * Clean up Jz4740 USB tool a bitMaurus Cuelenaere1-24/+55
* 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-01Fix compiling of Jz4740 usbtoolMaurus Cuelenaere1-2/+2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18380 a1c6a512-1295-4272-9138-f99709370657
2008-08-24Jz4740 USB tool:Maurus Cuelenaere1-0/+120
* Add preliminary support for NAND & ROM dump git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18341 a1c6a512-1295-4272-9138-f99709370657
2008-08-12Jz4740 tools:Maurus Cuelenaere1-0/+3
* 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
2008-08-12Jz4740 USB utility:Maurus Cuelenaere1-23/+43
* Fix potential segmentation faults * Add support for the VX767 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18252 a1c6a512-1295-4272-9138-f99709370657
2008-08-07jz4740 utilities:Maurus Cuelenaere1-6/+6
* 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
2008-07-30Don't erase people's NAND flash...Maurus Cuelenaere1-3/+3
(aka fix usbtool) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18150 a1c6a512-1295-4272-9138-f99709370657
2008-07-03Jz4740 Tools:Maurus Cuelenaere1-1/+1
* 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
2008-06-28Updated our source code header to explicitly mention that we are GPL v2 orDaniel Stenberg1-2/+4
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
2008-06-28Rename jz4740 tools + add some new onesMaurus Cuelenaere1-0/+732
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17840 a1c6a512-1295-4272-9138-f99709370657