<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">On 2018-10-05 7:26 PM, Greg
Wilson-Lindberg wrote:<br>
</div>
<blockquote type="cite"
cite="mid:772b7fca373e4a9085660b8a79a36673@sakuraus.com">
<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>
<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">
<div style="color:#000000; background-color:#ffffff;
font-style:normal; font-weight:normal; text-decoration:none">
<pre>Hi Bruce,
I've been able to reproduce the problem in a more minimal environment.
To build a basic Yocto Raspberry Pi environment I based my build on the instructions found here:
<a class="moz-txt-link-freetext" href="https://themeaningfulengineer.github.io/exploring-yocto-with-raspberrypi/">https://themeaningfulengineer.github.io/exploring-yocto-with-raspberrypi/</a>
The steps that I actually executed are:
git clone -b morty --single-branch <a class="moz-txt-link-freetext" href="git://git.yoctoproject.org/poky">git://git.yoctoproject.org/poky</a>
cd poky/
git clone -b morty <a class="moz-txt-link-freetext" href="http://git.yoctoproject.org/git/meta-raspberrypi">http://git.yoctoproject.org/git/meta-raspberrypi</a>
source oe-init-build-env rpi-build
In rpi-build/conf/local.conf I changed the MACHINE assignment to "raspberrypi2" from "qemu86"
In rpi-build/conf/bblayers.conf I added " /home/gwilson/Qt/poky/meta-raspberrypi \" to pick up the raspberry layer.
At this point I ran:
bitbake rpi-hwup-image
to verify that the environment was correct. The build finished with only a couple of warnings about checksum problems and using alternate mirrors.</pre>
<pre>I then copied in my kernel scripts and added in the directory to the bblayers file. </pre>
<pre>When I rebuilt with these changes I get the same warnings/errors about changing the kernel config that I get with my full build environment.
</pre>
<pre><pre style="font-size:16px">I've attached my meta-test directory with the kernel configuration .bbappend and .scc & .cfg files, and the final bblayers.conf & local.conf files.</pre><pre style="font-size:16px">Thank you for taking a look at this.</pre></pre>
</div>
</div>
</div>
</blockquote>
Thanks Greg,<br>
<br>
I was able to reproduce the problem a few minutes ago, but will have
to look at the root cause in the morning!<br>
<br>
Bruce<br>
<br>
<blockquote type="cite"
cite="mid:772b7fca373e4a9085660b8a79a36673@sakuraus.com">
<div dir="ltr">
<div id="x_divtagdefaultwrapper" style="font-size:12pt;
color:#000000; font-family:Calibri,Arial,Helvetica,sans-serif">
<div style="color:#000000; background-color:#ffffff;
font-style:normal; font-weight:normal; text-decoration:none">
<pre><pre style="font-size:16px">Regards,</pre><pre style="font-size:16px">Greg Wilson-Lindberg</pre>
</pre>
</div>
<br>
</div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="x_divRplyFwdMsg" dir="ltr"><font style="font-size:11pt"
face="Calibri, sans-serif" color="#000000"><b>From:</b>
<a class="moz-txt-link-abbreviated" href="mailto:yocto-bounces@yoctoproject.org">yocto-bounces@yoctoproject.org</a>
<a class="moz-txt-link-rfc2396E" href="mailto:yocto-bounces@yoctoproject.org"><yocto-bounces@yoctoproject.org></a> on behalf of Greg
Wilson-Lindberg <a class="moz-txt-link-rfc2396E" href="mailto:GWilson@sakuraus.com"><GWilson@sakuraus.com></a><br>
<b>Sent:</b> Friday, October 5, 2018 9:23:52 AM<br>
<b>To:</b> Bruce Ashfield; <a class="moz-txt-link-abbreviated" href="mailto:yocto@yoctoproject.org">yocto@yoctoproject.org</a><br>
<b>Subject:</b> Re: [yocto] changing kernel config in Morty
build</font>
<div> </div>
</div>
</div>
<font size="2"><span style="font-size:10pt;">
<div class="PlainText">Hi Bruce,<br>
I'll do my best to get something for you.<br>
Thanks,<br>
<br>
Greg Wilson-Lindberg <br>
Principal Firmware Engineer | Sakura Finetek USA, Inc. <br>
<br>
1750 W 214th Street | Torrance, CA 90501 | U.S.A. <br>
T: +1 310 783 5075 <br>
F: +1 310 618 6902 | E: <a class="moz-txt-link-abbreviated" href="mailto:gwilson@sakuraus.com">gwilson@sakuraus.com</a> <br>
<a href="http://www.sakuraus.com" moz-do-not-send="true">www.sakuraus.com</a>
<br>
<br>
<br>
<br>
<br>
<br>
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.<br>
<br>
<br>
<br>
> -----Original Message-----<br>
> From: Bruce Ashfield [<a
href="mailto:bruce.ashfield@windriver.com"
moz-do-not-send="true">mailto:bruce.ashfield@windriver.com</a>]<br>
> Sent: Friday, October 05, 2018 08:46 AM<br>
> To: Greg Wilson-Lindberg <a class="moz-txt-link-rfc2396E" href="mailto:GWilson@sakuraus.com"><GWilson@sakuraus.com></a>;
<a class="moz-txt-link-abbreviated" href="mailto:yocto@yoctoproject.org">yocto@yoctoproject.org</a><br>
> Subject: Re: [yocto] changing kernel config in Morty
build<br>
> <br>
> On 2018-10-04 4:38 PM, Greg Wilson-Lindberg wrote:<br>
> > Does anybody else have any idea about what is
going on here?<br>
> ><br>
> <br>
> I can't tell from the information provided.<br>
> <br>
> But if you can send me a set of layers to clone, and
configure locally, I can figure it<br>
> out.<br>
> <br>
> Cheers,<br>
> <br>
> Bruce<br>
> <br>
> > Yocto is seeing my request to change the kernel
config, suggests that<br>
> > the change is acceptable, but then doesn't make
it.<br>
> ><br>
> > Thanks in advance for any insight,<br>
> ><br>
> > Greg<br>
> ><br>
> > **<br>
> ><br>
> > *From:*Greg Wilson-Lindberg<br>
> > *Sent:* Tuesday, October 02, 2018 02:22 PM<br>
> > *To:* <a class="moz-txt-link-abbreviated" href="mailto:yocto@yoctoproject.org">yocto@yoctoproject.org</a><br>
> > *Subject:* changing kernel config in Morty build<br>
> ><br>
> > I'm trying to change some kernel configuration
flags in a<br>
> > raspberrypi3 Morty build and I get warnings that
it isn't working.<br>
> ><br>
> > Here is the build info and warnings:<br>
> ><br>
> > Build Configuration:<br>
> ><br>
> > BB_VERSION = "1.32.0"<br>
> ><br>
> > BUILD_SYS = "x86_64-linux"<br>
> ><br>
> > NATIVELSBSTRING = "universal"<br>
> ><br>
> > TARGET_SYS = "arm-poky-linux-gnueabi"<br>
> ><br>
> > MACHINE = "raspberrypi3"<br>
> ><br>
> > DISTRO = "b2qt"<br>
> ><br>
> > DISTRO_VERSION = "2.2.4"<br>
> ><br>
> > TUNE_FEATURES = "arm armv7ve vfp thumb neon
vfpv4<br>
> > callconvention-hard cortexa7"<br>
> ><br>
> > TARGET_FPU = "hard"<br>
> ><br>
> > SDKMACHINE = "x86_64"<br>
> ><br>
> > meta<br>
> ><br>
> > meta-poky =
"HEAD:df76669bdd70aa0d903c4211dde731221c7e756d"<br>
> ><br>
> > meta-raspberrypi =
"HEAD:2a192261a914892019f4f428d7462bb3c585ebac"<br>
> ><br>
> > meta-oe<br>
> ><br>
> > meta-python<br>
> ><br>
> > meta-networking<br>
> ><br>
> > meta-initramfs<br>
> ><br>
> > meta-multimedia =
"HEAD:b40116cf457b88a2db14b86fda9627fb34d56ae6"<br>
> ><br>
> > meta-boot2qt<br>
> ><br>
> > meta-raspberrypi-extras =
"<unknown>:<unknown>"<br>
> ><br>
> > meta-mingw =
"HEAD:1c2e155111dce94423cc227ea69f7f50f316c78e"<br>
> ><br>
> > meta-qt5 =
"HEAD:49e9d9a73b5c6e3d6eab88dc0005305e85b1a62d"<br>
> ><br>
> > meta-sakura =
"<unknown>:<unknown>"<br>
> ><br>
> > Initialising tasks: 100%<br>
> ><br>
>
|###################################################################<br>
> ##<br>
> ><br>
>
|###################################################################<br>
> ##<br>
> > |###|<br>
> > Time: 0:00:00<br>
> ><br>
> > NOTE: Executing SetScene Tasks<br>
> ><br>
> > NOTE: Executing RunQueue Tasks<br>
> ><br>
> > WARNING:
linux-raspberrypi-1_4.4.50+gitAUTOINC+04c8e47067-r0<br>
> > do_kernel_configcheck: [kernel config]: specified
values did not make<br>
> > it into the kernel's final configuration:<br>
> ><br>
> > ---------- CONFIG_SND_SOC_MAX9768
-----------------<br>
> ><br>
> > Config: CONFIG_SND_SOC_MAX9768<br>
> ><br>
> > From:<br>
> >
/home/gwilson/Qt/Qt-5.9.6/Yocto-build-RPi3/build-raspberrypi3/tmp/work<br>
> >
-shared/raspberrypi3/kernel-source/.kernel-meta/configs/Scribe.cfg<br>
> ><br>
> > Requested value: CONFIG_SND_SOC_MAX9768=y<br>
> ><br>
> > Actual value:<br>
> ><br>
> > Config 'SND_SOC_MAX9768' has the following
conditionals:<br>
> ><br>
> > Dependency values are:<br>
> ><br>
> > ---------- CONFIG_MAX1363 -----------------<br>
> ><br>
> > Config: CONFIG_MAX1363<br>
> ><br>
> > From:<br>
> >
/home/gwilson/Qt/Qt-5.9.6/Yocto-build-RPi3/build-raspberrypi3/tmp/work<br>
> >
-shared/raspberrypi3/kernel-source/.kernel-meta/configs/Scribe.cfg<br>
> ><br>
> > Requested value: CONFIG_MAX1363=m<br>
> ><br>
> > Actual value: # CONFIG_MAX1363 is not set<br>
> ><br>
> > Config 'MAX1363' has the following conditionals:<br>
> ><br>
> > I2C (value: "y")<br>
> ><br>
> > Dependency values are:<br>
> ><br>
> > I2C [y]<br>
> ><br>
> > ---------- CONFIG_CAN_EMS_USB -----------------<br>
> ><br>
> > Config: CONFIG_CAN_EMS_USB<br>
> ><br>
> > From:<br>
> >
/home/gwilson/Qt/Qt-5.9.6/Yocto-build-RPi3/build-raspberrypi3/tmp/work<br>
> >
-shared/raspberrypi3/kernel-source/.kernel-meta/configs/Scribe.cfg<br>
> ><br>
> > Requested value: CONFIG_CAN_EMS_USB=m<br>
> ><br>
> > Actual value: # CONFIG_CAN_EMS_USB is not set<br>
> ><br>
> > Config 'CAN_EMS_USB' has the following
conditionals:<br>
> ><br>
> > (none)<br>
> ><br>
> > Dependency values are:<br>
> ><br>
> > Here is my<br>
> ><br>
> > linux-raspberrypi_4.4.bbappend for the kernel:<br>
> ><br>
> > # Scribe additions to Kernel configuration<br>
> ><br>
> > FILESEXTRAPATHS_prepend :=
"${FILE_DIRNAME}/files:"<br>
> ><br>
> > FILESEXTRAPATHS_prepend :=
"${FILE_DIRNAME}/${PN}:"<br>
> ><br>
> > SRC_URI += "<a class="moz-txt-link-freetext" href="file://Scribe.scc">file://Scribe.scc</a> <<a
href="file:///%5C%5CScribe.scc" moz-do-not-send="true">file:///%5C%5CScribe.scc</a>>"<br>
> ><br>
> > SRC_URI += "<a class="moz-txt-link-freetext" href="file://mcp251x.c.patch">file://mcp251x.c.patch</a> <<a
href="file:///%5C%5Cmcp251x.c.patch"
moz-do-not-send="true">file:///%5C%5Cmcp251x.c.patch</a>>"<br>
> ><br>
> > The Scribe.scc file:<br>
> ><br>
> > # Scribe additions to kernel configuration<br>
> ><br>
> > kconf hardware Scribe.cfg<br>
> ><br>
> > And the Scribe.cfg file:<br>
> ><br>
> > # Scribe additions to kernel configuration<br>
> ><br>
> > # Enable MAX9768<br>
> ><br>
> > #CONFIG_SOC_ALL_CODECS=m<br>
> ><br>
> > #CONFIG_COMPILE_TEST=y<br>
> ><br>
> > CONFIG_SND_SOC_MAX9768=y<br>
> ><br>
> > # Enable MAX11606<br>
> ><br>
> > #IIO=y<br>
> ><br>
> > CONFIG_MAX1363=m<br>
> ><br>
> > # Enable EMS CPC-USB<br>
> ><br>
> > CONFIG_CAN_EMS_USB=m<br>
> ><br>
> > Here is my directory tree:<br>
> ><br>
> > Qt-5.9.6<br>
> ><br>
> > Yocto-mirror<br>
> > # Yocto build mirror<br>
> ><br>
> > Yocto-build-RPi3
#<br>
> > Yocto build root<br>
> ><br>
> > build-raspberrypi
#<br>
> > build directory<br>
> ><br>
> > sources<br>
> > # yocto sources<br>
> ><br>
> > meta-sakura<br>
> > # our recipes<br>
> ><br>
> > recipes-kernel<br>
> > # directory for kernel changes<br>
> ><br>
> > linux<br>
> > # directory that contains
linux-raspberrypi_4.4.bbappend<br>
> ><br>
> >
files<br>
> > # directory that contains .scc & .cfg
files<br>
> ><br>
> > As seen above none of the changes are accepted
although there is<br>
> > nothing that blocks any of them.<br>
> ><br>
> > Any help understanding this would be greatly
appreciated.<br>
> ><br>
> > Regards,<br>
> ><br>
> > Greg Wilson-Lindberg<br>
> ><br>
> ><br>
> ><br>
<br>
-- <br>
_______________________________________________<br>
yocto mailing list<br>
<a class="moz-txt-link-abbreviated" href="mailto:yocto@yoctoproject.org">yocto@yoctoproject.org</a><br>
<a href="https://lists.yoctoproject.org/listinfo/yocto"
moz-do-not-send="true">https://lists.yoctoproject.org/listinfo/yocto</a><br>
</div>
</span></font>
</blockquote>
<p><br>
</p>
</body>
</html>