summaryrefslogtreecommitdiff
path: root/utils/imxtools/sbtools/sbloader.c (unfollow)
Commit message (Collapse)Author
2014-09-07sbtools: use default transfer size if it cannot be probedAmaury Pouly
A older commit removed this ability but it tends to be a problem since the HID driver can prevent probing of transfer size which then needs to be entered by hand on the command line. Change-Id: Ie5a556ffdcc2adec0e1c984810983e19136b6473
2013-10-09imxtools/sbloader: rewrite hid codeAmaury Pouly
Rewrite code with proper documentation: it uses a UMS like CBW/CSW to wrap commands and status. Change-Id: I10476c87aaea96d4b9e54f8c1c266835c8e89721
2013-10-09imxtools/sbtools: always probe report size for HID recovery modeAmaury Pouly
Some older versions of the ROM (TA3 for example), use a 64 byte report size instead of 1024, so hardcoding 1024 is just a bad idea. Change-Id: I720c4465cfe2f519bffa307175614bba58766dce
2013-07-18sbtools: refactor and cleanupAmaury Pouly
Factor common elf/sb read/write/printf routines. Factor sb zero key, move sb version guess. Change-Id: I5ae1885587456736e782e623610281bbee545039
2013-06-18sbtools: fix sbloader (allow transfer size override)Amaury Pouly
Change-Id: Id6d3188b7f837726c29845f01b0b1588acf40407
2013-06-15sbtools,mkximboot: fix whitespaceAmaury Pouly
Change-Id: I8d8adb783707172d1aaef302366c240310350ed8
2013-06-13imxtools: rewrite sbloader to handle both versions + user friendlyAmaury Pouly
The tool can now load sb1 and sb files to devices. Detection has been improved and the tool can infer the packet size for the HID description as well. The command line interface has been vastly improved too, this breaks the old one. Change-Id: I01a0ff8f8a007514aa81c56f114c0f0a86e3303c
2012-12-13imxtools/sbloader: implement stmp36xx recovery supportAmaury Pouly
Change-Id: I6cfb432cd474ca00d7dff77577c0aa499b78fe2d
2012-12-13sbtools/sbload: prepare support for the stmp36xxAmaury Pouly
Change-Id: I13147009f2573d80c2c3dca2852a6d7b45174e9d
2012-05-31imxtools: move tools to a new sbtools/ subdirectoryAmaury Pouly
Change-Id: I0d8d6831b35037725486f61fc363de87bc8ba92e
2012-01-27sbloader: always send packets of size xfer_size (even the first). Also ↵Amaury Pouly
maintain a table of known transfer sizes. In particular stmp3770 uses 48 instead of 1024. Change-Id: I08dddc76c251aeeaaa3b46c9466f9be54c3d4a45
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-01Add missing copyright headerAmaury Pouly
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30883 a1c6a512-1295-4272-9138-f99709370657
2011-09-20Add support for i.MX28 to imx_hid_recovery, thanks to Wolfram Sang.Amaury Pouly
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30576 a1c6a512-1295-4272-9138-f99709370657
2011-05-01Add imx_hid_recovery_tool to send a sb file to a imx chip using the HID ↵Amaury Pouly
recovery mode git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29807 a1c6a512-1295-4272-9138-f99709370657