doc-exports/docs/bms/image-creation-guide/en-us_topic_0100489897.html
guoyanyan fe8c0cf45c BMS Image Creation Guide 1109
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
Co-authored-by: guoyanyan <guoyanyan3@huawei.com>
Co-committed-by: guoyanyan <guoyanyan3@huawei.com>
2022-11-16 08:53:42 +00:00

2.7 KiB

Arm: Ubuntu 16.04/Ubuntu 18.04

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

    Run the following command:

    sudo update-grub2

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

    For x86, check whether ttyS0 is contained in the file. For ARM64, check whether ttyAMA0 is contained in the file. If they are not, add them.