Hi Ali,
On Mon, Oct 6, 2025 at 2:58 PM Ali Tariq alitariq4589@gmail.com wrote:
Hello,
I am trying to connect a RISC-V VisionFive 2 device with the LAVA web server. I do not have a PDU at the moment and I do not know which one will be appropriate for this device setup.
The LAVA master and worker are running on the same machine, so I have localhost set up. I added the following device dictionary for VisionFive 2.
{% extends 'jh7100-visionfive.jinja2' %}
{% set console_backend = 'serial' %} {% set serial_port = '/dev/ttyUSB0' %} {% set serial_baud_rate = 115200 %}
The dictionary template, which is extended for VisionFive 2, is from the VisionFive 1 device type. As I won't be needing initramfs and other uboot env variables, I am using visionfive 1's dictionary template just for getting the setup to work.
I think you're might be missing connection_command in the device dictionary. If you share the full device dict it should be easier to diagnose the problem. Example connection_command might look like this
{% set connection_commands = {'uart0': 'telnet ser2net 7001'} %}
In my setup I'm using ser2net to multiplex the board serial connection.
Best Regards, Milos