Ubuntu 16.04 (ARM)

  1. Use the vi editor to open the /etc/default/grub file and modify the following parameters:
    • GRUB_CMDLINE_LINUX: console=tty0 console=ttyAMA0,115200
    • GRUB_TERMINAL: serial
    • GRUB_SERIAL_COMMAND: serial --speed=115200 --unit=0 --word=8 --parity=no --stop=1

    After modification, run the following command:

    sudo update-grub2

  2. To enable user root to log in to the BMS through the serial port, add the following information to the end of the security configuration file /etc/securetty.

    For x86, check whether the file contains ttyS0. If not, add it.

    For ARM 64, check whether the file contains ttyAMA0. If not, add it.