Is the Baud Rate for VIM1S different at boot?

Which system do you use? Android, Ubuntu, OOWOW or others?

Ubuntu

Which version of system do you use? Khadas official images, self built images, or others?

Ubuntu 22.04.2 LTS Khadas Official

Please describe your issue below:

I connect my USB-to-Serial monitor to Pins 18,19,20 as described in VIM1S Setup Serial Debug Console. I head over to my machine and issue a screen connect as so…

screen /dev/tty.usbserial-A10N3V2T 921600

I wish to see the bootlogs of the machine from the serial not just HDMI. All I get is uninteligible gibberish. However, after a while when I click on few keystrokes, I eventually get presented the login prompt.

Is the baud rate at boot time different?*

Post a console log of your issue below:


0 �l:�
     ��`N����)�^� `��.��=��:����FiJ������e���
                                             ����7��֪��VX��R�R^�:��n�Z�:�*r�
                                                                           �*F�B�7�ҒB|�Z*f*�ʦZ��r����^���P*�.j�����"F]FNNV�z�Η�����z���}B����>b���ʃ������������������>ʠ�XB�����N��ƄBz��n���7�Nj��(F���ʻ�J�B��.^��΂6��j�^R���^��z~��_.Ί�ڽR:zv�u~:����ڪ������������Ċk�Z����O*��������������������,�"Z������.��������*2�����B���������J���XBJ��
                                                                                                        ��GnJz�Jz^��
Ubuntu 22.04.2 LTS Khadas ttyS0

Khadas login:
Khadas login: khadas
Password:

Welcome to Fenix 1.5.1 Ubuntu 22.04.2 LTS Linux 5.4.180
 _  ___               _            __     _____ __  __ _ ____
| |/ / |__   __ _  __| | __ _ ___  \ \   / /_ _|  \/  / / ___|
| ' /| '_ \ / _` |/ _` |/ _` / __|  \ \ / / | || |\/| | \___ \
| . \| | | | (_| | (_| | (_| \__ \   \ V /  | || |  | | |___) |
|_|\_\_| |_|\__,_|\__,_|\__,_|___/    \_/  |___|_|  |_|_|____/


 * Website:        https://www.khadas.com
 * Documentation:  https://docs.khadas.com
 * Forum:          https://forum.khadas.com

Last login: Thu Jun  8 14:27:10 CDT 2023 on ttyS0

Hello @glimit

The default baudrate is 921600 for both u-boot and kernel.

Notice that VIM1S uses utf8 encoding on the console serial port.

Thanks @numbqq and @larchey :clap:, I think I spoke typed* a little too too soon. It turns out, it’s iTerm and screen, that were the culprits. I moved over to my ArchLinux and screen /dev/ttyUSB1 921600 worked from boot up as expected.

I might followup with what’s going on, but at least, I’m glad, I have a way to study this beautiful board better :+1: :dancer: