On Tue, 8 Mar 2016 11:23:46 +0800
吳政軒 <kkbom...@gmail.com> wrote:

> *Dear Linaro validation support team,*
> 
> Our lab have the same problem about the device connection to LAVA.

Start with a known device type, e.g. KVM.

There is a video of the full process here:
https://www.linaro.org/projects/test-validation/

You've done some of the steps but things will be a lot clearer if you
follow the rest of the steps.

This video may also help:
https://www.youtube.com/watch?v=M5kF3yPjYTk

It is always best to start with a known device type and resolve all
initial problems that way. It doesn't matter what device(s) you want to
use later - setting up a known device will help you become familiar
with what you need to do for a different device later.

Automation is a complex task and although LAVA has simplified some
elements of the work, it will always remain a complex task. All admins
of a LAVA instance must be able to triage issues themselves, configure
their own labs and develop their own systems to do the bits that LAVA
will never be able to do. (e.g. standard lab network configuration and
admin.)

> But there’ s some basic problems still could not be solved. (All the
> submit jobs so far could not execute on the real boards.)

> 1.     How could I execute some basic commands in the device and get
> the report from bundle stream.

Use a known device type to become familiar with those steps.
 
> Like transmit file or simple instructions to the board. ( was
> preinstalled with image but no ssh sever function inside.)

The Lava Test Shell Definition runs as a script on the device - just
like any other script or program you could run once connected to the
device. LAVA prepares a set of scripts which get added to the files
which are available to the device.

> 2.     How to configure device and server for serial connection and
> tftp transmission

The tools you use will depend on your particular lab. ser2net is common
and flexible for serial connections, many labs would find it much
better than using sg or screen. tftp transmission typically does not
need to be configured - the tftpd-hpa package is installed by
lava-dispatcher dependencies and can be used as-installed.
 
> 3.     How the LAVA dispatcher use the connection commands

The command is executed as-is when the connection needs to be made.

-- 


Neil Williams
=============
http://www.linux.codehelp.co.uk/

Attachment: pgplK3jFenBpd.pgp
Description: OpenPGP digital signature

_______________________________________________
linaro-validation mailing list
linaro-validation@lists.linaro.org
https://lists.linaro.org/mailman/listinfo/linaro-validation

Reply via email to