Re: Customizing SERIAL_CONSOLES


Khem Raj
 

On Tue, Jul 12, 2022 at 12:41 PM chris yocto <chrisyocto2022@...> wrote:

Hi,



I’m trying to customize the SERIAL_CONSOLES variable. In another thread I read this can be done by adding a machine-extra.conf file too my custom layer. So I added “ SERIAL_CONSOLES = "115200;ttymxc0" ” to my machine-extra.conf, but when I bitbake my custom image, no changes are found.

In the conf file from the bsp for the board I’m using I found “SERIAL_CONSOLES = "115200;ttymxc2", when I change this to SERIAL_CONSOLES ?= "115200;ttymxc2" my changes are being applied.

This off course is not ideal since I then still don’t have all changes in my own layer.

Is there a way I can solve this?
there can be multiple entries in SERIAL_CONSOLES so you might try
adding instead of replacing

SERIAL_CONSOLES += "115200;ttymxc0"

might work



Kind regards,



Chris



Join yocto@lists.yoctoproject.org to automatically receive all group messages.