summaryrefslogtreecommitdiff
path: root/utils/imxtools/misc.c (unfollow)
Commit message (Collapse)Author
2012-05-31imxtools: move tools to a new sbtools/ subdirectoryAmaury Pouly
Change-Id: I0d8d6831b35037725486f61fc363de87bc8ba92e
2012-05-20CosmeticsAmaury Pouly
Change-Id: I6ad5b6c2e4f8f57db2068fe372ab4ecadf4d03a9
2012-02-19imxtools: remove most calls to bug/bugp from core library.Amaury Pouly
It should not exit() anymore on error except on malloc failure. Resource leaks on errors (especially I/O) are quite likely though. Change-Id: I6fcf72fb08fc683468b390d0b8745d31ca982b48
2012-02-08imxtools: use rand() instead of /dev/random.Dominik Riebeling
On Windows /dev/random does not exist, so trying to open it will fail. Replace it with rand() which is available on all supported platforms and sufficient. Fixes mkimxboot not working, as well as Rockbox Utility "crashing" (which is in fact its error handler calling exit(), thus terminating Rockbox Utility) on Windows. Change-Id: Ia164f937f329877e8f80f473f27be8c5df2a0a68
2011-11-06imxtools: add const and set pointer to NULL on free to avoid double freeAmaury Pouly
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30918 a1c6a512-1295-4272-9138-f99709370657
2011-11-06sbtools: rename to imxtools, move imx_hid_recovery to imxtools/sbloader, fix ↵Amaury Pouly
tools to correctly handle/free memory, properly return error codes git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30907 a1c6a512-1295-4272-9138-f99709370657
2011-11-01sbtools: rework the color hack and add switch to disable color outputAmaury Pouly
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30880 a1c6a512-1295-4272-9138-f99709370657
2011-10-29sbtools: move sb file production to its own file with a clean api, factor ↵Amaury Pouly
key reading even more git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30851 a1c6a512-1295-4272-9138-f99709370657
2011-10-29sbtools: factor key code, introduce crypto layer, move from open/read/... to ↵Amaury Pouly
fopen/fread/..., add support for encryption/decryption using a device when the key is not known, move sbtoelf to use getopt for command line git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30849 a1c6a512-1295-4272-9138-f99709370657