summaryrefslogtreecommitdiffstats
path: root/fastbootd
Commit message (Collapse)AuthorAgeFilesLines
* Fix missing #includes in system/core.Elliott Hughes2014-12-295-0/+5
| | | | Change-Id: I4736e8c4f7bb8bb03640d26d58243efaa67dc75c
* Cleanup fastbootd Android.mkTrevor Drake2014-12-121-8/+0
| | | | | | | | Removed unnecessary LOCAL_C_INCLUDES for non existent include directory and also for dependencies that now use LOCAL_EXPORT_C_INCLUDE_DIRS ( libcrypto_static, libmdnssd libz ) Change-Id: I8d1ff6a0a8528c33c38a394497125385dc643e2b
* Fix clang compiler warning.Chih-Hung Hsieh2014-12-111-1/+1
| | | | | | | commands.c:176:9: error: comparison of array 'path' equal to a null pointer is always false [-Werror,-Wtautological-pointer-compare] Change-Id: If6253e948ce219c76e9303e5ae39024094294182
* fastbootd: Use FASTBOOT constants instead of ADB constantsBadhri Jagan Sridharan2014-12-091-7/+7
| | | | | | (cherry-pick of ae17fb8f24c2d4dbb000c8943e2caa428fbf4c9b.) Change-Id: I4a67e7144b5c4a10e809821feb7f8c16540831cb
* adbd & fastbootd: Support for new f_fs descriptor formatBadhri Jagan Sridharan2014-12-091-66/+101
| | | | | | | | | | | | | | | | | | | | | The patch "[RFC] usb: gadget: f_fs: Add flags to descriptors block" marks the current usb_functionfs_descs_head format deprecated and introduces support for sending SuperSpeed descriptors. This CL makes adbd to send Descriptors in the new format. Adbd would fall back to the old format, if kernel is not able to recognize the new format. This is done to prevent adbd from breaking in the older versions of the kernel. (cherry-pick of fad60336daa5a7adf82d8140cbddd1c735770e71.) Bug: 17394972 Change-Id: I05095ccdcc74bf6953cbef847d7583eab137e12e Signed-off-by: Badhri Jagan Sridharan <Badhri@google.com>
* Add a missing include.Dan Albert2014-11-211-0/+3
| | | | | | Needed following the pthread.h/signal.h cleanup. Change-Id: I9a43732eefdf49ecf769659dee1170626cf8fff9
* Fix a trivial typo.Chih-Hung Hsieh2014-11-131-1/+1
| | | | | | | Clang compiler gave a correct warning on this mismatch of names in #ifndef and #define. Change-Id: I360f0c40ee98162093dde8f9815a02a54e5b2cb7
* Fix warning for uninitialized variable.Dan Albert2014-09-221-1/+2
| | | | Change-Id: I78e6a20562419dcc2fb3f579089b32aeb5538f8b
* Fix some clang compilation issues.Dan Albert2014-09-111-1/+1
| | | | | | | | | | | | Use expected inline behavior with clang. GCC defaults to -std=gnu90, giving C89 inline semantics with GNU extensions. Clang defaults to C99. Explicitly use gnu90. Mark an unused parameter as __unused. Fix some incorrect casts. Change-Id: I05b95585d5e3688eda71769b63b6b8a9237bcaf4
* Add -Wno-deprecated-declarations to makefiles.Christopher Ferris2014-09-041-1/+1
| | | | | | | | This is in preparation for an update to the uapi v3.16.1 kernel headers that marks the structure usb_functionfs_descs_head as deprecated. Change-Id: I25d2f32ce8e95e038e6df201ce2f8126f5a8b6fa
* Judge mmap failed by MAP_FAILED instead of NULLHurri Lu2014-05-221-1/+1
| | | | | Change-Id: I74422cfdba341fcd1a6235044700cf3986e853d0 Signed-off-by: Hurri Lu <jlu32@marvell.com>
* fastbootd: build static binary instead of dynamicAlex Ray2014-03-195-139/+50
| | | | | | | This removes the requirement to hunt down dynamic libs for building an image, and switches the normal vendor_trigger HAL to a static HAL. Change-Id: Ifb603f1ee91fbbbff04ddbe66a1bf38a3c22be9e
* system/core LP64 cleanup.Elliott Hughes2014-02-054-10/+10
| | | | | | | Fixes -Wint-to-pointer and -Wpointer-to-int warnings, plus various -Wformat warnings. Change-Id: I6c5eea6b4273d82d28b8e5d2925f3e5457511b17
* system/core 64-bit cleanup.Elliott Hughes2014-01-166-10/+12
| | | | | | | | | This cleans up most of the size-related problems in system/core. There are still a few changes needed for a clean 64-bit build, but they look like they might require changes to things like the fastboot protocol. Change-Id: I1560425a289fa158e13e2e3173cc3e71976f92c0
* Fix fastbootd build for 64-bit.Elliott Hughes2014-01-143-14/+16
| | | | Change-Id: I04bef46f0125fd6a8fc0cb966bd257ad594aff1e
* Fix fastbootd's <linux/kexec.h> reference.Elliott Hughes2013-12-041-3/+1
| | | | Change-Id: I28ce0288a6377153a96d3a98d6913d1271e3112f
* Fastbootd: Comments and general cleaningSzymon Starzycki2013-12-042-9/+7
| | | | | | Alignment fix for fastbootd gpt_mmap Change-Id: I86482e1645672daae1c8e4a4455c6291c0805fb0
* Fastbootd: General fixes and changesSzymon Starzycki2013-12-047-31/+32
| | | | | | | | | read data once bug fix ability to run fastbootd without network and named socket configuration in init.rc vendortrigger name changed to fastbootd deleted unused function from default implementation of OEM library Change-Id: Ib957fae8172530f20d51bb51b5e07bccab07e555
* Revert "Revert "Fastbootd: flashing certification""Szymon Starzycki2013-12-048-8/+485
| | | | | | | | | | | | | | CMS functionality is now available This reverts commit 068b71dd9cd6cb03dfcdc0c9deced361780bc0d3. Conflicts: fastbootd/Android.mk fastbootd/fastbootd.c fastbootd/utils.c fastbootd/utils.h Change-Id: I1a27459b41d9297603deb124c65f237ff971e5b6
* Fastbootd: auto ssh server startSzymon Starzycki2013-12-044-4/+8
| | | | Change-Id: I3e9c53c3d834726c3747e9ee0665ed027f55b08c
* Fastbootd: network auto discoverySzymon Starzycki2013-12-046-2/+215
| | | | Change-Id: I91082f5832412e775244b3974c0ab00952905ad5
* Fastbootd: socket and network transportSzymon Starzycki2013-12-049-53/+396
| | | | Change-Id: I395e5361d0484bd11421225c152f9aec00305f11
* Fastbootd: build breakage fixSzymon Starzycki2013-12-041-1/+0
| | | | Change-Id: I6a01ff6f785adc58581d0d9f44e71c94cbb4e3b5
* Revert "Fastbootd: flashing certification"Colin Cross2013-12-0410-500/+8
| | | | | | This reverts commit 5ccecfd26d2a7c3a79a139f0118b93ee64be4737. Change-Id: I0ca31094c115e14982a27c258d9139a723da8428
* Fastbootd: flashing certificationSzymon Starzycki2013-12-0410-8/+500
| | | | Change-Id: I564086908942463eebee69449d484ba03effc50e
* Fastbootd: improved operations on gptSzymon Starzycki2013-12-043-10/+71
| | | | Change-Id: Ieabdcb1c52094d7408b169681e073ebf6613af20
* Remove a homebrew mmap64.Elliott Hughes2013-12-041-9/+0
| | | | | | This should have been fixed in bionic, and now has been. Change-Id: Ib9b21771ed7fbb6b4082b52d0b590f2867f344d4
* Fastbootd: fixed missing file in Android.mkSzymon Starzycki2013-12-041-0/+1
| | | | Change-Id: I10927f488e35c688483f2d1d8c9f5b7ea1d7912d
* fastbootd: erase, boot and partitioning commandsSzymon Starzycki2013-12-0420-67/+2627
| | | | Change-Id: I49ba2ba2e002fd5b6bbd37cc3fd0caa106f42010
* fastbootd: userspace implementation of the fastboot device-side protocolColin Cross2013-07-2411-0/+1388
Initial commit of fastbootd. A few commands work, but not fully functional yet. Change-Id: I589dee7b327b4460e94b4434aaf9bcf780faa839