We deprecated SERIAL_CONSOLE in 2013, yet many of our machine files still use the variable: x86-base.inc mpc8315e-rdb.conf edgerouter.conf beaglebone-yocto.conf This is confusing to users looking to us for an example.
Note that this will require that documentation be changed since we use the beaglebone as our example here: https://www.yoctoproject.org/docs/2.5/bsp-guide/bsp-guide.html#creating-a-new-bsp-layer-using-the-bitbake-layers-script
Stephano, can you please provide a link to deprecation notice from 2013 for the record? Thanks.
https://patchwork.openembedded.org/patch/49185/ http://lists.openembedded.org/pipermail/openembedded-core/2013-May/077916.html
Currently, following machine configuration files seem to need the transition from SERIAL_CONSOLE to SERIAL_CONSOLES: ./meta-yocto-bsp/conf/machine/mpc8315e-rdb.conf:SERIAL_CONSOLE = "115200 ttyS0" ./meta-yocto-bsp/conf/machine/edgerouter.conf:SERIAL_CONSOLE = "115200 ttyS0" ./meta-yocto-bsp/conf/machine/beaglebone-yocto.conf:SERIAL_CONSOLE = "115200 ttyO0" ./meta/conf/machine/include/x86-base.inc:SERIAL_CONSOLE ?= "115200 ttyS0" There is also the serialgetty recipe which still uses SERIAL_CONSOLE: ./meta/recipes-core/systemd/systemd-serialgetty.bb:SERIAL_CONSOLE ?= "115200 ttyS0" If we want to leave the default value, I think we should still transition it to SERIAL_CONSOLES. The recipe is already using SERIAL_CONSOLES variable internally in the do_install().
As suggested on the oe-core ML, patch was send to the poky ML: https://lists.yoctoproject.org/pipermail/poky/2018-August/011462.html Would that be the correct place for it?
Merged in: meta-yocto a0c5332aefe75cf314e78284f578b17c51b8ab27 OE-Core e5bde3d466869df9fce559e49842ac245153d045