how to bisect
requirements
- working lava-tool
- compile-ready coreboot
- a working http/ftp server to copy coreboot images to using scp
Overview
Basic 4 steps what the bisect.sh do
- compile coreboot
- publish coreboot to a web url
- lava-tool submit job
- wait for lava-tool job-status
How to use it?
# CPUS make -j$CPUS
export CPUS=4
# your login user name for the lava.coreboot.org
# you can also use LAVAURL="https://$LAVAUSER@lava.coreboot.fe80.eu/RPC2"
export LAVAUSER=lynxis
# used by lava to download the coreboot.rom
export COREBOOTURL=https://fe80.eu/bisect/coreboot.rom
# used as a target by *scp*
export COREBOOT_SCP_URL=lynxis@fe80.eu:/var/www/coreboot.rom
cd coreboot
git bisect start
git bisect bad REV
git bisect good REV
git bisect run /path/to/this/dir/bisect.sh