
Currently, the serial console is hardcoded to ttyS0 in the bootloader element. This is a challenge for users that want to build images for some baremetal servers. Supermicro servers, for example, use ttyS1 for the serial over lan interface. This patch adds a new environment variable DIB_BOOTLOADER_SERIAL_CONSOLE that can be set to override the default. Change-Id: Ie8173be8690ac0b7164ce9e5b66d3c1c18f844d6
bootloader
Installs grub[2]
on boot partition on the system. In
case GRUB2 is not available in the system, a fallback to Extlinux will
happen. It's also possible to enforce the use of Extlinux by exporting a
DIB_EXTLINUX
variable to the environment.
Arguments
DIB_GRUB_TIMEOUT
sets thegrub
menu timeout. It defaults to 5 seconds. Set this to 0 (no timeout) for fast boot times.DIB_BOOTLOADER_DEFAULT_CMDLINE
sets parameters that are appended to theGRUB_CMDLINE_LINUX_DEFAULT
values ingrub.cfg
configuration. It defaults tonofb nomodeset vga=normal
.DIB_BOOTLOADER_SERIAL_CONSOLE
sets the serial device to be used as a console. It defaults tohvc0
for PowerPC,ttyAMA0,115200
for ARM64, otherwisettyS0,115200
.