[yocto] thud, beaglebone-yocto.conf: SERIAL_CONSOLES setting

Heiko Schocher hs at denx.de
Tue Nov 6 00:10:01 PST 2018


Hello Kevin, Robert,

Am 05.11.2018 um 06:26 schrieb Kevin Hao:
> On Sun, Nov 04, 2018 at 12:10:00PM +0200, Robert Berger wrote:
>> Hi,
>>
>> On 02.11.18 16:27, Khem Raj wrote:
>>>
>>> omap serial is obsolete why does linux-yocto keeps using it.
>>> seondly, machine config should enable both consoles ttyO0 and ttyS0 if
>>> you know that at least one kernel is using ttyO0
>>>
>> How about picking whatever works for you in the kernel conf and in machine
>> conf?
>>
>> SERIAL_CONSOLES = "115200;ttyS0 115200;ttyO0"
>> SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}"
>>
>> Like this on the first boot either ttyO0 or ttyS0 should be picked
>> automatically.
> 
> Yes, this is doable. Would you mind send a patch?

Sorry for answering so late... good hint, I missed SERIAL_CONSOLES_CHECK

I try this change and report, give me some time...

bye,
Heiko
-- 
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-52   Fax: +49-8142-66989-80   Email: hs at denx.de


More information about the yocto mailing list