Hi Neil,
thanks for your help.
I got now to the state of basic testing. But there are some hacks, which needs to be solved ;).
A test run includes now the external flashing of the BIOS chip. Afterwards the system will boots from hard-drive and lava can connect via ssh.
deploy: to: flashrom is ignoring the os:, but lava requires an os: field.
How is it possible to capture the serial output while it's booting? Or does it require another boot method.
At the moment the flashrom deployment "boots" the DUT, because "boot: ssh" expects a fully booted device.
``` device_type: thinkpad-x60 job_name: mustang-singlenode-jessie
timeouts: job: minutes: 5 action: minutes: 5
visibility: public
actions: - deploy: to: flashrom coreboot: http://repo.fe80.eu/x60.coreboot.working os: debian
- deploy: to: ssh os: debian prompts: - 'root@lava:~#' - 'root@x60:~#'
- boot: method: ssh connection: ssh prompts: - 'root@lava:~#' - 'root@x60:~#'
- test: timeout: minutes: 5 name: singlenode-mustang-demo definitions: - repository: http://git.linaro.org/people/neil.williams/temp-functional-tests.git from: git path: singlenode/singlenode03.yaml name: singlenode-advanced ```
``` root@quote:~# lava-server manage device-dictionary --hostname=x60-01 --review commands: spi_power_off: "ssh root@rasp01 /root/spi_power_off" spi_power_on: "ssh root@rasp01 /root/spi_power_on" power_off: "pduclient --daemon quote --hostname ubnt --port 3 --command off" power_on: "pduclient --daemon quote --hostname ubnt --port 3 --command on" power_button: "ssh root@rasp01 /root/button" device_type: thinkpad-x60
actions: deploy: methods: flashrom: chip: MX25L1605A/MX25L1606E driver: "linux_spi:dev=/dev/spidev1.0,spispeed=10000" ssh: options: - '-o' - 'Compression=yes' - '-o' - 'UserKnownHostsFile=/dev/null' - '-o' - 'PasswordAuthentication=no' - '-o' - 'StrictHostKeyChecking=no' - '-o' - 'LogLevel=FATAL'
identity_file: /root/.ssh/id_rsa user: root port: '22' host: x60
boot: methods: ssh: connections: ssh:
timeouts: actions: apply-overlay-image: seconds: 120 umount-retry: seconds: 45 lava-test-shell: seconds: 30 power_off: seconds: 5 power_button: seconds: 120 connections: uboot-retry: seconds: 60 ```