Commit Graph

8 Commits

Author SHA1 Message Date
Eyal Ilsar
cc92906b3b diag: Add command line argument processing
Use getopt to read user command line supplied arguments and allow for
configuration of host socket address and port with -s option.

Signed-off-by: Eyal Ilsar <eilsar@codeaurora.org>
[bjorn: dropped debug mask flag and update commit message]
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
2018-01-23 16:35:22 -08:00
Bjorn Andersson
bd547fc50e Add copyright header to header files
Include copyright in header files, in order to clarify the license of
thse.

Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
2018-01-08 15:59:30 -08:00
Bjorn Andersson
c279b3ab37 Update copyrights and add license file
As no code from the downstream implementation is included in the project
we are free to move to a more permissive license.

Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
2017-02-16 02:21:16 -08:00
Bjorn Andersson
58cf9ddb2e hdlc: Replace borrowed CRC implementation
The CRC implementation previously included was borrowed from the Linux
kernel, it's removed and instead a new implementation, based on [1], is
introduced.

[1] http://www.ross.net/crc/download/crc_v3.txt

Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
2017-02-13 01:07:31 -08:00
Bjorn Andersson
ed3c97ac76 diag: Add dynamic peripheral support
Add support for detecting peripherals as they come and go.

Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
2016-11-30 22:50:15 -08:00
Bjorn Andersson
aa27b20450 diag: Correct incorrect struct name in diag_cntl
Reported-by: Eyal Ilsar <c_eilsar@qti.qualcomm.com>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
2016-11-29 22:35:37 -08:00
Bjorn Andersson
9cbdac263d diag: Initial prototype of diag router
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
2016-11-27 23:29:26 -08:00
Bjorn Andersson
b15e524707 empty 2016-11-22 17:03:20 -08:00