CentOS 7 (ARM)

  1. Use the vi editor to open the /boot/efi/EFI/centos file, locate the line linux /vmlinuz-4.11.0-22.el7a.aarch64 root=/dev/mapper/cla-root ro crashkernel=auto rd.lvm.lv=cla/root rd.lvm.lv=cla/swap LANG=en_US.UTF-8, and add the following information to its end:
    console=tty0 console=ttyAMA0,115200
  2. To enable login through the serial port as user root, check whether the /etc/securetty file contains ttyAMA0. If not, add it.