[meta-xilinx] [PATCH v2] zcu102-zynqmp.conf: Add serial consoles check

Vineeth Chowdhary Karumanchi vineethchowdhary.karumanchi at gmail.com
Wed Nov 8 18:59:11 PST 2017



On 11/8/2017 6:08 PM, Nathan Rossi wrote:
> On 8 November 2017 at 18:17, Vineeth Chowdhary Karumanchi
> <vineethchowdhary.karumanchi at gmail.com> wrote:
>> Hi Manju,
>>
>>
>> question on similar lines, How can I change SERIAL_CONSOLE a part from
>> MACHINE conf ?
> Since its set with "=" in these machine confs if you want to set it
Any reason why it is = only, why cant we use ?=

Thanks
Vineeth
> before (e.g. at local.conf) you will need to override it with
> something like:
>
> SERIAL_CONSOLE_forcevariable = "..."
>
> Or probably more practically, use the machine override. This way you
> could define multiple serial console values for different machines.
> e.g.
>
> SERIAL_CONSOLE_zcu102-zynqmp = "a"
> SERIAL_CONSOLE_other-machine = "b"
>
> Regards,
> Nathan
>
>> Thanks
>> VIneeth
>>
>> On 11/7/2017 6:53 AM, Manjukumar Matha wrote:
>>> There are instances when serial console check if required to disable
>>> consoles when it is not defined by SERIAL_CONSOLES.
>>>
>>> Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha at xilinx.com>
>>> ---
>>>    conf/machine/zcu102-zynqmp.conf | 1 +
>>>    1 file changed, 1 insertion(+)
>>>
>>> diff --git a/conf/machine/zcu102-zynqmp.conf
>>> b/conf/machine/zcu102-zynqmp.conf
>>> index e6d66cd..dd61884 100644
>>> --- a/conf/machine/zcu102-zynqmp.conf
>>> +++ b/conf/machine/zcu102-zynqmp.conf
>>> @@ -13,6 +13,7 @@ MACHINE_FEATURES = "rtc ext2 ext3 vfat usbhost"
>>>    UBOOT_MACHINE = "xilinx_zynqmp_zcu102_revB_defconfig"
>>>      SERIAL_CONSOLE = "115200 ttyPS0"
>>> +SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}"
>>>      KERNEL_DEVICETREE = "xilinx/zynqmp-zcu102-revB.dtb
>>> xilinx/zynqmp-zcu102.dtb"
>>>
>>
>> --
>> _______________________________________________
>> meta-xilinx mailing list
>> meta-xilinx at yoctoproject.org
>> https://lists.yoctoproject.org/listinfo/meta-xilinx




More information about the meta-xilinx mailing list