Add tools to test LXATAC features and speedup bringup.#107
Conversation
ca99183 to
1ff4253
Compare
|
Hi, some high level stuff I have noticed first:
|
39bb0e6 to
e105d19
Compare
|
We are quickly getting there. Please have a look at some of the remaining comments I had, feel free to dismiss some of them as nitpicking, if you think so, and rebase the changes into a clean format that we can merge. |
c8ab39f to
d6f2299
Compare
Signed-off-by: Jonas Martin <jma@pengutronix.de>
Signed-off-by: Jonas Martin <jma@pengutronix.de>
Signed-off-by: Jonas Martin <jma@pengutronix.de>
Signed-off-by: Jonas Martin <jma@pengutronix.de>
d6f2299 to
0e5ef2e
Compare
Signed-off-by: Jonas Martin <jma@pengutronix.de>
To speedup bring up of the LXATAC this adds a second binary to collect ADC statistics and test LEDs, display and buttons.
To do this i needed to change the visibility of some structs/types/functions. And add color support.
The color support is probably still flaky as i am unsure how how to check for the color space used by the frame buffer.
It is also still missing color support the the Display view in the web ui.
The ADC part allows to collect ADC samples from multiple channels interleaved. This make measurements hopefully more correlated then the old way of collecting then separately.
The LED,Display ui test display a rainbow on the LCD and cycles the LEDs and LCD backlight when a button is pressed.
After both buttons have registered a press the ui-test will exit. (as this is only tested every ~5 press it might take some addition presses)