Hi, The Renesas board I am using behaves as a USB to UART adapter through /dev/ttyACM0 at 115200bps. Created the board instance in device dictionary file as: {% extends 'rza1h.jinja2' %} {% set board_id = '0000000000001' %} {% set console_device = 'ttyACM0' %} {% set baud_rate = baud_rate|default(115200) %} {% set usb_mass_device = '/dev/serial/by-id/usb-Renesas_Electronics_Corporation_Renesas_RSK_USB_Serial_Port_0000000000001-if00' %} {% set connection_list = ['usb0'] %} {% set connection_tags = {'usb0': ['primary', 'telnet']} %} {% set connection_commands = {'usb0': 'telnet localhost 2000'} %} With the above configuration, Dispatcher(Remote worker) flashes the board through JLink.And I can see flashing log in the Job console.
But Even i specified the UART connection like (/dev/ttyACM0, 115200bps). I am not getting the u-boot logs on /dev/ttyACM0. Did i miss any other configuration to add in device dictionary???. Manaually, I can able to see uboot prints on the console through minicom with /dev/ttyACM0 with 115200bps. Attaching logs for reference.
Thanks
Regards Nagendra S
On Sat, 23 May 2020 at 09:32, Nagendra Singamsetti nag.singam91@gmail.com wrote:
Hi, The Renesas board I am using behaves as a USB to UART adapter through /dev/ttyACM0 at 115200bps. Created the board instance in device dictionary file as: {% extends 'rza1h.jinja2' %} {% set board_id = '0000000000001' %} {% set console_device = 'ttyACM0' %} {% set baud_rate = baud_rate|default(115200) %} {% set usb_mass_device = '/dev/serial/by-id/usb-Renesas_Electronics_Corporation_Renesas_RSK_USB_Serial_Port_0000000000001-if00' %} {% set connection_list = ['usb0'] %} {% set connection_tags = {'usb0': ['primary', 'telnet']} %} {% set connection_commands = {'usb0': 'telnet localhost 2000'} %}
This is what LAVA uses for serial connection. Do you have ser2net or some other tool configured to forward ttyACM0 to localhost:2000 ?
milosz
With the above configuration, Dispatcher(Remote worker) flashes the board through JLink.And I can see flashing log in the Job console.
But Even i specified the UART connection like (/dev/ttyACM0, 115200bps). I am not getting the u-boot logs on /dev/ttyACM0. Did i miss any other configuration to add in device dictionary???. Manaually, I can able to see uboot prints on the console through minicom with /dev/ttyACM0 with 115200bps. Attaching logs for reference.
Thanks
Regards Nagendra S
Lava-users mailing list Lava-users@lists.lavasoftware.org https://lists.lavasoftware.org/mailman/listinfo/lava-users
Hi Milosz, Previously,I did not configured ser2net tool to forward ttyACM0 to localhost:2000. With the ser2net configuration on the Remote worker , i am getting U-boot prints through ttyACM0 along with JLink flash boot log. PFA: [image: lava_renesas_uboot_log_job254.png]
Thanks!! for remind me with ser2net tool configuration...
Regards Nagendra S
On Tue, May 26, 2020 at 1:28 PM Milosz Wasilewski < milosz.wasilewski@linaro.org> wrote:
On Sat, 23 May 2020 at 09:32, Nagendra Singamsetti nag.singam91@gmail.com wrote:
Hi, The Renesas board I am using behaves as a USB to UART adapter through
/dev/ttyACM0 at 115200bps. Created the board instance in device dictionary file as:
{% extends 'rza1h.jinja2' %} {% set board_id = '0000000000001' %} {% set console_device = 'ttyACM0' %} {% set baud_rate = baud_rate|default(115200) %} {% set usb_mass_device =
'/dev/serial/by-id/usb-Renesas_Electronics_Corporation_Renesas_RSK_USB_Serial_Port_0000000000001-if00' %}
{% set connection_list = ['usb0'] %} {% set connection_tags = {'usb0': ['primary', 'telnet']} %} {% set connection_commands = {'usb0': 'telnet localhost 2000'} %}
This is what LAVA uses for serial connection. Do you have ser2net or some other tool configured to forward ttyACM0 to localhost:2000 ?
milosz
With the above configuration, Dispatcher(Remote worker) flashes the
board through JLink.And I can see flashing log in the Job console.
But Even i specified the UART connection like (/dev/ttyACM0, 115200bps).
I am not getting the u-boot logs on /dev/ttyACM0. Did i miss any other configuration to add in device dictionary???.
Manaually, I can able to see uboot prints on the console through minicom
with /dev/ttyACM0 with 115200bps.
Attaching logs for reference.
Thanks
Regards Nagendra S
Lava-users mailing list Lava-users@lists.lavasoftware.org https://lists.lavasoftware.org/mailman/listinfo/lava-users
lava-users@lists.lavasoftware.org