mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-16 09:26:58 +02:00
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:
commit
b571cd5bbb
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user