kangkai / tboot

tboot is a user-space fastboot protocol server implementation

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

tboot

tboot is derived from droidboot, which is a user-space fastboot protocol server implementation in Android build environment. tboot port that to general Linux and GNU Autotools build system, and extend it with some extra features.

tboot is currently using in Pre-OS runtime as fastboot server, communicating with client side prekit to achieve image flashing and other maintenance tasks.

How to build?

This project use GNU Autotools as build system, so it's quite simple to build it like below:

$ autoreconf -i (if you're using git tree source)
$ ./configure CFLAGS="-m32 -O2"
$ make

By default, autoconf will add "-g -O2" to CFLAGS, so it's a good idea to overwrite it by the above to strip the output binary size.

For more advanced usage, please refer to INSTALL.

About

tboot is a user-space fastboot protocol server implementation


Languages

Language:C 94.0%Language:Assembly 4.3%Language:Python 0.6%Language:Objective-C 0.5%Language:C++ 0.3%Language:Shell 0.3%