Commit Graph

229 Commits

Author SHA1 Message Date
Benjamin Dobell ee53613ec1 Continue to support autotools... for now 2014-11-17 16:05:34 +11:00
Benjamin Dobell 1ddfdc1a88 CMake files for Heimdall CLI and mingw support 2014-11-17 07:02:39 +11:00
Benjamin Dobell d613a87cdb More empty transfer craziness, this time when receving packets
It seems newer devices need more weird empty transfers in order to
function.
2014-07-06 03:50:48 +10:00
Benjamin Dobell fbebc394f4 Autogen'd files for Heimdall 1.4.1 2014-06-01 14:49:56 +10:00
Benjamin Dobell 082fb091f1 Fixed support for large files (up to 2^32 - 1 bytes)
The Loke protocol supports 32-bit unsigned for the size of files being
flashed. However, POSIX file commands only support 32-bit (signed). As
such we now have platform specific support for larger files.
2014-06-01 14:09:56 +10:00
Benjamin Dobell 46d9a51e18 Fixed file transfer sequence bug 2014-06-01 13:12:07 +10:00
Benjamin Dobell 7d6ddcd5d5 Give devices some leeway to handle empty bulk transfers. 2014-05-31 12:09:33 +10:00
Benjamin Dobell 7e29d7ef9a Fixed line endings in install-kext.sh 2014-05-21 03:31:25 +10:00
Benjamin Dobell cadb167e0c Signed the OS X codeless kext. 2014-05-21 03:26:43 +10:00
Benjamin Dobell 900161750e Fixed regression that broke support for GT-I9100 etc. 2014-05-18 05:45:39 +10:00
Benjamin Dobell d1a7f8d693 Tweaked VC++ linker options for Frontend (to ensure quicker builds). 2014-05-18 05:03:57 +10:00
Benjamin Dobell fd23c07ef5 Removed unused optional parameters in BridgeManager. 2014-05-18 04:18:36 +10:00
Benjamin Dobell fc0d542bc2 Fixed Frontend bug that could cause flashing to fail.
The resume boolean did not have a default value set. Consequently if the
memory address containing the boolean was already non-null it resulted in
the heimdall CLI binary being called with the --resume flag even though
the Resume check-box in the UI was not checked.
2014-05-18 03:05:46 +10:00
Benjamin Dobell bd9b2bdee6 Removed VC++ info from Windows README as builds are now statically linked. 2014-05-17 04:43:34 +10:00
Benjamin Dobell b62d66b297 Windows does not provide (or require) va_copy. 2014-05-17 04:36:51 +10:00
Benjamin Dobell ac8fd8500f Updated .gitignore to exclude ./configure and Make output. 2014-05-15 01:00:24 +10:00
Benjamin Dobell ba8600a6c3 Fixed Heimdall Frontend Mac builds. 2014-05-15 00:59:47 +10:00
Benjamin Dobell abea6dbbe0 Added missing new lines to CLI help output. 2014-05-15 00:59:13 +10:00
Benjamin Dobell e6fdafd482 Fixed help output alignment. 2014-05-11 19:26:26 +10:00
Benjamin Dobell 150e3344de Fixed header guard typo. 2014-05-11 19:18:59 +10:00
Benjamin Dobell e28d6c0768 Fixed hard-coded libdir regression. 2014-05-10 11:50:34 +10:00
Benjamin Dobell b518fdc9f6 Merge pull request #199 from m-willers/fix_stdargs 2014-05-10 01:27:19 +10:00
Martin Willers d5cd49b73c fix --stdout-errors handling
When using --stdout-errors, the messages written to stdout contained garbage.

Inside vfprintf(), each va_arg() consumes one entry from the va_args.
Trying to use the same va_args variable again results in undefined behavior
as subsequent va_arg() invocations continue to read from memory past the
actual variable space.

Instead, a copy has to be made with va_copy() and this be used for
outputting to stdout.
2014-05-10 01:22:22 +10:00
Benjamin Dobell ce486f7ecb Removed a few unused variables. 2014-05-07 06:48:00 +10:00
Benjamin Dobell 9b56396ba1 It would seem that messing around with line coding etc. is not necessary. 2014-05-07 00:23:19 +10:00
Benjamin Dobell 9f957a1937 Updated copyright notices to 2014 2014-05-06 22:53:10 +10:00
Benjamin Dobell 32383b994d Merge pull request #168 from r-craig/master
Fix error condition check on finding correct usb interface.
2014-05-06 22:40:04 +10:00
Benjamin Dobell 7d0d608473 Fixed statically linked builds on Windows. 2014-05-06 21:39:08 +10:00
Benjamin Dobell ca6db9a647 Upgraded to libusb-1.0 (1.0.18) post libusbx merge. 2014-05-06 21:39:07 +10:00
Benjamin Dobell a5452e884a Cleaned up command line interface
- Removed the "--delay <ms>" argument.
- Improved Action usage info.
2014-05-06 21:39:07 +10:00
Benjamin Dobell 0767cff624 autogen'd for 1.4.1 2014-05-06 21:39:06 +10:00
Benjamin Dobell 3dae56a596 Bumped version number to 1.4.1 2014-05-06 21:39:06 +10:00
Benjamin Dobell 1e345bcd7c Fix support for SGS4 (with empty bulk transfers)
After each bulk transfer sent containing an Odin/Loke protocol packet, we now
send through a zero length bulk transfer. This is required for newer devices to
function correctly.
2014-05-06 21:39:05 +10:00
Benjamin Dobell a934ad2608 Project file changes (for statically linked vc++ library builds). 2014-05-06 21:39:04 +10:00
Benjamin Dobell 3af0c3ad63 Minor code clean up. 2014-05-06 21:39:04 +10:00
Benjamin Dobell 4435da4a8a Merge pull request #180 from marclaporte/master
fix typos
2014-05-05 02:57:14 +10:00
Benjamin Dobell f7d8c18636 Merge pull request #179 from marclaporte/patch-1
Fix typos
2014-05-05 02:56:16 +10:00
Marc Laporte 0624b2fb3b Fix typo 2014-01-13 17:56:49 -05:00
Marc Laporte 3277922cb6 Fix typo 2014-01-13 17:55:49 -05:00
Marc Laporte cdd53cdb9b Fix typos 2014-01-13 17:48:25 -05:00
Robert Craig 5cd4141c98 Fix error condition check on finding correct usb interface. 2013-11-06 10:00:33 -05:00
Benjamin Dobell f95619028f Merge pull request #131 from jorti/master
Fix udev rules directory
2013-06-26 20:41:24 -07:00
Juan Orti Alcaine e9311908a0 Fix udev rules directory
The udev rules always must be installed in /lib/udev/rules.d even when it is
a 64 bits OS
2013-06-12 09:35:26 +02:00
Benjamin Dobell 910ae1d1fe After swapping to clang for OS X, I've now swapped to GNU GCC 4.7+, instead of Apple's out-dated version. 2013-06-08 18:04:12 +10:00
Benjamin Dobell f47b69d037 Modified Heimdall Frontend so it can find Heimdall CLI in /usr/local/bin on OS X. Also updated the OS X build files, as well as READMEs for all platforms. 2013-06-08 15:07:01 +10:00
Benjamin Dobell b8a92f1c71 Fixed configure/libtool issue on OS X by placing AC_PROG_LIBTOOL after AC_PROG_CXX. 2013-06-06 22:09:36 +10:00
Benjamin Dobell 3d6a35972b Renamed udev rules file and explictly added /usr/include to the include search path for Heimdall Frontend on UNIX systems. 2013-06-04 23:00:55 +10:00
Benjamin Dobell 858a3470e9 Moved LICENSE to root of the repo and deleted heimdall-frontend duplicate documentation in doc-pak. 2013-05-14 00:09:19 +10:00
Benjamin Dobell 9fa0a13022 Minor build file clean-up for linux and regenerated autotools output for 1.4.0 release. 2013-05-13 23:38:33 +10:00
Benjamin Dobell 797fbeea69 Updated zadig (Windows driver installer) to a newer version. 2013-05-13 00:28:24 +10:00