Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 8C03BE008CA; Mon, 30 Jul 2018 09:37:21 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,HTML_MESSAGE, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at http://www.dnswl.org/, * medium trust * [64.235.154.223 listed in list.dnswl.org] * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * 0.0 HTML_MESSAGE BODY: HTML included in message X-Greylist: delayed 910 seconds by postgrey-1.32 at yocto-www; Mon, 30 Jul 2018 09:37:19 PDT Received: from 15pmail.ess.barracuda.com (15pmail.ess.barracuda.com [64.235.154.223]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id E2B0DE0080A for ; Mon, 30 Jul 2018 09:37:19 -0700 (PDT) Received: from SFAMAIL.SAKURAUS.LOCAL (mail.sakuraus.com [12.26.104.5]) by mx1403.ess.rzc.cudaops.com (version=TLSv1.2 cipher=AES256-SHA256 bits=256 verify=NO); Mon, 30 Jul 2018 16:37:16 +0000 Received: from SFAMAIL.SAKURAUS.LOCAL (10.16.3.8) by SFAMAIL.SAKURAUS.LOCAL (10.16.3.8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.669.32; Mon, 30 Jul 2018 09:21:03 -0700 Received: from SFAMAIL.SAKURAUS.LOCAL ([::1]) by SFAMAIL.SAKURAUS.LOCAL ([::1]) with mapi id 15.01.0669.032; Mon, 30 Jul 2018 09:21:03 -0700 From: Greg Wilson-Lindberg To: Bruce Ashfield , "yocto@yoctoproject.org" Thread-Topic: [yocto] Kernel configuration problems Thread-Index: AdQl83+2wf7UcfbhTUCg0nogyDuDZgBPzS+AADtL97U= Date: Mon, 30 Jul 2018 16:21:03 +0000 Message-ID: <0a4277451cdb45279304566123be0ab2@sakuraus.com> References: , <77a6f381-cc24-44b4-8fb7-3916c66c6f68@windriver.com> In-Reply-To: <77a6f381-cc24-44b4-8fb7-3916c66c6f68@windriver.com> Accept-Language: en-US X-MS-Has-Attach: yes X-MS-TNEF-Correlator: x-originating-ip: [10.16.5.239] MIME-Version: 1.0 X-BESS-ID: 1532968636-321459-13728-160273-1 X-BESS-VER: 2018.9-r1807242345 X-BESS-Apparent-Source-IP: 12.26.104.5 X-BESS-Envelope-From: GWilson@sakuraus.com X-BESS-Outbound-Spam-Score: 0.00 X-BESS-Outbound-Spam-Report: Code version 3.2, rules version 3.2.2.196812 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------- 0.00 HTML_MESSAGE BODY: HTML included in message 0.00 BSF_SC0_MISMATCH_TO META: Envelope rcpt doesn't match header 0.00 BSF_BESS_OUTBOUND META: BESS Outbound X-BESS-Outbound-Spam-Status: SCORE=0.00 using account:ESS29408 scores of KILL_LEVEL=7.0 tests=HTML_MESSAGE, BSF_SC0_MISMATCH_TO, BSF_BESS_OUTBOUND X-BESS-Orig-Rcpt: yocto@yoctoproject.org X-BESS-BRTS-Status: 1 Subject: Re: Kernel configuration problems X-BeenThere: yocto@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Discussion of all things Yocto Project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Jul 2018 16:37:21 -0000 X-Groupsio-MsgNum: 41997 Content-Language: en-US Content-Type: multipart/mixed; boundary="_006_0a4277451cdb45279304566123be0ab2sakurauscom_" --_006_0a4277451cdb45279304566123be0ab2sakurauscom_ Content-Type: multipart/alternative; boundary="_000_0a4277451cdb45279304566123be0ab2sakurauscom_" --_000_0a4277451cdb45279304566123be0ab2sakurauscom_ Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable 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 =3D "1.32.0" BUILD_SYS =3D "x86_64-linux" NATIVELSBSTRING =3D "universal" TARGET_SYS =3D "arm-poky-linux-gnueabi" MACHINE =3D "raspberrypi3" DISTRO =3D "b2qt" DISTRO_VERSION =3D "2.2.4" TUNE_FEATURES =3D "arm armv7ve vfp thumb neon vfpv4 callconvention-hard= cortexa7" TARGET_FPU =3D "hard" SDKMACHINE =3D "x86_64" meta meta-poky =3D "HEAD:df76669bdd70aa0d903c4211dde731221c7e756d" meta-raspberrypi =3D "HEAD:2a192261a914892019f4f428d7462bb3c585ebac" meta-oe meta-python meta-networking meta-initramfs meta-multimedia =3D "HEAD:b40116cf457b88a2db14b86fda9627fb34d56ae6" meta-boot2qt meta-raspberrypi-extras =3D ":" meta-mingw =3D "HEAD:1c2e155111dce94423cc227ea69f7f50f316c78e" meta-qt5 =3D "HEAD:49e9d9a73b5c6e3d6eab88dc0005305e85b1a62d" meta-sakura =3D ":" I've attached both my .bbappend and my .scc & .cfg files. The .bbappend als= o 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 # Yoc= to build mirror Yocto-build-RPi3 ________________________________ From: Bruce Ashfield Sent: Saturday, July 28, 2018 9:53:03 PM To: Greg Wilson-Lindberg; yocto@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-sh= ared/raspberrypi3/kernel-source/.kernel-meta/configs/Scribe.cfg > Requested value: CONFIG_SND_SOC_MAX9768=3Dy > 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-sh= ared/raspberrypi3/kernel-source/.kernel-meta/configs/Scribe.cfg > Requested value: CONFIG_MAX1363=3Dm > 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 appli= ed. > > For the MAX_9768, it depends on I2C=3Dy 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@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@sakuraus.com > > www.sakuraus.com > > cid:image002.png@01D35D7D.179A7510 > > > > cid:image003.png@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. > > > --_000_0a4277451cdb45279304566123be0ab2sakurauscom_ Content-Type: text/html; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable

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. T= he one kernel that I'm getting in the build is 4.4.


Here is the reported build configuration:


Build Configuration:
BB_VERSION        =3D "1.32.0"
BUILD_SYS         =3D "x86_64-linux"= ;
NATIVELSBSTRING   =3D "universal"
TARGET_SYS        =3D "arm-poky-linux-gnueabi= "
MACHINE           =3D "raspberrypi3= "
DISTRO            =3D "b2qt"
DISTRO_VERSION    =3D "2.2.4"
TUNE_FEATURES     =3D "arm armv7ve vfp thumb neon = vfpv4 callconvention-hard cortexa7"
TARGET_FPU        =3D "hard"
SDKMACHINE        =3D "x86_64"
meta              
meta-poky         =3D "HEAD:df76669bdd70= aa0d903c4211dde731221c7e756d"
meta-raspberrypi  =3D "HEAD:2a192261a914892019f4f428d7462bb3= c585ebac"
meta-oe           
meta-python       
meta-networking   
meta-initramfs    
meta-multimedia   =3D "HEAD:b40116cf457b88a2db14b86fda9= 627fb34d56ae6"
meta-boot2qt      
meta-raspberrypi-extras =3D "<unknown>:<unknown>"= ;
meta-mingw        =3D "HEAD:1c2e155111dce9442= 3cc227ea69f7f50f316c78e"
meta-qt5          =3D "HEAD:49e9d9a73b5c= 6e3d6eab88dc0005305e85b1a62d"
meta-sakura       =3D "<unknown>:<un= known>"

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:<= /p>


Qt-5.9.6

     Yocto-mirror           = ;                     &nb= sp;                    # = Yocto build mirror

     Yocto-build-RPi3


From: Bruce Ashfield <= bruce.ashfield@windriver.com>
Sent: Saturday, July 28, 2018 9:53:03 PM
To: Greg Wilson-Lindberg; yocto@yoctoproject.org
Subject: Re: [yocto] Kernel configuration problems
 
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=
> build.
>
> I've got the passing of the config options working, but I'm getti= ng
> warnings from the kernel build that the options are not being applied:=
>
> WARNING: linux-raspberrypi-1_4.4.50+gitAUTOINC+04c8e47067-r0 <= br> > 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=3Dy
> 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=3Dm
> 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 ap= plied.
>
> For the MAX_9768, it depends on I2C=3Dy which is true. I've run the li= nux
> 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 depe= nd
> on SPI_MASTER are displayed.
>
> The MAX1363 can be set in the menuconfig to 'm', but still won't set <= br> > from the scc, cfg files.
>
> Any insight into what's going on here would be greatly appreciate= d.

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@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@sakuraus.com<mailto:gwilson@sak= uraus.com>
>
> www.sakuraus.com<http://www.sak= uraus.com>
>
> cid:image002.png@01D35D7D.179A7510
>
>       
>
> cid:image003.png@01D35D7D.179A7510
>
> ----------------------------------------------------------------------= --
>
> Confidentiality Notice: This e-mail transmission may contain
> confidential or legally privileged information that is intended only f= or
> the individual or entity named in the e-mail address. If you are not t= he
> 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. ca= n
> arrange for proper delivery, and then please delete the message from <= br> > your inbox. Thank you.
>
>
>
--_000_0a4277451cdb45279304566123be0ab2sakurauscom_-- --_006_0a4277451cdb45279304566123be0ab2sakurauscom_ Content-Type: application/octet-stream; name="linux-raspberrypi_4.4.bbappend" Content-Description: linux-raspberrypi_4.4.bbappend Content-Disposition: attachment; filename="linux-raspberrypi_4.4.bbappend"; size=217; creation-date="Mon, 30 Jul 2018 16:14:59 GMT"; modification-date="Mon, 30 Jul 2018 16:14:59 GMT" Content-Transfer-Encoding: base64 IyBTY3JpYmUgYWRkaXRpb25zIHRvIEtlcm5lbCBjb25maWd1cmF0aW9uCgpGSUxFU0VYVFJBUEFU SFNfcHJlcGVuZCA6PSAiJHtGSUxFX0RJUk5BTUV9L2ZpbGVzOiIKRklMRVNFWFRSQVBBVEhTX3By ZXBlbmQgOj0gIiR7RklMRV9ESVJOQU1FfS8ke1BOfToiCgpTUkNfVVJJICs9ICJmaWxlOi8vU2Ny aWJlLnNjYyIKU1JDX1VSSSArPSAiZmlsZTovL21jcDI1MXguYy5wYXRjaCIKCg== --_006_0a4277451cdb45279304566123be0ab2sakurauscom_ Content-Type: application/octet-stream; name="Scribe.cfg" Content-Description: Scribe.cfg Content-Disposition: attachment; filename="Scribe.cfg"; size=177; creation-date="Mon, 30 Jul 2018 16:15:10 GMT"; modification-date="Mon, 30 Jul 2018 16:15:10 GMT" Content-Transfer-Encoding: base64 IyBTY3JpYmUgYWRkaXRpb25zIHRvIGtlcm5lbCBjb25maWd1cmF0aW9uCgojIEVuYWJsZSBNQVg5 NzY4CiNDT05GSUdfU09DX0FMTF9DT0RFQ1M9bQojQ09ORklHX0NPTVBJTEVfVEVTVD15CkNPTkZJ R19TTkRfU09DX01BWDk3Njg9eQoKIyBFbmFibGUgTUFYMTE2MDYKI0lJTz15CkNPTkZJR19NQVgx MzYzPW0K --_006_0a4277451cdb45279304566123be0ab2sakurauscom_ Content-Type: application/octet-stream; name="Scribe.scc" Content-Description: Scribe.scc Content-Disposition: attachment; filename="Scribe.scc"; size=70; creation-date="Mon, 30 Jul 2018 16:15:10 GMT"; modification-date="Mon, 30 Jul 2018 16:15:10 GMT" Content-Transfer-Encoding: base64 IyBTY3JpYmUgYWRkaXRpb25zIHRvIGtlcm5lbCBjb25maWd1cmF0aW9uCmtjb25mIGhhcmR3YXJl IFNjcmliZS5jZmcKCg== --_006_0a4277451cdb45279304566123be0ab2sakurauscom_--