[yocto] ttyS0 timeout but not using ttyS0 #yocto #systemd

2020-01-27 Thread William Durocher
? > /home/wdurocher/work/gammaip/warrior/sources/meta/meta/conf/distro/include/default-distrovars.inc:4 > > # "ttyS0" > # pre-expansion value: > #   "ttyO0" > KERNEL_CONSOLE="ttyO0" But loading this image, the logs still shows the tim

Re: [yocto] ttyS0 timeout but not using ttyS0 #yocto #systemd

2020-01-27 Thread William Durocher
Thank you for the quick reply, in our machin confif only SERIAL_CONSOLE is set, it is: > > SERIAL_CONSOLE = "115200 ttyO0" But yocto then uses that to set SERIAL_CONSOLES In bitbake -e I see SERIAL_CONSOLE and SERIAL_CONSOLES set to : > > # $SERIAL_CONSOLE [3 operations] > #   set > /home/wdur

Re: [yocto] ttyS0 timeout but not using ttyS0 #yocto #systemd

2020-02-06 Thread William Durocher
Got it figured out, Seems that the default values from meta/recipes-core/systemd/systemd-serialgetty.bb for SERIAL_CONSOLES in are being processed instead of the expansion in our layer. Even though SERIAL_CONSOLES is using SERIAL_CONSOLE. Our solution is to declare SERIAL_CONSOLE and SERIAL_CON