eb31231e | 13-Jun-2018 |
Kun Yi <kunyi731@gmail.com> |
main: Use an sdevent loop to poll POST codes
Currently the daemon spawns a thread to read the kernel device file and update DBus value. Use sdevent interface such that a single event loop can proces
main: Use an sdevent loop to poll POST codes
Currently the daemon spawns a thread to read the kernel device file and update DBus value. Use sdevent interface such that a single event loop can process DBus requests as well as IO events.
Tested: on hardware platform tested that daemon still reads POST codes and update DBus interface as expected.
Change-Id: I998a1fa8d955205faa95ad0002425eb11a4a46eb Signed-off-by: Kun Yi <kunyi731@gmail.com>
show more ...
|
adc678a1 | 24-Jul-2018 |
Patrick Venture <venture@google.com> |
Merge "snoop.h/main.cpp: Add first tests for PostReporter class" |
35b6c67c | 11-Jun-2018 |
Kun Yi <kunyi731@gmail.com> |
snoop.h/main.cpp: Add first tests for PostReporter class
Add unit tests for PostReporter DBus object path, reading, and updating. Move the class definition to the header file such that the tests can
snoop.h/main.cpp: Add first tests for PostReporter class
Add unit tests for PostReporter DBus object path, reading, and updating. Move the class definition to the header file such that the tests can access it.
Tested: unit tests pass.
Change-Id: I4d3571ccd5455297d6b02ed74ed789fe05e40979 Signed-off-by: Kun Yi <kunyi731@gmail.com>
show more ...
|
f69ad7e6 | 13-Jul-2018 |
Benjamin Fair <benjaminfair@google.com> |
Add parameter for POST code length
The -b/--bytes parameter allows specifying the length in bytes of each POST code. It defaults to 1 for compatibility with existing systems.
Signed-off-by: Benjami
Add parameter for POST code length
The -b/--bytes parameter allows specifying the length in bytes of each POST code. It defaults to 1 for compatibility with existing systems.
Signed-off-by: Benjamin Fair <benjaminfair@google.com> Change-Id: I1947c66c5cd4657984c3c5ffae8b11603c53939a
show more ...
|
a6c593aa | 13-Jul-2018 |
Benjamin Fair <benjaminfair@google.com> |
test: Link gtest_main in test binaries
The library gtest_main provides a 'main' function which runs the tests and reports whether they passed or failed. When it's not included, linking fails because
test: Link gtest_main in test binaries
The library gtest_main provides a 'main' function which runs the tests and reports whether they passed or failed. When it's not included, linking fails because there is no 'main' function.
Signed-off-by: Benjamin Fair <benjaminfair@google.com> Change-Id: I79310447053e07eb1873fc353ef99b0b12223328
show more ...
|
a2eab35b | 13-Jul-2018 |
Patrick Venture <venture@google.com> |
Merge "Add parameter for device file interface name" |
e7b07f08 | 02-Jul-2018 |
Benjamin Fair <benjaminfair@google.com> |
Add parameter for device file interface name
Using the -d/--device option, you can choose which device file the daemon will read from.
If the option is not supplied, the same default as before will
Add parameter for device file interface name
Using the -d/--device option, you can choose which device file the daemon will read from.
If the option is not supplied, the same default as before will be used.
Signed-off-by: Benjamin Fair <benjaminfair@google.com> Change-Id: Ibf7b3efd39a01c93914180d785eeb994838e3afb
show more ...
|
162dd2e8 | 11-Jun-2018 |
Kun Yi <kunyi731@gmail.com> |
Add gitignore
Tested: git status is clean.
Change-Id: I15981f6059e9bb5d40a1ed9f92dbf1a282d390fb Signed-off-by: Kun Yi <kunyi731@gmail.com> |
2ae207c2 | 11-Jun-2018 |
Kun Yi <kunyi731@gmail.com> |
test: Adding dummy test for post reporter class.
Tested: 'make check' works.
Change-Id: I4448beef2a5878a6d6c4e33cb09b78c6959481be Signed-off-by: Kun Yi <kunyi731@gmail.com> |
953fc699 | 18-May-2018 |
Andrew Jeffery <andrew@aj.id.au> |
Add MAINTAINERS file
Change-Id: Ied13d51c932c33d5d46106b4536c728ef4fea3de Signed-off-by: Andrew Jeffery <andrew@aj.id.au> |
33569758 | 12-Mar-2018 |
Patrick Venture <venture@google.com> |
Initial check-in of LPC Snoop Broadcast Daemon
This is a simple daemon which reads a file interface from an lpc-snoop driver and broadcasts the values read.
It presently assumes there's /dev/aspeed
Initial check-in of LPC Snoop Broadcast Daemon
This is a simple daemon which reads a file interface from an lpc-snoop driver and broadcasts the values read.
It presently assumes there's /dev/aspeed-lpc-snoop0, however this could be made a command line parameter.
Change-Id: Ic8e7511de619d93bf1cffd9a096c92315f870946 Signed-off-by: Patrick Venture <venture@google.com>
show more ...
|
f50ab356 | 12-Mar-2018 |
Brad Bishop <radsquirrel@gmail.com> |
Initial commit |