<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<meta name="Generator" content="Microsoft Exchange Server">
<!-- converted from text --><style><!-- .EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left: #800000 2px solid; } --></style>
</head>
<body>
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p>Hi Bruce,</p>
<p>My Mail system sent my reply before I got done with the dir tree. Here is the completed tree:</p>
<p><br>
</p>
<p></p>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px; margin-top: 0px; margin-bottom: 0px;">
Qt-5.9.6</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px; margin-top: 0px; margin-bottom: 0px;">
Yocto-mirror # Yocto build mirror</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px; margin-top: 0px; margin-bottom: 0px;">
Yocto-build-RPi3 # Yocto build root</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px; margin-top: 0px; margin-bottom: 0px;">
build-raspberrypi # build directory</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px; margin-top: 0px; margin-bottom: 0px;">
sources # yocto sources</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px; margin-top: 0px; margin-bottom: 0px;">
meta-sakura # our recipes</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px; margin-top: 0px; margin-bottom: 0px;">
recipes-kernel # directory for kernel changes</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px; margin-top: 0px; margin-bottom: 0px;">
linux # directory that contains .bbappend</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px; margin-top: 0px; margin-bottom: 0px;">
files # directory that contains .cfg & .scc files</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px; margin-top: 0px; margin-bottom: 0px;">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px; margin-top: 0px; margin-bottom: 0px;">
Hope this all helps.</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px; margin-top: 0px; margin-bottom: 0px;">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px; margin-top: 0px; margin-bottom: 0px;">
Thanks,</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px; margin-top: 0px; margin-bottom: 0px;">
Greg</div>
<br>
<p></p>
</div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Greg Wilson-Lindberg<br>
<b>Sent:</b> Monday, July 30, 2018 9:21:03 AM<br>
<b>To:</b> Bruce Ashfield; yocto@yoctoproject.org<br>
<b>Subject:</b> Re: [yocto] Kernel configuration problems</font>
<div> </div>
</div>
<div>
<meta content="text/html; charset=UTF-8">
<style type="text/css" style="">
<!--
p
{margin-top:0;
margin-bottom:0}
-->
</style>
<div dir="ltr">
<div id="x_divtagdefaultwrapper" style="font-size:12pt; color:#000000; font-family:Calibri,Arial,Helvetica,sans-serif">
<p>Hi Bruce,</p>
<p>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.</p>
<p><br>
</p>
<p>Here is the reported build configuration:</p>
<p><br>
</p>
<p></p>
<div>Build Configuration:</div>
<div>BB_VERSION = "1.32.0"</div>
<div>BUILD_SYS = "x86_64-linux"</div>
<div>NATIVELSBSTRING = "universal"</div>
<div>TARGET_SYS = "arm-poky-linux-gnueabi"</div>
<div>MACHINE = "raspberrypi3"</div>
<div>DISTRO = "b2qt"</div>
<div>DISTRO_VERSION = "2.2.4"</div>
<div>TUNE_FEATURES = "arm armv7ve vfp thumb neon vfpv4 callconvention-hard cortexa7"</div>
<div>TARGET_FPU = "hard"</div>
<div>SDKMACHINE = "x86_64"</div>
<div>meta </div>
<div>meta-poky = "HEAD:df76669bdd70aa0d903c4211dde731221c7e756d"</div>
<div>meta-raspberrypi = "HEAD:2a192261a914892019f4f428d7462bb3c585ebac"</div>
<div>meta-oe </div>
<div>meta-python </div>
<div>meta-networking </div>
<div>meta-initramfs </div>
<div>meta-multimedia = "HEAD:b40116cf457b88a2db14b86fda9627fb34d56ae6"</div>
<div>meta-boot2qt </div>
<div>meta-raspberrypi-extras = "<unknown>:<unknown>"</div>
<div>meta-mingw = "HEAD:1c2e155111dce94423cc227ea69f7f50f316c78e"</div>
<div>meta-qt5 = "HEAD:49e9d9a73b5c6e3d6eab88dc0005305e85b1a62d"</div>
<div>meta-sakura = "<unknown>:<unknown>"</div>
<div><br>
</div>
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.
<p></p>
<p><br>
</p>
<p>Just to be complete the path to the .bbappend & files directory is:</p>
<p><br>
</p>
<p>Qt-5.9.6</p>
<p> Yocto-mirror # Yocto build mirror</p>
<p> Yocto-build-RPi3</p>
</div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="x_divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> Bruce Ashfield <bruce.ashfield@windriver.com><br>
<b>Sent:</b> Saturday, July 28, 2018 9:53:03 PM<br>
<b>To:</b> Greg Wilson-Lindberg; yocto@yoctoproject.org<br>
<b>Subject:</b> Re: [yocto] Kernel configuration problems</font>
<div> </div>
</div>
</div>
<font size="2"><span style="font-size:10pt;">
<div class="PlainText">On 7/27/2018 6:20 PM, Greg Wilson-Lindberg wrote:<br>
> I'm trying to add a couple of drivers to the kernel in a Raspberry pi3 <br>
> build.<br>
> <br>
> I've got the passing of the config options working, but I'm getting <br>
> warnings from the kernel build that the options are not being applied:<br>
> <br>
> WARNING: linux-raspberrypi-1_4.4.50+gitAUTOINC+04c8e47067-r0 <br>
> do_kernel_configcheck: [kernel config]: specified values did not make it <br>
> into the kernel's final configuration:<br>
> <br>
> ---------- CONFIG_SND_SOC_MAX9768 -----------------<br>
> Config: CONFIG_SND_SOC_MAX9768<br>
> From: <br>
> /home/gwilson/Qt/Qt-5.9.6/Yocto-build-RPi3/build-raspberrypi3/tmp/work-shared/raspberrypi3/kernel-source/.kernel-meta/configs/Scribe.cfg<br>
> Requested value: CONFIG_SND_SOC_MAX9768=y<br>
> Actual value:<br>
> <br>
> Config 'SND_SOC_MAX9768' has the following conditionals:<br>
> Dependency values are:<br>
> <br>
> ---------- CONFIG_MAX1363 -----------------<br>
> Config: CONFIG_MAX1363<br>
> From: <br>
> /home/gwilson/Qt/Qt-5.9.6/Yocto-build-RPi3/build-raspberrypi3/tmp/work-shared/raspberrypi3/kernel-source/.kernel-meta/configs/Scribe.cfg<br>
> Requested value: CONFIG_MAX1363=m<br>
> Actual value: # CONFIG_MAX1363 is not set<br>
> <br>
> Config 'MAX1363' has the following conditionals:<br>
> I2C (value: "y")<br>
> Dependency values are:<br>
> I2C [y]<br>
> <br>
> <br>
> My problem is that I don't understand why the options are not being applied.<br>
> <br>
> For the MAX_9768, it depends on I2C=y which is true. I've run the linux <br>
> kernel menu config and when I get to the Sound SOC support none of the <br>
> drivers that require I2C support (i.e. 'select SND_SOC_MAX9768 if I2C') <br>
> are displayed. I don't see anything else that would disable them, the <br>
> other drivers in the SOC Kconfig that don't depend on I2C or that depend <br>
> on SPI_MASTER are displayed.<br>
> <br>
> The MAX1363 can be set in the menuconfig to 'm', but still won't set <br>
> from the scc, cfg files.<br>
> <br>
> Any insight into what's going on here would be greatly appreciated.<br>
<br>
I can help with this ... but first, is this a configuration that I can<br>
build myself ? i.e. what branch, what layers and what extra configs<br>
would I need ?<br>
<br>
Bruce<br>
<br>
> <br>
> Regards,<br>
> <br>
> cid:image001.png@01D35D7D.179A7510<br>
> <br>
> *Greg Wilson-Lindberg *<br>
> <br>
> *Principal Firmware Engineer | Sakura Finetek USA, Inc. *<br>
> <br>
> **<br>
> <br>
> 1750 W 214^th Street | Torrance, CA 90501 | U.S.A.<br>
> <br>
> T: +1 310 783 5075<br>
> <br>
> F: +1 310 618 6902 | E: gwilson@sakuraus.com<mailto:gwilson@sakuraus.com><br>
> <br>
> www.sakuraus.com<<a href="http://www.sakuraus.com">http://www.sakuraus.com</a>><br>
> <br>
> cid:image002.png@01D35D7D.179A7510<br>
> <br>
> <br>
> <br>
> cid:image003.png@01D35D7D.179A7510<br>
> <br>
> ------------------------------------------------------------------------<br>
> <br>
> Confidentiality Notice: This e-mail transmission may contain <br>
> confidential or legally privileged information that is intended only for <br>
> the individual or entity named in the e-mail address. If you are not the <br>
> intended recipient, you are hereby notified that any disclosure, <br>
> copying, distribution, or reliance upon the contents of this e-mail is <br>
> strictly prohibited. If you have received this e-mail transmission in <br>
> error, please reply to the sender, so that Sakura Finetek USA, Inc. can <br>
> arrange for proper delivery, and then please delete the message from <br>
> your inbox. Thank you.<br>
> <br>
> <br>
> <br>
</div>
</span></font></div>
</body>
</html>