On Tue, Nov 19, 2013 at 08:18:31AM -0800, Kevin Hilman wrote:
Alex Shi alex.shi@linaro.org writes:
On 11/18/2013 10:04 PM, Alex Shi wrote:
This script bisects kernel for build/boot/func regressions on appointed board, run it under target kernel source tree.
If kernel friendly for network, it is a fully automatic bisect script, otherwise it is a semi-automatic scripts.
For build bisect, the only manual work is pressing the power reset button according to prompt of this script.
It will be better if has some way to automatic hardware reset board power. Or has some way send command via serial.
The IPMI is good way for remote power reset, but it is a bit expensive. Do know if there some cheap way to do this? A programmable robot toy, or a electromagnetic relay?
Kevin, what are you using for remote power reset?
I use USB controlled relays called phidgets[1]
These are USB controlled relays.
Also, http://www.digital-loggers.com/lpc.html I use an old rack-mount version of this.
Combined with my pyboot tool[2], automatic bisect is as simple as: git bisect run '(rebuild; pyboot <board>)' and it's fully automated
I'm sure pyboot is better but I have to mention that tools/testing/ktest/ktest.pl also works for automated bisecting.
Someday I really should investigate switching my boot/test scripts to pyboot.
-Matt