Re: [meta-xilinx] Add kernel configuration options using configuration fragments in custom layer

2018-04-26 Thread Oleg K Dzhimiev
Hi,

Try setting CONFIG_I2C?
https://github.com/Xilinx/linux-xlnx/blob/master/drivers/i2c/Kconfig

Regards,
Oleg

On Thu, Apr 26, 2018 at 9:18 AM, Artjom Rjabov  wrote:

> I am currently trying to modify the kernel configuration (overwrite
> default xilinx-linux layer configs) by adding configuration fragments to my
> custom layer like this :
>
> linux-xlnx_%.bbappend file:
>
> > FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}"
> > SRC_URI =+ "file://fragments.cfg"
>
> fragments.cfg:
>
> > CONFIG_I2C_SLAVE = y
>
> Then I run "bitbake \my-image\" and it parses the fragment perfectly, but
> it doesn't look like it ends up in the final config.
>
> mismatch-all.txt:
>
> > Config: CONFIG_I2C_SLAVE
> > From: /poky/build/tmp/work-shared/zedboard-zynq7/kernel-
> source/.kernel-meta/configs/fragments.cfg
> > Requested value:  CONFIG_I2C_SLAVE = y
> > Actual value: # CONFIG_I2C_SLAVE is not set
>
> How to tell bitbake to use my config parameters over the default ones?
> Actually, there are a lot of parameters in the "mismatch-all" from
> different config files scattered all across "kernel-source" directory. What
> is the priority?
>
> Additionally, I tried to use SCC file with kconf, but it changes nothing.
> It displays a warning during compilation: "specified values did not make it
> into the kernel's final configuration: CONFIG_I2C_SLAVE". Same thing, but
> with a proper warning.
> --
> ___
> meta-xilinx mailing list
> meta-xilinx@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-xilinx
>
-- 
___
meta-xilinx mailing list
meta-xilinx@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-xilinx


[meta-xilinx] Add kernel configuration options using configuration fragments in custom layer

2018-04-26 Thread Artjom Rjabov
I am currently trying to modify the kernel configuration (overwrite default 
xilinx-linux layer configs) by adding configuration fragments to my custom 
layer like this :

linux-xlnx_%.bbappend file:

> FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}"
> SRC_URI =+ "file://fragments.cfg"

fragments.cfg:

> CONFIG_I2C_SLAVE = y

Then I run "bitbake \my-image\" and it parses the fragment perfectly, but it 
doesn't look like it ends up in the final config.

mismatch-all.txt:

> Config: CONFIG_I2C_SLAVE
> From: 
> /poky/build/tmp/work-shared/zedboard-zynq7/kernel-source/.kernel-meta/configs/fragments.cfg
> Requested value:  CONFIG_I2C_SLAVE = y
> Actual value: # CONFIG_I2C_SLAVE is not set

How to tell bitbake to use my config parameters over the default ones? 
Actually, there are a lot of parameters in the "mismatch-all" from different 
config files scattered all across "kernel-source" directory. What is the 
priority?

Additionally, I tried to use SCC file with kconf, but it changes nothing. It 
displays a warning during compilation: "specified values did not make it into 
the kernel's final configuration: CONFIG_I2C_SLAVE". Same thing, but with a 
proper warning.
-- 
___
meta-xilinx mailing list
meta-xilinx@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-xilinx


Re: [meta-xilinx] [meta-xilinx-tools][PATCH 0/3] Use HOSTTOOLS for xlsclients and Xvfb dependencies

2018-04-26 Thread Jean-Francois Dagenais
Much cleaner! Thanks Manju!

reviewed-by: Jean-Francois Dagenais 



> On Apr 23, 2018, at 7:24 PM, Manjukumar Matha 
>  wrote:
> 
> Use HOSTTOOLS for Xvfb and xlsclients dependency for xsct tool.  Previously 
> the
> paths were hardcoded in xsct preventing the use of HOSTTOOLS, this has been
> fixed from 2018.1 release. This patch series will revert the usage of /usr/bin
> path for bitbake and adds the requirement to have Xvfb and xlscient on the 
> host
> system.
> 
> Manjukumar Matha (3):
>  Revert "xsct-tc: append the local system's /usr/bin dir as Xvfb
>fallback"
>  layer.conf: Add Xvfb and xlsclients to HOSTTOOLS
>  README.md : Add the requirements of Xvfb and xlsclients
> 
> README.md   | 12 
> classes/xsct-tc.bbclass |  1 -
> conf/layer.conf |  2 +-
> 3 files changed, 5 insertions(+), 10 deletions(-)
> 
> -- 
> 2.7.4
> 
> -- 
> ___
> meta-xilinx mailing list
> meta-xilinx@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-xilinx

-- 
___
meta-xilinx mailing list
meta-xilinx@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-xilinx