[yocto] Kernel configuration problems

Bruce Ashfield bruce.ashfield at windriver.com
Sat Jul 28 21:53:03 PDT 2018


On 7/27/2018 6:20 PM, Greg Wilson-Lindberg wrote:
> I'm trying to add a couple of drivers to the kernel in a Raspberry pi3 
> build.
> 
> I've got the passing of the config options working, but I'm getting 
> warnings from the kernel build that the options are not being applied:
> 
> WARNING: linux-raspberrypi-1_4.4.50+gitAUTOINC+04c8e47067-r0 
> do_kernel_configcheck: [kernel config]: specified values did not make it 
> into the kernel's final configuration:
> 
> ---------- CONFIG_SND_SOC_MAX9768 -----------------
> Config: CONFIG_SND_SOC_MAX9768
> From: 
> /home/gwilson/Qt/Qt-5.9.6/Yocto-build-RPi3/build-raspberrypi3/tmp/work-shared/raspberrypi3/kernel-source/.kernel-meta/configs/Scribe.cfg
> Requested value:  CONFIG_SND_SOC_MAX9768=y
> Actual value:
> 
> Config 'SND_SOC_MAX9768' has the following conditionals:
> Dependency values are:
> 
> ---------- CONFIG_MAX1363 -----------------
> Config: CONFIG_MAX1363
> From: 
> /home/gwilson/Qt/Qt-5.9.6/Yocto-build-RPi3/build-raspberrypi3/tmp/work-shared/raspberrypi3/kernel-source/.kernel-meta/configs/Scribe.cfg
> Requested value:  CONFIG_MAX1363=m
> Actual value:     # CONFIG_MAX1363 is not set
> 
> Config 'MAX1363' has the following conditionals:
>    I2C (value: "y")
> Dependency values are:
>    I2C [y]
> 
> 
> My problem is that I don't understand why the options are not being applied.
> 
> For the MAX_9768, it depends on I2C=y which is true. I've run the linux 
> kernel menu config and when I get to the Sound SOC support none of the 
> drivers that require I2C support (i.e. 'select SND_SOC_MAX9768 if I2C') 
> are displayed. I don't see anything else that would disable them, the 
> other drivers in the SOC Kconfig that don't depend on I2C or that depend 
> on SPI_MASTER are displayed.
> 
> The MAX1363 can be set in the menuconfig to 'm', but still won't set 
> from the scc, cfg files.
> 
> Any insight into what's going on here would be greatly appreciated.

I can help with this ... but first, is this a configuration that I can
build myself ? i.e. what branch, what layers and what extra configs
would I need ?

Bruce

> 
> Regards,
> 
> cid:image001.png at 01D35D7D.179A7510
> 
> *Greg Wilson-Lindberg *
> 
> *Principal Firmware Engineer | Sakura Finetek USA, Inc. *
> 
> **
> 
> 1750 W 214^th Street | Torrance, CA 90501 | U.S.A.
> 
> T: +1 310 783 5075
> 
> F: +1 310 618 6902 | E: gwilson at sakuraus.com<mailto:gwilson at sakuraus.com>
> 
> www.sakuraus.com<http://www.sakuraus.com>
> 
> cid:image002.png at 01D35D7D.179A7510
> 
> 	
> 
> cid:image003.png at 01D35D7D.179A7510
> 
> ------------------------------------------------------------------------
> 
> Confidentiality Notice: This e-mail transmission may contain 
> confidential or legally privileged information that is intended only for 
> the individual or entity named in the e-mail address. If you are not the 
> intended recipient, you are hereby notified that any disclosure, 
> copying, distribution, or reliance upon the contents of this e-mail is 
> strictly prohibited. If you have received this e-mail transmission in 
> error, please reply to the sender, so that Sakura Finetek USA, Inc. can 
> arrange for proper delivery, and then please delete the message from 
> your inbox. Thank you.
> 
> 
> 


More information about the yocto mailing list