meta-yocto-bsp: beaglebone-yocto.conf: support 8250 serial driver
PATCH 1/1 meta-yocto-bsp: beaglebone-yocto.conf: support 8250 serial driver
it is possible to use the beagleboneblack with the 8250 serial driver or with the deprecated omap serial driver.
Unfortunately serial console get different names (ttyS0 with 8250 driver and ttyO0 with omap driver)
So set SERIAL_CONSOLES toSERIAL_CONSOLES ?= "115200;ttyS0 115200;ttyO0"
(intentionally with "?=" so it is overwriteable)
and activate
SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}"
with that on the first boot the correct value is picked up automatically.
---
meta-yocto-bsp/conf/machine/beaglebone-yocto.conf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
meta-yocto-bsp/conf/machine/beaglebone-yocto.conf +2 -1
@@ -20,7 +20,8 @@ WKS_FILE ?= "beaglebone-yocto.wks" IMAGE_INSTALL_append = " kernel-devicetree kernel-image-zimage" do_image_wic[depends] += "mtools-native:do_populate_sysroot dosfstools-native:do_populate_sysroot" -SERIAL_CONSOLES = "115200;ttyO0" +SERIAL_CONSOLES ?= "115200;ttyS0 115200;ttyO0" +SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}" PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto" PREFERRED_VERSION_linux-yocto ?= "4.18%"
Signature · 7 lines
2.13.6 -- DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-52 Fax: +49-8142-66989-80 Email: [email protected]
Hello all,
Am 13.11.2018 um 08:06 schrieb Heiko Schocher:
Quoted 14 lines
it is possible to use the beagleboneblack with the 8250 serial driver or with the deprecated omap serial driver.
Unfortunately serial console get different names (ttyS0 with 8250 driver and ttyO0 with omap driver)
So set
SERIAL_CONSOLEStoSERIAL_CONSOLES?= "115200;ttyS0 115200;ttyO0"(intentionally with "?=" so it is overwriteable)
and activate
SERIAL_CONSOLES_CHECK= "${SERIAL_CONSOLES}"
Quoted 8 lines
with that on the first boot the correct value is picked up automatically.
Signed-off-by Heiko Schocher <[email protected]>---
meta-yocto-bsp/conf/machine/beaglebone-yocto.conf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
gentle ping. Any issues with this patch?
Thanks!
bye,
Heiko
Signature · 3 lines
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-52 Fax: +49-8142-66989-80 Email: [email protected]
Quoted 20 lines · Heiko Schocher
Hello all,
Am 13.11.2018 um 08:06 schrieb Heiko Schocher:
Quoted 17 lines
it is possible to use the beagleboneblack with the 8250 serial driver or with the deprecated omap serial driver.
Unfortunately serial console get different names (ttyS0 with 8250 driver and ttyO0 with omap driver)
So set
SERIAL_CONSOLEStoSERIAL_CONSOLES?= "115200;ttyS0 115200;ttyO0"(intentionally with "?=" so it is overwriteable)
and activate
SERIAL_CONSOLES_CHECK= "${SERIAL_CONSOLES}"with that on the first boot the correct value is picked up automatically.
Quoted 7 lines
Quoted 5 lines
Signed-off-by Heiko Schocher <[email protected]>---
meta-yocto-bsp/conf/machine/beaglebone-yocto.conf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)gentle ping. Any issues with this patch?
No, it merged already:
http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=81e48b24dd9c97a3bdda3b4140f8e2bda29d24da
Cheers,
Richard