Hello,



Le mer. 16 juin 2021 à 03:35, Hedy Lamarr <lamarrhedy97@gmail.com> a écrit :
Dear,

Recently I'm learning and evaluating LAVA to see if it can help us.

{% set connection_list = ['uart0', 'uart1'] %}
{% set connection_commands = {'uart0': 'telnet dispatcher01 7001', 'uart1': 'telnet dispatcher01 7002'} %}

I'm pretty confused by the 'uart0', 'uart1'. Should I explicitly specify something in my job to let some action to choose 'uart0' or 'uart1'? How does LAVA know at which time it should choose which uart?


On the following lines you will see 
{% set connection_tags = {'uart0': ['primary', 'telnet']} %}
This will identify uart0 as the default serial to use by lava.

This is the advanced form when you want to use multiple serials. Easier to use the simple form
{% set connection_command = 'telnet dispatcher01 7001' %}

See https://validation.linaro.org/static/docs/v2/connections.html#configuring-serial-ports


Rgds

--
Rémi Duraffort
TuxArchitect
Linaro