CLASSES: EXTLINUX: align UBOOT_EXTLINUX_CONSOLE with yocto/poky
Add baudrate in console definition in APPEND of extlinux.conf
as it is done in openembedded-core/meta/classes/uboot-extlinux-config.bbclass
with commit 2ce3534b2011 ("uboot-extlinux-config.bbclass: Add baudrate in
console bootparam") or in poky/meta/classes/uboot-extlinux-config.bbclass
with commit 2138f47802fc ("uboot-extlinux-config.bbclass: Add
baudrate in console bootparam")
Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
Change-Id: I86afd65b7f197cacaee5b4ede3bf5331164ea840
This commit is contained in:
parent
c5b7d77a70
commit
92d3ca61f8
|
|
@ -74,7 +74,7 @@ UBOOT_EXTLINUX_TARGETS ?= ""
|
||||||
# Configure FIT kernel image for extlinux file creation
|
# Configure FIT kernel image for extlinux file creation
|
||||||
UBOOT_EXTLINUX_FIT ??= "0"
|
UBOOT_EXTLINUX_FIT ??= "0"
|
||||||
|
|
||||||
UBOOT_EXTLINUX_CONSOLE ??= "console=${console}"
|
UBOOT_EXTLINUX_CONSOLE ??= "console=${console},${baudrate}"
|
||||||
UBOOT_EXTLINUX_LABELS ??= "linux"
|
UBOOT_EXTLINUX_LABELS ??= "linux"
|
||||||
UBOOT_EXTLINUX_FDT ??= ""
|
UBOOT_EXTLINUX_FDT ??= ""
|
||||||
UBOOT_EXTLINUX_FDTDIR ??= "../"
|
UBOOT_EXTLINUX_FDTDIR ??= "../"
|
||||||
|
|
|
||||||
|
|
@ -60,7 +60,6 @@ MACHINE_FEATURES:append = " fw-update"
|
||||||
|
|
||||||
# Default serial consoles (TTYs) to enable using getty
|
# Default serial consoles (TTYs) to enable using getty
|
||||||
# Before kernel 4.18, serial console are ttyS3 but after is ttySTM0
|
# Before kernel 4.18, serial console are ttyS3 but after is ttySTM0
|
||||||
SERIAL_CONSOLES = "115200;ttySTM0"
|
|
||||||
SERIAL_CONSOLE = "115200 ttySTM0"
|
SERIAL_CONSOLE = "115200 ttySTM0"
|
||||||
|
|
||||||
# Don't include kernels in standard images
|
# Don't include kernels in standard images
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,5 @@
|
||||||
#@DESCRIPTION: STM32MP machine extlinux file configuration
|
#@DESCRIPTION: STM32MP machine extlinux file configuration
|
||||||
|
|
||||||
# Define extlinux console for stm32mp machine
|
|
||||||
UBOOT_EXTLINUX_CONSOLE = "console=${@d.getVar('SERIAL_CONSOLE').split()[1]},${@d.getVar('SERIAL_CONSOLE').split()[0]}"
|
|
||||||
# Define FIT option for extlinux file generation
|
# Define FIT option for extlinux file generation
|
||||||
UBOOT_EXTLINUX_FIT = "${@bb.utils.contains('MACHINE_FEATURES', 'fit', '1', '0', d)}"
|
UBOOT_EXTLINUX_FIT = "${@bb.utils.contains('MACHINE_FEATURES', 'fit', '1', '0', d)}"
|
||||||
# Define default FDTDIR for all configs
|
# Define default FDTDIR for all configs
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue