mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-16 17:36:59 +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"
|
set linux_append="flatcar.autologin"
|
||||||
|
|
||||||
# Azure only has a serial console.
|
# Azure only has a serial console.
|
||||||
serial com0 --speed=115200 --word=8 --parity=no
|
serial --unit=0 --speed=115200 --word=8 --parity=no
|
||||||
terminal_input serial_com0
|
terminal_input serial
|
||||||
terminal_output serial_com0
|
terminal_output serial
|
||||||
|
|
||||||
if [ "$grub_platform" = "pc" ]; then
|
if [ "$grub_cpu" = arm64 ]; then
|
||||||
set linux_console="console=ttyS0,115200n8 earlyprintk=ttyS0,115200"
|
set linux_console="console=tty1 console=ttyAMA0,115200n8 earlycon=pl011,0xeffec000"
|
||||||
|
else
|
||||||
|
set linux_console="console=tty1 console=ttyS0,115200n8 earlyprintk=ttyS0,115200"
|
||||||
fi
|
fi
|
||||||
|
@ -5,10 +5,12 @@ set oem_id="azure"
|
|||||||
set linux_append="flatcar.autologin"
|
set linux_append="flatcar.autologin"
|
||||||
|
|
||||||
# Azure only has a serial console.
|
# Azure only has a serial console.
|
||||||
serial com0 --speed=115200 --word=8 --parity=no
|
serial --unit=0 --speed=115200 --word=8 --parity=no
|
||||||
terminal_input serial_com0
|
terminal_input serial
|
||||||
terminal_output serial_com0
|
terminal_output serial
|
||||||
|
|
||||||
if [ "$grub_platform" = "pc" ]; then
|
if [ "$grub_cpu" = arm64 ]; then
|
||||||
set linux_console="console=ttyS0,115200n8 earlyprintk=ttyS0,115200"
|
set linux_console="console=tty1 console=ttyAMA0,115200n8 earlycon=pl011,0xeffec000"
|
||||||
|
else
|
||||||
|
set linux_console="console=tty1 console=ttyS0,115200n8 earlyprintk=ttyS0,115200"
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user