Mike Looijmans

I'd suggest adding some "bogus" things to your machine-extra.conf, because I don't think the file will actually be used (or even parsed) anywhere.

You can override SERIAL_CONSOLES in your DISTRO config, as that takes precedence over the machine config. In local.conf it won't work because the MACHINE config is included after it.

Another approach is to grep on which recipes use it (half a dozen) and then create a bbappend for each. That's the approach I've used recently.

Met vriendelijke groet / kind regards,

Mike Looijmans
System Expert

TOPIC Embedded Products B.V.
Materiaalweg 4, 5681 RJ Best
The Netherlands

T: +31 (0) 499 33 69 69
E: mike.looijmans@...

Please consider the environment before printing this e-mail

On 12-07-2022 13:41, chris yocto via wrote:


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?

Kind regards,


Mike Looijmans

Join to automatically receive all group messages.