[yocto] Kernel configuration problems
Greg Wilson-Lindberg
GWilson at sakuraus.com
Mon Jul 30 09:25:56 PDT 2018
Hi Bruce,
My Mail system sent my reply before I got done with the dir tree. Here is the completed tree:
Qt-5.9.6
Yocto-mirror # Yocto build mirror
Yocto-build-RPi3 # Yocto build root
build-raspberrypi # build directory
sources # yocto sources
meta-sakura # our recipes
recipes-kernel # directory for kernel changes
linux # directory that contains .bbappend
files # directory that contains .cfg & .scc files
Hope this all helps.
Thanks,
Greg
________________________________
From: Greg Wilson-Lindberg
Sent: Monday, July 30, 2018 9:21:03 AM
To: Bruce Ashfield; yocto at yoctoproject.org
Subject: Re: [yocto] Kernel configuration problems
Hi Bruce,
The full build is a Qt Boot2Qt build, so it includes some Qt stuff that isn't part of Yocto, but the kernel is just the linux-raspberrypi kernel. The one kernel that I'm getting in the build is 4.4.
Here is the reported build configuration:
Build Configuration:
BB_VERSION = "1.32.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "universal"
TARGET_SYS = "arm-poky-linux-gnueabi"
MACHINE = "raspberrypi3"
DISTRO = "b2qt"
DISTRO_VERSION = "2.2.4"
TUNE_FEATURES = "arm armv7ve vfp thumb neon vfpv4 callconvention-hard cortexa7"
TARGET_FPU = "hard"
SDKMACHINE = "x86_64"
meta
meta-poky = "HEAD:df76669bdd70aa0d903c4211dde731221c7e756d"
meta-raspberrypi = "HEAD:2a192261a914892019f4f428d7462bb3c585ebac"
meta-oe
meta-python
meta-networking
meta-initramfs
meta-multimedia = "HEAD:b40116cf457b88a2db14b86fda9627fb34d56ae6"
meta-boot2qt
meta-raspberrypi-extras = "<unknown>:<unknown>"
meta-mingw = "HEAD:1c2e155111dce94423cc227ea69f7f50f316c78e"
meta-qt5 = "HEAD:49e9d9a73b5c6e3d6eab88dc0005305e85b1a62d"
meta-sakura = "<unknown>:<unknown>"
I've attached both my .bbappend and my .scc & .cfg files. The .bbappend also references a patch for another driver, but that is working correctly.
Just to be complete the path to the .bbappend & files directory is:
Qt-5.9.6
Yocto-mirror # Yocto build mirror
Yocto-build-RPi3
________________________________
From: Bruce Ashfield <bruce.ashfield at windriver.com>
Sent: Saturday, July 28, 2018 9:53:03 PM
To: Greg Wilson-Lindberg; yocto at yoctoproject.org
Subject: Re: [yocto] Kernel configuration problems
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.
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20180730/1a860c90/attachment-0001.html>
More information about the yocto
mailing list