Lava document contains content of how to add simple qemu devices and how to write its job define. But it does not contain how to add real machine device and how to write its test job like uboot image and linex kernel specifications,etc. Is there any document on how to step by step to build real machine testing?
On 12 August 2018 at 14:12, ljh_dev ljh_dev@126.com wrote:
Lava document contains content of how to add simple qemu devices and how to write its job define. But it does not contain how to add real machine device and how to write its test job like uboot image and linex kernel specifications,etc. Is there any document on how to step by step to build real machine testing?
I'm not sure I understand the question properly. There are examples in LAVA docs: https://validation.linaro.org/static/docs/v2/first-devices.html#adding-your-... (end of the page)
Chase also created a wiki on similar subject: https://github.com/Linaro/lkft-remote-lab/blob/master/LAVA/deploy-distribute...
I hope this helps.
milosz
On Sun, 12 Aug 2018 at 14:15, ljh_dev ljh_dev@126.com wrote:
Lava document contains content of how to add simple qemu devices and how to write its job define. But it does not contain how to add real machine device and how to write its test job like uboot image and linex kernel specifications,etc. Is there any document on how to step by step to build real machine testing?
No. It is not possible to write one because, typically, each new DUT is radically different to all previous ones. U-Boot has the highest chance of a simple integration where only the simplest device-type Jinja2 file is required:
https://git.linaro.org/lava/lava.git/tree/lava_scheduler_app/tests/device-ty...
This is all covered here: https://staging.validation.linaro.org/static/docs/v2/device-integration.html