The Maivin's default serial console is available on the internal debug UART which maps in Linux as ttymxc2. Additional consoles can be enabled to allow logins over alternative UARTs.
Note that u-Boot and Kernel boot messages are only supported on ttymxc2 (UART3).
This table lists the serial ports (UART) available on the Maivin.
|UART||Serial Port||Physical Location||Note|
|UART1||ttymxc0||Rear Terminal Block||RS-485|
|UART3||ttymxc2||Internal Header||Debug Console|
|UART4||ttymxc3||Bluetooth UART||Configurable as Internal Header|
Additional serial consoles are configured through SystemD using the following commands.
Note these examples use the RS-485 (ttymxc0) as an example, replace ttymxc0 with the serial port you wish to configure as an additional console.
sudo systemctl enable firstname.lastname@example.org
sudo systemctl start email@example.com
sudo systemctl stop firstname.lastname@example.org
sudo systemctl disable email@example.com
For advanced configuration such as overriding the default baudrate or hardware flow-control settings initially configured by the kernel you will need to copy the serial-getty template and modify it to your needs. To do this copy the template from the following location and edit according to your needs, additional documentation is provided within the template file.