[yocto] [PATCH] beaglebone: Fix serial console device node

Marek Vasut marex at denx.de
Mon Jan 8 06:29:07 PST 2018


On 01/08/2018 12:28 PM, Martin Hundebøll wrote:
> Hi Marek,
> 
> On 2018-01-07 17:16, Marek Vasut wrote:
>> The serial console on BBB is on /dev/ttyS0 , not /dev/ttyO0 .
>> This changed again, so fix this.
>>
>> Signed-off-by: Marek Vasut <marex at denx.de>
>> Cc: Joshua Lock <joshua.g.lock at intel.com>
>> Cc: Richard Purdie <richard.purdie at linuxfoundation.org>
>> ---
>>   meta-yocto-bsp/conf/machine/beaglebone-yocto.conf | 2 +-
>>   1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/meta-yocto-bsp/conf/machine/beaglebone-yocto.conf
>> b/meta-yocto-bsp/conf/machine/beaglebone-yocto.conf
>> index 990c967416..4f6c05f3ea 100644
>> --- a/meta-yocto-bsp/conf/machine/beaglebone-yocto.conf
>> +++ b/meta-yocto-bsp/conf/machine/beaglebone-yocto.conf
>> @@ -20,7 +20,7 @@ WKS_FILE ?= "beaglebone-yocto.wks"
>>   IMAGE_INSTALL_append = " kernel-devicetree kernel-image-zimage"
>>   do_image_wic[depends] += "mtools-native:do_populate_sysroot
>> dosfstools-native:do_populate_sysroot"
>>   -SERIAL_CONSOLE = "115200 ttyO0"
>> +SERIAL_CONSOLE = "115200 ttyS0"
> 
> You can add both to SERIAL_CONSOLES instead:
> 
>   SERIAL_CONSOLES = "115200;ttyS0 115200;ttyO0"
> 
> Maybe add a comment with hints about which kernels versions that make
> the change(s).
> 
> OE-core wraps *getty with in script that checks for the existence of the
> configured devices before starting *getty.
> 
> This also makes the recipe work on kernel versions still using ttyO0.

Done, V2 is out.

-- 
Best regards,
Marek Vasut



More information about the yocto mailing list