Re: [yocto] meta-intel: Override SERIAL_CONSOLES variable

2020-04-14 Thread Marek Belisko
On Sat, Apr 11, 2020 at 8:09 AM Anuj Mittal  wrote:
>
> Could you send a patch please?
Done: https://lists.yoctoproject.org/g/yocto/message/49131
>
> Thanks,
>
> Anuj
>
> > -Original Message-
> > From: yocto@lists.yoctoproject.org  On Behalf 
> > Of
> > Leon Woestenberg
> > Sent: Saturday, April 11, 2020 04:48 AM
> > To: Marek Belisko 
> > Cc: yocto 
> > Subject: Re: [yocto] meta-intel: Override SERIAL_CONSOLES variable
> >
> > Hi all,
> >
> > On Fri, Apr 10, 2020 at 8:56 AM Marek Belisko  
> > wrote:
> > >
> > > Hi,
> > >
> > > in meta-intel in machine configuration SERIAL_CONSOLES are defined as
> > > : SERIAL_CONSOLES = "115200;ttyS0 115200;ttyS1 115200;ttyS2"
> > >
> > For a more generic solution, could this be made  a weak assignment?
> >
> > I am on a SMARC x86-64 module which only one serial is useful, so I would 
> > like to
> > downtune this variable as well.
> >
> > Regards,
> >
> > Leon.
> 

BR,

marek
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#49132): https://lists.yoctoproject.org/g/yocto/message/49132
Mute This Topic: https://lists.yoctoproject.org/mt/72915847/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


Re: [yocto] meta-intel: Override SERIAL_CONSOLES variable

2020-04-11 Thread Anuj Mittal
Could you send a patch please?

Thanks,

Anuj

> -Original Message-
> From: yocto@lists.yoctoproject.org  On Behalf Of
> Leon Woestenberg
> Sent: Saturday, April 11, 2020 04:48 AM
> To: Marek Belisko 
> Cc: yocto 
> Subject: Re: [yocto] meta-intel: Override SERIAL_CONSOLES variable
> 
> Hi all,
> 
> On Fri, Apr 10, 2020 at 8:56 AM Marek Belisko  wrote:
> >
> > Hi,
> >
> > in meta-intel in machine configuration SERIAL_CONSOLES are defined as
> > : SERIAL_CONSOLES = "115200;ttyS0 115200;ttyS1 115200;ttyS2"
> >
> For a more generic solution, could this be made  a weak assignment?
> 
> I am on a SMARC x86-64 module which only one serial is useful, so I would 
> like to
> downtune this variable as well.
> 
> Regards,
> 
> Leon.
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#49116): https://lists.yoctoproject.org/g/yocto/message/49116
Mute This Topic: https://lists.yoctoproject.org/mt/72915847/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


Re: [yocto] meta-intel: Override SERIAL_CONSOLES variable

2020-04-10 Thread Leon Woestenberg
Hi all,

On Fri, Apr 10, 2020 at 8:56 AM Marek Belisko  wrote:
>
> Hi,
>
> in meta-intel in machine configuration SERIAL_CONSOLES are defined as
> : SERIAL_CONSOLES = "115200;ttyS0 115200;ttyS1 115200;ttyS2"
>
For a more generic solution, could this be made  a weak assignment?

I am on a SMARC x86-64 module which only one serial is useful, so I
would like to downtune this variable as well.

Regards,

Leon.
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#49113): https://lists.yoctoproject.org/g/yocto/message/49113
Mute This Topic: https://lists.yoctoproject.org/mt/72915847/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


[yocto] meta-intel: Override SERIAL_CONSOLES variable

2020-04-10 Thread Marek Belisko
Hi,

in meta-intel in machine configuration SERIAL_CONSOLES are defined as
: SERIAL_CONSOLES = "115200;ttyS0 115200;ttyS1 115200;ttyS2"

I would like to remove content of this variable (as on my target
system I get always this in journalctl):

Apr 06 11:12:54 intel-corei7-64 systemd[1]:
serial-getty@ttyS2.service: Succeeded. Apr 06 11:12:54 intel-corei7-64
systemd[1]: serial-getty@ttyS1.service: Succeeded. Apr 06 11:12:54
intel-corei7-64 systemd[1]: serial-getty@ttyS2.service: Service has no
hold-off time (RestartSec=0), scheduling restart. Apr 06 11:12:54
intel-corei7-64 systemd[1]: serial-getty@ttyS2.service: Scheduled
restart job, restart counter is at 62. Apr 06 11:12:54 intel-corei7-64
systemd[1]: serial-getty@ttyS1.service: Service has no hold-off time
(RestartSec=0), scheduling restart. Apr 06 11:12:54 intel-corei7-64
systemd[1]: serial-getty@ttyS1.service: Scheduled restart job, restart
counter is at 62. Apr 06 11:12:54 intel-corei7-64 systemd[1]: Stopped
Serial Getty on ttyS1. Apr 06 11:12:54 intel-corei7-64 systemd[1]:
Started Serial Getty on ttyS1. Apr 06 11:12:54 intel-corei7-64
systemd[1]: Stopped Serial Getty on ttyS2. Apr 06 11:12:54
intel-corei7-64 systemd[1]: Started Serial Getty on ttyS2.

so I do in local.conf:
SERIAL_CONSOLES_remove = "115200;ttyS0 115200;ttyS1 115200;ttyS2"

but then I get issue when building systemd-serialgetty:
 sed: -e expression #1, char 13: unterminated `s' command

because variable looks like this:
SERIAL_CONSOLES="  " when check with bitbake -e

Is there some other way how to achieve this? Thanks.

BR,

marek
-- 
as simple and primitive as possible
-
Marek Belisko - OPEN-NANDRA
Freelance Developer

Ruska Nova Ves 219 | Presov, 08005 Slovak Republic
Tel: +421 915 052 184
skype: marekwhite
twitter: #opennandra
web: http://open-nandra.com
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#49105): https://lists.yoctoproject.org/g/yocto/message/49105
Mute This Topic: https://lists.yoctoproject.org/mt/72915847/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-