Merge pull request #1676 from flatcar-linux/jepio/azure-earlycon

core-base/oem-azure(-pro): enable earlycon on all platforms
This commit is contained in:
Jeremi Piotrowski 2022-03-01 14:44:22 +01:00 committed by GitHub
commit b571cd5bbb
2 changed files with 14 additions and 10 deletions

View File

@ -5,10 +5,12 @@ set oem_id="azure"
set linux_append="flatcar.autologin"
# Azure only has a serial console.
serial com0 --speed=115200 --word=8 --parity=no
terminal_input serial_com0
terminal_output serial_com0
serial --unit=0 --speed=115200 --word=8 --parity=no
terminal_input serial
terminal_output serial
if [ "$grub_platform" = "pc" ]; then
set linux_console="console=ttyS0,115200n8 earlyprintk=ttyS0,115200"
if [ "$grub_cpu" = arm64 ]; then
set linux_console="console=tty1 console=ttyAMA0,115200n8 earlycon=pl011,0xeffec000"
else
set linux_console="console=tty1 console=ttyS0,115200n8 earlyprintk=ttyS0,115200"
fi

View File

@ -5,10 +5,12 @@ set oem_id="azure"
set linux_append="flatcar.autologin"
# Azure only has a serial console.
serial com0 --speed=115200 --word=8 --parity=no
terminal_input serial_com0
terminal_output serial_com0
serial --unit=0 --speed=115200 --word=8 --parity=no
terminal_input serial
terminal_output serial
if [ "$grub_platform" = "pc" ]; then
set linux_console="console=ttyS0,115200n8 earlyprintk=ttyS0,115200"
if [ "$grub_cpu" = arm64 ]; then
set linux_console="console=tty1 console=ttyAMA0,115200n8 earlycon=pl011,0xeffec000"
else
set linux_console="console=tty1 console=ttyS0,115200n8 earlyprintk=ttyS0,115200"
fi