From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 2D0F1E008DD; Fri, 23 Jan 2015 09:25:50 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, HTML_MESSAGE,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 X-Spam-HAM-Report: * 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider * (jfabernathy[at]outlook.com) * -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no * trust * [65.54.190.162 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 60 seconds by postgrey-1.32 at yocto-www; Fri, 23 Jan 2015 09:25:45 PST Received: from BAY004-OMC3S24.hotmail.com (bay004-omc3s24.hotmail.com [65.54.190.162]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id A2BC8E005A9 for ; Fri, 23 Jan 2015 09:25:45 -0800 (PST) Received: from BAY169-W3 ([65.54.190.187]) by BAY004-OMC3S24.hotmail.com over TLS secured channel with Microsoft SMTPSVC(7.5.7601.22751); Fri, 23 Jan 2015 09:24:44 -0800 X-TMN: [14PcNpKFZqiH63AXqlbwnXXykD4POKwW] X-Originating-Email: [jfabernathy@outlook.com] Message-ID: From: Jim Abernathy To: "yocto@yoctoproject.org" Date: Fri, 23 Jan 2015 12:24:44 -0500 Importance: Normal MIME-Version: 1.0 X-OriginalArrivalTime: 23 Jan 2015 17:24:44.0998 (UTC) FILETIME=[7AFB9E60:01D03731] Subject: adding all the pieces of WiFi to core-image-minimal 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: Fri, 23 Jan 2015 17:25:50 -0000 Content-Type: multipart/alternative; boundary="_cea7cf7d-3e0a-4676-b532-097ec5f554f7_" --_cea7cf7d-3e0a-4676-b532-097ec5f554f7_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I'm starting a project mostly for self-education. I have already done the = project using Ubuntu Server 14.04 using a Intel NUC and a Pandaboard as tar= gets. Now I want to see how easy it is to move it to Yocto. Starting with the NUC=2C I can boot Dizzy 1.7.1 core-image-minimal and core= -image-sato=2C both built with bitbake and not the prebuilt images. However= =2C core-image-minimal doesn't have WiFi and core-image-sato does=2C but I = don't need all the GUI stuff. It's a headless application. So what is recommended=3B eliminating the GUI from sato or adding wifi and = wpa-supplicant=2C etc to minimal?? Also any pointers to how to do the addi= ng/subtracting would be most helpful. Once this is working all I have to do is put apache-tomcat=2C and openjdk-7= -jre=2C then my application. thanks=2C JimA = --_cea7cf7d-3e0a-4676-b532-097ec5f554f7_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
I'm starting a project mostly fo= r self-education. =3B I have already done the project using Ubuntu Serv= er 14.04 using a Intel NUC and a Pandaboard as targets. =3B Now I want = to see how easy it is to move it to Yocto.

Starting with the NUC=2C = I can boot Dizzy 1.7.1 core-image-minimal and core-image-sato=2C both built= with bitbake and not the prebuilt images. However=2C core-image-minimal do= esn't have WiFi and core-image-sato does=2C but I don't need all the GUI st= uff. =3B It's a headless application.

So what is recommended=3B = eliminating the GUI from sato or adding wifi and wpa-supplicant=2C etc to m= inimal?? =3B Also any pointers to how to do the adding/subtracting woul= d be most helpful.

Once this is working all I have to do is put apac= he-tomcat=2C and openjdk-7-jre=2C then my application.

thanks=2C Jim= A
= --_cea7cf7d-3e0a-4676-b532-097ec5f554f7_-- From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 18440E008DD; Fri, 23 Jan 2015 09:37:26 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] Received: from mail.chez-thomas.org (mail.mlbassoc.com [65.100.170.105]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id E64FFE005A9 for ; Fri, 23 Jan 2015 09:37:14 -0800 (PST) Received: by mail.chez-thomas.org (Postfix, from userid 1998) id E35DDF81188; Fri, 23 Jan 2015 10:37:13 -0700 (MST) Received: from [192.168.1.114] (zeus [192.168.1.114]) by mail.chez-thomas.org (Postfix) with ESMTP id 028DCF81188; Fri, 23 Jan 2015 10:37:13 -0700 (MST) Message-ID: <54C286DC.2030708@mlbassoc.com> Date: Fri, 23 Jan 2015 10:37:32 -0700 From: Gary Thomas User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: yocto@yoctoproject.org References: In-Reply-To: Subject: Re: adding all the pieces of WiFi to core-image-minimal 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: Fri, 23 Jan 2015 17:37:26 -0000 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit On 2015-01-23 10:24, Jim Abernathy wrote: > I'm starting a project mostly for self-education. I have already done the project using Ubuntu Server 14.04 using a Intel NUC and a Pandaboard as targets. Now I want to see how > easy it is to move it to Yocto. > > Starting with the NUC, I can boot Dizzy 1.7.1 core-image-minimal and core-image-sato, both built with bitbake and not the prebuilt images. However, core-image-minimal doesn't have > WiFi and core-image-sato does, but I don't need all the GUI stuff. It's a headless application. > > So what is recommended; eliminating the GUI from sato or adding wifi and wpa-supplicant, etc to minimal?? Also any pointers to how to do the adding/subtracting would be most helpful. > > Once this is working all I have to do is put apache-tomcat, and openjdk-7-jre, then my application. We use just iw & wpa-supplicant and set up the configuration files manually (e.g. the wpa-supplicant configurations). -- ------------------------------------------------------------ Gary Thomas | Consulting for the MLB Associates | Embedded world ------------------------------------------------------------ From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 75245E005A9; Mon, 26 Jan 2015 05:30:40 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 X-Spam-HAM-Report: * 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider * (jfabernathy[at]outlook.com) * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no * trust * [65.55.111.83 listed in list.dnswl.org] X-Greylist: delayed 63 seconds by postgrey-1.32 at yocto-www; Mon, 26 Jan 2015 05:30:36 PST Received: from BLU004-OMC2S8.hotmail.com (blu004-omc2s8.hotmail.com [65.55.111.83]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id C4D7BE003AB for ; Mon, 26 Jan 2015 05:30:36 -0800 (PST) Received: from BLU436-SMTP223 ([65.55.111.73]) by BLU004-OMC2S8.hotmail.com over TLS secured channel with Microsoft SMTPSVC(7.5.7601.22751); Mon, 26 Jan 2015 05:29:32 -0800 X-TMN: [sStetTgEg7tYDFkYtblvF1p1noQ/Ldk0] X-Originating-Email: [jfabernathy@outlook.com] Message-ID: MIME-Version: 1.0 (Mac OS X Mail 8.1 \(1993\)) From: James Abernathy In-Reply-To: <54C286DC.2030708@mlbassoc.com> Date: Mon, 26 Jan 2015 08:29:29 -0500 References: <54C286DC.2030708@mlbassoc.com> To: Gary Thomas X-Mailer: Apple Mail (2.1993) X-OriginalArrivalTime: 26 Jan 2015 13:29:31.0454 (UTC) FILETIME=[1DE4F5E0:01D0396C] Cc: yocto@yoctoproject.org Subject: Re: adding all the pieces of WiFi to core-image-minimal 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, 26 Jan 2015 13:30:40 -0000 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable > On Jan 23, 2015, at 12:37 PM, Gary Thomas wrote: >=20 > On 2015-01-23 10:24, Jim Abernathy wrote: >> I'm starting a project mostly for self-education. I have already = done the project using Ubuntu Server 14.04 using a Intel NUC and a = Pandaboard as targets. Now I want to see how >> easy it is to move it to Yocto. >>=20 >> Starting with the NUC, I can boot Dizzy 1.7.1 core-image-minimal and = core-image-sato, both built with bitbake and not the prebuilt images. = However, core-image-minimal doesn't have >> WiFi and core-image-sato does, but I don't need all the GUI stuff. = It's a headless application. >>=20 >> So what is recommended; eliminating the GUI from sato or adding wifi = and wpa-supplicant, etc to minimal?? Also any pointers to how to do the = adding/subtracting would be most helpful. >>=20 >> Once this is working all I have to do is put apache-tomcat, and = openjdk-7-jre, then my application. >=20 > We use just iw & wpa-supplicant and set up the configuration > files manually (e.g. the wpa-supplicant configurations). Could you help with a little more details. What I envision is adding an = append statement of some kind to local.conf to load in the wireless = related files to core-image-minimal, same with openjdk-7-jre and = tomcat7, but my first efforts have generated some unintelligible error = for me. So that=E2=80=99s why I=E2=80=99m looking for direction on = where to start with this. Jim A >=20 > --=20 > ------------------------------------------------------------ > Gary Thomas | Consulting for the > MLB Associates | Embedded world > ------------------------------------------------------------ > --=20 > _______________________________________________ > yocto mailing list > yocto@yoctoproject.org > https://lists.yoctoproject.org/listinfo/yocto From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 5A120E008CC; Mon, 26 Jan 2015 05:49:12 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] Received: from mail.chez-thomas.org (mail.mlbassoc.com [65.100.170.105]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 6ABE1E029DA for ; Mon, 26 Jan 2015 05:49:00 -0800 (PST) Received: by mail.chez-thomas.org (Postfix, from userid 1998) id 5419BF811D8; Mon, 26 Jan 2015 06:48:59 -0700 (MST) Received: from [192.168.1.114] (zeus [192.168.1.114]) by mail.chez-thomas.org (Postfix) with ESMTP id 5F837F811D8; Mon, 26 Jan 2015 06:48:59 -0700 (MST) Message-ID: <54C645E4.9090801@mlbassoc.com> Date: Mon, 26 Jan 2015 06:49:24 -0700 From: Gary Thomas User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: yocto@yoctoproject.org References: <54C286DC.2030708@mlbassoc.com> In-Reply-To: Subject: Re: adding all the pieces of WiFi to core-image-minimal 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, 26 Jan 2015 13:49:12 -0000 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit On 2015-01-26 06:29, James Abernathy wrote: > >> On Jan 23, 2015, at 12:37 PM, Gary Thomas wrote: >> >> On 2015-01-23 10:24, Jim Abernathy wrote: >>> I'm starting a project mostly for self-education. I have already done the project using Ubuntu Server 14.04 using a Intel NUC and a Pandaboard as targets. Now I want to see how >>> easy it is to move it to Yocto. >>> >>> Starting with the NUC, I can boot Dizzy 1.7.1 core-image-minimal and core-image-sato, both built with bitbake and not the prebuilt images. However, core-image-minimal doesn't have >>> WiFi and core-image-sato does, but I don't need all the GUI stuff. It's a headless application. >>> >>> So what is recommended; eliminating the GUI from sato or adding wifi and wpa-supplicant, etc to minimal?? Also any pointers to how to do the adding/subtracting would be most helpful. >>> >>> Once this is working all I have to do is put apache-tomcat, and openjdk-7-jre, then my application. >> >> We use just iw & wpa-supplicant and set up the configuration >> files manually (e.g. the wpa-supplicant configurations). > > Could you help with a little more details. What I envision is adding an append statement of some kind to local.conf to load in the wireless related files to core-image-minimal, same with openjdk-7-jre and tomcat7, but my first efforts have generated some unintelligible error for me. So that’s why I’m looking for direction on where to start with this. What was the error you got? I'll bet it was for 'iw' which is a package from meta-oe, so you'll need to add that layer Once you've added the meta-oe layer, you should be able to put this line in your local.conf: CORE_IMAGE_EXTRA_INSTALL += " iw wpa-supplicant" -- ------------------------------------------------------------ Gary Thomas | Consulting for the MLB Associates | Embedded world ------------------------------------------------------------ From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 8A657E00836; Mon, 26 Jan 2015 07:26:36 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, HTML_MESSAGE,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 X-Spam-HAM-Report: * 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider * (jfabernathy[at]outlook.com) * -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no * trust * [65.55.111.89 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 Received: from BLU004-OMC2S14.hotmail.com (blu004-omc2s14.hotmail.com [65.55.111.89]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id F2056E006AF for ; Mon, 26 Jan 2015 07:26:19 -0800 (PST) Received: from BLU436-SMTP61 ([65.55.111.73]) by BLU004-OMC2S14.hotmail.com over TLS secured channel with Microsoft SMTPSVC(7.5.7601.22751); Mon, 26 Jan 2015 07:26:17 -0800 X-TMN: [vaN5hSZmm/YyZwFVHy8K3yowEN7rxBFk] X-Originating-Email: [jfabernathy@outlook.com] Message-ID: MIME-Version: 1.0 (Mac OS X Mail 8.1 \(1993\)) From: James Abernathy In-Reply-To: <54C645E4.9090801@mlbassoc.com> Date: Mon, 26 Jan 2015 10:26:14 -0500 References: <54C286DC.2030708@mlbassoc.com> <54C645E4.9090801@mlbassoc.com> To: Gary Thomas X-Mailer: Apple Mail (2.1993) X-OriginalArrivalTime: 26 Jan 2015 15:26:15.0539 (UTC) FILETIME=[6CA78430:01D0397C] Cc: yocto@yoctoproject.org Subject: Re: adding all the pieces of WiFi to core-image-minimal 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, 26 Jan 2015 15:26:36 -0000 Content-Type: multipart/alternative; boundary="Apple-Mail=_CDCE3927-4CBC-4180-AB2D-8910A50444E9" --Apple-Mail=_CDCE3927-4CBC-4180-AB2D-8910A50444E9 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" > On Jan 26, 2015, at 8:49 AM, Gary Thomas wrote: >=20 > On 2015-01-26 06:29, James Abernathy wrote: >>=20 >>> On Jan 23, 2015, at 12:37 PM, Gary Thomas wrote: >>>=20 >>> On 2015-01-23 10:24, Jim Abernathy wrote: >>>> I'm starting a project mostly for self-education. I have already = done the project using Ubuntu Server 14.04 using a Intel NUC and a = Pandaboard as targets. Now I want to see how >>>> easy it is to move it to Yocto. >>>>=20 >>>> Starting with the NUC, I can boot Dizzy 1.7.1 core-image-minimal = and core-image-sato, both built with bitbake and not the prebuilt = images. However, core-image-minimal doesn't have >>>> WiFi and core-image-sato does, but I don't need all the GUI stuff. = It's a headless application. >>>>=20 >>>> So what is recommended; eliminating the GUI from sato or adding = wifi and wpa-supplicant, etc to minimal?? Also any pointers to how to = do the adding/subtracting would be most helpful. >>>>=20 >>>> Once this is working all I have to do is put apache-tomcat, and = openjdk-7-jre, then my application. >>>=20 >>> We use just iw & wpa-supplicant and set up the configuration >>> files manually (e.g. the wpa-supplicant configurations). >>=20 >> Could you help with a little more details. What I envision is adding = an append statement of some kind to local.conf to load in the wireless = related files to core-image-minimal, same with openjdk-7-jre and = tomcat7, but my first efforts have generated some unintelligible error = for me. So that=E2=80=99s why I=E2=80=99m looking for direction on = where to start with this. >=20 > What was the error you got? I'll bet it was for 'iw' which > is a package from meta-oe, so you'll need to add that layer >=20 > Once you've added the meta-oe layer, you should be able to > put this line in your local.conf: > CORE_IMAGE_EXTRA_INSTALL +=3D " iw wpa-supplicant=E2=80=9D >=20 Okay, what I don=E2=80=99t get is the fact that without any additional = layers, bitbake core-image-sato builds all the WiFi features I need. = bitbake core-image-minimal does not. So I=E2=80=99m thinking that there = is some CORE_IMAGE_EXTRA_INSTALL statement that can just add what is = needed without extra layers. =20 I guess it just doesn=E2=80=99t make sense to me right now. Jim A > --=20 > ------------------------------------------------------------ > Gary Thomas | Consulting for the > MLB Associates | Embedded world > ------------------------------------------------------------ > --=20 > _______________________________________________ > yocto mailing list > yocto@yoctoproject.org > https://lists.yoctoproject.org/listinfo/yocto --Apple-Mail=_CDCE3927-4CBC-4180-AB2D-8910A50444E9 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset="utf-8"
On Jan 26, 2015, at 8:49 AM, Gary Thomas <gary@mlbassoc.com> = wrote:

On 2015-01-26 06:29, James Abernathy = wrote:

On = Jan 23, 2015, at 12:37 PM, Gary Thomas <gary@mlbassoc.com> = wrote:

On 2015-01-23 10:24, Jim Abernathy = wrote:
I'm starting a = project mostly for self-education.  I have already done the project = using Ubuntu Server 14.04 using a Intel NUC and a Pandaboard as targets. =  Now I want to see how
easy it is to move it to = Yocto.

Starting with the NUC, I can boot = Dizzy 1.7.1 core-image-minimal and core-image-sato, both built with = bitbake and not the prebuilt images. However, core-image-minimal doesn't = have
WiFi and core-image-sato does, but I don't need all = the GUI stuff.  It's a headless application.

So what is recommended; eliminating the GUI from sato or = adding wifi and wpa-supplicant, etc to minimal??  Also any pointers = to how to do the adding/subtracting would be most helpful.

Once this is working all I have to do is put = apache-tomcat, and openjdk-7-jre, then my application.

We use just iw & = wpa-supplicant and set up the configuration
files manually = (e.g. the wpa-supplicant configurations).

Could you help with a little more details.  What I = envision is adding an append statement of some kind to local.conf to = load in the wireless related files to core-image-minimal, same with = openjdk-7-jre and tomcat7, but my first efforts have generated some = unintelligible error for me.  So that=E2=80=99s why I=E2=80=99m = looking for direction on where to start with this.

What was the error you = got?  I'll bet it was for 'iw' which
is a package from meta-oe, so you'll need to add = that layer

Once you've added the = meta-oe layer, you should be able to
put this line in your local.conf:
 CORE_IMAGE_EXTRA_INSTALL +=3D " iw = wpa-supplicant=E2=80=9D

Okay, what I don=E2=80=99t get is the fact = that without any additional layers, bitbake core-image-sato builds all = the WiFi features I need.  bitbake core-image-minimal does not. =  So I=E2=80=99m thinking that there is some = CORE_IMAGE_EXTRA_INSTALL statement that can just add what is needed = without extra layers.  

I guess = it just doesn=E2=80=99t make sense to me right now.

Jim A


-- 
------------------------------------------------------------
Gary Thomas =             &n= bsp;   |  Consulting for the

MLB Associates =             &n= bsp;|    Embedded world
------------------------------------------------------------
-- 

_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto
<= /blockquote>

= --Apple-Mail=_CDCE3927-4CBC-4180-AB2D-8910A50444E9-- From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 1EFF5E00836; Mon, 26 Jan 2015 07:52:01 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] Received: from mail.chez-thomas.org (mail.mlbassoc.com [65.100.170.105]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 30A58E006AF for ; Mon, 26 Jan 2015 07:51:49 -0800 (PST) Received: by mail.chez-thomas.org (Postfix, from userid 1998) id 625B7F811D9; Mon, 26 Jan 2015 08:51:49 -0700 (MST) Received: from [192.168.1.114] (zeus [192.168.1.114]) by mail.chez-thomas.org (Postfix) with ESMTP id B8F63F811D8; Mon, 26 Jan 2015 08:51:48 -0700 (MST) Message-ID: <54C662AD.5070209@mlbassoc.com> Date: Mon, 26 Jan 2015 08:52:13 -0700 From: Gary Thomas User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: yocto@yoctoproject.org References: <54C286DC.2030708@mlbassoc.com> <54C645E4.9090801@mlbassoc.com> In-Reply-To: Subject: Re: adding all the pieces of WiFi to core-image-minimal 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, 26 Jan 2015 15:52:01 -0000 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit On 2015-01-26 08:26, James Abernathy wrote: > >> On Jan 26, 2015, at 8:49 AM, Gary Thomas > wrote: >> >> On 2015-01-26 06:29, James Abernathy wrote: >>> >>>> On Jan 23, 2015, at 12:37 PM, Gary Thomas > wrote: >>>> >>>> On 2015-01-23 10:24, Jim Abernathy wrote: >>>>> I'm starting a project mostly for self-education. I have already done the project using Ubuntu Server 14.04 using a Intel NUC and a Pandaboard as targets. Now I want to see how >>>>> easy it is to move it to Yocto. >>>>> >>>>> Starting with the NUC, I can boot Dizzy 1.7.1 core-image-minimal and core-image-sato, both built with bitbake and not the prebuilt images. However, core-image-minimal doesn't have >>>>> WiFi and core-image-sato does, but I don't need all the GUI stuff. It's a headless application. >>>>> >>>>> So what is recommended; eliminating the GUI from sato or adding wifi and wpa-supplicant, etc to minimal?? Also any pointers to how to do the adding/subtracting would be most >>>>> helpful. >>>>> >>>>> Once this is working all I have to do is put apache-tomcat, and openjdk-7-jre, then my application. >>>> >>>> We use just iw & wpa-supplicant and set up the configuration >>>> files manually (e.g. the wpa-supplicant configurations). >>> >>> Could you help with a little more details. What I envision is adding an append statement of some kind to local.conf to load in the wireless related files to core-image-minimal, >>> same with openjdk-7-jre and tomcat7, but my first efforts have generated some unintelligible error for me. So that’s why I’m looking for direction on where to start with this. >> >> What was the error you got? I'll bet it was for 'iw' which >> is a package from meta-oe, so you'll need to add that layer >> >> Once you've added the meta-oe layer, you should be able to >> put this line in your local.conf: >> CORE_IMAGE_EXTRA_INSTALL += " iw wpa-supplicant” >> > Okay, what I don’t get is the fact that without any additional layers, bitbake core-image-sato builds all the WiFi features I need. bitbake core-image-minimal does not. So I’m > thinking that there is some CORE_IMAGE_EXTRA_INSTALL statement that can just add what is needed without extra layers. > > I guess it just doesn’t make sense to me right now. Try using CORE_IMAGE_EXTRA_INSTALL += " packagegroup-base-wifi" which will bring in 'wireless-tools' and 'wpa-supplicant'. I prefer 'iw' to 'wireless-tools' as it is newer and [IMO] simpler to use. -- ------------------------------------------------------------ Gary Thomas | Consulting for the MLB Associates | Embedded world ------------------------------------------------------------ From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id E78C9E00836; Mon, 26 Jan 2015 08:09:40 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 X-Spam-HAM-Report: * 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider * (jfabernathy[at]outlook.com) * -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no * trust * [65.55.111.106 listed in list.dnswl.org] * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] Received: from BLU004-OMC2S31.hotmail.com (blu004-omc2s31.hotmail.com [65.55.111.106]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 58FF3E006AF for ; Mon, 26 Jan 2015 08:09:26 -0800 (PST) Received: from BLU436-SMTP215 ([65.55.111.71]) by BLU004-OMC2S31.hotmail.com over TLS secured channel with Microsoft SMTPSVC(7.5.7601.22751); Mon, 26 Jan 2015 08:09:24 -0800 X-TMN: [nv6gotIfDRYO+9NG00vP88xpuTuF8ja/] X-Originating-Email: [jfabernathy@outlook.com] Message-ID: MIME-Version: 1.0 (Mac OS X Mail 8.1 \(1993\)) From: James Abernathy In-Reply-To: <54C662AD.5070209@mlbassoc.com> Date: Mon, 26 Jan 2015 11:09:21 -0500 References: <54C286DC.2030708@mlbassoc.com> <54C645E4.9090801@mlbassoc.com> <54C662AD.5070209@mlbassoc.com> To: Gary Thomas X-Mailer: Apple Mail (2.1993) X-OriginalArrivalTime: 26 Jan 2015 16:09:22.0752 (UTC) FILETIME=[72C0E400:01D03982] Cc: yocto@yoctoproject.org Subject: Re: adding all the pieces of WiFi to core-image-minimal 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, 26 Jan 2015 16:09:41 -0000 Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable > On Jan 26, 2015, at 10:52 AM, Gary Thomas wrote: >=20 > On 2015-01-26 08:26, James Abernathy wrote: >>=20 >>> On Jan 26, 2015, at 8:49 AM, Gary Thomas > wrote: >>>=20 >>> On 2015-01-26 06:29, James Abernathy wrote: >>>>=20 >>>>> On Jan 23, 2015, at 12:37 PM, Gary Thomas > wrote: >>>>>=20 >>>>> On 2015-01-23 10:24, Jim Abernathy wrote: >>>>>> I'm starting a project mostly for self-education. I have already = done the project using Ubuntu Server 14.04 using a Intel NUC and a = Pandaboard as targets. Now I want to see how >>>>>> easy it is to move it to Yocto. >>>>>>=20 >>>>>> Starting with the NUC, I can boot Dizzy 1.7.1 core-image-minimal = and core-image-sato, both built with bitbake and not the prebuilt = images. However, core-image-minimal doesn't have >>>>>> WiFi and core-image-sato does, but I don't need all the GUI = stuff. It's a headless application. >>>>>>=20 >>>>>> So what is recommended; eliminating the GUI from sato or adding = wifi and wpa-supplicant, etc to minimal?? Also any pointers to how to = do the adding/subtracting would be most >>>>>> helpful. >>>>>>=20 >>>>>> Once this is working all I have to do is put apache-tomcat, and = openjdk-7-jre, then my application. >>>>>=20 >>>>> We use just iw & wpa-supplicant and set up the configuration >>>>> files manually (e.g. the wpa-supplicant configurations). >>>>=20 >>>> Could you help with a little more details. What I envision is = adding an append statement of some kind to local.conf to load in the = wireless related files to core-image-minimal, >>>> same with openjdk-7-jre and tomcat7, but my first efforts have = generated some unintelligible error for me. So that=92s why I=92m = looking for direction on where to start with this. >>>=20 >>> What was the error you got? I'll bet it was for 'iw' which >>> is a package from meta-oe, so you'll need to add that layer >>>=20 >>> Once you've added the meta-oe layer, you should be able to >>> put this line in your local.conf: >>> CORE_IMAGE_EXTRA_INSTALL +=3D " iw wpa-supplicant=94 >>>=20 >> Okay, what I don=92t get is the fact that without any additional = layers, bitbake core-image-sato builds all the WiFi features I need. = bitbake core-image-minimal does not. So I=92m >> thinking that there is some CORE_IMAGE_EXTRA_INSTALL statement that = can just add what is needed without extra layers. >>=20 >> I guess it just doesn=92t make sense to me right now. >=20 > Try using > CORE_IMAGE_EXTRA_INSTALL +=3D " packagegroup-base-wifi" > which will bring in 'wireless-tools' and 'wpa-supplicant'. >=20 > I prefer 'iw' to 'wireless-tools' as it is newer and [IMO] > simpler to use. >=20 Thanks, I found that I can clean build with just the wpa-supplicant = added and I=92m hoping that will bring in the wifi drivers. If it does, = all I want to do is edit the /etc/interfaces file with the Static IP of = the wlan0, the static IP of the eth0 and the wpa-xxx for the WKPA2_PSK = information. =20 Do I really need the tools? I don=92t need CLI commands to change any = network parameters later. Jim A > --=20 > ------------------------------------------------------------ > Gary Thomas | Consulting for the > MLB Associates | Embedded world > ------------------------------------------------------------ > --=20 > _______________________________________________ > yocto mailing list > yocto@yoctoproject.org > https://lists.yoctoproject.org/listinfo/yocto From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 54036E00836; Mon, 26 Jan 2015 11:32:04 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, HTML_MESSAGE,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 X-Spam-HAM-Report: * 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider * (jfabernathy[at]outlook.com) * -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no * trust * [65.55.111.92 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 Received: from BLU004-OMC2S17.hotmail.com (blu004-omc2s17.hotmail.com [65.55.111.92]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 9AEF2E006AF for ; Mon, 26 Jan 2015 11:31:54 -0800 (PST) Received: from BLU437-SMTP87 ([65.55.111.73]) by BLU004-OMC2S17.hotmail.com over TLS secured channel with Microsoft SMTPSVC(7.5.7601.22751); Mon, 26 Jan 2015 11:31:53 -0800 X-TMN: [9fnlKpuITtp2lH462UNEm1m8Mqi41QNH] X-Originating-Email: [jfabernathy@outlook.com] Message-ID: MIME-Version: 1.0 (Mac OS X Mail 8.1 \(1993\)) From: James Abernathy In-Reply-To: Date: Mon, 26 Jan 2015 14:31:49 -0500 References: <54C286DC.2030708@mlbassoc.com> <54C645E4.9090801@mlbassoc.com> <54C662AD.5070209@mlbassoc.com> To: Gary Thomas X-Mailer: Apple Mail (2.1993) X-OriginalArrivalTime: 26 Jan 2015 19:31:51.0298 (UTC) FILETIME=[BBD9E620:01D0399E] Cc: yocto@yoctoproject.org Subject: Re: adding all the pieces of WiFi to core-image-minimal 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, 26 Jan 2015 19:32:04 -0000 Content-Type: multipart/alternative; boundary="Apple-Mail=_DB16A5A7-C7B2-4AE1-B547-78CC4A513E07" --Apple-Mail=_DB16A5A7-C7B2-4AE1-B547-78CC4A513E07 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="windows-1252" I get a clean build when I add: CORE_IMAGE_EXTRA_INSTALL +=3D " = packagegroup-base-wifi=94 However, I have no wireless drivers. I must have to add something to = add the drivers and firmware to the kernel. Not sure what though. Jim A > On Jan 26, 2015, at 11:09 AM, James Abernathy = wrote: >=20 >>=20 >> On Jan 26, 2015, at 10:52 AM, Gary Thomas wrote: >>=20 >> On 2015-01-26 08:26, James Abernathy wrote: >>>=20 >>>> On Jan 26, 2015, at 8:49 AM, Gary Thomas > wrote: >>>>=20 >>>> On 2015-01-26 06:29, James Abernathy wrote: >>>>>=20 >>>>>> On Jan 23, 2015, at 12:37 PM, Gary Thomas > wrote: >>>>>>=20 >>>>>> On 2015-01-23 10:24, Jim Abernathy wrote: >>>>>>> I'm starting a project mostly for self-education. I have = already done the project using Ubuntu Server 14.04 using a Intel NUC and = a Pandaboard as targets. Now I want to see how >>>>>>> easy it is to move it to Yocto. >>>>>>>=20 >>>>>>> Starting with the NUC, I can boot Dizzy 1.7.1 core-image-minimal = and core-image-sato, both built with bitbake and not the prebuilt = images. However, core-image-minimal doesn't have >>>>>>> WiFi and core-image-sato does, but I don't need all the GUI = stuff. It's a headless application. >>>>>>>=20 >>>>>>> So what is recommended; eliminating the GUI from sato or adding = wifi and wpa-supplicant, etc to minimal?? Also any pointers to how to = do the adding/subtracting would be most >>>>>>> helpful. >>>>>>>=20 >>>>>>> Once this is working all I have to do is put apache-tomcat, and = openjdk-7-jre, then my application. >>>>>>=20 >>>>>> We use just iw & wpa-supplicant and set up the configuration >>>>>> files manually (e.g. the wpa-supplicant configurations). >>>>>=20 >>>>> Could you help with a little more details. What I envision is = adding an append statement of some kind to local.conf to load in the = wireless related files to core-image-minimal, >>>>> same with openjdk-7-jre and tomcat7, but my first efforts have = generated some unintelligible error for me. So that=92s why I=92m = looking for direction on where to start with this. >>>>=20 >>>> What was the error you got? I'll bet it was for 'iw' which >>>> is a package from meta-oe, so you'll need to add that layer >>>>=20 >>>> Once you've added the meta-oe layer, you should be able to >>>> put this line in your local.conf: >>>> CORE_IMAGE_EXTRA_INSTALL +=3D " iw wpa-supplicant=94 >>>>=20 >>> Okay, what I don=92t get is the fact that without any additional = layers, bitbake core-image-sato builds all the WiFi features I need. = bitbake core-image-minimal does not. So I=92m >>> thinking that there is some CORE_IMAGE_EXTRA_INSTALL statement that = can just add what is needed without extra layers. >>>=20 >>> I guess it just doesn=92t make sense to me right now. >>=20 >> Try using >> CORE_IMAGE_EXTRA_INSTALL +=3D " packagegroup-base-wifi" >> which will bring in 'wireless-tools' and 'wpa-supplicant'. >>=20 >> I prefer 'iw' to 'wireless-tools' as it is newer and [IMO] >> simpler to use. >>=20 > Thanks, I found that I can clean build with just the wpa-supplicant = added and I=92m hoping that will bring in the wifi drivers. If it does, = all I want to do is edit the /etc/interfaces file with the Static IP of = the wlan0, the static IP of the eth0 and the wpa-xxx for the WKPA2_PSK = information. =20 >=20 > Do I really need the tools? I don=92t need CLI commands to change any = network parameters later. >=20 > Jim A >=20 >> --=20 >> ------------------------------------------------------------ >> Gary Thomas | Consulting for the >> MLB Associates | Embedded world >> ------------------------------------------------------------ >> --=20 >> _______________________________________________ >> yocto mailing list >> yocto@yoctoproject.org >> https://lists.yoctoproject.org/listinfo/yocto = >=20 > --=20 > _______________________________________________ > yocto mailing list > yocto@yoctoproject.org > https://lists.yoctoproject.org/listinfo/yocto = --Apple-Mail=_DB16A5A7-C7B2-4AE1-B547-78CC4A513E07 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset="windows-1252" I get a clean build when I add: CORE_IMAGE_EXTRA_INSTALL = +=3D " packagegroup-base-wifi=94

However, I have no wireless drivers.  I must have to add = something to add the drivers and firmware to the kernel.  Not sure = what though.

Jim= A

On Jan 26, 2015, at 11:09 AM, James Abernathy = <jfabernathy@outlook.com> wrote:


On Jan 26, 2015, at = 10:52 AM, Gary Thomas <gary@mlbassoc.com> wrote:

On 2015-01-26 08:26, James Abernathy wrote:

On Jan 26, 2015, at 8:49 AM, Gary Thomas = <gary@mlbassoc.com = <mailto:gary@mlbassoc.com>> wrote:

On 2015-01-26 06:29, James Abernathy wrote:

On Jan 23, 2015, at 12:37 PM, Gary Thomas = <gary@mlbassoc.com = <mailto:gary@mlbassoc.com>> wrote:

On 2015-01-23 10:24, Jim Abernathy wrote:
I'm starting a project = mostly for self-education.  I have already done the project using = Ubuntu Server 14.04 using a Intel NUC and a Pandaboard as targets. =  Now I want to see how
easy it is to move it to = Yocto.

Starting with the NUC, I can boot = Dizzy 1.7.1 core-image-minimal and core-image-sato, both built with = bitbake and not the prebuilt images. However, core-image-minimal doesn't = have
WiFi and core-image-sato does, but I don't need all = the GUI stuff.  It's a headless application.

So what is recommended; eliminating the GUI from sato or = adding wifi and wpa-supplicant, etc to minimal??  Also any pointers = to how to do the adding/subtracting would be most
helpful.

Once this is working = all I have to do is put apache-tomcat, and openjdk-7-jre, then my = application.

We use just iw = & wpa-supplicant and set up the configuration
files = manually (e.g. the wpa-supplicant configurations).

Could you help with a little more = details.  What I envision is adding an append statement of some = kind to local.conf to load in the wireless related files to = core-image-minimal,
same with openjdk-7-jre and tomcat7, = but my first efforts have generated some unintelligible error for me. =  So that=92s why I=92m looking for direction on where to start with = this.

What was the error you = got?  I'll bet it was for 'iw' which
is a package = from meta-oe, so you'll need to add that layer

Once you've added the meta-oe layer, you should be able to
put this line in your local.conf:
CORE_IMAGE_EXTRA_INSTALL +=3D " iw wpa-supplicant=94

Okay, what I don=92t get is the = fact that without any additional layers, bitbake core-image-sato builds = all the WiFi features I need.  bitbake core-image-minimal does not. =  So I=92m
thinking that there is some = CORE_IMAGE_EXTRA_INSTALL statement that can just add what is needed = without extra layers.

I guess it just = doesn=92t make sense to me right now.

Try using
CORE_IMAGE_EXTRA_INSTALL +=3D " = packagegroup-base-wifi"
which will bring in = 'wireless-tools' and 'wpa-supplicant'.

I = prefer 'iw' to 'wireless-tools' as it is newer and [IMO]
simpler to use.

Thanks, I found that I can clean build with just = the wpa-supplicant added and I=92m hoping that will bring in the wifi = drivers.  If it does, all I want to do is edit the /etc/interfaces = file with the Static IP of the wlan0, the static IP of the eth0 and the = wpa-xxx for the WKPA2_PSK information.  

Do I really need the tools?  I don=92t need = CLI commands to change any network parameters later.

Jim A

-- 
------------------------------------------------------------Gary Thomas =             &n= bsp;   |  Consulting for the
MLB = Associates =             &n= bsp;|    Embedded world
-------------------------------------------------------------- 
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

-- 
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

= --Apple-Mail=_DB16A5A7-C7B2-4AE1-B547-78CC4A513E07-- From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 45F69E00837; Mon, 26 Jan 2015 12:28:26 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,HTML_MESSAGE autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * 0.0 HTML_MESSAGE BODY: HTML included in message Received: from a180.4uh.net (a180.4uh.net [89.248.60.180]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id BDDBCE0082D for ; Mon, 26 Jan 2015 12:28:20 -0800 (PST) Received: from durham.keylevel.com ([88.97.63.243]:12980 helo=macbook-pro.durham.keylevel.com) by a180.4uh.net with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.84) (envelope-from ) id 1YFqGZ-000Tvf-VM; Mon, 26 Jan 2015 20:28:17 +0000 Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) From: Chris Tapp In-Reply-To: Date: Mon, 26 Jan 2015 20:28:06 +0000 Message-Id: References: <54C286DC.2030708@mlbassoc.com> <54C645E4.9090801@mlbassoc.com> <54C662AD.5070209@mlbassoc.com> To: James Abernathy X-Mailer: Apple Mail (2.1878.6) X-OutGoing-Spam-Status: No, score=-1.0 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - a180.4uh.net X-AntiAbuse: Original Domain - yoctoproject.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - keylevel.com X-Get-Message-Sender-Via: a180.4uh.net: authenticated_id: chris.tapp@keylevel.com Cc: yocto@yoctoproject.org, Gary Thomas Subject: Re: adding all the pieces of WiFi to core-image-minimal 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, 26 Jan 2015 20:28:26 -0000 Content-Type: multipart/alternative; boundary="Apple-Mail=_95480C4B-0E1A-48E4-9A00-1A6C63D875E7" --Apple-Mail=_95480C4B-0E1A-48E4-9A00-1A6C63D875E7 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252 On 26 Jan 2015, at 19:31, James Abernathy = wrote: > I get a clean build when I add: CORE_IMAGE_EXTRA_INSTALL +=3D " = packagegroup-base-wifi=94 >=20 > However, I have no wireless drivers. I must have to add something to = add the drivers and firmware to the kernel. Not sure what though. I'm not an expert here, but I think that adding kernel-modules and = linux-firmware to your extra_install should give you what you need. >=20 > Jim A >=20 >> On Jan 26, 2015, at 11:09 AM, James Abernathy = wrote: >>=20 >>>=20 >>> On Jan 26, 2015, at 10:52 AM, Gary Thomas wrote: >>>=20 >>> On 2015-01-26 08:26, James Abernathy wrote: >>>>=20 >>>>> On Jan 26, 2015, at 8:49 AM, Gary Thomas > wrote: >>>>>=20 >>>>> On 2015-01-26 06:29, James Abernathy wrote: >>>>>>=20 >>>>>>> On Jan 23, 2015, at 12:37 PM, Gary Thomas > wrote: >>>>>>>=20 >>>>>>> On 2015-01-23 10:24, Jim Abernathy wrote: >>>>>>>> I'm starting a project mostly for self-education. I have = already done the project using Ubuntu Server 14.04 using a Intel NUC and = a Pandaboard as targets. Now I want to see how >>>>>>>> easy it is to move it to Yocto. >>>>>>>>=20 >>>>>>>> Starting with the NUC, I can boot Dizzy 1.7.1 = core-image-minimal and core-image-sato, both built with bitbake and not = the prebuilt images. However, core-image-minimal doesn't have >>>>>>>> WiFi and core-image-sato does, but I don't need all the GUI = stuff. It's a headless application. >>>>>>>>=20 >>>>>>>> So what is recommended; eliminating the GUI from sato or adding = wifi and wpa-supplicant, etc to minimal?? Also any pointers to how to = do the adding/subtracting would be most >>>>>>>> helpful. >>>>>>>>=20 >>>>>>>> Once this is working all I have to do is put apache-tomcat, and = openjdk-7-jre, then my application. >>>>>>>=20 >>>>>>> We use just iw & wpa-supplicant and set up the configuration >>>>>>> files manually (e.g. the wpa-supplicant configurations). >>>>>>=20 >>>>>> Could you help with a little more details. What I envision is = adding an append statement of some kind to local.conf to load in the = wireless related files to core-image-minimal, >>>>>> same with openjdk-7-jre and tomcat7, but my first efforts have = generated some unintelligible error for me. So that=92s why I=92m = looking for direction on where to start with this. >>>>>=20 >>>>> What was the error you got? I'll bet it was for 'iw' which >>>>> is a package from meta-oe, so you'll need to add that layer >>>>>=20 >>>>> Once you've added the meta-oe layer, you should be able to >>>>> put this line in your local.conf: >>>>> CORE_IMAGE_EXTRA_INSTALL +=3D " iw wpa-supplicant=94 >>>>>=20 >>>> Okay, what I don=92t get is the fact that without any additional = layers, bitbake core-image-sato builds all the WiFi features I need. = bitbake core-image-minimal does not. So I=92m >>>> thinking that there is some CORE_IMAGE_EXTRA_INSTALL statement that = can just add what is needed without extra layers. >>>>=20 >>>> I guess it just doesn=92t make sense to me right now. >>>=20 >>> Try using >>> CORE_IMAGE_EXTRA_INSTALL +=3D " packagegroup-base-wifi" >>> which will bring in 'wireless-tools' and 'wpa-supplicant'. >>>=20 >>> I prefer 'iw' to 'wireless-tools' as it is newer and [IMO] >>> simpler to use. >>>=20 >> Thanks, I found that I can clean build with just the wpa-supplicant = added and I=92m hoping that will bring in the wifi drivers. If it does, = all I want to do is edit the /etc/interfaces file with the Static IP of = the wlan0, the static IP of the eth0 and the wpa-xxx for the WKPA2_PSK = information. =20 >>=20 >> Do I really need the tools? I don=92t need CLI commands to change = any network parameters later. >>=20 >> Jim A >>=20 >>> --=20 >>> ------------------------------------------------------------ >>> Gary Thomas | Consulting for the >>> MLB Associates | Embedded world >>> ------------------------------------------------------------ >>> --=20 >>> _______________________________________________ >>> yocto mailing list >>> yocto@yoctoproject.org >>> https://lists.yoctoproject.org/listinfo/yocto >>=20 >> --=20 >> _______________________________________________ >> yocto mailing list >> yocto@yoctoproject.org >> https://lists.yoctoproject.org/listinfo/yocto >=20 > --=20 > _______________________________________________ > yocto mailing list > yocto@yoctoproject.org > https://lists.yoctoproject.org/listinfo/yocto -- Chris Tapp opensource@keylevel.com www.keylevel.com ---- You can tell you're getting older when your car insurance gets real = cheap! --Apple-Mail=_95480C4B-0E1A-48E4-9A00-1A6C63D875E7 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=windows-1252
On 26 Jan 2015, at 19:31, James = Abernathy <jfabernathy@outlook.com> = wrote:

I get a clean build when I add: CORE_IMAGE_EXTRA_INSTALL = +=3D " packagegroup-base-wifi=94

However, I have no wireless drivers.  I must have to add = something to add the drivers and firmware to the kernel.  Not sure = what though.

I'm not an = expert here, but I think that adding kernel-modules and linux-firmware = to your extra_install should give you what you = need.


Jim A

On = Jan 26, 2015, at 11:09 AM, James Abernathy <jfabernathy@outlook.com> wrote:


On Jan 26, 2015, at = 10:52 AM, Gary Thomas <gary@mlbassoc.com> wrote:

On 2015-01-26 08:26, James Abernathy wrote:

On Jan 26, 2015, at 8:49 AM, Gary Thomas = <gary@mlbassoc.com = <mailto:gary@mlbassoc.com>> wrote:

On 2015-01-26 06:29, James Abernathy wrote:

On Jan 23, 2015, at 12:37 PM, Gary Thomas = <gary@mlbassoc.com = <mailto:gary@mlbassoc.com>> wrote:

On 2015-01-23 10:24, Jim Abernathy wrote:
I'm starting a project = mostly for self-education.  I have already done the project using = Ubuntu Server 14.04 using a Intel NUC and a Pandaboard as targets. =  Now I want to see how
easy it is to move it to = Yocto.

Starting with the NUC, I can boot = Dizzy 1.7.1 core-image-minimal and core-image-sato, both built with = bitbake and not the prebuilt images. However, core-image-minimal doesn't = have
WiFi and core-image-sato does, but I don't need all = the GUI stuff.  It's a headless application.

So what is recommended; eliminating the GUI from sato or = adding wifi and wpa-supplicant, etc to minimal??  Also any pointers = to how to do the adding/subtracting would be most
helpful.

Once this is working = all I have to do is put apache-tomcat, and openjdk-7-jre, then my = application.

We use just iw = & wpa-supplicant and set up the configuration
files = manually (e.g. the wpa-supplicant configurations).

Could you help with a little more = details.  What I envision is adding an append statement of some = kind to local.conf to load in the wireless related files to = core-image-minimal,
same with openjdk-7-jre and tomcat7, = but my first efforts have generated some unintelligible error for me. =  So that=92s why I=92m looking for direction on where to start with = this.

What was the error you = got?  I'll bet it was for 'iw' which
is a package = from meta-oe, so you'll need to add that layer

Once you've added the meta-oe layer, you should be able to
put this line in your local.conf:
CORE_IMAGE_EXTRA_INSTALL +=3D " iw wpa-supplicant=94

Okay, what I don=92t get is the = fact that without any additional layers, bitbake core-image-sato builds = all the WiFi features I need.  bitbake core-image-minimal does not. =  So I=92m
thinking that there is some = CORE_IMAGE_EXTRA_INSTALL statement that can just add what is needed = without extra layers.

I guess it just = doesn=92t make sense to me right now.

Try using
CORE_IMAGE_EXTRA_INSTALL +=3D " = packagegroup-base-wifi"
which will bring in = 'wireless-tools' and 'wpa-supplicant'.

I = prefer 'iw' to 'wireless-tools' as it is newer and [IMO]
simpler to use.

Thanks, I found that I can clean build with just = the wpa-supplicant added and I=92m hoping that will bring in the wifi = drivers.  If it does, all I want to do is edit the /etc/interfaces = file with the Static IP of the wlan0, the static IP of the eth0 and the = wpa-xxx for the WKPA2_PSK information.  

Do I really need the tools?  I don=92t need = CLI commands to change any network parameters later.

Jim A

-- 
------------------------------------------------------------Gary Thomas =             &n= bsp;   |  Consulting for the
MLB = Associates =             &n= bsp;|    Embedded world
-------------------------------------------------------------- 
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

-- 
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

-- =
_______________________________________________
yocto mailing = list
yocto@yoctoproject.org
https= ://lists.yoctoproject.org/listinfo/yocto


=
----
You can tell you're getting older when your car = insurance gets real cheap!

= --Apple-Mail=_95480C4B-0E1A-48E4-9A00-1A6C63D875E7-- From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id A747EE00837; Mon, 26 Jan 2015 12:36:50 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_PASS autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -0.0 SPF_HELO_PASS SPF: HELO matches SPF record * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] Received: from mx-mn.atk.com (mx-mn.atk.com [192.107.248.84]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id BA3B1E0082D for ; Mon, 26 Jan 2015 12:36:40 -0800 (PST) Received: from unknown (HELO UT40SVEH3.atk.com) ([146.168.70.140]) by mx-mn.atk.com with ESMTP; 26 Jan 2015 14:28:34 -0600 Received: from UT40SVCWEM001.atk.com ([169.254.4.192]) by UT40SVEH3.atk.com ([146.168.78.8]) with mapi id 14.03.0174.001; Mon, 26 Jan 2015 13:36:38 -0700 From: "Moore, Thomas (FtWorth)" To: Chris Tapp , James Abernathy Thread-Topic: [yocto] adding all the pieces of WiFi to core-image-minimal Thread-Index: AQHQNzHOBXOT+dvbvEumcsdhxTNa8JzObX0AgARxsICAAAWRAIAAGw4AgAAHQ4CAAATJgIAAOJKAgAAPuQD//4uoAA== Date: Mon, 26 Jan 2015 20:36:37 +0000 Message-ID: <7B6FE55CD594D7478CED8A39DF3BFC0A5E73ED7A@UT40SVCWEM001.atk.com> References: <54C286DC.2030708@mlbassoc.com> <54C645E4.9090801@mlbassoc.com> <54C662AD.5070209@mlbassoc.com> In-Reply-To: Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.99.32.35] MIME-Version: 1.0 Cc: "yocto@yoctoproject.org" , Gary Thomas Subject: Re: adding all the pieces of WiFi to core-image-minimal 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, 26 Jan 2015 20:36:50 -0000 Content-Language: en-US Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Try building core-image-base or adding packagegroup-base-extended to your I= MAGE_INSTALL. This should add the modules and firmware. core-image-minimal is just that and only includes just enough to boot the s= ystem. P.S. if you add "wifi" to your DISTRO_FEATURES, then packagegroup-base-wifi= should automatically get added to the image. Checkout meta/recipes-core/pa= ckagegroups/packagegroup-base.bb to see how that works. Thomas From: yocto-bounces@yoctoproject.org [mailto:yocto-bounces@yoctoproject.org= ] On Behalf Of Chris Tapp Sent: Monday, January 26, 2015 2:28 PM To: James Abernathy Cc: yocto@yoctoproject.org; Gary Thomas Subject: Re: [yocto] adding all the pieces of WiFi to core-image-minimal On 26 Jan 2015, at 19:31, James Abernathy wrote: I get a clean build when I add:=A0CORE_IMAGE_EXTRA_INSTALL +=3D " packagegr= oup-base-wifi" However, I have no wireless drivers. =A0I must have to add something to add= the drivers and firmware to the kernel. =A0Not sure what though. I'm not an expert here, but I think that adding kernel-modules and linux-fi= rmware to your extra_install should give you what you need. Jim A On Jan 26, 2015, at 11:09 AM, James Abernathy wro= te: On Jan 26, 2015, at 10:52 AM, Gary Thomas wrote: On 2015-01-26 08:26, James Abernathy wrote: On Jan 26, 2015, at 8:49 AM, Gary Thomas > wrote: On 2015-01-26 06:29, James Abernathy wrote: On Jan 23, 2015, at 12:37 PM, Gary Thomas > wrote: On 2015-01-23 10:24, Jim Abernathy wrote: I'm starting a project mostly for self-education. =A0I have already done th= e project using Ubuntu Server 14.04 using a Intel NUC and a Pandaboard as t= argets. =A0Now I want to see how easy it is to move it to Yocto. Starting with the NUC, I can boot Dizzy 1.7.1 core-image-minimal and core-i= mage-sato, both built with bitbake and not the prebuilt images. However, co= re-image-minimal doesn't have WiFi and core-image-sato does, but I don't need all the GUI stuff. =A0It's = a headless application. So what is recommended; eliminating the GUI from sato or adding wifi and wp= a-supplicant, etc to minimal?? =A0Also any pointers to how to do the adding= /subtracting would be most helpful. Once this is working all I have to do is put apache-tomcat, and openjdk-7-j= re, then my application. We use just iw & wpa-supplicant and set up the configuration files manually (e.g. the wpa-supplicant configurations). Could you help with a little more details. =A0What I envision is adding an = append statement of some kind to local.conf to load in the wireless related= files to core-image-minimal, same with openjdk-7-jre and tomcat7, but my first efforts have generated so= me unintelligible error for me. =A0So that's why I'm looking for direction = on where to start with this. What was the error you got? =A0I'll bet it was for 'iw' which is a package from meta-oe, so you'll need to add that layer Once you've added the meta-oe layer, you should be able to put this line in your local.conf: CORE_IMAGE_EXTRA_INSTALL +=3D " iw wpa-supplicant" Okay, what I don't get is the fact that without any additional layers, bitb= ake core-image-sato builds all the WiFi features I need. =A0bitbake core-im= age-minimal does not. =A0So I'm thinking that there is some CORE_IMAGE_EXTRA_INSTALL statement that can jus= t add what is needed without extra layers. I guess it just doesn't make sense to me right now. Try using CORE_IMAGE_EXTRA_INSTALL +=3D " packagegroup-base-wifi" which will bring in 'wireless-tools' and 'wpa-supplicant'. I prefer 'iw' to 'wireless-tools' as it is newer and [IMO] simpler to use. Thanks, I found that I can clean build with just the wpa-supplicant added a= nd I'm hoping that will bring in the wifi drivers. =A0If it does, all I wan= t to do is edit the /etc/interfaces file with the Static IP of the wlan0, t= he static IP of the eth0 and the wpa-xxx for the WKPA2_PSK information. =A0 Do I really need the tools? =A0I don't need CLI commands to change any netw= ork parameters later. Jim A --=A0 ------------------------------------------------------------ Gary Thomas =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0| =A0Consulting= for the MLB Associates =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0| =A0=A0=A0Embedded w= orld ------------------------------------------------------------ --=A0 _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto --=A0 _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto --=20 _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto -- Chris Tapp opensource@keylevel.com www.keylevel.com ---- You can tell you're getting older when your car insurance gets real cheap! From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id C0159E00837; Mon, 26 Jan 2015 12:54:00 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 X-Spam-HAM-Report: * 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider * (jfabernathy[at]outlook.com) * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no * trust * [65.55.116.23 listed in list.dnswl.org] X-Greylist: delayed 69 seconds by postgrey-1.32 at yocto-www; Mon, 26 Jan 2015 12:53:57 PST Received: from BLU004-OMC1S12.hotmail.com (blu004-omc1s12.hotmail.com [65.55.116.23]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 5743EE0082D for ; Mon, 26 Jan 2015 12:53:57 -0800 (PST) Received: from BLU437-SMTP16 ([65.55.116.9]) by BLU004-OMC1S12.hotmail.com over TLS secured channel with Microsoft SMTPSVC(7.5.7601.22751); Mon, 26 Jan 2015 12:52:47 -0800 X-TMN: [9PZWAm2pyAhNgwuWWgw2qnYUs2d/LWoa] X-Originating-Email: [jfabernathy@outlook.com] Message-ID: MIME-Version: 1.0 (Mac OS X Mail 8.1 \(1993\)) From: James Abernathy In-Reply-To: <7B6FE55CD594D7478CED8A39DF3BFC0A5E73ED7A@UT40SVCWEM001.atk.com> Date: Mon, 26 Jan 2015 15:52:42 -0500 References: <54C286DC.2030708@mlbassoc.com> <54C645E4.9090801@mlbassoc.com> <54C662AD.5070209@mlbassoc.com> <7B6FE55CD594D7478CED8A39DF3BFC0A5E73ED7A@UT40SVCWEM001.atk.com> To: "Moore, Thomas (FtWorth)" X-Mailer: Apple Mail (2.1993) X-OriginalArrivalTime: 26 Jan 2015 20:52:46.0141 (UTC) FILETIME=[099026D0:01D039AA] Cc: "yocto@yoctoproject.org" , Gary Thomas Subject: Re: adding all the pieces of WiFi to core-image-minimal 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, 26 Jan 2015 20:54:00 -0000 Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable > On Jan 26, 2015, at 3:36 PM, Moore, Thomas (FtWorth) = wrote: >=20 > Try building core-image-base or adding packagegroup-base-extended to = your IMAGE_INSTALL. This should add the modules and firmware. >=20 > core-image-minimal is just that and only includes just enough to boot = the system. >=20 > P.S. if you add "wifi" to your DISTRO_FEATURES, then = packagegroup-base-wifi should automatically get added to the image. = Checkout meta/recipes-core/packagegroups/packagegroup-base.bb to see how = that works. >=20 > Thomas >=20 Interesting! are we talking about doing this in the local.conf? or are = we talking about modifying existing recipes? I=92d like to do this = cleanly and not mess up what=92s in the default files. Maybe create my = own layer?? Jim A > From: yocto-bounces@yoctoproject.org = [mailto:yocto-bounces@yoctoproject.org] On Behalf Of Chris Tapp > Sent: Monday, January 26, 2015 2:28 PM > To: James Abernathy > Cc: yocto@yoctoproject.org; Gary Thomas > Subject: Re: [yocto] adding all the pieces of WiFi to = core-image-minimal >=20 >=20 > On 26 Jan 2015, at 19:31, James Abernathy = wrote: >=20 >=20 > I get a clean build when I add: CORE_IMAGE_EXTRA_INSTALL +=3D " = packagegroup-base-wifi" >=20 > However, I have no wireless drivers. I must have to add something to = add the drivers and firmware to the kernel. Not sure what though. >=20 > I'm not an expert here, but I think that adding kernel-modules and = linux-firmware to your extra_install should give you what you need. >=20 >=20 > Jim A >=20 > On Jan 26, 2015, at 11:09 AM, James Abernathy = wrote: >=20 >=20 > On Jan 26, 2015, at 10:52 AM, Gary Thomas wrote: >=20 > On 2015-01-26 08:26, James Abernathy wrote: >=20 >=20 >=20 > On Jan 26, 2015, at 8:49 AM, Gary Thomas > wrote: >=20 > On 2015-01-26 06:29, James Abernathy wrote: >=20 >=20 >=20 > On Jan 23, 2015, at 12:37 PM, Gary Thomas > wrote: >=20 > On 2015-01-23 10:24, Jim Abernathy wrote: >=20 > I'm starting a project mostly for self-education. I have already done = the project using Ubuntu Server 14.04 using a Intel NUC and a Pandaboard = as targets. Now I want to see how > easy it is to move it to Yocto. >=20 > Starting with the NUC, I can boot Dizzy 1.7.1 core-image-minimal and = core-image-sato, both built with bitbake and not the prebuilt images. = However, core-image-minimal doesn't have > WiFi and core-image-sato does, but I don't need all the GUI stuff. = It's a headless application. >=20 > So what is recommended; eliminating the GUI from sato or adding wifi = and wpa-supplicant, etc to minimal?? Also any pointers to how to do the = adding/subtracting would be most > helpful. >=20 > Once this is working all I have to do is put apache-tomcat, and = openjdk-7-jre, then my application. >=20 > We use just iw & wpa-supplicant and set up the configuration > files manually (e.g. the wpa-supplicant configurations). >=20 > Could you help with a little more details. What I envision is adding = an append statement of some kind to local.conf to load in the wireless = related files to core-image-minimal, > same with openjdk-7-jre and tomcat7, but my first efforts have = generated some unintelligible error for me. So that's why I'm looking = for direction on where to start with this. >=20 > What was the error you got? I'll bet it was for 'iw' which > is a package from meta-oe, so you'll need to add that layer >=20 > Once you've added the meta-oe layer, you should be able to > put this line in your local.conf: > CORE_IMAGE_EXTRA_INSTALL +=3D " iw wpa-supplicant" > Okay, what I don't get is the fact that without any additional layers, = bitbake core-image-sato builds all the WiFi features I need. bitbake = core-image-minimal does not. So I'm > thinking that there is some CORE_IMAGE_EXTRA_INSTALL statement that = can just add what is needed without extra layers. >=20 > I guess it just doesn't make sense to me right now. >=20 > Try using > CORE_IMAGE_EXTRA_INSTALL +=3D " packagegroup-base-wifi" > which will bring in 'wireless-tools' and 'wpa-supplicant'. >=20 > I prefer 'iw' to 'wireless-tools' as it is newer and [IMO] > simpler to use. > Thanks, I found that I can clean build with just the wpa-supplicant = added and I'm hoping that will bring in the wifi drivers. If it does, = all I want to do is edit the /etc/interfaces file with the Static IP of = the wlan0, the static IP of the eth0 and the wpa-xxx for the WKPA2_PSK = information. =20 >=20 > Do I really need the tools? I don't need CLI commands to change any = network parameters later. >=20 > Jim A >=20 >=20 > --=20 > ------------------------------------------------------------ > Gary Thomas | Consulting for the > MLB Associates | Embedded world > ------------------------------------------------------------ > --=20 > _______________________________________________ > yocto mailing list > yocto@yoctoproject.org > https://lists.yoctoproject.org/listinfo/yocto >=20 > --=20 > _______________________________________________ > yocto mailing list > yocto@yoctoproject.org > https://lists.yoctoproject.org/listinfo/yocto >=20 > --=20 > _______________________________________________ > yocto mailing list > yocto@yoctoproject.org > https://lists.yoctoproject.org/listinfo/yocto >=20 > -- >=20 > Chris Tapp > opensource@keylevel.com > www.keylevel.com >=20 > ---- > You can tell you're getting older when your car insurance gets real = cheap! >=20 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id BEC62E00837; Mon, 26 Jan 2015 13:02:43 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, HTML_MESSAGE,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 X-Spam-HAM-Report: * 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider * (jfabernathy[at]outlook.com) * -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no * trust * [65.55.111.76 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 Received: from BLU004-OMC2S1.hotmail.com (blu004-omc2s1.hotmail.com [65.55.111.76]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 26BA7E0082D for ; Mon, 26 Jan 2015 13:02:33 -0800 (PST) Received: from BLU437-SMTP76 ([65.55.111.73]) by BLU004-OMC2S1.hotmail.com over TLS secured channel with Microsoft SMTPSVC(7.5.7601.22751); Mon, 26 Jan 2015 13:02:32 -0800 X-TMN: [yYAsle2JdurBgwPdQta+7TeHGIbTHzJZ] X-Originating-Email: [jfabernathy@outlook.com] Message-ID: MIME-Version: 1.0 (Mac OS X Mail 8.1 \(1993\)) From: James Abernathy In-Reply-To: Date: Mon, 26 Jan 2015 16:02:29 -0500 References: <54C286DC.2030708@mlbassoc.com> <54C645E4.9090801@mlbassoc.com> <54C662AD.5070209@mlbassoc.com> To: Chris Tapp X-Mailer: Apple Mail (2.1993) X-OriginalArrivalTime: 26 Jan 2015 21:02:31.0102 (UTC) FILETIME=[663A1DE0:01D039AB] Cc: yocto@yoctoproject.org, Gary Thomas Subject: Re: adding all the pieces of WiFi to core-image-minimal 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, 26 Jan 2015 21:02:43 -0000 Content-Type: multipart/alternative; boundary="Apple-Mail=_AF41BA37-CF45-46BF-841F-06AC507F7353" --Apple-Mail=_AF41BA37-CF45-46BF-841F-06AC507F7353 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="windows-1252" > On Jan 26, 2015, at 3:28 PM, Chris Tapp = wrote: >=20 >=20 > On 26 Jan 2015, at 19:31, James Abernathy > wrote: >=20 >> I get a clean build when I add: CORE_IMAGE_EXTRA_INSTALL +=3D " = packagegroup-base-wifi=94 >>=20 >> However, I have no wireless drivers. I must have to add something to = add the drivers and firmware to the kernel. Not sure what though. >=20 > I'm not an expert here, but I think that adding kernel-modules and = linux-firmware to your extra_install should give you what you need. >=20 Well you are right! All I added was: CORE_IMAGE_EXTRA_INSTALL +=3D =93 packagegroup-base-wifi kernel-modules = linux-firmware=94 After booting this image via USB on a NUC, I had all the drivers for LAN = and WiFi devices and the 80211 firmware so I should be able to make it = work now. =20 Thanks all, Jim A >>=20 >> Jim A >>=20 >>> On Jan 26, 2015, at 11:09 AM, James Abernathy = > wrote: >>>=20 >>>>=20 >>>> On Jan 26, 2015, at 10:52 AM, Gary Thomas > wrote: >>>>=20 >>>> On 2015-01-26 08:26, James Abernathy wrote: >>>>>=20 >>>>>> On Jan 26, 2015, at 8:49 AM, Gary Thomas >> wrote: >>>>>>=20 >>>>>> On 2015-01-26 06:29, James Abernathy wrote: >>>>>>>=20 >>>>>>>> On Jan 23, 2015, at 12:37 PM, Gary Thomas >> wrote: >>>>>>>>=20 >>>>>>>> On 2015-01-23 10:24, Jim Abernathy wrote: >>>>>>>>> I'm starting a project mostly for self-education. I have = already done the project using Ubuntu Server 14.04 using a Intel NUC and = a Pandaboard as targets. Now I want to see how >>>>>>>>> easy it is to move it to Yocto. >>>>>>>>>=20 >>>>>>>>> Starting with the NUC, I can boot Dizzy 1.7.1 = core-image-minimal and core-image-sato, both built with bitbake and not = the prebuilt images. However, core-image-minimal doesn't have >>>>>>>>> WiFi and core-image-sato does, but I don't need all the GUI = stuff. It's a headless application. >>>>>>>>>=20 >>>>>>>>> So what is recommended; eliminating the GUI from sato or = adding wifi and wpa-supplicant, etc to minimal?? Also any pointers to = how to do the adding/subtracting would be most >>>>>>>>> helpful. >>>>>>>>>=20 >>>>>>>>> Once this is working all I have to do is put apache-tomcat, = and openjdk-7-jre, then my application. >>>>>>>>=20 >>>>>>>> We use just iw & wpa-supplicant and set up the configuration >>>>>>>> files manually (e.g. the wpa-supplicant configurations). >>>>>>>=20 >>>>>>> Could you help with a little more details. What I envision is = adding an append statement of some kind to local.conf to load in the = wireless related files to core-image-minimal, >>>>>>> same with openjdk-7-jre and tomcat7, but my first efforts have = generated some unintelligible error for me. So that=92s why I=92m = looking for direction on where to start with this. >>>>>>=20 >>>>>> What was the error you got? I'll bet it was for 'iw' which >>>>>> is a package from meta-oe, so you'll need to add that layer >>>>>>=20 >>>>>> Once you've added the meta-oe layer, you should be able to >>>>>> put this line in your local.conf: >>>>>> CORE_IMAGE_EXTRA_INSTALL +=3D " iw wpa-supplicant=94 >>>>>>=20 >>>>> Okay, what I don=92t get is the fact that without any additional = layers, bitbake core-image-sato builds all the WiFi features I need. = bitbake core-image-minimal does not. So I=92m >>>>> thinking that there is some CORE_IMAGE_EXTRA_INSTALL statement = that can just add what is needed without extra layers. >>>>>=20 >>>>> I guess it just doesn=92t make sense to me right now. >>>>=20 >>>> Try using >>>> CORE_IMAGE_EXTRA_INSTALL +=3D " packagegroup-base-wifi" >>>> which will bring in 'wireless-tools' and 'wpa-supplicant'. >>>>=20 >>>> I prefer 'iw' to 'wireless-tools' as it is newer and [IMO] >>>> simpler to use. >>>>=20 >>> Thanks, I found that I can clean build with just the wpa-supplicant = added and I=92m hoping that will bring in the wifi drivers. If it does, = all I want to do is edit the /etc/interfaces file with the Static IP of = the wlan0, the static IP of the eth0 and the wpa-xxx for the WKPA2_PSK = information. =20 >>>=20 >>> Do I really need the tools? I don=92t need CLI commands to change = any network parameters later. >>>=20 >>> Jim A >>>=20 >>>> --=20 >>>> ------------------------------------------------------------ >>>> Gary Thomas | Consulting for the >>>> MLB Associates | Embedded world >>>> ------------------------------------------------------------ >>>> --=20 >>>> _______________________________________________ >>>> yocto mailing list >>>> yocto@yoctoproject.org >>>> https://lists.yoctoproject.org/listinfo/yocto = >>>=20 >>> --=20 >>> _______________________________________________ >>> yocto mailing list >>> yocto@yoctoproject.org >>> https://lists.yoctoproject.org/listinfo/yocto = >> --=20 >> _______________________________________________ >> yocto mailing list >> yocto@yoctoproject.org >> https://lists.yoctoproject.org/listinfo/yocto >=20 > -- >=20 > Chris Tapp > opensource@keylevel.com > www.keylevel.com >=20 > ---- > You can tell you're getting older when your car insurance gets real = cheap! --Apple-Mail=_AF41BA37-CF45-46BF-841F-06AC507F7353 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset="windows-1252"
On Jan 26, 2015, at 3:28 PM, Chris Tapp <opensource@keylevel.com> wrote:


On 26 Jan 2015, at 19:31, James = Abernathy <jfabernathy@outlook.com> wrote:

I get = a clean build when I add: CORE_IMAGE_EXTRA_INSTALL +=3D " = packagegroup-base-wifi=94

However, I have no wireless drivers.  I must have to add = something to add the drivers and firmware to the kernel.  Not sure = what though.

I'm not an expert here, but I think = that adding kernel-modules and linux-firmware to your extra_install = should give you what you need.


Well = you are right!  All I added was:
CORE_IMAGE_EXTRA_INSTALL = +=3D =93 packagegroup-base-wifi kernel-modules = linux-firmware=94

After booting this = image via USB on a NUC, I had all the drivers for LAN and WiFi devices = and the 80211 firmware so I should be able to make it work now. =  

Thanks all,

Jim A


Jim A

On Jan 26, 2015, at 11:09 AM, James Abernathy = <jfabernathy@outlook.com> wrote:


On Jan 26, 2015, at 10:52 AM, Gary = Thomas <gary@mlbassoc.com> wrote:

On 2015-01-26 08:26, James Abernathy wrote:

On Jan 26, 2015, at 8:49 AM, Gary Thomas = <gary@mlbassoc.com <mailto:gary@mlbassoc.com>> wrote:

On 2015-01-26 06:29, James Abernathy wrote:

On Jan 23, 2015, at 12:37 PM, Gary Thomas = <gary@mlbassoc.com <mailto:gary@mlbassoc.com>> wrote:

On 2015-01-23 10:24, Jim Abernathy wrote:
I'm starting a project = mostly for self-education.  I have already done the project using = Ubuntu Server 14.04 using a Intel NUC and a Pandaboard as targets. =  Now I want to see how
easy it is to move it to = Yocto.

Starting with the NUC, I can boot = Dizzy 1.7.1 core-image-minimal and core-image-sato, both built with = bitbake and not the prebuilt images. However, core-image-minimal doesn't = have
WiFi and core-image-sato does, but I don't need all = the GUI stuff.  It's a headless application.

So what is recommended; eliminating the GUI from sato or = adding wifi and wpa-supplicant, etc to minimal??  Also any pointers = to how to do the adding/subtracting would be most
helpful.

Once this is working = all I have to do is put apache-tomcat, and openjdk-7-jre, then my = application.

We use just iw = & wpa-supplicant and set up the configuration
files = manually (e.g. the wpa-supplicant configurations).

Could you help with a little more = details.  What I envision is adding an append statement of some = kind to local.conf to load in the wireless related files to = core-image-minimal,
same with openjdk-7-jre and tomcat7, = but my first efforts have generated some unintelligible error for me. =  So that=92s why I=92m looking for direction on where to start with = this.

What was the error you = got?  I'll bet it was for 'iw' which
is a package = from meta-oe, so you'll need to add that layer

Once you've added the meta-oe layer, you should be able to
put this line in your local.conf:
CORE_IMAGE_EXTRA_INSTALL +=3D " iw wpa-supplicant=94

Okay, what I don=92t get is the = fact that without any additional layers, bitbake core-image-sato builds = all the WiFi features I need.  bitbake core-image-minimal does not. =  So I=92m
thinking that there is some = CORE_IMAGE_EXTRA_INSTALL statement that can just add what is needed = without extra layers.

I guess it just = doesn=92t make sense to me right now.

Try using
CORE_IMAGE_EXTRA_INSTALL +=3D " = packagegroup-base-wifi"
which will bring in = 'wireless-tools' and 'wpa-supplicant'.

I = prefer 'iw' to 'wireless-tools' as it is newer and [IMO]
simpler to use.

Thanks, I found that I can clean = build with just the wpa-supplicant added and I=92m hoping that will = bring in the wifi drivers.  If it does, all I want to do is edit = the /etc/interfaces file with the Static IP of the wlan0, the static IP = of the eth0 and the wpa-xxx for the WKPA2_PSK information. =  

Do I really need the tools?  I don=92t need CLI = commands to change any network parameters later.

Jim A

-- 
------------------------------------------------------------Gary Thomas =             &n= bsp;   |  Consulting for the
MLB = Associates =             &n= bsp;|    Embedded world
-------------------------------------------------------------- 
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

-- 
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto
=

-- 
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

--

Chris Tapp

----
You can tell = you're getting older when your car insurance gets real = cheap!
=
= --Apple-Mail=_AF41BA37-CF45-46BF-841F-06AC507F7353-- From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 4E696E00837; Mon, 26 Jan 2015 13:05:00 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_PASS autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -0.0 SPF_HELO_PASS SPF: HELO matches SPF record * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] Received: from mx-mn.atk.com (mx-mn.atk.com [192.107.248.84]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id E2EA0E0082D for ; Mon, 26 Jan 2015 13:04:56 -0800 (PST) Received: from unknown (HELO UT40SVCWEC0001.atk.com) ([146.168.70.142]) by mx-mn.atk.com with ESMTP; 26 Jan 2015 14:56:51 -0600 Received: from UT40SVCWEM001.atk.com ([169.254.4.192]) by UT40SVCWEC0001.atk.com ([146.168.70.142]) with mapi id 14.03.0174.001; Mon, 26 Jan 2015 14:04:55 -0700 From: "Moore, Thomas (FtWorth)" To: James Abernathy Thread-Topic: [yocto] adding all the pieces of WiFi to core-image-minimal Thread-Index: AQHQNzHOBXOT+dvbvEumcsdhxTNa8JzObX0AgARxsICAAAWRAIAAGw4AgAAHQ4CAAATJgIAAOJKAgAAPuQD//4uoAIAAezgA//+KzmA= Date: Mon, 26 Jan 2015 21:04:54 +0000 Message-ID: <7B6FE55CD594D7478CED8A39DF3BFC0A5E73FDA7@UT40SVCWEM001.atk.com> References: <54C286DC.2030708@mlbassoc.com> <54C645E4.9090801@mlbassoc.com> <54C662AD.5070209@mlbassoc.com> <7B6FE55CD594D7478CED8A39DF3BFC0A5E73ED7A@UT40SVCWEM001.atk.com> In-Reply-To: Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.99.32.35] MIME-Version: 1.0 Cc: "yocto@yoctoproject.org" , Gary Thomas Subject: Re: adding all the pieces of WiFi to core-image-minimal 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, 26 Jan 2015 21:05:00 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable For now, I'd just get everything working with the local.conf: DISTRO_FEATURES +=3D "wifi" bitbake core-image-base Ultimately, you may want to make a custom machine and distro config and inc= orporate all of the things you've specified in local.conf in those configs.= For example, I have a system that's an intel-based single-board computer w= ith several expansion cards. I've created a machine configuration to define= the basic hardware components (features, drivers, etc). I've also created = a custom distro because we prefer system over systemv and to include some o= ther non-machine specific packages. Finally, I've created a custom image th= at includes some other extras. The power of local.conf is nice, but it's a little tricky transitioning fro= m that to more of a BSP approach like I described above because most people= just say to add it to your local.conf, but that's not really how it should= be done at the end. Think global variables vs classes. P.S. Never edit anything in the poky folder. If you want to modify an exist= ing recipe, create a new layer with a bbappend and modify away. Thomas -----Original Message----- From: James Abernathy [mailto:jfabernathy@outlook.com]=20 Sent: Monday, January 26, 2015 2:53 PM To: Moore, Thomas (FtWorth) Cc: Chris Tapp; yocto@yoctoproject.org; Gary Thomas Subject: Re: [yocto] adding all the pieces of WiFi to core-image-minimal > On Jan 26, 2015, at 3:36 PM, Moore, Thomas (FtWorth) wrote: >=20 > Try building core-image-base or adding packagegroup-base-extended to your= IMAGE_INSTALL. This should add the modules and firmware. >=20 > core-image-minimal is just that and only includes just enough to boot the= system. >=20 > P.S. if you add "wifi" to your DISTRO_FEATURES, then packagegroup-base-wi= fi should automatically get added to the image. Checkout meta/recipes-core/= packagegroups/packagegroup-base.bb to see how that works. >=20 > Thomas >=20 Interesting! are we talking about doing this in the local.conf? or are we = talking about modifying existing recipes? I'd like to do this cleanly and = not mess up what's in the default files. Maybe create my own layer?? Jim A > From: yocto-bounces@yoctoproject.org=20 > [mailto:yocto-bounces@yoctoproject.org] On Behalf Of Chris Tapp > Sent: Monday, January 26, 2015 2:28 PM > To: James Abernathy > Cc: yocto@yoctoproject.org; Gary Thomas > Subject: Re: [yocto] adding all the pieces of WiFi to=20 > core-image-minimal >=20 >=20 > On 26 Jan 2015, at 19:31, James Abernathy wrote= : >=20 >=20 > I get a clean build when I add: CORE_IMAGE_EXTRA_INSTALL +=3D " packagegr= oup-base-wifi" >=20 > However, I have no wireless drivers. I must have to add something to add= the drivers and firmware to the kernel. Not sure what though. >=20 > I'm not an expert here, but I think that adding kernel-modules and linux-= firmware to your extra_install should give you what you need. >=20 >=20 > Jim A >=20 > On Jan 26, 2015, at 11:09 AM, James Abernathy w= rote: >=20 >=20 > On Jan 26, 2015, at 10:52 AM, Gary Thomas wrote: >=20 > On 2015-01-26 08:26, James Abernathy wrote: >=20 >=20 >=20 > On Jan 26, 2015, at 8:49 AM, Gary Thomas > wrote: >=20 > On 2015-01-26 06:29, James Abernathy wrote: >=20 >=20 >=20 > On Jan 23, 2015, at 12:37 PM, Gary Thomas > wrote: >=20 > On 2015-01-23 10:24, Jim Abernathy wrote: >=20 > I'm starting a project mostly for self-education. I have already done=20 > the project using Ubuntu Server 14.04 using a Intel NUC and a Pandaboard = as targets. Now I want to see how easy it is to move it to Yocto. >=20 > Starting with the NUC, I can boot Dizzy 1.7.1 core-image-minimal and=20 > core-image-sato, both built with bitbake and not the prebuilt images. How= ever, core-image-minimal doesn't have WiFi and core-image-sato does, but I = don't need all the GUI stuff. It's a headless application. >=20 > So what is recommended; eliminating the GUI from sato or adding wifi=20 > and wpa-supplicant, etc to minimal?? Also any pointers to how to do the = adding/subtracting would be most helpful. >=20 > Once this is working all I have to do is put apache-tomcat, and openjdk-7= -jre, then my application. >=20 > We use just iw & wpa-supplicant and set up the configuration files=20 > manually (e.g. the wpa-supplicant configurations). >=20 > Could you help with a little more details. What I envision is adding=20 > an append statement of some kind to local.conf to load in the wireless re= lated files to core-image-minimal, same with openjdk-7-jre and tomcat7, but= my first efforts have generated some unintelligible error for me. So that= 's why I'm looking for direction on where to start with this. >=20 > What was the error you got? I'll bet it was for 'iw' which is a=20 > package from meta-oe, so you'll need to add that layer >=20 > Once you've added the meta-oe layer, you should be able to put this=20 > line in your local.conf: > CORE_IMAGE_EXTRA_INSTALL +=3D " iw wpa-supplicant" > Okay, what I don't get is the fact that without any additional layers,=20 > bitbake core-image-sato builds all the WiFi features I need. bitbake cor= e-image-minimal does not. So I'm thinking that there is some CORE_IMAGE_EX= TRA_INSTALL statement that can just add what is needed without extra layers= . >=20 > I guess it just doesn't make sense to me right now. >=20 > Try using > CORE_IMAGE_EXTRA_INSTALL +=3D " packagegroup-base-wifi" > which will bring in 'wireless-tools' and 'wpa-supplicant'. >=20 > I prefer 'iw' to 'wireless-tools' as it is newer and [IMO] simpler to=20 > use. > Thanks, I found that I can clean build with just the wpa-supplicant added= and I'm hoping that will bring in the wifi drivers. If it does, all I wan= t to do is edit the /etc/interfaces file with the Static IP of the wlan0, t= he static IP of the eth0 and the wpa-xxx for the WKPA2_PSK information. =20 >=20 > Do I really need the tools? I don't need CLI commands to change any netw= ork parameters later. >=20 > Jim A >=20 >=20 > -- > ------------------------------------------------------------ > Gary Thomas | Consulting for the > MLB Associates | Embedded world > ------------------------------------------------------------ > -- > _______________________________________________ > yocto mailing list > yocto@yoctoproject.org > https://lists.yoctoproject.org/listinfo/yocto >=20 > -- > _______________________________________________ > yocto mailing list > yocto@yoctoproject.org > https://lists.yoctoproject.org/listinfo/yocto >=20 > -- > _______________________________________________ > yocto mailing list > yocto@yoctoproject.org > https://lists.yoctoproject.org/listinfo/yocto >=20 > -- >=20 > Chris Tapp > opensource@keylevel.com > www.keylevel.com >=20 > ---- > You can tell you're getting older when your car insurance gets real cheap= ! >=20 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 4FF5BE0083A; Mon, 26 Jan 2015 13:37:43 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, HTML_MESSAGE,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 X-Spam-HAM-Report: * 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider * (jfabernathy[at]outlook.com) * -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no * trust * [65.54.190.32 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 Received: from BAY004-OMC1S21.hotmail.com (bay004-omc1s21.hotmail.com [65.54.190.32]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 471C8E00836 for ; Mon, 26 Jan 2015 13:37:39 -0800 (PST) Received: from BAY169-W57 ([65.54.190.59]) by BAY004-OMC1S21.hotmail.com over TLS secured channel with Microsoft SMTPSVC(7.5.7601.22751); Mon, 26 Jan 2015 13:37:38 -0800 X-TMN: [wZ8Z2nlhkn4w9YLASw5RzHLm9xniOcAc] X-Originating-Email: [jfabernathy@outlook.com] Message-ID: From: Jim Abernathy To: "Moore, Thomas FtWorth" Date: Mon, 26 Jan 2015 16:37:37 -0500 Importance: Normal In-Reply-To: <7B6FE55CD594D7478CED8A39DF3BFC0A5E73FDA7@UT40SVCWEM001.atk.com> References: , <54C286DC.2030708@mlbassoc.com>, , <54C645E4.9090801@mlbassoc.com>, , <54C662AD.5070209@mlbassoc.com>, , , , <7B6FE55CD594D7478CED8A39DF3BFC0A5E73ED7A@UT40SVCWEM001.atk.com>, , <7B6FE55CD594D7478CED8A39DF3BFC0A5E73FDA7@UT40SVCWEM001.atk.com> MIME-Version: 1.0 X-OriginalArrivalTime: 26 Jan 2015 21:37:38.0124 (UTC) FILETIME=[4E1C28C0:01D039B0] Cc: "yocto@yoctoproject.org" , Gary Thomas Subject: Re: adding all the pieces of WiFi to core-image-minimal 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, 26 Jan 2015 21:37:43 -0000 Content-Type: multipart/alternative; boundary="_117d7fde-84e9-4808-baaf-fe2d6c179fa5_" --_117d7fde-84e9-4808-baaf-fe2d6c179fa5_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable > From: Thomas.Moore2@ATK.COM > To: jfabernathy@outlook.com > CC: opensource@keylevel.com=3B yocto@yoctoproject.org=3B gary@mlbassoc.co= m > Subject: RE: [yocto] adding all the pieces of WiFi to core-image-minimal > Date: Mon=2C 26 Jan 2015 21:04:54 +0000 >=20 > For now=2C I'd just get everything working with the local.conf: >=20 > DISTRO_FEATURES +=3D "wifi" >=20 > bitbake core-image-base >=20 > Ultimately=2C you may want to make a custom machine and distro config and= incorporate all of the things you've specified in local.conf in those conf= igs. For example=2C I have a system that's an intel-based single-board comp= uter with several expansion cards. I've created a machine configuration to = define the basic hardware components (features=2C drivers=2C etc). I've als= o created a custom distro because we prefer system over systemv and to incl= ude some other non-machine specific packages. Finally=2C I've created a cus= tom image that includes some other extras. >=20 > The power of local.conf is nice=2C but it's a little tricky transitioning= from that to more of a BSP approach like I described above because most pe= ople just say to add it to your local.conf=2C but that's not really how it = should be done at the end. Think global variables vs classes. >=20 > P.S. Never edit anything in the poky folder. If you want to modify an exi= sting recipe=2C create a new layer with a bbappend and modify away. >=20 > Thomas >=20 >=20 I tried just adding DISTRO_FEATURES +=3D "wifi" to the local.conf and bitba= king core-image-base=2C but I got a lot of errors: NOTE: Resolving any missing task queue dependencies ERROR: Nothing PROVIDES 'glibc' ERROR: glibc was skipped: missing required distro feature 'ipv4' (not in DI= STRO_FEATURES) ERROR: Required build target 'core-image-base' has no buildable providers. Missing or unbuildable dependency chain was: ['core-image-base'=2C 'glibc'] So I got it working with core-image-minimal as I mentioned earlier just bef= ore your reply. > -----Original Message----- > From: James Abernathy [mailto:jfabernathy@outlook.com]=20 > Sent: Monday=2C January 26=2C 2015 2:53 PM > To: Moore=2C Thomas (FtWorth) > Cc: Chris Tapp=3B yocto@yoctoproject.org=3B Gary Thomas > Subject: Re: [yocto] adding all the pieces of WiFi to core-image-minimal >=20 >=20 > > On Jan 26=2C 2015=2C at 3:36 PM=2C Moore=2C Thomas (FtWorth) wrote: > >=20 > > Try building core-image-base or adding packagegroup-base-extended to yo= ur IMAGE_INSTALL. This should add the modules and firmware. > >=20 > > core-image-minimal is just that and only includes just enough to boot t= he system. > >=20 > > P.S. if you add "wifi" to your DISTRO_FEATURES=2C then packagegroup-bas= e-wifi should automatically get added to the image. Checkout meta/recipes-c= ore/packagegroups/packagegroup-base.bb to see how that works. > >=20 > > Thomas > >=20 >=20 > Interesting! are we talking about doing this in the local.conf? or are w= e talking about modifying existing recipes? I'd like to do this cleanly an= d not mess up what's in the default files. Maybe create my own layer?? >=20 > Jim A >=20 > > From: yocto-bounces@yoctoproject.org=20 > > [mailto:yocto-bounces@yoctoproject.org] On Behalf Of Chris Tapp > > Sent: Monday=2C January 26=2C 2015 2:28 PM > > To: James Abernathy > > Cc: yocto@yoctoproject.org=3B Gary Thomas > > Subject: Re: [yocto] adding all the pieces of WiFi to=20 > > core-image-minimal > >=20 > >=20 > > On 26 Jan 2015=2C at 19:31=2C James Abernathy = wrote: > >=20 > >=20 > > I get a clean build when I add: CORE_IMAGE_EXTRA_INSTALL +=3D " package= group-base-wifi" > >=20 > > However=2C I have no wireless drivers. I must have to add something to= add the drivers and firmware to the kernel. Not sure what though. > >=20 > > I'm not an expert here=2C but I think that adding kernel-modules and li= nux-firmware to your extra_install should give you what you need. > >=20 > >=20 > > Jim A > >=20 > > On Jan 26=2C 2015=2C at 11:09 AM=2C James Abernathy wrote: > >=20 > >=20 > > On Jan 26=2C 2015=2C at 10:52 AM=2C Gary Thomas wro= te: > >=20 > > On 2015-01-26 08:26=2C James Abernathy wrote: > >=20 > >=20 > >=20 > > On Jan 26=2C 2015=2C at 8:49 AM=2C Gary Thomas > wrote: > >=20 > > On 2015-01-26 06:29=2C James Abernathy wrote: > >=20 > >=20 > >=20 > > On Jan 23=2C 2015=2C at 12:37 PM=2C Gary Thomas > wrote: > >=20 > > On 2015-01-23 10:24=2C Jim Abernathy wrote: > >=20 > > I'm starting a project mostly for self-education. I have already done= =20 > > the project using Ubuntu Server 14.04 using a Intel NUC and a Pandaboar= d as targets. Now I want to see how easy it is to move it to Yocto. > >=20 > > Starting with the NUC=2C I can boot Dizzy 1.7.1 core-image-minimal and= =20 > > core-image-sato=2C both built with bitbake and not the prebuilt images.= However=2C core-image-minimal doesn't have WiFi and core-image-sato does= =2C but I don't need all the GUI stuff. It's a headless application. > >=20 > > So what is recommended=3B eliminating the GUI from sato or adding wifi= =20 > > and wpa-supplicant=2C etc to minimal?? Also any pointers to how to do = the adding/subtracting would be most helpful. > >=20 > > Once this is working all I have to do is put apache-tomcat=2C and openj= dk-7-jre=2C then my application. > >=20 > > We use just iw & wpa-supplicant and set up the configuration files=20 > > manually (e.g. the wpa-supplicant configurations). > >=20 > > Could you help with a little more details. What I envision is adding=20 > > an append statement of some kind to local.conf to load in the wireless = related files to core-image-minimal=2C same with openjdk-7-jre and tomcat7= =2C but my first efforts have generated some unintelligible error for me. = So that's why I'm looking for direction on where to start with this. > >=20 > > What was the error you got? I'll bet it was for 'iw' which is a=20 > > package from meta-oe=2C so you'll need to add that layer > >=20 > > Once you've added the meta-oe layer=2C you should be able to put this=20 > > line in your local.conf: > > CORE_IMAGE_EXTRA_INSTALL +=3D " iw wpa-supplicant" > > Okay=2C what I don't get is the fact that without any additional layers= =2C=20 > > bitbake core-image-sato builds all the WiFi features I need. bitbake c= ore-image-minimal does not. So I'm thinking that there is some CORE_IMAGE_= EXTRA_INSTALL statement that can just add what is needed without extra laye= rs. > >=20 > > I guess it just doesn't make sense to me right now. > >=20 > > Try using > > CORE_IMAGE_EXTRA_INSTALL +=3D " packagegroup-base-wifi" > > which will bring in 'wireless-tools' and 'wpa-supplicant'. > >=20 > > I prefer 'iw' to 'wireless-tools' as it is newer and [IMO] simpler to=20 > > use. > > Thanks=2C I found that I can clean build with just the wpa-supplicant a= dded and I'm hoping that will bring in the wifi drivers. If it does=2C all= I want to do is edit the /etc/interfaces file with the Static IP of the wl= an0=2C the static IP of the eth0 and the wpa-xxx for the WKPA2_PSK informat= ion. =20 > >=20 > > Do I really need the tools? I don't need CLI commands to change any ne= twork parameters later. > >=20 > > Jim A > >=20 > >=20 > > -- > > ------------------------------------------------------------ > > Gary Thomas | Consulting for the > > MLB Associates | Embedded world > > ------------------------------------------------------------ > > -- > > _______________________________________________ > > yocto mailing list > > yocto@yoctoproject.org > > https://lists.yoctoproject.org/listinfo/yocto > >=20 > > -- > > _______________________________________________ > > yocto mailing list > > yocto@yoctoproject.org > > https://lists.yoctoproject.org/listinfo/yocto > >=20 > > -- > > _______________________________________________ > > yocto mailing list > > yocto@yoctoproject.org > > https://lists.yoctoproject.org/listinfo/yocto > >=20 > > -- > >=20 > > Chris Tapp > > opensource@keylevel.com > > www.keylevel.com > >=20 > > ---- > > You can tell you're getting older when your car insurance gets real che= ap! > >=20 >=20 = --_117d7fde-84e9-4808-baaf-fe2d6c179fa5_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable


>=3B From: Thomas= .Moore2@ATK.COM
>=3B To: jfabernathy@outlook.com
>=3B CC: opensou= rce@keylevel.com=3B yocto@yoctoproject.org=3B gary@mlbassoc.com
>=3B S= ubject: RE: [yocto] adding all the pieces of WiFi to core-image-minimal
= >=3B Date: Mon=2C 26 Jan 2015 21:04:54 +0000
>=3B
>=3B For now= =2C I'd just get everything working with the local.conf:
>=3B
>= =3B DISTRO_FEATURES +=3D "wifi"
>=3B
>=3B bitbake core-image-bas= e
>=3B
>=3B Ultimately=2C you may want to make a custom machine = and distro config and incorporate all of the things you've specified in loc= al.conf in those configs. For example=2C I have a system that's an intel-ba= sed single-board computer with several expansion cards. I've created a mach= ine configuration to define the basic hardware components (features=2C driv= ers=2C etc). I've also created a custom distro because we prefer system ove= r systemv and to include some other non-machine specific packages. Finally= =2C I've created a custom image that includes some other extras.
>=3B =
>=3B The power of local.conf is nice=2C but it's a little tricky tran= sitioning from that to more of a BSP approach like I described above becaus= e most people just say to add it to your local.conf=2C but that's not reall= y how it should be done at the end. Think global variables vs classes.
&= gt=3B
>=3B P.S. Never edit anything in the poky folder. If you want t= o modify an existing recipe=2C create a new layer with a bbappend and modif= y away.
>=3B
>=3B Thomas
>=3B
>=3B
I tried just a= dding DISTRO_FEATURES +=3D "wifi" to the local.conf and bitbaking core-imag= e-base=2C but I got a lot of errors:

NOTE: Resolving any missing tas= k queue dependencies
ERROR: Nothing PROVIDES 'glibc'
ERROR: glibc was= skipped: missing required distro feature 'ipv4' (not in DISTRO_FEATURES)ERROR: Required build target 'core-image-base' has no buildable providers= .
Missing or unbuildable dependency chain was: ['core-image-base'=2C 'gl= ibc']

So I got it working with core-image-minimal as I mentioned ear= lier just before your reply.

>=3B -----Original Message-----
&g= t=3B From: James Abernathy [mailto:jfabernathy@outlook.com]
>=3B Sent= : Monday=2C January 26=2C 2015 2:53 PM
>=3B To: Moore=2C Thomas (FtWor= th)
>=3B Cc: Chris Tapp=3B yocto@yoctoproject.org=3B Gary Thomas
&g= t=3B Subject: Re: [yocto] adding all the pieces of WiFi to core-image-minim= al
>=3B
>=3B
>=3B >=3B On Jan 26=2C 2015=2C at 3:36 PM= =2C Moore=2C Thomas (FtWorth) <=3BThomas.Moore2@ATK.COM>=3B wrote:
&= gt=3B >=3B
>=3B >=3B Try building core-image-base or adding packa= gegroup-base-extended to your IMAGE_INSTALL. This should add the modules an= d firmware.
>=3B >=3B
>=3B >=3B core-image-minimal is just t= hat and only includes just enough to boot the system.
>=3B >=3B
= >=3B >=3B P.S. if you add "wifi" to your DISTRO_FEATURES=2C then packag= egroup-base-wifi should automatically get added to the image. Checkout meta= /recipes-core/packagegroups/packagegroup-base.bb to see how that works.
= >=3B >=3B
>=3B >=3B Thomas
>=3B >=3B
>=3B
>= =3B Interesting! are we talking about doing this in the local.conf? or are= we talking about modifying existing recipes? I'd like to do this cleanly = and not mess up what's in the default files. Maybe create my own layer??>=3B
>=3B Jim A
>=3B
>=3B >=3B From: yocto-bounces@y= octoproject.org
>=3B >=3B [mailto:yocto-bounces@yoctoproject.org] O= n Behalf Of Chris Tapp
>=3B >=3B Sent: Monday=2C January 26=2C 2015 = 2:28 PM
>=3B >=3B To: James Abernathy
>=3B >=3B Cc: yocto@yoc= toproject.org=3B Gary Thomas
>=3B >=3B Subject: Re: [yocto] adding a= ll the pieces of WiFi to
>=3B >=3B core-image-minimal
>=3B >= =3B
>=3B >=3B
>=3B >=3B On 26 Jan 2015=2C at 19:31=2C James= Abernathy <=3Bjfabernathy@outlook.com>=3B wrote:
>=3B >=3B
= >=3B >=3B
>=3B >=3B I get a clean build when I add: CORE_IMAGE_= EXTRA_INSTALL +=3D " packagegroup-base-wifi"
>=3B >=3B
>=3B &g= t=3B However=2C I have no wireless drivers. I must have to add something t= o add the drivers and firmware to the kernel. Not sure what though.
>= =3B >=3B
>=3B >=3B I'm not an expert here=2C but I think that add= ing kernel-modules and linux-firmware to your extra_install should give you= what you need.
>=3B >=3B
>=3B >=3B
>=3B >=3B Jim A<= br>>=3B >=3B
>=3B >=3B On Jan 26=2C 2015=2C at 11:09 AM=2C Jame= s Abernathy <=3Bjfabernathy@outlook.com>=3B wrote:
>=3B >=3B >=3B >=3B
>=3B >=3B On Jan 26=2C 2015=2C at 10:52 AM=2C Gary T= homas <=3Bgary@mlbassoc.com>=3B wrote:
>=3B >=3B
>=3B >= =3B On 2015-01-26 08:26=2C James Abernathy wrote:
>=3B >=3B
>= =3B >=3B
>=3B >=3B
>=3B >=3B On Jan 26=2C 2015=2C at 8:49= AM=2C Gary Thomas <=3Bgary@mlbassoc.com <=3Bmailto:gary@mlbassoc.com&g= t=3B>=3B wrote:
>=3B >=3B
>=3B >=3B On 2015-01-26 06:29=2C= James Abernathy wrote:
>=3B >=3B
>=3B >=3B
>=3B >= =3B
>=3B >=3B On Jan 23=2C 2015=2C at 12:37 PM=2C Gary Thomas <= =3Bgary@mlbassoc.com <=3Bmailto:gary@mlbassoc.com>=3B>=3B wrote:
&= gt=3B >=3B
>=3B >=3B On 2015-01-23 10:24=2C Jim Abernathy wrote:<= br>>=3B >=3B
>=3B >=3B I'm starting a project mostly for self-e= ducation. I have already done
>=3B >=3B the project using Ubuntu S= erver 14.04 using a Intel NUC and a Pandaboard as targets. Now I want to s= ee how easy it is to move it to Yocto.
>=3B >=3B
>=3B >=3B S= tarting with the NUC=2C I can boot Dizzy 1.7.1 core-image-minimal and
&= gt=3B >=3B core-image-sato=2C both built with bitbake and not the prebuil= t images. However=2C core-image-minimal doesn't have WiFi and core-image-sa= to does=2C but I don't need all the GUI stuff. It's a headless application= .
>=3B >=3B
>=3B >=3B So what is recommended=3B eliminating = the GUI from sato or adding wifi
>=3B >=3B and wpa-supplicant=2C et= c to minimal?? Also any pointers to how to do the adding/subtracting would= be most helpful.
>=3B >=3B
>=3B >=3B Once this is working a= ll I have to do is put apache-tomcat=2C and openjdk-7-jre=2C then my applic= ation.
>=3B >=3B
>=3B >=3B We use just iw &=3B wpa-suppli= cant and set up the configuration files
>=3B >=3B manually (e.g. th= e wpa-supplicant configurations).
>=3B >=3B
>=3B >=3B Could = you help with a little more details. What I envision is adding
>=3B = >=3B an append statement of some kind to local.conf to load in the wirele= ss related files to core-image-minimal=2C same with openjdk-7-jre and tomca= t7=2C but my first efforts have generated some unintelligible error for me.= So that's why I'm looking for direction on where to start with this.
&= gt=3B >=3B
>=3B >=3B What was the error you got? I'll bet it was= for 'iw' which is a
>=3B >=3B package from meta-oe=2C so you'll ne= ed to add that layer
>=3B >=3B
>=3B >=3B Once you've added t= he meta-oe layer=2C you should be able to put this
>=3B >=3B line i= n your local.conf:
>=3B >=3B CORE_IMAGE_EXTRA_INSTALL +=3D " iw wpa-= supplicant"
>=3B >=3B Okay=2C what I don't get is the fact that with= out any additional layers=2C
>=3B >=3B bitbake core-image-sato buil= ds all the WiFi features I need. bitbake core-image-minimal does not. So = I'm thinking that there is some CORE_IMAGE_EXTRA_INSTALL statement that can= just add what is needed without extra layers.
>=3B >=3B
>=3B = >=3B I guess it just doesn't make sense to me right now.
>=3B >=3B=
>=3B >=3B Try using
>=3B >=3B CORE_IMAGE_EXTRA_INSTALL +=3D= " packagegroup-base-wifi"
>=3B >=3B which will bring in 'wireless-t= ools' and 'wpa-supplicant'.
>=3B >=3B
>=3B >=3B I prefer 'iw= ' to 'wireless-tools' as it is newer and [IMO] simpler to
>=3B >=3B= use.
>=3B >=3B Thanks=2C I found that I can clean build with just t= he wpa-supplicant added and I'm hoping that will bring in the wifi drivers.= If it does=2C all I want to do is edit the /etc/interfaces file with the = Static IP of the wlan0=2C the static IP of the eth0 and the wpa-xxx for the= WKPA2_PSK information.
>=3B >=3B
>=3B >=3B Do I really ne= ed the tools? I don't need CLI commands to change any network parameters l= ater.
>=3B >=3B
>=3B >=3B Jim A
>=3B >=3B
>=3B = >=3B
>=3B >=3B --
>=3B >=3B ------------------------------= ------------------------------
>=3B >=3B Gary Thomas = | Consulting for the
>=3B >=3B MLB Associates | Em= bedded world
>=3B >=3B ---------------------------------------------= ---------------
>=3B >=3B --
>=3B >=3B ______________________= _________________________
>=3B >=3B yocto mailing list
>=3B >= =3B yocto@yoctoproject.org
>=3B >=3B https://lists.yoctoproject.org/= listinfo/yocto
>=3B >=3B
>=3B >=3B --
>=3B >=3B _____= __________________________________________
>=3B >=3B yocto mailing l= ist
>=3B >=3B yocto@yoctoproject.org
>=3B >=3B https://lists.= yoctoproject.org/listinfo/yocto
>=3B >=3B
>=3B >=3B --
&g= t=3B >=3B _______________________________________________
>=3B >= =3B yocto mailing list
>=3B >=3B yocto@yoctoproject.org
>=3B &g= t=3B https://lists.yoctoproject.org/listinfo/yocto
>=3B >=3B
>= =3B >=3B --
>=3B >=3B
>=3B >=3B Chris Tapp
>=3B >= =3B opensource@keylevel.com
>=3B >=3B www.keylevel.com
>=3B >= =3B
>=3B >=3B ----
>=3B >=3B You can tell you're getting old= er when your car insurance gets real cheap!
>=3B >=3B
>=3B
= --_117d7fde-84e9-4808-baaf-fe2d6c179fa5_-- From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 59225E0083A; Mon, 26 Jan 2015 13:52:00 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,HTML_MESSAGE, SPF_HELO_PASS autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -0.0 SPF_HELO_PASS SPF: HELO matches SPF record * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * 0.0 HTML_MESSAGE BODY: HTML included in message Received: from mx-ut.atk.com (mx-ut.atk.com [192.107.250.84]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id BD835E00836 for ; Mon, 26 Jan 2015 13:51:48 -0800 (PST) Received: from unknown (HELO UT40SVEH3.atk.com) ([146.168.70.140]) by mx-ut.atk.com with ESMTP; 26 Jan 2015 15:45:50 -0600 Received: from UT40SVCWEM001.atk.com ([169.254.4.192]) by UT40SVEH3.atk.com ([146.168.78.8]) with mapi id 14.03.0174.001; Mon, 26 Jan 2015 14:51:47 -0700 From: "Moore, Thomas (FtWorth)" To: Jim Abernathy Thread-Topic: [yocto] adding all the pieces of WiFi to core-image-minimal Thread-Index: AQHQNzHOBXOT+dvbvEumcsdhxTNa8JzObX0AgARxsICAAAWRAIAAGw4AgAAHQ4CAAATJgIAAOJKAgAAPuQD//4uoAIAAezgA//+KzmCAAIG/gP//jmCQ Date: Mon, 26 Jan 2015 21:51:47 +0000 Message-ID: <7B6FE55CD594D7478CED8A39DF3BFC0A5E73FDDB@UT40SVCWEM001.atk.com> References: , <54C286DC.2030708@mlbassoc.com>, , <54C645E4.9090801@mlbassoc.com>, , <54C662AD.5070209@mlbassoc.com>, , , , <7B6FE55CD594D7478CED8A39DF3BFC0A5E73ED7A@UT40SVCWEM001.atk.com>, , <7B6FE55CD594D7478CED8A39DF3BFC0A5E73FDA7@UT40SVCWEM001.atk.com> In-Reply-To: Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.99.32.35] MIME-Version: 1.0 Cc: "yocto@yoctoproject.org" , Gary Thomas Subject: Re: adding all the pieces of WiFi to core-image-minimal 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, 26 Jan 2015 21:52:00 -0000 Content-Language: en-US Content-Type: multipart/alternative; boundary="_000_7B6FE55CD594D7478CED8A39DF3BFC0A5E73FDDBUT40SVCWEM001at_" --_000_7B6FE55CD594D7478CED8A39DF3BFC0A5E73FDDBUT40SVCWEM001at_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Looks like you also need to add ipv4 to the DISTRO_FEATURES: DISTRO_FEATURES +=3D "ipv4 wifi" Might be worth trying. Thomas From: Jim Abernathy [mailto:jfabernathy@outlook.com] Sent: Monday, January 26, 2015 3:38 PM To: Moore, Thomas (FtWorth) Cc: Chris Tapp; yocto@yoctoproject.org; Gary Thomas Subject: RE: [yocto] adding all the pieces of WiFi to core-image-minimal > From: Thomas.Moore2@ATK.COM > To: jfabernathy@outlook.com > CC: opensource@keylevel.com; yocto@yoctoproject.org; gary@mlbassoc.com > Subject: RE: [yocto] adding all the pieces of WiFi to core-image-minimal > Date: Mon, 26 Jan 2015 21:04:54 +0000 > > For now, I'd just get everything working with the local.conf: > > DISTRO_FEATURES +=3D "wifi" > > bitbake core-image-base > > Ultimately, you may want to make a custom machine and distro config and i= ncorporate all of the things you've specified in local.conf in those config= s. For example, I have a system that's an intel-based single-board computer= with several expansion cards. I've created a machine configuration to defi= ne the basic hardware components (features, drivers, etc). I've also create= d a custom distro because we prefer system over systemv and to include some= other non-machine specific packages. Finally, I've created a custom image = that includes some other extras. > > The power of local.conf is nice, but it's a little tricky transitioning f= rom that to more of a BSP approach like I described above because most peop= le just say to add it to your local.conf, but that's not really how it shou= ld be done at the end. Think global variables vs classes. > > P.S. Never edit anything in the poky folder. If you want to modify an exi= sting recipe, create a new layer with a bbappend and modify away. > > Thomas > > I tried just adding DISTRO_FEATURES +=3D "wifi" to the local.conf and bitba= king core-image-base, but I got a lot of errors: NOTE: Resolving any missing task queue dependencies ERROR: Nothing PROVIDES 'glibc' ERROR: glibc was skipped: missing required distro feature 'ipv4' (not in DI= STRO_FEATURES) ERROR: Required build target 'core-image-base' has no buildable providers. Missing or unbuildable dependency chain was: ['core-image-base', 'glibc'] So I got it working with core-image-minimal as I mentioned earlier just bef= ore your reply. > -----Original Message----- > From: James Abernathy [mailto:jfabernathy@outlook.com] > Sent: Monday, January 26, 2015 2:53 PM > To: Moore, Thomas (FtWorth) > Cc: Chris Tapp; yocto@yoctoproject.org; Ga= ry Thomas > Subject: Re: [yocto] adding all the pieces of WiFi to core-image-minimal > > > > On Jan 26, 2015, at 3:36 PM, Moore, Thomas (FtWorth) > wrote: > > > > Try building core-image-base or adding packagegroup-base-extended to yo= ur IMAGE_INSTALL. This should add the modules and firmware. > > > > core-image-minimal is just that and only includes just enough to boot t= he system. > > > > P.S. if you add "wifi" to your DISTRO_FEATURES, then packagegroup-base-= wifi should automatically get added to the image. Checkout meta/recipes-cor= e/packagegroups/packagegroup-base.bb to see how that works. > > > > Thomas > > > > Interesting! are we talking about doing this in the local.conf? or are we= talking about modifying existing recipes? I'd like to do this cleanly and = not mess up what's in the default files. Maybe create my own layer?? > > Jim A > > > From: yocto-bounces@yoctoproject.org > > [mailto:yocto-bounces@yoctoproject.org] On Behalf Of Chris Tapp > > Sent: Monday, January 26, 2015 2:28 PM > > To: James Abernathy > > Cc: yocto@yoctoproject.org; Gary Thomas > > Subject: Re: [yocto] adding all the pieces of WiFi to > > core-image-minimal > > > > > > On 26 Jan 2015, at 19:31, James Abernathy > wrote: > > > > > > I get a clean build when I add: CORE_IMAGE_EXTRA_INSTALL +=3D " package= group-base-wifi" > > > > However, I have no wireless drivers. I must have to add something to ad= d the drivers and firmware to the kernel. Not sure what though. > > > > I'm not an expert here, but I think that adding kernel-modules and linu= x-firmware to your extra_install should give you what you need. > > > > > > Jim A > > > > On Jan 26, 2015, at 11:09 AM, James Abernathy > wrote: > > > > > > On Jan 26, 2015, at 10:52 AM, Gary Thomas > wrote: > > > > On 2015-01-26 08:26, James Abernathy wrote: > > > > > > > > On Jan 26, 2015, at 8:49 AM, Gary Thomas >> wr= ote: > > > > On 2015-01-26 06:29, James Abernathy wrote: > > > > > > > > On Jan 23, 2015, at 12:37 PM, Gary Thomas >> w= rote: > > > > On 2015-01-23 10:24, Jim Abernathy wrote: > > > > I'm starting a project mostly for self-education. I have already done > > the project using Ubuntu Server 14.04 using a Intel NUC and a Pandaboar= d as targets. Now I want to see how easy it is to move it to Yocto. > > > > Starting with the NUC, I can boot Dizzy 1.7.1 core-image-minimal and > > core-image-sato, both built with bitbake and not the prebuilt images. H= owever, core-image-minimal doesn't have WiFi and core-image-sato does, but = I don't need all the GUI stuff. It's a headless application. > > > > So what is recommended; eliminating the GUI from sato or adding wifi > > and wpa-supplicant, etc to minimal?? Also any pointers to how to do the= adding/subtracting would be most helpful. > > > > Once this is working all I have to do is put apache-tomcat, and openjdk= -7-jre, then my application. > > > > We use just iw & wpa-supplicant and set up the configuration files > > manually (e.g. the wpa-supplicant configurations). > > > > Could you help with a little more details. What I envision is adding > > an append statement of some kind to local.conf to load in the wireless = related files to core-image-minimal, same with openjdk-7-jre and tomcat7, b= ut my first efforts have generated some unintelligible error for me. So tha= t's why I'm looking for direction on where to start with this. > > > > What was the error you got? I'll bet it was for 'iw' which is a > > package from meta-oe, so you'll need to add that layer > > > > Once you've added the meta-oe layer, you should be able to put this > > line in your local.conf: > > CORE_IMAGE_EXTRA_INSTALL +=3D " iw wpa-supplicant" > > Okay, what I don't get is the fact that without any additional layers, > > bitbake core-image-sato builds all the WiFi features I need. bitbake co= re-image-minimal does not. So I'm thinking that there is some CORE_IMAGE_EX= TRA_INSTALL statement that can just add what is needed without extra layers= . > > > > I guess it just doesn't make sense to me right now. > > > > Try using > > CORE_IMAGE_EXTRA_INSTALL +=3D " packagegroup-base-wifi" > > which will bring in 'wireless-tools' and 'wpa-supplicant'. > > > > I prefer 'iw' to 'wireless-tools' as it is newer and [IMO] simpler to > > use. > > Thanks, I found that I can clean build with just the wpa-supplicant add= ed and I'm hoping that will bring in the wifi drivers. If it does, all I wa= nt to do is edit the /etc/interfaces file with the Static IP of the wlan0, = the static IP of the eth0 and the wpa-xxx for the WKPA2_PSK information. > > > > Do I really need the tools? I don't need CLI commands to change any net= work parameters later. > > > > Jim A > > > > > > -- > > ------------------------------------------------------------ > > Gary Thomas | Consulting for the > > MLB Associates | Embedded world > > ------------------------------------------------------------ > > -- > > _______________________________________________ > > yocto mailing list > > yocto@yoctoproject.org > > https://lists.yoctoproject.org/listinfo/yocto > > > > -- > > _______________________________________________ > > yocto mailing list > > yocto@yoctoproject.org > > https://lists.yoctoproject.org/listinfo/yocto > > > > -- > > _______________________________________________ > > yocto mailing list > > yocto@yoctoproject.org > > https://lists.yoctoproject.org/listinfo/yocto > > > > -- > > > > Chris Tapp > > opensource@keylevel.com > > www.keylevel.com > > > > ---- > > You can tell you're getting older when your car insurance gets real che= ap! > > > --_000_7B6FE55CD594D7478CED8A39DF3BFC0A5E73FDDBUT40SVCWEM001at_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Looks like you also need = to add ipv4 to the DISTRO_FEATURES:

 <= /p>

DISTRO_FEATURES +=3D = "ipv4 wifi"

 <= /p>

Might be worth trying.

 <= /p>

Thomas

 <= /p>

From: Jim Aber= nathy [mailto:jfabernathy@outlook.com]
Sent: Monday, January 26, 2015 3:38 PM
To: Moore, Thomas (FtWorth)
Cc: Chris Tapp; yocto@yoctoproject.org; Gary Thomas
Subject: RE: [yocto] adding all the pieces of WiFi to core-image-min= imal

 

 <= /p>

> From: Thomas.Moore2@ATK.COM
> To: jfabernathy@outlook.com
> CC: opensource@keylevel.com; yocto@yoctoproject.org; gary@mlbassoc.com=
> Subject: RE: [yocto] adding all the pieces of WiFi to core-image-minim= al
> Date: Mon, 26 Jan 2015 21:04:54 +0000
>
> For now, I'd just get everything working with the local.conf:
>
> DISTRO_FEATURES +=3D "wifi"
>
> bitbake core-image-base
>
> Ultimately, you may want to make a custom machine and distro config an= d incorporate all of the things you've specified in local.conf in those con= figs. For example, I have a system that's an intel-based single-board compu= ter with several expansion cards. I've created a machine configuration to define the basic hardware components (f= eatures, drivers, etc). I've also created a custom distro because we prefer= system over systemv and to include some other non-machine specific package= s. Finally, I've created a custom image that includes some other extras.
>
> The power of local.conf is nice, but it's a little tricky transitionin= g from that to more of a BSP approach like I described above because most p= eople just say to add it to your local.conf, but that's not really how it s= hould be done at the end. Think global variables vs classes.
>
> P.S. Never edit anything in the poky folder. If you want to modify an = existing recipe, create a new layer with a bbappend and modify away.
>
> Thomas
>
>
I tried just adding DISTRO_FEATURES +=3D "wifi" to the local.= conf and bitbaking core-image-base, but I got a lot of errors:

NOTE: Resolving any missing task queue dependencies
ERROR: Nothing PROVIDES 'glibc'
ERROR: glibc was skipped: missing required distro feature 'ipv4' (not in DI= STRO_FEATURES)
ERROR: Required build target 'core-image-base' has no buildable providers.<= br> Missing or unbuildable dependency chain was: ['core-image-base', 'glibc']
So I got it working with core-image-minimal as I mentioned earlier just bef= ore your reply.

> -----Original Message-----
> From: James Abernathy [mailto:jfabernathy@outlook.com]
> Sent: Monday, January 26, 2015 2:53 PM
> To: Moore, Thomas (FtWorth)
> Cc: Chris Tapp; yocto@yoctop= roject.org; Gary Thomas
> Subject: Re: [yocto] adding all the pieces of WiFi to core-image-minim= al
>
>
> > On Jan 26, 2015, at 3:36 PM, Moore, Thomas (FtWorth) <Thomas.Moore2@ATK.COM> wrote:
> >
> > Try building core-image-base or adding packagegroup-base-extended= to your IMAGE_INSTALL. This should add the modules and firmware.
> >
> > core-image-minimal is just that and only includes just enough to = boot the system.
> >
> > P.S. if you add "wifi" to your DISTRO_FEATURES, then pa= ckagegroup-base-wifi should automatically get added to the image. Checkout = meta/recipes-core/packagegroups/packagegroup-base.bb to see how that works.=
> >
> > Thomas
> >
>
> Interesting! are we talking about doing this in the local.conf? or are= we talking about modifying existing recipes? I'd like to do this cleanly a= nd not mess up what's in the default files. Maybe create my own layer??
>
> Jim A
>
> > From: yocto-bou= nces@yoctoproject.org
> > [mailt= o:yocto-bounces@yoctoproject.org] On Behalf Of Chris Tapp
> > Sent: Monday, January 26, 2015 2:28 PM
> > To: James Abernathy
> > Cc: yocto@yoctoproject.= org; Gary Thomas
> > Subject: Re: [yocto] adding all the pieces of WiFi to
> > core-image-minimal
> >
> >
> > On 26 Jan 2015, at 19:31, James Abernathy <jfabernathy@outlook.com> wrote:
> >
> >
> > I get a clean build when I add: CORE_IMAGE_EXTRA_INSTALL +=3D= " packagegroup-base-wifi"
> >
> > However, I have no wireless drivers. I must have to add something= to add the drivers and firmware to the kernel. Not sure what though.
> >
> > I'm not an expert here, but I think that adding kernel-modules an= d linux-firmware to your extra_install should give you what you need.
> >
> >
> > Jim A
> >
> > On Jan 26, 2015, at 11:09 AM, James Abernathy <jfabernathy@outlook.com> wrote:
> >
> >
> > On Jan 26, 2015, at 10:52 AM, Gary Thomas <gary@mlbassoc.com> wrote:
> >
> > On 2015-01-26 08:26, James Abernathy wrote:
> >
> >
> >
> > On Jan 26, 2015, at 8:49 AM, Gary Thomas <gary@mlbassoc.com <mailto= :gary@mlbassoc.com>> wrote:
> >
> > On 2015-01-26 06:29, James Abernathy wrote:
> >
> >
> >
> > On Jan 23, 2015, at 12:37 PM, Gary Thomas <gary@mlbassoc.com <mailt= o:gary@mlbassoc.com>> wrote:
> >
> > On 2015-01-23 10:24, Jim Abernathy wrote:
> >
> > I'm starting a project mostly for self-education. I have already = done
> > the project using Ubuntu Server 14.04 using a Intel NUC and a Pan= daboard as targets. Now I want to see how easy it is to move it to Yocto. > >
> > Starting with the NUC, I can boot Dizzy 1.7.1 core-image-minimal = and
> > core-image-sato, both built with bitbake and not the prebuilt ima= ges. However, core-image-minimal doesn't have WiFi and core-image-sato does= , but I don't need all the GUI stuff. It's a headless application.
> >
> > So what is recommended; eliminating the GUI from sato or adding w= ifi
> > and wpa-supplicant, etc to minimal?? Also any pointers to how to = do the adding/subtracting would be most helpful.
> >
> > Once this is working all I have to do is put apache-tomcat, and o= penjdk-7-jre, then my application.
> >
> > We use just iw & wpa-supplicant and set up the configuration = files
> > manually (e.g. the wpa-supplicant configurations).
> >
> > Could you help with a little more details. What I envision is add= ing
> > an append statement of some kind to local.conf to load in the wir= eless related files to core-image-minimal, same with openjdk-7-jre and tomc= at7, but my first efforts have generated some unintelligible error for me. = So that's why I'm looking for direction on where to start with this.
> >
> > What was the error you got? I'll bet it was for 'iw' which is a <= br> > > package from meta-oe, so you'll need to add that layer
> >
> > Once you've added the meta-oe layer, you should be able to put th= is
> > line in your local.conf:
> > CORE_IMAGE_EXTRA_INSTALL +=3D " iw wpa-supplicant"<= br> > > Okay, what I don't get is the fact that without any additional la= yers,
> > bitbake core-image-sato builds all the WiFi features I need. bitb= ake core-image-minimal does not. So I'm thinking that there is some CORE_IM= AGE_EXTRA_INSTALL statement that can just add what is needed without extra = layers.
> >
> > I guess it just doesn't make sense to me right now.
> >
> > Try using
> > CORE_IMAGE_EXTRA_INSTALL +=3D " packagegroup-base-wifi&q= uot;
> > which will bring in 'wireless-tools' and 'wpa-supplicant'.
> >
> > I prefer 'iw' to 'wireless-tools' as it is newer and [IMO] simple= r to
> > use.
> > Thanks, I found that I can clean build with just the wpa-supplica= nt added and I'm hoping that will bring in the wifi drivers. If it does, al= l I want to do is edit the /etc/interfaces file with the Static IP of the w= lan0, the static IP of the eth0 and the wpa-xxx for the WKPA2_PSK information.
> >
> > Do I really need the tools? I don't need CLI commands to change a= ny network parameters later.
> >
> > Jim A
> >
> >
> > --
> > ------------------------------------------------------------
> > Gary Thomas | Consulting for the
> > MLB Associates | Embedded world
> > ------------------------------------------------------------
> > --
> > _______________________________________________
> > yocto mailing list
> > yocto@yoctoproject.org<= /a>
> >
https:/= /lists.yoctoproject.org/listinfo/yocto
> >
> > --
> > _______________________________________________
> > yocto mailing list
> > yocto@yoctoproject.org<= /a>
> >
https:/= /lists.yoctoproject.org/listinfo/yocto
> >
> > --
> > _______________________________________________
> > yocto mailing list
> > yocto@yoctoproject.org<= /a>
> >
https:/= /lists.yoctoproject.org/listinfo/yocto
> >
> > --
> >
> > Chris Tapp
> > opensource@keylevel.co= m
> > www.keylevel.com
> >
> > ----
> > You can tell you're getting older when your car insurance gets re= al cheap!
> >
>

--_000_7B6FE55CD594D7478CED8A39DF3BFC0A5E73FDDBUT40SVCWEM001at_-- From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 3AACAE0083A; Mon, 26 Jan 2015 13:54:17 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, HTML_MESSAGE,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 X-Spam-HAM-Report: * 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider * (jfabernathy[at]outlook.com) * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * 0.0 HTML_MESSAGE BODY: HTML included in message * -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no * trust * [65.54.190.15 listed in list.dnswl.org] Received: from BAY004-OMC1S4.hotmail.com (bay004-omc1s4.hotmail.com [65.54.190.15]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 59CA5E00836 for ; Mon, 26 Jan 2015 13:54:14 -0800 (PST) Received: from BAY169-W85 ([65.54.190.59]) by BAY004-OMC1S4.hotmail.com over TLS secured channel with Microsoft SMTPSVC(7.5.7601.22751); Mon, 26 Jan 2015 13:54:14 -0800 X-TMN: [CQxag5JP/n9fy/x+0PqkM3D0LnDtXcUy] X-Originating-Email: [jfabernathy@outlook.com] Message-ID: From: Jim Abernathy To: "Moore, Thomas FtWorth" Date: Mon, 26 Jan 2015 16:54:13 -0500 Importance: Normal In-Reply-To: <7B6FE55CD594D7478CED8A39DF3BFC0A5E73FDDB@UT40SVCWEM001.atk.com> References: , <54C286DC.2030708@mlbassoc.com>, , <54C645E4.9090801@mlbassoc.com>, , <54C662AD.5070209@mlbassoc.com>, , , , <7B6FE55CD594D7478CED8A39DF3BFC0A5E73ED7A@UT40SVCWEM001.atk.com>, , <7B6FE55CD594D7478CED8A39DF3BFC0A5E73FDA7@UT40SVCWEM001.atk.com>, , <7B6FE55CD594D7478CED8A39DF3BFC0A5E73FDDB@UT40SVCWEM001.atk.com> MIME-Version: 1.0 X-OriginalArrivalTime: 26 Jan 2015 21:54:14.0009 (UTC) FILETIME=[9FB42690:01D039B2] Cc: "yocto@yoctoproject.org" , Gary Thomas Subject: Re: adding all the pieces of WiFi to core-image-minimal 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, 26 Jan 2015 21:54:17 -0000 Content-Type: multipart/alternative; boundary="_deada239-30cd-4115-84e7-77d9514c2068_" --_deada239-30cd-4115-84e7-77d9514c2068_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable From: Thomas.Moore2@ATK.COM To: jfabernathy@outlook.com CC: opensource@keylevel.com=3B yocto@yoctoproject.org=3B gary@mlbassoc.com Subject: RE: [yocto] adding all the pieces of WiFi to core-image-minimal Date: Mon=2C 26 Jan 2015 21:51:47 +0000 =0A= =0A= =0A= =0A= =0A= =0A= =0A= =0A= Looks like you also need to add ipv4 to the DISTRO_FEATURES:=0A= =0A= DISTRO_FEATURES +=3D "ipv4 wifi"=0A= =0A= Might be worth trying.=0A= =0A= =0A= Thomas=0A= =0A= I'll test with it=2C but why core-image-base vs. core-image-minimal? Jim A =0A= =0A= =0A= From: Jim Abernathy [mailto:jfabernathy@outlook.com]=0A= =0A= Sent: Monday=2C January 26=2C 2015 3:38 PM =0A= To: Moore=2C Thomas (FtWorth) =0A= Cc: Chris Tapp=3B yocto@yoctoproject.org=3B Gary Thomas =0A= Subject: RE: [yocto] adding all the pieces of WiFi to core-image-minimal=0A= =0A= =0A= =0A= =0A= =0A= =0A= > From: Thomas.Moore2@ATK.COM =0A= > To: jfabernathy@outlook.com =0A= > CC: opensource@keylevel.com=3B yocto@yoctoproject.org=3B gary@mlbassoc.co= m =0A= > Subject: RE: [yocto] adding all the pieces of WiFi to core-image-minimal =0A= > Date: Mon=2C 26 Jan 2015 21:04:54 +0000 =0A= >=20 =0A= > For now=2C I'd just get everything working with the local.conf: =0A= >=20 =0A= > DISTRO_FEATURES +=3D "wifi" =0A= >=20 =0A= > bitbake core-image-base =0A= >=20 =0A= > Ultimately=2C you may want to make a custom machine and distro config and= incorporate all of the things you've specified in local.conf in those conf= igs. For example=2C I have a system that's an intel-based single-board comp= uter with several expansion cards. I've=0A= created a machine configuration to define the basic hardware components (f= eatures=2C drivers=2C etc). I've also created a custom distro because we pr= efer system over systemv and to include some other non-machine specific pac= kages. Finally=2C I've created a custom=0A= image that includes some other extras. =0A= >=20 =0A= > The power of local.conf is nice=2C but it's a little tricky transitioning= from that to more of a BSP approach like I described above because most pe= ople just say to add it to your local.conf=2C but that's not really how it = should be done at the end. Think global=0A= variables vs classes. =0A= >=20 =0A= > P.S. Never edit anything in the poky folder. If you want to modify an exi= sting recipe=2C create a new layer with a bbappend and modify away. =0A= >=20 =0A= > Thomas =0A= >=20 =0A= >=20 =0A= I tried just adding DISTRO_FEATURES +=3D "wifi" to the local.conf and bitba= king core-image-base=2C but I got a lot of errors: =0A= =0A= NOTE: Resolving any missing task queue dependencies =0A= ERROR: Nothing PROVIDES 'glibc' =0A= ERROR: glibc was skipped: missing required distro feature 'ipv4' (not in DI= STRO_FEATURES) =0A= ERROR: Required build target 'core-image-base' has no buildable providers. =0A= Missing or unbuildable dependency chain was: ['core-image-base'=2C 'glibc'] =0A= =0A= So I got it working with core-image-minimal as I mentioned earlier just bef= ore your reply. =0A= =0A= > -----Original Message----- =0A= > From: James Abernathy [mailto:jfabernathy@outlook.com]=0A= =0A= > Sent: Monday=2C January 26=2C 2015 2:53 PM =0A= > To: Moore=2C Thomas (FtWorth) =0A= > Cc: Chris Tapp=3B yocto@yoctoproject.org=3B Gary Thomas =0A= > Subject: Re: [yocto] adding all the pieces of WiFi to core-image-minimal =0A= >=20 =0A= >=20 =0A= > > On Jan 26=2C 2015=2C at 3:36 PM=2C Moore=2C Thomas (FtWorth) wrote: =0A= > >=20 =0A= > > Try building core-image-base or adding packagegroup-base-extended to yo= ur IMAGE_INSTALL. This should add the modules and firmware. =0A= > >=20 =0A= > > core-image-minimal is just that and only includes just enough to boot t= he system. =0A= > >=20 =0A= > > P.S. if you add "wifi" to your DISTRO_FEATURES=2C then packagegroup-bas= e-wifi should automatically get added to the image. Checkout meta/recipes-c= ore/packagegroups/packagegroup-base.bb to see how that works. =0A= > >=20 =0A= > > Thomas =0A= > >=20 =0A= >=20 =0A= > Interesting! are we talking about doing this in the local.conf? or are we= talking about modifying existing recipes? I'd like to do this cleanly and = not mess up what's in the default files. Maybe create my own layer?? =0A= >=20 =0A= > Jim A =0A= >=20 =0A= > > From: yocto-bounces@yoctoproject.org=0A= =0A= > > [mailto:yocto-bounces@yoctoproject.org] On Behalf Of Chris Tapp =0A= > > Sent: Monday=2C January 26=2C 2015 2:28 PM =0A= > > To: James Abernathy =0A= > > Cc: yocto@yoctoproject.org=3B Gary Thomas =0A= > > Subject: Re: [yocto] adding all the pieces of WiFi to=20 =0A= > > core-image-minimal =0A= > >=20 =0A= > >=20 =0A= > > On 26 Jan 2015=2C at 19:31=2C James Abernathy = wrote: =0A= > >=20 =0A= > >=20 =0A= > > I get a clean build when I add: CORE_IMAGE_EXTRA_INSTALL +=3D " package= group-base-wifi" =0A= > >=20 =0A= > > However=2C I have no wireless drivers. I must have to add something to = add the drivers and firmware to the kernel. Not sure what though. =0A= > >=20 =0A= > > I'm not an expert here=2C but I think that adding kernel-modules and li= nux-firmware to your extra_install should give you what you need. =0A= > >=20 =0A= > >=20 =0A= > > Jim A =0A= > >=20 =0A= > > On Jan 26=2C 2015=2C at 11:09 AM=2C James Abernathy wrote: =0A= > >=20 =0A= > >=20 =0A= > > On Jan 26=2C 2015=2C at 10:52 AM=2C Gary Thomas wro= te: =0A= > >=20 =0A= > > On 2015-01-26 08:26=2C James Abernathy wrote: =0A= > >=20 =0A= > >=20 =0A= > >=20 =0A= > > On Jan 26=2C 2015=2C at 8:49 AM=2C Gary Thomas > wrote: =0A= > >=20 =0A= > > On 2015-01-26 06:29=2C James Abernathy wrote: =0A= > >=20 =0A= > >=20 =0A= > >=20 =0A= > > On Jan 23=2C 2015=2C at 12:37 PM=2C Gary Thomas > wrote: =0A= > >=20 =0A= > > On 2015-01-23 10:24=2C Jim Abernathy wrote: =0A= > >=20 =0A= > > I'm starting a project mostly for self-education. I have already done=20 =0A= > > the project using Ubuntu Server 14.04 using a Intel NUC and a Pandaboar= d as targets. Now I want to see how easy it is to move it to Yocto. =0A= > >=20 =0A= > > Starting with the NUC=2C I can boot Dizzy 1.7.1 core-image-minimal and= =20 =0A= > > core-image-sato=2C both built with bitbake and not the prebuilt images.= However=2C core-image-minimal doesn't have WiFi and core-image-sato does= =2C but I don't need all the GUI stuff. It's a headless application. =0A= > >=20 =0A= > > So what is recommended=3B eliminating the GUI from sato or adding wifi= =20 =0A= > > and wpa-supplicant=2C etc to minimal?? Also any pointers to how to do t= he adding/subtracting would be most helpful. =0A= > >=20 =0A= > > Once this is working all I have to do is put apache-tomcat=2C and openj= dk-7-jre=2C then my application. =0A= > >=20 =0A= > > We use just iw & wpa-supplicant and set up the configuration files=20 =0A= > > manually (e.g. the wpa-supplicant configurations). =0A= > >=20 =0A= > > Could you help with a little more details. What I envision is adding=20 =0A= > > an append statement of some kind to local.conf to load in the wireless = related files to core-image-minimal=2C same with openjdk-7-jre and tomcat7= =2C but my first efforts have generated some unintelligible error for me. S= o that's why I'm looking for direction=0A= on where to start with this. =0A= > >=20 =0A= > > What was the error you got? I'll bet it was for 'iw' which is a=20 =0A= > > package from meta-oe=2C so you'll need to add that layer =0A= > >=20 =0A= > > Once you've added the meta-oe layer=2C you should be able to put this=20 =0A= > > line in your local.conf: =0A= > > CORE_IMAGE_EXTRA_INSTALL +=3D " iw wpa-supplicant" =0A= > > Okay=2C what I don't get is the fact that without any additional layers= =2C=20 =0A= > > bitbake core-image-sato builds all the WiFi features I need. bitbake co= re-image-minimal does not. So I'm thinking that there is some CORE_IMAGE_EX= TRA_INSTALL statement that can just add what is needed without extra layers= . =0A= > >=20 =0A= > > I guess it just doesn't make sense to me right now. =0A= > >=20 =0A= > > Try using =0A= > > CORE_IMAGE_EXTRA_INSTALL +=3D " packagegroup-base-wifi" =0A= > > which will bring in 'wireless-tools' and 'wpa-supplicant'. =0A= > >=20 =0A= > > I prefer 'iw' to 'wireless-tools' as it is newer and [IMO] simpler to=20 =0A= > > use. =0A= > > Thanks=2C I found that I can clean build with just the wpa-supplicant a= dded and I'm hoping that will bring in the wifi drivers. If it does=2C all = I want to do is edit the /etc/interfaces file with the Static IP of the wla= n0=2C the static IP of the eth0 and the=0A= wpa-xxx for the WKPA2_PSK information.=20 =0A= > >=20 =0A= > > Do I really need the tools? I don't need CLI commands to change any net= work parameters later. =0A= > >=20 =0A= > > Jim A =0A= > >=20 =0A= > >=20 =0A= > > -- =0A= > > ------------------------------------------------------------ =0A= > > Gary Thomas | Consulting for the =0A= > > MLB Associates | Embedded world =0A= > > ------------------------------------------------------------ =0A= > > -- =0A= > > _______________________________________________ =0A= > > yocto mailing list =0A= > > yocto@yoctoproject.org =0A= > > https://lists.yoctoproject.org/listinfo/yocto =0A= > >=20 =0A= > > -- =0A= > > _______________________________________________ =0A= > > yocto mailing list =0A= > > yocto@yoctoproject.org =0A= > > https://lists.yoctoproject.org/listinfo/yocto =0A= > >=20 =0A= > > -- =0A= > > _______________________________________________ =0A= > > yocto mailing list =0A= > > yocto@yoctoproject.org =0A= > > https://lists.yoctoproject.org/listinfo/yocto =0A= > >=20 =0A= > > -- =0A= > >=20 =0A= > > Chris Tapp =0A= > > opensource@keylevel.com =0A= > > www.keylevel.com =0A= > >=20 =0A= > > ---- =0A= > > You can tell you're getting older when your car insurance gets real che= ap! =0A= > >=20 =0A= > =0A= =0A= =0A= = --_deada239-30cd-4115-84e7-77d9514c2068_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable



From: Thomas.Moore2@ATK.COM
To: jfabernathy@outlook.com
CC: open= source@keylevel.com=3B yocto@yoctoproject.org=3B gary@mlbassoc.com
Subje= ct: RE: [yocto] adding all the pieces of WiFi to core-image-minimal
Date= : Mon=2C 26 Jan 2015 21:51:47 +0000

=0A= =0A= =0A= =0A= =0A= =0A= =0A=
=0A=

Looks= like you also need to add ipv4 to the DISTRO_FEATURES:

=0A=

 = =3B

=0A=

DISTR= O_FEATURES +=3D "ipv4 wifi"

=0A=

 = =3B

=0A=

Might= be worth trying.

=0A=

 = =3B

=0A=
=0A=

Thoma= s

=0A=
=0A=

 = =3B

I'll test with it=2C but why core-image-base vs. core-image-minima= l?


Jim A

=0A=
=0A=
=0A=

From: Jim Abernathy [mailto:jfabernathy@outlook.com]= =0A=
=0A= Sent: Monday=2C January 26=2C 2015 3:38 PM
=0A= To: Moore=2C Thomas (FtWorth)
=0A= Cc: Chris Tapp=3B yocto@yoctoproject.org=3B Gary Thomas
=0A= Subject: RE: [yocto] adding all the pieces of WiFi to core-image-min= imal

=0A=
=0A=
=0A=

 =3B

=0A=
=0A=

 =3B

=0A=
=0A=

>=3B From: Thomas.Moore2@ATK.COM
= =0A= >=3B To: jfabernathy@outlook.com
=0A= >=3B CC: opensource@keylevel.com=3B yocto@yoctoproject.org=3B gary@mlbass= oc.com
=0A= >=3B Subject: RE: [yocto] adding all the pieces of WiFi to core-image-min= imal
=0A= >=3B Date: Mon=2C 26 Jan 2015 21:04:54 +0000
=0A= >=3B
=0A= >=3B For now=2C I'd just get everything working with the local.conf:
= =0A= >=3B
=0A= >=3B DISTRO_FEATURES +=3D "wifi"
=0A= >=3B
=0A= >=3B bitbake core-image-base
=0A= >=3B
=0A= >=3B Ultimately=2C you may want to make a custom machine and distro confi= g and incorporate all of the things you've specified in local.conf in those= configs. For example=2C I have a system that's an intel-based single-board= computer with several expansion cards. I've=0A= created a machine configuration to define the basic hardware components (f= eatures=2C drivers=2C etc). I've also created a custom distro because we pr= efer system over systemv and to include some other non-machine specific pac= kages. Finally=2C I've created a custom=0A= image that includes some other extras.
=0A= >=3B
=0A= >=3B The power of local.conf is nice=2C but it's a little tricky transiti= oning from that to more of a BSP approach like I described above because mo= st people just say to add it to your local.conf=2C but that's not really ho= w it should be done at the end. Think global=0A= variables vs classes.
=0A= >=3B
=0A= >=3B P.S. Never edit anything in the poky folder. If you want to modify a= n existing recipe=2C create a new layer with a bbappend and modify away.=0A= >=3B
=0A= >=3B Thomas
=0A= >=3B
=0A= >=3B
=0A= I tried just adding DISTRO_FEATURES +=3D "wifi" to the local.conf and bitba= king core-image-base=2C but I got a lot of errors:
=0A=
=0A= NOTE: Resolving any missing task queue dependencies
=0A= ERROR: Nothing PROVIDES 'glibc'
=0A= ERROR: glibc was skipped: missing required distro feature 'ipv4' (not in DI= STRO_FEATURES)
=0A= ERROR: Required build target 'core-image-base' has no buildable providers.<= br>=0A= Missing or unbuildable dependency chain was: ['core-image-base'=2C 'glibc']=
=0A=
=0A= So I got it working with core-image-minimal as I mentioned earlier just bef= ore your reply.
=0A=
=0A= >=3B -----Original Message-----
=0A= >=3B From: James Abernathy [mailto:jfabernathy@outlook.com]=0A=
=0A= >=3B Sent: Monday=2C January 26=2C 2015 2:53 PM
=0A= >=3B To: Moore=2C Thomas (FtWorth)
=0A= >=3B Cc: Chris Tapp=3B yocto@yo= ctoproject.org=3B Gary Thomas
=0A= >=3B Subject: Re: [yocto] adding all the pieces of WiFi to core-image-min= imal
=0A= >=3B
=0A= >=3B
=0A= >=3B >=3B On Jan 26=2C 2015=2C at 3:36 PM=2C Moore=2C Thomas (FtWorth) = <=3BThomas.Moore2@ATK.COM>= =3B wrote:
=0A= >=3B >=3B
=0A= >=3B >=3B Try building core-image-base or adding packagegroup-base-exte= nded to your IMAGE_INSTALL. This should add the modules and firmware.
= =0A= >=3B >=3B
=0A= >=3B >=3B core-image-minimal is just that and only includes just enough= to boot the system.
=0A= >=3B >=3B
=0A= >=3B >=3B P.S. if you add "wifi" to your DISTRO_FEATURES=2C then packag= egroup-base-wifi should automatically get added to the image. Checkout meta= /recipes-core/packagegroups/packagegroup-base.bb to see how that works.
= =0A= >=3B >=3B
=0A= >=3B >=3B Thomas
=0A= >=3B >=3B
=0A= >=3B
=0A= >=3B Interesting! are we talking about doing this in the local.conf? or a= re we talking about modifying existing recipes? I'd like to do this cleanly= and not mess up what's in the default files. Maybe create my own layer??=0A= >=3B
=0A= >=3B Jim A
=0A= >=3B
=0A= >=3B >=3B From: yocto= -bounces@yoctoproject.org=0A=
=0A= >=3B >=3B [m= ailto:yocto-bounces@yoctoproject.org] On Behalf Of Chris Tapp
=0A= >=3B >=3B Sent: Monday=2C January 26=2C 2015 2:28 PM
=0A= >=3B >=3B To: James Abernathy
=0A= >=3B >=3B Cc: yocto@yoctoproj= ect.org=3B Gary Thomas
=0A= >=3B >=3B Subject: Re: [yocto] adding all the pieces of WiFi to
=0A= >=3B >=3B core-image-minimal
=0A= >=3B >=3B
=0A= >=3B >=3B
=0A= >=3B >=3B On 26 Jan 2015=2C at 19:31=2C James Abernathy <=3Bjfabernathy@outlook.com>=3B wrote= :
=0A= >=3B >=3B
=0A= >=3B >=3B
=0A= >=3B >=3B I get a clean build when I add: CORE_IMAGE_EXTRA_INSTALL +=3D= " packagegroup-base-wifi"
=0A= >=3B >=3B
=0A= >=3B >=3B However=2C I have no wireless drivers. I must have to add som= ething to add the drivers and firmware to the kernel. Not sure what though.=
=0A= >=3B >=3B
=0A= >=3B >=3B I'm not an expert here=2C but I think that adding kernel-modu= les and linux-firmware to your extra_install should give you what you need.=
=0A= >=3B >=3B
=0A= >=3B >=3B
=0A= >=3B >=3B Jim A
=0A= >=3B >=3B
=0A= >=3B >=3B On Jan 26=2C 2015=2C at 11:09 AM=2C James Abernathy <=3Bjfabernathy@outlook.com>=3B w= rote:
=0A= >=3B >=3B
=0A= >=3B >=3B
=0A= >=3B >=3B On Jan 26=2C 2015=2C at 10:52 AM=2C Gary Thomas <=3Bgary@mlbassoc.com>=3B wrote:
=0A= >=3B >=3B
=0A= >=3B >=3B On 2015-01-26 08:26=2C James Abernathy wrote:
=0A= >=3B >=3B
=0A= >=3B >=3B
=0A= >=3B >=3B
=0A= >=3B >=3B On Jan 26=2C 2015=2C at 8:49 AM=2C Gary Thomas <=3Bgary@mlbassoc.c= om <=3Bmailto:gary@mlbassoc.com>=3B>=3B wrote:
=0A= >=3B >=3B
=0A= >=3B >=3B On 2015-01-26 06:29=2C James Abernathy wrote:
=0A= >=3B >=3B
=0A= >=3B >=3B
=0A= >=3B >=3B
=0A= >=3B >=3B On Jan 23=2C 2015=2C at 12:37 PM=2C Gary Thomas <=3Bgary@mlbassoc.c= om <=3Bmailto:gary@mlbassoc.com>=3B>=3B wrote:
=0A= >=3B >=3B
=0A= >=3B >=3B On 2015-01-23 10:24=2C Jim Abernathy wrote:
=0A= >=3B >=3B
=0A= >=3B >=3B I'm starting a project mostly for self-education. I have alre= ady done
=0A= >=3B >=3B the project using Ubuntu Server 14.04 using a Intel NUC and a= Pandaboard as targets. Now I want to see how easy it is to move it to Yoct= o.
=0A= >=3B >=3B
=0A= >=3B >=3B Starting with the NUC=2C I can boot Dizzy 1.7.1 core-image-mi= nimal and
=0A= >=3B >=3B core-image-sato=2C both built with bitbake and not the prebui= lt images. However=2C core-image-minimal doesn't have WiFi and core-image-s= ato does=2C but I don't need all the GUI stuff. It's a headless application= .
=0A= >=3B >=3B
=0A= >=3B >=3B So what is recommended=3B eliminating the GUI from sato or ad= ding wifi
=0A= >=3B >=3B and wpa-supplicant=2C etc to minimal?? Also any pointers to h= ow to do the adding/subtracting would be most helpful.
=0A= >=3B >=3B
=0A= >=3B >=3B Once this is working all I have to do is put apache-tomcat=2C= and openjdk-7-jre=2C then my application.
=0A= >=3B >=3B
=0A= >=3B >=3B We use just iw &=3B wpa-supplicant and set up the configur= ation files
=0A= >=3B >=3B manually (e.g. the wpa-supplicant configurations).
=0A= >=3B >=3B
=0A= >=3B >=3B Could you help with a little more details. What I envision is= adding
=0A= >=3B >=3B an append statement of some kind to local.conf to load in the= wireless related files to core-image-minimal=2C same with openjdk-7-jre an= d tomcat7=2C but my first efforts have generated some unintelligible error = for me. So that's why I'm looking for direction=0A= on where to start with this.
=0A= >=3B >=3B
=0A= >=3B >=3B What was the error you got? I'll bet it was for 'iw' which is= a
=0A= >=3B >=3B package from meta-oe=2C so you'll need to add that layer
= =0A= >=3B >=3B
=0A= >=3B >=3B Once you've added the meta-oe layer=2C you should be able to = put this
=0A= >=3B >=3B line in your local.conf:
=0A= >=3B >=3B CORE_IMAGE_EXTRA_INSTALL +=3D " iw wpa-supplicant"
=0A= >=3B >=3B Okay=2C what I don't get is the fact that without any additio= nal layers=2C
=0A= >=3B >=3B bitbake core-image-sato builds all the WiFi features I need. = bitbake core-image-minimal does not. So I'm thinking that there is some COR= E_IMAGE_EXTRA_INSTALL statement that can just add what is needed without ex= tra layers.
=0A= >=3B >=3B
=0A= >=3B >=3B I guess it just doesn't make sense to me right now.
=0A= >=3B >=3B
=0A= >=3B >=3B Try using
=0A= >=3B >=3B CORE_IMAGE_EXTRA_INSTALL +=3D " packagegroup-base-wifi"
= =0A= >=3B >=3B which will bring in 'wireless-tools' and 'wpa-supplicant'.=0A= >=3B >=3B
=0A= >=3B >=3B I prefer 'iw' to 'wireless-tools' as it is newer and [IMO] si= mpler to
=0A= >=3B >=3B use.
=0A= >=3B >=3B Thanks=2C I found that I can clean build with just the wpa-su= pplicant added and I'm hoping that will bring in the wifi drivers. If it do= es=2C all I want to do is edit the /etc/interfaces file with the Static IP = of the wlan0=2C the static IP of the eth0 and the=0A= wpa-xxx for the WKPA2_PSK information.
=0A= >=3B >=3B
=0A= >=3B >=3B Do I really need the tools? I don't need CLI commands to chan= ge any network parameters later.
=0A= >=3B >=3B
=0A= >=3B >=3B Jim A
=0A= >=3B >=3B
=0A= >=3B >=3B
=0A= >=3B >=3B --
=0A= >=3B >=3B ------------------------------------------------------------<= br>=0A= >=3B >=3B Gary Thomas | Consulting for the
=0A= >=3B >=3B MLB Associates | Embedded world
=0A= >=3B >=3B ------------------------------------------------------------<= br>=0A= >=3B >=3B --
=0A= >=3B >=3B _______________________________________________
=0A= >=3B >=3B yocto mailing list
=0A= >=3B >=3B yocto@yoctoproject.= org
=0A= >=3B >=3B https://lists.yoctoproject.org/listinfo/yocto
=0A= >=3B >=3B
=0A= >=3B >=3B --
=0A= >=3B >=3B _______________________________________________
=0A= >=3B >=3B yocto mailing list
=0A= >=3B >=3B yocto@yoctoproject.= org
=0A= >=3B >=3B https://lists.yoctoproject.org/listinfo/yocto
=0A= >=3B >=3B
=0A= >=3B >=3B --
=0A= >=3B >=3B _______________________________________________
=0A= >=3B >=3B yocto mailing list
=0A= >=3B >=3B yocto@yoctoproject.= org
=0A= >=3B >=3B https://lists.yoctoproject.org/listinfo/yocto
=0A= >=3B >=3B
=0A= >=3B >=3B --
=0A= >=3B >=3B
=0A= >=3B >=3B Chris Tapp
=0A= >=3B >=3B opensource@keyleve= l.com
=0A= >=3B >=3B www.key= level.com
=0A= >=3B >=3B
=0A= >=3B >=3B ----
=0A= >=3B >=3B You can tell you're getting older when your car insurance get= s real cheap!
=0A= >=3B >=3B
=0A= >=3B

=0A=
=0A=
=0A=
= --_deada239-30cd-4115-84e7-77d9514c2068_-- From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 6CAD5E0083A; Mon, 26 Jan 2015 14:01:43 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] Received: from mail.chez-thomas.org (mail.mlbassoc.com [65.100.170.105]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id F3612E00836 for ; Mon, 26 Jan 2015 14:01:30 -0800 (PST) Received: by mail.chez-thomas.org (Postfix, from userid 1998) id F0011F811D9; Mon, 26 Jan 2015 15:01:29 -0700 (MST) Received: from [192.168.1.114] (zeus [192.168.1.114]) by mail.chez-thomas.org (Postfix) with ESMTP id CE9C7F81199; Mon, 26 Jan 2015 15:01:28 -0700 (MST) Message-ID: <54C6B952.7030907@mlbassoc.com> Date: Mon, 26 Jan 2015 15:01:54 -0700 From: Gary Thomas User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: James Abernathy References: <54C286DC.2030708@mlbassoc.com> <54C645E4.9090801@mlbassoc.com> <54C662AD.5070209@mlbassoc.com> In-Reply-To: Cc: yocto@yoctoproject.org Subject: Re: adding all the pieces of WiFi to core-image-minimal 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, 26 Jan 2015 22:01:43 -0000 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit On 2015-01-26 12:31, James Abernathy wrote: > I get a clean build when I add: CORE_IMAGE_EXTRA_INSTALL += " packagegroup-base-wifi” > > However, I have no wireless drivers. I must have to add something to add the drivers and firmware to the kernel. Not sure what though. That's a whole separate issue. To get the drivers you typically need to add kernel-modules and linux-firmware (as others have stated). However, if you want a truly minimal system, those are poor choices as they bring in TONS of packages. You probably want to just include the kernel-module-XXX and linux-firmware-XXX that are actually needed by your hardware. >> On Jan 26, 2015, at 11:09 AM, James Abernathy > wrote: >> >>> >>> On Jan 26, 2015, at 10:52 AM, Gary Thomas > wrote: >>> >>> On 2015-01-26 08:26, James Abernathy wrote: >>>> >>>>> On Jan 26, 2015, at 8:49 AM, Gary Thomas > wrote: >>>>> >>>>> On 2015-01-26 06:29, James Abernathy wrote: >>>>>> >>>>>>> On Jan 23, 2015, at 12:37 PM, Gary Thomas > wrote: >>>>>>> >>>>>>> On 2015-01-23 10:24, Jim Abernathy wrote: >>>>>>>> I'm starting a project mostly for self-education. I have already done the project using Ubuntu Server 14.04 using a Intel NUC and a Pandaboard as targets. Now I want to >>>>>>>> see how >>>>>>>> easy it is to move it to Yocto. >>>>>>>> >>>>>>>> Starting with the NUC, I can boot Dizzy 1.7.1 core-image-minimal and core-image-sato, both built with bitbake and not the prebuilt images. However, core-image-minimal >>>>>>>> doesn't have >>>>>>>> WiFi and core-image-sato does, but I don't need all the GUI stuff. It's a headless application. >>>>>>>> >>>>>>>> So what is recommended; eliminating the GUI from sato or adding wifi and wpa-supplicant, etc to minimal?? Also any pointers to how to do the adding/subtracting would be most >>>>>>>> helpful. >>>>>>>> >>>>>>>> Once this is working all I have to do is put apache-tomcat, and openjdk-7-jre, then my application. >>>>>>> >>>>>>> We use just iw & wpa-supplicant and set up the configuration >>>>>>> files manually (e.g. the wpa-supplicant configurations). >>>>>> >>>>>> Could you help with a little more details. What I envision is adding an append statement of some kind to local.conf to load in the wireless related files to core-image-minimal, >>>>>> same with openjdk-7-jre and tomcat7, but my first efforts have generated some unintelligible error for me. So that’s why I’m looking for direction on where to start with this. >>>>> >>>>> What was the error you got? I'll bet it was for 'iw' which >>>>> is a package from meta-oe, so you'll need to add that layer >>>>> >>>>> Once you've added the meta-oe layer, you should be able to >>>>> put this line in your local.conf: >>>>> CORE_IMAGE_EXTRA_INSTALL += " iw wpa-supplicant” >>>>> >>>> Okay, what I don’t get is the fact that without any additional layers, bitbake core-image-sato builds all the WiFi features I need. bitbake core-image-minimal does not. So I’m >>>> thinking that there is some CORE_IMAGE_EXTRA_INSTALL statement that can just add what is needed without extra layers. >>>> >>>> I guess it just doesn’t make sense to me right now. >>> >>> Try using >>> CORE_IMAGE_EXTRA_INSTALL += " packagegroup-base-wifi" >>> which will bring in 'wireless-tools' and 'wpa-supplicant'. >>> >>> I prefer 'iw' to 'wireless-tools' as it is newer and [IMO] >>> simpler to use. >>> >> Thanks, I found that I can clean build with just the wpa-supplicant added and I’m hoping that will bring in the wifi drivers. If it does, all I want to do is edit the >> /etc/interfaces file with the Static IP of the wlan0, the static IP of the eth0 and the wpa-xxx for the WKPA2_PSK information. >> >> Do I really need the tools? I don’t need CLI commands to change any network parameters later. >> >> Jim A >> >>> -- >>> ------------------------------------------------------------ >>> Gary Thomas | Consulting for the >>> MLB Associates | Embedded world >>> ------------------------------------------------------------ >>> -- >>> _______________________________________________ >>> yocto mailing list >>> yocto@yoctoproject.org >>> https://lists.yoctoproject.org/listinfo/yocto >> >> -- >> _______________________________________________ >> yocto mailing list >> yocto@yoctoproject.org >> https://lists.yoctoproject.org/listinfo/yocto > -- ------------------------------------------------------------ Gary Thomas | Consulting for the MLB Associates | Embedded world ------------------------------------------------------------ From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 361F9E0083A; Mon, 26 Jan 2015 14:23:25 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,HTML_MESSAGE, SPF_HELO_PASS autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -0.0 SPF_HELO_PASS SPF: HELO matches SPF record * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * 0.0 HTML_MESSAGE BODY: HTML included in message Received: from mx-mn.atk.com (mx-mn.atk.com [192.107.248.84]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 6D2B5E00836 for ; Mon, 26 Jan 2015 14:23:14 -0800 (PST) Received: from unknown (HELO UT40SVEH4.atk.com) ([146.168.70.141]) by mx-mn.atk.com with ESMTP; 26 Jan 2015 16:15:08 -0600 Received: from UT40SVCWEM001.atk.com ([169.254.4.192]) by UT40SVEH4.atk.com ([146.168.70.141]) with mapi id 14.03.0174.001; Mon, 26 Jan 2015 15:23:13 -0700 From: "Moore, Thomas (FtWorth)" To: Jim Abernathy Thread-Topic: [yocto] adding all the pieces of WiFi to core-image-minimal Thread-Index: AQHQNzHOBXOT+dvbvEumcsdhxTNa8JzObX0AgARxsICAAAWRAIAAGw4AgAAHQ4CAAATJgIAAOJKAgAAPuQD//4uoAIAAezgA//+KzmCAAIG/gP//jmCQAA7IaoAADdaVIA== Date: Mon, 26 Jan 2015 22:23:12 +0000 Message-ID: <7B6FE55CD594D7478CED8A39DF3BFC0A5E73FE0D@UT40SVCWEM001.atk.com> References: , <54C286DC.2030708@mlbassoc.com>, , <54C645E4.9090801@mlbassoc.com>, , <54C662AD.5070209@mlbassoc.com>, , , , <7B6FE55CD594D7478CED8A39DF3BFC0A5E73ED7A@UT40SVCWEM001.atk.com>, , <7B6FE55CD594D7478CED8A39DF3BFC0A5E73FDA7@UT40SVCWEM001.atk.com>, , <7B6FE55CD594D7478CED8A39DF3BFC0A5E73FDDB@UT40SVCWEM001.atk.com> In-Reply-To: Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.99.32.35] MIME-Version: 1.0 Cc: "yocto@yoctoproject.org" , Gary Thomas Subject: Re: adding all the pieces of WiFi to core-image-minimal 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, 26 Jan 2015 22:23:25 -0000 Content-Language: en-US Content-Type: multipart/alternative; boundary="_000_7B6FE55CD594D7478CED8A39DF3BFC0A5E73FE0DUT40SVCWEM001at_" --_000_7B6FE55CD594D7478CED8A39DF3BFC0A5E73FE0DUT40SVCWEM001at_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable core-image-base installs packagegroup-base-extended, whereas core-image-min= imal doesn't. packagegroup-base-extended adds things like kernel modules an= d other package groups that you'll want for a more full-featured system. Thomas From: Jim Abernathy [mailto:jfabernathy@outlook.com] Sent: Monday, January 26, 2015 3:54 PM To: Moore, Thomas (FtWorth) Cc: Chris Tapp; yocto@yoctoproject.org; Gary Thomas Subject: RE: [yocto] adding all the pieces of WiFi to core-image-minimal ________________________________ From: Thomas.Moore2@ATK.COM To: jfabernathy@outlook.com CC: opensource@keylevel.com; yocto@yoctoproject.org; gary@mlbassoc.com Subject: RE: [yocto] adding all the pieces of WiFi to core-image-minimal Date: Mon, 26 Jan 2015 21:51:47 +0000 Looks like you also need to add ipv4 to the DISTRO_FEATURES: DISTRO_FEATURES +=3D "ipv4 wifi" Might be worth trying. Thomas I'll test with it, but why core-image-base vs. core-image-minimal? Jim A From: Jim Abernathy [mailto:jfabernathy@outlook.com] Sent: Monday, January 26, 2015 3:38 PM To: Moore, Thomas (FtWorth) Cc: Chris Tapp; yocto@yoctoproject.org; Gary Thomas Subject: RE: [yocto] adding all the pieces of WiFi to core-image-minimal > From: Thomas.Moore2@ATK.COM > To: jfabernathy@outlook.com > CC: opensource@keylevel.com; yocto@yoctoproject.org; gary@mlbassoc.com > Subject: RE: [yocto] adding all the pieces of WiFi to core-image-minimal > Date: Mon, 26 Jan 2015 21:04:54 +0000 > > For now, I'd just get everything working with the local.conf: > > DISTRO_FEATURES +=3D "wifi" > > bitbake core-image-base > > Ultimately, you may want to make a custom machine and distro config and i= ncorporate all of the things you've specified in local.conf in those config= s. For example, I have a system that's an intel-based single-board computer= with several expansion cards. I've created a machine configuration to defi= ne the basic hardware components (features, drivers, etc). I've also create= d a custom distro because we prefer system over systemv and to include some= other non-machine specific packages. Finally, I've created a custom image = that includes some other extras. > > The power of local.conf is nice, but it's a little tricky transitioning f= rom that to more of a BSP approach like I described above because most peop= le just say to add it to your local.conf, but that's not really how it shou= ld be done at the end. Think global variables vs classes. > > P.S. Never edit anything in the poky folder. If you want to modify an exi= sting recipe, create a new layer with a bbappend and modify away. > > Thomas > > I tried just adding DISTRO_FEATURES +=3D "wifi" to the local.conf and bitba= king core-image-base, but I got a lot of errors: NOTE: Resolving any missing task queue dependencies ERROR: Nothing PROVIDES 'glibc' ERROR: glibc was skipped: missing required distro feature 'ipv4' (not in DI= STRO_FEATURES) ERROR: Required build target 'core-image-base' has no buildable providers. Missing or unbuildable dependency chain was: ['core-image-base', 'glibc'] So I got it working with core-image-minimal as I mentioned earlier just bef= ore your reply. > -----Original Message----- > From: James Abernathy [mailto:jfabernathy@outlook.com] > Sent: Monday, January 26, 2015 2:53 PM > To: Moore, Thomas (FtWorth) > Cc: Chris Tapp; yocto@yoctoproject.org; Ga= ry Thomas > Subject: Re: [yocto] adding all the pieces of WiFi to core-image-minimal > > > > On Jan 26, 2015, at 3:36 PM, Moore, Thomas (FtWorth) > wrote: > > > > Try building core-image-base or adding packagegroup-base-extended to yo= ur IMAGE_INSTALL. This should add the modules and firmware. > > > > core-image-minimal is just that and only includes just enough to boot t= he system. > > > > P.S. if you add "wifi" to your DISTRO_FEATURES, then packagegroup-base-= wifi should automatically get added to the image. Checkout meta/recipes-cor= e/packagegroups/packagegroup-base.bb to see how that works. > > > > Thomas > > > > Interesting! are we talking about doing this in the local.conf? or are we= talking about modifying existing recipes? I'd like to do this cleanly and = not mess up what's in the default files. Maybe create my own layer?? > > Jim A > > > From: yocto-bounces@yoctoproject.org > > [mailto:yocto-bounces@yoctoproject.org] On Behalf Of Chris Tapp > > Sent: Monday, January 26, 2015 2:28 PM > > To: James Abernathy > > Cc: yocto@yoctoproject.org; Gary Thomas > > Subject: Re: [yocto] adding all the pieces of WiFi to > > core-image-minimal > > > > > > On 26 Jan 2015, at 19:31, James Abernathy > wrote: > > > > > > I get a clean build when I add: CORE_IMAGE_EXTRA_INSTALL +=3D " package= group-base-wifi" > > > > However, I have no wireless drivers. I must have to add something to ad= d the drivers and firmware to the kernel. Not sure what though. > > > > I'm not an expert here, but I think that adding kernel-modules and linu= x-firmware to your extra_install should give you what you need. > > > > > > Jim A > > > > On Jan 26, 2015, at 11:09 AM, James Abernathy > wrote: > > > > > > On Jan 26, 2015, at 10:52 AM, Gary Thomas > wrote: > > > > On 2015-01-26 08:26, James Abernathy wrote: > > > > > > > > On Jan 26, 2015, at 8:49 AM, Gary Thomas >> wr= ote: > > > > On 2015-01-26 06:29, James Abernathy wrote: > > > > > > > > On Jan 23, 2015, at 12:37 PM, Gary Thomas >> w= rote: > > > > On 2015-01-23 10:24, Jim Abernathy wrote: > > > > I'm starting a project mostly for self-education. I have already done > > the project using Ubuntu Server 14.04 using a Intel NUC and a Pandaboar= d as targets. Now I want to see how easy it is to move it to Yocto. > > > > Starting with the NUC, I can boot Dizzy 1.7.1 core-image-minimal and > > core-image-sato, both built with bitbake and not the prebuilt images. H= owever, core-image-minimal doesn't have WiFi and core-image-sato does, but = I don't need all the GUI stuff. It's a headless application. > > > > So what is recommended; eliminating the GUI from sato or adding wifi > > and wpa-supplicant, etc to minimal?? Also any pointers to how to do the= adding/subtracting would be most helpful. > > > > Once this is working all I have to do is put apache-tomcat, and openjdk= -7-jre, then my application. > > > > We use just iw & wpa-supplicant and set up the configuration files > > manually (e.g. the wpa-supplicant configurations). > > > > Could you help with a little more details. What I envision is adding > > an append statement of some kind to local.conf to load in the wireless = related files to core-image-minimal, same with openjdk-7-jre and tomcat7, b= ut my first efforts have generated some unintelligible error for me. So tha= t's why I'm looking for direction on where to start with this. > > > > What was the error you got? I'll bet it was for 'iw' which is a > > package from meta-oe, so you'll need to add that layer > > > > Once you've added the meta-oe layer, you should be able to put this > > line in your local.conf: > > CORE_IMAGE_EXTRA_INSTALL +=3D " iw wpa-supplicant" > > Okay, what I don't get is the fact that without any additional layers, > > bitbake core-image-sato builds all the WiFi features I need. bitbake co= re-image-minimal does not. So I'm thinking that there is some CORE_IMAGE_EX= TRA_INSTALL statement that can just add what is needed without extra layers= . > > > > I guess it just doesn't make sense to me right now. > > > > Try using > > CORE_IMAGE_EXTRA_INSTALL +=3D " packagegroup-base-wifi" > > which will bring in 'wireless-tools' and 'wpa-supplicant'. > > > > I prefer 'iw' to 'wireless-tools' as it is newer and [IMO] simpler to > > use. > > Thanks, I found that I can clean build with just the wpa-supplicant add= ed and I'm hoping that will bring in the wifi drivers. If it does, all I wa= nt to do is edit the /etc/interfaces file with the Static IP of the wlan0, = the static IP of the eth0 and the wpa-xxx for the WKPA2_PSK information. > > > > Do I really need the tools? I don't need CLI commands to change any net= work parameters later. > > > > Jim A > > > > > > -- > > ------------------------------------------------------------ > > Gary Thomas | Consulting for the > > MLB Associates | Embedded world > > ------------------------------------------------------------ > > -- > > _______________________________________________ > > yocto mailing list > > yocto@yoctoproject.org > > https://lists.yoctoproject.org/listinfo/yocto > > > > -- > > _______________________________________________ > > yocto mailing list > > yocto@yoctoproject.org > > https://lists.yoctoproject.org/listinfo/yocto > > > > -- > > _______________________________________________ > > yocto mailing list > > yocto@yoctoproject.org > > https://lists.yoctoproject.org/listinfo/yocto > > > > -- > > > > Chris Tapp > > opensource@keylevel.com > > www.keylevel.com > > > > ---- > > You can tell you're getting older when your car insurance gets real che= ap! > > > --_000_7B6FE55CD594D7478CED8A39DF3BFC0A5E73FE0DUT40SVCWEM001at_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

core-image-base installs = packagegroup-base-extended, whereas core-image-minimal doesn’t. packa= gegroup-base-extended adds things like kernel modules and other package groups that you’ll want for a more full-featured system.

 <= /p>

Thomas

 <= /p>

From: Jim Aber= nathy [mailto:jfabernathy@outlook.com]
Sent: Monday, January 26, 2015 3:54 PM
To: Moore, Thomas (FtWorth)
Cc: Chris Tapp; yocto@yoctoproject.org; Gary Thomas
Subject: RE: [yocto] adding all the pieces of WiFi to core-image-min= imal

 

 <= /p>


From: Thomas.Moore2@ATK.C= OM
To: jfabernathy@outlook.com
CC: opensource@keylevel.com; yocto@yoctoproject.org; gary@mlbassoc.com
Subject: RE: [yocto] adding all the pieces of WiFi to core-image-minimal Date: Mon, 26 Jan 2015 21:51:47 +0000

Looks like you also need = to add ipv4 to the DISTRO_FEATURES:

 

DISTRO_FEATURES +=3D = "ipv4 wifi"

 

Might be worth trying.=

 

Thomas

 

I'll test with it, but wh= y core-image-base vs. core-image-minimal?

 

Jim A

From: Jim Aber= nathy [mailto:jfabernathy@outlook.com]
Sent: Monday, January 26, 2015 3:38 PM
To: Moore, Thomas (FtWorth)
Cc: Chris Tapp; yocto@yoctoproject.org; Gary Thomas
Subject: RE: [yocto] adding all the pieces of WiFi to core-image-min= imal

 

 

> From: Thomas.Moore2@ATK.COM
> To: jfabernathy@outlook.com
> CC: opensource@keylevel.com; yocto@yoctoproject.org; gary@mlbassoc.com=
> Subject: RE: [yocto] adding all the pieces of WiFi to core-image-minim= al
> Date: Mon, 26 Jan 2015 21:04:54 +0000
>
> For now, I'd just get everything working with the local.conf:
>
> DISTRO_FEATURES +=3D "wifi"
>
> bitbake core-image-base
>
> Ultimately, you may want to make a custom machine and distro config an= d incorporate all of the things you've specified in local.conf in those con= figs. For example, I have a system that's an intel-based single-board compu= ter with several expansion cards. I've created a machine configuration to define the basic hardware components (f= eatures, drivers, etc). I've also created a custom distro because we prefer= system over systemv and to include some other non-machine specific package= s. Finally, I've created a custom image that includes some other extras.
>
> The power of local.conf is nice, but it's a little tricky transitionin= g from that to more of a BSP approach like I described above because most p= eople just say to add it to your local.conf, but that's not really how it s= hould be done at the end. Think global variables vs classes.
>
> P.S. Never edit anything in the poky folder. If you want to modify an = existing recipe, create a new layer with a bbappend and modify away.
>
> Thomas
>
>
I tried just adding DISTRO_FEATURES +=3D "wifi" to the local.= conf and bitbaking core-image-base, but I got a lot of errors:

NOTE: Resolving any missing task queue dependencies
ERROR: Nothing PROVIDES 'glibc'
ERROR: glibc was skipped: missing required distro feature 'ipv4' (not in DI= STRO_FEATURES)
ERROR: Required build target 'core-image-base' has no buildable providers.<= br> Missing or unbuildable dependency chain was: ['core-image-base', 'glibc']
So I got it working with core-image-minimal as I mentioned earlier just bef= ore your reply.

> -----Original Message-----
> From: James Abernathy [mailto:jfabernathy@outlook.com]
> Sent: Monday, January 26, 2015 2:53 PM
> To: Moore, Thomas (FtWorth)
> Cc: Chris Tapp; yocto@yoctop= roject.org; Gary Thomas
> Subject: Re: [yocto] adding all the pieces of WiFi to core-image-minim= al
>
>
> > On Jan 26, 2015, at 3:36 PM, Moore, Thomas (FtWorth) <Thomas.Moore2@ATK.COM> wrote:
> >
> > Try building core-image-base or adding packagegroup-base-extended= to your IMAGE_INSTALL. This should add the modules and firmware.
> >
> > core-image-minimal is just that and only includes just enough to = boot the system.
> >
> > P.S. if you add "wifi" to your DISTRO_FEATURES, then pa= ckagegroup-base-wifi should automatically get added to the image. Checkout = meta/recipes-core/packagegroups/packagegroup-base.bb to see how that works.=
> >
> > Thomas
> >
>
> Interesting! are we talking about doing this in the local.conf? or are= we talking about modifying existing recipes? I'd like to do this cleanly a= nd not mess up what's in the default files. Maybe create my own layer??
>
> Jim A
>
> > From: yocto-bou= nces@yoctoproject.org
> > [mailt= o:yocto-bounces@yoctoproject.org] On Behalf Of Chris Tapp
> > Sent: Monday, January 26, 2015 2:28 PM
> > To: James Abernathy
> > Cc: yocto@yoctoproject.= org; Gary Thomas
> > Subject: Re: [yocto] adding all the pieces of WiFi to
> > core-image-minimal
> >
> >
> > On 26 Jan 2015, at 19:31, James Abernathy <jfabernathy@outlook.com> wrote:
> >
> >
> > I get a clean build when I add: CORE_IMAGE_EXTRA_INSTALL +=3D= " packagegroup-base-wifi"
> >
> > However, I have no wireless drivers. I must have to add something= to add the drivers and firmware to the kernel. Not sure what though.
> >
> > I'm not an expert here, but I think that adding kernel-modules an= d linux-firmware to your extra_install should give you what you need.
> >
> >
> > Jim A
> >
> > On Jan 26, 2015, at 11:09 AM, James Abernathy <jfabernathy@outlook.com> wrote:
> >
> >
> > On Jan 26, 2015, at 10:52 AM, Gary Thomas <gary@mlbassoc.com> wrote:
> >
> > On 2015-01-26 08:26, James Abernathy wrote:
> >
> >
> >
> > On Jan 26, 2015, at 8:49 AM, Gary Thomas <gary@mlbassoc.com <mailto= :gary@mlbassoc.com>> wrote:
> >
> > On 2015-01-26 06:29, James Abernathy wrote:
> >
> >
> >
> > On Jan 23, 2015, at 12:37 PM, Gary Thomas <gary@mlbassoc.com <mailt= o:gary@mlbassoc.com>> wrote:
> >
> > On 2015-01-23 10:24, Jim Abernathy wrote:
> >
> > I'm starting a project mostly for self-education. I have already = done
> > the project using Ubuntu Server 14.04 using a Intel NUC and a Pan= daboard as targets. Now I want to see how easy it is to move it to Yocto. > >
> > Starting with the NUC, I can boot Dizzy 1.7.1 core-image-minimal = and
> > core-image-sato, both built with bitbake and not the prebuilt ima= ges. However, core-image-minimal doesn't have WiFi and core-image-sato does= , but I don't need all the GUI stuff. It's a headless application.
> >
> > So what is recommended; eliminating the GUI from sato or adding w= ifi
> > and wpa-supplicant, etc to minimal?? Also any pointers to how to = do the adding/subtracting would be most helpful.
> >
> > Once this is working all I have to do is put apache-tomcat, and o= penjdk-7-jre, then my application.
> >
> > We use just iw & wpa-supplicant and set up the configuration = files
> > manually (e.g. the wpa-supplicant configurations).
> >
> > Could you help with a little more details. What I envision is add= ing
> > an append statement of some kind to local.conf to load in the wir= eless related files to core-image-minimal, same with openjdk-7-jre and tomc= at7, but my first efforts have generated some unintelligible error for me. = So that's why I'm looking for direction on where to start with this.
> >
> > What was the error you got? I'll bet it was for 'iw' which is a <= br> > > package from meta-oe, so you'll need to add that layer
> >
> > Once you've added the meta-oe layer, you should be able to put th= is
> > line in your local.conf:
> > CORE_IMAGE_EXTRA_INSTALL +=3D " iw wpa-supplicant"<= br> > > Okay, what I don't get is the fact that without any additional la= yers,
> > bitbake core-image-sato builds all the WiFi features I need. bitb= ake core-image-minimal does not. So I'm thinking that there is some CORE_IM= AGE_EXTRA_INSTALL statement that can just add what is needed without extra = layers.
> >
> > I guess it just doesn't make sense to me right now.
> >
> > Try using
> > CORE_IMAGE_EXTRA_INSTALL +=3D " packagegroup-base-wifi&q= uot;
> > which will bring in 'wireless-tools' and 'wpa-supplicant'.
> >
> > I prefer 'iw' to 'wireless-tools' as it is newer and [IMO] simple= r to
> > use.
> > Thanks, I found that I can clean build with just the wpa-supplica= nt added and I'm hoping that will bring in the wifi drivers. If it does, al= l I want to do is edit the /etc/interfaces file with the Static IP of the w= lan0, the static IP of the eth0 and the wpa-xxx for the WKPA2_PSK information.
> >
> > Do I really need the tools? I don't need CLI commands to change a= ny network parameters later.
> >
> > Jim A
> >
> >
> > --
> > ------------------------------------------------------------
> > Gary Thomas | Consulting for the
> > MLB Associates | Embedded world
> > ------------------------------------------------------------
> > --
> > _______________________________________________
> > yocto mailing list
> > yocto@yoctoproject.org<= /a>
> >
https://lists.yoctoproject.org/listinfo/yocto
> >
> > --
> > _______________________________________________
> > yocto mailing list
> > yocto@yoctoproject.org<= /a>
> >
https://lists.yoctoproject.org/listinfo/yocto
> >
> > --
> > _______________________________________________
> > yocto mailing list
> > yocto@yoctoproject.org<= /a>
> >
https://lists.yoctoproject.org/listinfo/yocto
> >
> > --
> >
> > Chris Tapp
> > opensource@keylevel.co= m
> > www.keyleve= l.com
> >
> > ----
> > You can tell you're getting older when your car insurance gets re= al cheap!
> >
>

--_000_7B6FE55CD594D7478CED8A39DF3BFC0A5E73FE0DUT40SVCWEM001at_-- From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 42BA6E0083A; Mon, 26 Jan 2015 14:44:05 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, HTML_MESSAGE,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 X-Spam-HAM-Report: * 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider * (jfabernathy[at]outlook.com) * -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no * trust * [65.54.190.30 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 Received: from BAY004-OMC1S19.hotmail.com (bay004-omc1s19.hotmail.com [65.54.190.30]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 908D4E00836 for ; Mon, 26 Jan 2015 14:43:59 -0800 (PST) Received: from BAY169-W12 ([65.54.190.61]) by BAY004-OMC1S19.hotmail.com over TLS secured channel with Microsoft SMTPSVC(7.5.7601.22751); Mon, 26 Jan 2015 14:43:59 -0800 X-TMN: [YHUQo18PyrLYVm4rhjhseN0GrwGQLBxh] X-Originating-Email: [jfabernathy@outlook.com] Message-ID: From: Jim Abernathy To: "Moore, Thomas FtWorth" Date: Mon, 26 Jan 2015 17:43:59 -0500 Importance: Normal In-Reply-To: <7B6FE55CD594D7478CED8A39DF3BFC0A5E73FE0D@UT40SVCWEM001.atk.com> References: , <54C286DC.2030708@mlbassoc.com>, , <54C645E4.9090801@mlbassoc.com>, , <54C662AD.5070209@mlbassoc.com>, , , , <7B6FE55CD594D7478CED8A39DF3BFC0A5E73ED7A@UT40SVCWEM001.atk.com>, , <7B6FE55CD594D7478CED8A39DF3BFC0A5E73FDA7@UT40SVCWEM001.atk.com>, , <7B6FE55CD594D7478CED8A39DF3BFC0A5E73FDDB@UT40SVCWEM001.atk.com>, , <7B6FE55CD594D7478CED8A39DF3BFC0A5E73FE0D@UT40SVCWEM001.atk.com> MIME-Version: 1.0 X-OriginalArrivalTime: 26 Jan 2015 22:43:59.0473 (UTC) FILETIME=[932DCE10:01D039B9] Cc: "yocto@yoctoproject.org" , Gary Thomas Subject: Re: adding all the pieces of WiFi to core-image-minimal 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, 26 Jan 2015 22:44:05 -0000 Content-Type: multipart/alternative; boundary="_82a4839d-b016-422d-83a2-a27c6d496cdf_" --_82a4839d-b016-422d-83a2-a27c6d496cdf_ Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable I was just coming to the realization that core-image-minimal isn't what I= =0A= wanted. So I'll experiment with core-image-base and a minimal set of =0A= local.conf statements that give me what I need. Thanks=2C Jim A From: Thomas.Moore2@ATK.COM To: jfabernathy@outlook.com CC: opensource@keylevel.com=3B yocto@yoctoproject.org=3B gary@mlbassoc.com Subject: RE: [yocto] adding all the pieces of WiFi to core-image-minimal Date: Mon=2C 26 Jan 2015 22:23:12 +0000 =0A= =0A= =0A= =0A= =0A= =0A= =0A= =0A= core-image-base installs packagegroup-base-extended=2C whereas core-image-m= inimal doesn=92t. packagegroup-base-extended adds things like kernel module= s and other=0A= package groups that you=92ll want for a more full-featured system.=0A= =0A= =0A= Thomas=0A= =0A= =0A= =0A= =0A= From: Jim Abernathy [mailto:jfabernathy@outlook.com]=0A= =0A= Sent: Monday=2C January 26=2C 2015 3:54 PM =0A= To: Moore=2C Thomas (FtWorth) =0A= Cc: Chris Tapp=3B yocto@yoctoproject.org=3B Gary Thomas =0A= Subject: RE: [yocto] adding all the pieces of WiFi to core-image-minimal=0A= =0A= =0A= =0A= =0A= =0A= =0A= =0A= =0A= =0A= From: Thomas.Moore2@ATK.COM =0A= To: jfabernathy@outlook.com =0A= CC: opensource@keylevel.com=3B yocto@yoctoproject.org=3B gary@mlbassoc.com =0A= Subject: RE: [yocto] adding all the pieces of WiFi to core-image-minimal =0A= Date: Mon=2C 26 Jan 2015 21:51:47 +0000=0A= =0A= Looks like you also need to add ipv4 to the DISTRO_FEATURES:=0A= =0A= DISTRO_FEATURES +=3D "ipv4 wifi"=0A= =0A= Might be worth trying.=0A= =0A= =0A= Thomas=0A= =0A= =0A= I'll test with it=2C but why core-image-base vs. core-image-minimal?=0A= =0A= Jim A=0A= =0A= =0A= From: Jim Abernathy [mailto:jfabernathy@outlook.com]=0A= =0A= Sent: Monday=2C January 26=2C 2015 3:38 PM =0A= To: Moore=2C Thomas (FtWorth) =0A= Cc: Chris Tapp=3B yocto@yoctoproject.org=3B Gary Thomas =0A= Subject: RE: [yocto] adding all the pieces of WiFi to core-image-minimal=0A= =0A= =0A= =0A= =0A= =0A= =0A= > From: Thomas.Moore2@ATK.COM =0A= > To: jfabernathy@outlook.com =0A= > CC: opensource@keylevel.com=3B yocto@yoctoproject.org=3B gary@mlbassoc.co= m =0A= > Subject: RE: [yocto] adding all the pieces of WiFi to core-image-minimal =0A= > Date: Mon=2C 26 Jan 2015 21:04:54 +0000 =0A= >=20 =0A= > For now=2C I'd just get everything working with the local.conf: =0A= >=20 =0A= > DISTRO_FEATURES +=3D "wifi" =0A= >=20 =0A= > bitbake core-image-base =0A= >=20 =0A= > Ultimately=2C you may want to make a custom machine and distro config and= incorporate all of the things you've specified in local.conf in those conf= igs. For example=2C I have a system that's an intel-based single-board comp= uter with several expansion cards. I've=0A= created a machine configuration to define the basic hardware components (f= eatures=2C drivers=2C etc). I've also created a custom distro because we pr= efer system over systemv and to include some other non-machine specific pac= kages. Finally=2C I've created a custom=0A= image that includes some other extras. =0A= >=20 =0A= > The power of local.conf is nice=2C but it's a little tricky transitioning= from that to more of a BSP approach like I described above because most pe= ople just say to add it to your local.conf=2C but that's not really how it = should be done at the end. Think global=0A= variables vs classes. =0A= >=20 =0A= > P.S. Never edit anything in the poky folder. If you want to modify an exi= sting recipe=2C create a new layer with a bbappend and modify away. =0A= >=20 =0A= > Thomas =0A= >=20 =0A= >=20 =0A= I tried just adding DISTRO_FEATURES +=3D "wifi" to the local.conf and bitba= king core-image-base=2C but I got a lot of errors: =0A= =0A= NOTE: Resolving any missing task queue dependencies =0A= ERROR: Nothing PROVIDES 'glibc' =0A= ERROR: glibc was skipped: missing required distro feature 'ipv4' (not in DI= STRO_FEATURES) =0A= ERROR: Required build target 'core-image-base' has no buildable providers. =0A= Missing or unbuildable dependency chain was: ['core-image-base'=2C 'glibc'] =0A= =0A= So I got it working with core-image-minimal as I mentioned earlier just bef= ore your reply. =0A= =0A= > -----Original Message----- =0A= > From: James Abernathy [mailto:jfabernathy@outlook.com]=0A= =0A= > Sent: Monday=2C January 26=2C 2015 2:53 PM =0A= > To: Moore=2C Thomas (FtWorth) =0A= > Cc: Chris Tapp=3B yocto@yoctoproject.org=3B Gary Thomas =0A= > Subject: Re: [yocto] adding all the pieces of WiFi to core-image-minimal =0A= >=20 =0A= >=20 =0A= > > On Jan 26=2C 2015=2C at 3:36 PM=2C Moore=2C Thomas (FtWorth) wrote: =0A= > >=20 =0A= > > Try building core-image-base or adding packagegroup-base-extended to yo= ur IMAGE_INSTALL. This should add the modules and firmware. =0A= > >=20 =0A= > > core-image-minimal is just that and only includes just enough to boot t= he system. =0A= > >=20 =0A= > > P.S. if you add "wifi" to your DISTRO_FEATURES=2C then packagegroup-bas= e-wifi should automatically get added to the image. Checkout meta/recipes-c= ore/packagegroups/packagegroup-base.bb to see how that works. =0A= > >=20 =0A= > > Thomas =0A= > >=20 =0A= >=20 =0A= > Interesting! are we talking about doing this in the local.conf? or are we= talking about modifying existing recipes? I'd like to do this cleanly and = not mess up what's in the default files. Maybe create my own layer?? =0A= >=20 =0A= > Jim A =0A= >=20 =0A= > > From: yocto-bounces@yoctoproject.org=0A= =0A= > > [mailto:yocto-bounces@yoctoproject.org] On Behalf Of Chris Tapp =0A= > > Sent: Monday=2C January 26=2C 2015 2:28 PM =0A= > > To: James Abernathy =0A= > > Cc: yocto@yoctoproject.org=3B Gary Thomas =0A= > > Subject: Re: [yocto] adding all the pieces of WiFi to=20 =0A= > > core-image-minimal =0A= > >=20 =0A= > >=20 =0A= > > On 26 Jan 2015=2C at 19:31=2C James Abernathy = wrote: =0A= > >=20 =0A= > >=20 =0A= > > I get a clean build when I add: CORE_IMAGE_EXTRA_INSTALL +=3D " package= group-base-wifi" =0A= > >=20 =0A= > > However=2C I have no wireless drivers. I must have to add something to = add the drivers and firmware to the kernel. Not sure what though. =0A= > >=20 =0A= > > I'm not an expert here=2C but I think that adding kernel-modules and li= nux-firmware to your extra_install should give you what you need. =0A= > >=20 =0A= > >=20 =0A= > > Jim A =0A= > >=20 =0A= > > On Jan 26=2C 2015=2C at 11:09 AM=2C James Abernathy wrote: =0A= > >=20 =0A= > >=20 =0A= > > On Jan 26=2C 2015=2C at 10:52 AM=2C Gary Thomas wro= te: =0A= > >=20 =0A= > > On 2015-01-26 08:26=2C James Abernathy wrote: =0A= > >=20 =0A= > >=20 =0A= > >=20 =0A= > > On Jan 26=2C 2015=2C at 8:49 AM=2C Gary Thomas > wrote: =0A= > >=20 =0A= > > On 2015-01-26 06:29=2C James Abernathy wrote: =0A= > >=20 =0A= > >=20 =0A= > >=20 =0A= > > On Jan 23=2C 2015=2C at 12:37 PM=2C Gary Thomas > wrote: =0A= > >=20 =0A= > > On 2015-01-23 10:24=2C Jim Abernathy wrote: =0A= > >=20 =0A= > > I'm starting a project mostly for self-education. I have already done=20 =0A= > > the project using Ubuntu Server 14.04 using a Intel NUC and a Pandaboar= d as targets. Now I want to see how easy it is to move it to Yocto. =0A= > >=20 =0A= > > Starting with the NUC=2C I can boot Dizzy 1.7.1 core-image-minimal and= =20 =0A= > > core-image-sato=2C both built with bitbake and not the prebuilt images.= However=2C core-image-minimal doesn't have WiFi and core-image-sato does= =2C but I don't need all the GUI stuff. It's a headless application. =0A= > >=20 =0A= > > So what is recommended=3B eliminating the GUI from sato or adding wifi= =20 =0A= > > and wpa-supplicant=2C etc to minimal?? Also any pointers to how to do t= he adding/subtracting would be most helpful. =0A= > >=20 =0A= > > Once this is working all I have to do is put apache-tomcat=2C and openj= dk-7-jre=2C then my application. =0A= > >=20 =0A= > > We use just iw & wpa-supplicant and set up the configuration files=20 =0A= > > manually (e.g. the wpa-supplicant configurations). =0A= > >=20 =0A= > > Could you help with a little more details. What I envision is adding=20 =0A= > > an append statement of some kind to local.conf to load in the wireless = related files to core-image-minimal=2C same with openjdk-7-jre and tomcat7= =2C but my first efforts have generated some unintelligible error for me. S= o that's why I'm looking for direction=0A= on where to start with this. =0A= > >=20 =0A= > > What was the error you got? I'll bet it was for 'iw' which is a=20 =0A= > > package from meta-oe=2C so you'll need to add that layer =0A= > >=20 =0A= > > Once you've added the meta-oe layer=2C you should be able to put this=20 =0A= > > line in your local.conf: =0A= > > CORE_IMAGE_EXTRA_INSTALL +=3D " iw wpa-supplicant" =0A= > > Okay=2C what I don't get is the fact that without any additional layers= =2C=20 =0A= > > bitbake core-image-sato builds all the WiFi features I need. bitbake co= re-image-minimal does not. So I'm thinking that there is some CORE_IMAGE_EX= TRA_INSTALL statement that can just add what is needed without extra layers= . =0A= > >=20 =0A= > > I guess it just doesn't make sense to me right now. =0A= > >=20 =0A= > > Try using =0A= > > CORE_IMAGE_EXTRA_INSTALL +=3D " packagegroup-base-wifi" =0A= > > which will bring in 'wireless-tools' and 'wpa-supplicant'. =0A= > >=20 =0A= > > I prefer 'iw' to 'wireless-tools' as it is newer and [IMO] simpler to=20 =0A= > > use. =0A= > > Thanks=2C I found that I can clean build with just the wpa-supplicant a= dded and I'm hoping that will bring in the wifi drivers. If it does=2C all = I want to do is edit the /etc/interfaces file with the Static IP of the wla= n0=2C the static IP of the eth0 and the=0A= wpa-xxx for the WKPA2_PSK information.=20 =0A= > >=20 =0A= > > Do I really need the tools? I don't need CLI commands to change any net= work parameters later. =0A= > >=20 =0A= > > Jim A =0A= > >=20 =0A= > >=20 =0A= > > -- =0A= > > ------------------------------------------------------------ =0A= > > Gary Thomas | Consulting for the =0A= > > MLB Associates | Embedded world =0A= > > ------------------------------------------------------------ =0A= > > -- =0A= > > _______________________________________________ =0A= > > yocto mailing list =0A= > > yocto@yoctoproject.org =0A= > > https://lists.yoctoproject.org/listinfo/yocto =0A= > >=20 =0A= > > -- =0A= > > _______________________________________________ =0A= > > yocto mailing list =0A= > > yocto@yoctoproject.org =0A= > > https://lists.yoctoproject.org/listinfo/yocto =0A= > >=20 =0A= > > -- =0A= > > _______________________________________________ =0A= > > yocto mailing list =0A= > > yocto@yoctoproject.org =0A= > > https://lists.yoctoproject.org/listinfo/yocto =0A= > >=20 =0A= > > -- =0A= > >=20 =0A= > > Chris Tapp =0A= > > opensource@keylevel.com =0A= > > www.keylevel.com =0A= > >=20 =0A= > > ---- =0A= > > You can tell you're getting older when your car insurance gets real che= ap! =0A= > >=20 =0A= > =0A= =0A= =0A= =0A= =0A= =0A= = --_82a4839d-b016-422d-83a2-a27c6d496cdf_ Content-Type: text/html; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable
I was just coming to the realiza= tion that core-image-minimal isn't what I=0A= wanted. =3B So I'll experiment with core-image-base and a minimal set = of =0A= local.conf statements that give me what I need. =3B Thanks=2C

Ji= m A



From: Thomas.Moore2@ATK.COM
= To: jfabernathy@outlook.com
CC: opensource@keylevel.com=3B yocto@yoctopr= oject.org=3B gary@mlbassoc.com
Subject: RE: [yocto] adding all the piece= s of WiFi to core-image-minimal
Date: Mon=2C 26 Jan 2015 22:23:12 +0000<= br>
=0A= =0A= =0A= =0A= =0A= =0A= =0A=
=0A=

core-= image-base installs packagegroup-base-extended=2C whereas core-image-minima= l doesn=92t. packagegroup-base-extended adds things like kernel modules and= other=0A= package groups that you=92ll want for a more full-featured system.<= /p>=0A=

 = =3B

=0A=
=0A=

Thoma= s

=0A=
=0A=

 = =3B

=0A=
=0A=
=0A=

From: Jim Abernathy [mailto:jfabernathy@outlook.com]= =0A=
=0A= Sent: Monday=2C January 26=2C 2015 3:54 PM
=0A= To: Moore=2C Thomas (FtWorth)
=0A= Cc: Chris Tapp=3B yocto@yoctoproject.org=3B Gary Thomas
=0A= Subject: RE: [yocto] adding all the pieces of WiFi to core-image-min= imal

=0A=
=0A=
=0A=

 =3B

=0A=
=0A=

 =3B

=0A=
=0A=
=0A=
=0A=
=0A=

From: Thomas.Moore2@ATK.COM=0A= To: jfabernathy@outlook.com
=0A= CC: opensource@keylevel.com=3B yocto@yoctoproject.org=3B gary@mlbassoc.com<= br>=0A= Subject: RE: [yocto] adding all the pieces of WiFi to core-image-minimal=0A= Date: Mon=2C 26 Jan 2015 21:51:47 +0000

=0A=
=0A=

Looks= like you also need to add ipv4 to the DISTRO_FEATURES:

=0A=

 = =3B

=0A=

DISTR= O_FEATURES +=3D "ipv4 wifi"

=0A=

 = =3B

=0A=

Might= be worth trying.

=0A=

 = =3B

=0A=
=0A=

Thoma= s

=0A=
=0A=

 = =3B

=0A=

I'll = test with it=2C but why core-image-base vs. core-image-minimal?

=0A=

 =3B

=0A=

Jim A

=0A=
=0A=
=0A=

From: Jim Abernathy [mailto:jfabernathy@outlook.com]= =0A=
=0A= Sent: Monday=2C January 26=2C 2015 3:38 PM
=0A= To: Moore=2C Thomas (FtWorth)
=0A= Cc: Chris Tapp=3B yocto@yoctoproject.org=3B Gary Thomas
=0A= Subject: RE: [yocto] adding all the pieces of WiFi to core-image-min= imal

=0A=
=0A=
=0A=

 =3B

=0A=
=0A=

 =3B

=0A=
=0A=

>=3B From: Thomas.Moore2@ATK.COM
= =0A= >=3B To: jfabernathy@outlook.com
=0A= >=3B CC: opensource@keylevel.com=3B yocto@yoctoproject.org=3B gary@mlbass= oc.com
=0A= >=3B Subject: RE: [yocto] adding all the pieces of WiFi to core-image-min= imal
=0A= >=3B Date: Mon=2C 26 Jan 2015 21:04:54 +0000
=0A= >=3B
=0A= >=3B For now=2C I'd just get everything working with the local.conf:
= =0A= >=3B
=0A= >=3B DISTRO_FEATURES +=3D "wifi"
=0A= >=3B
=0A= >=3B bitbake core-image-base
=0A= >=3B
=0A= >=3B Ultimately=2C you may want to make a custom machine and distro confi= g and incorporate all of the things you've specified in local.conf in those= configs. For example=2C I have a system that's an intel-based single-board= computer with several expansion cards. I've=0A= created a machine configuration to define the basic hardware components (f= eatures=2C drivers=2C etc). I've also created a custom distro because we pr= efer system over systemv and to include some other non-machine specific pac= kages. Finally=2C I've created a custom=0A= image that includes some other extras.
=0A= >=3B
=0A= >=3B The power of local.conf is nice=2C but it's a little tricky transiti= oning from that to more of a BSP approach like I described above because mo= st people just say to add it to your local.conf=2C but that's not really ho= w it should be done at the end. Think global=0A= variables vs classes.
=0A= >=3B
=0A= >=3B P.S. Never edit anything in the poky folder. If you want to modify a= n existing recipe=2C create a new layer with a bbappend and modify away.=0A= >=3B
=0A= >=3B Thomas
=0A= >=3B
=0A= >=3B
=0A= I tried just adding DISTRO_FEATURES +=3D "wifi" to the local.conf and bitba= king core-image-base=2C but I got a lot of errors:
=0A=
=0A= NOTE: Resolving any missing task queue dependencies
=0A= ERROR: Nothing PROVIDES 'glibc'
=0A= ERROR: glibc was skipped: missing required distro feature 'ipv4' (not in DI= STRO_FEATURES)
=0A= ERROR: Required build target 'core-image-base' has no buildable providers.<= br>=0A= Missing or unbuildable dependency chain was: ['core-image-base'=2C 'glibc']=
=0A=
=0A= So I got it working with core-image-minimal as I mentioned earlier just bef= ore your reply.
=0A=
=0A= >=3B -----Original Message-----
=0A= >=3B From: James Abernathy [mailto:jfabernathy@outlook.com]=0A=
=0A= >=3B Sent: Monday=2C January 26=2C 2015 2:53 PM
=0A= >=3B To: Moore=2C Thomas (FtWorth)
=0A= >=3B Cc: Chris Tapp=3B yocto@yo= ctoproject.org=3B Gary Thomas
=0A= >=3B Subject: Re: [yocto] adding all the pieces of WiFi to core-image-min= imal
=0A= >=3B
=0A= >=3B
=0A= >=3B >=3B On Jan 26=2C 2015=2C at 3:36 PM=2C Moore=2C Thomas (FtWorth) = <=3BThomas.Moore2@ATK.COM>= =3B wrote:
=0A= >=3B >=3B
=0A= >=3B >=3B Try building core-image-base or adding packagegroup-base-exte= nded to your IMAGE_INSTALL. This should add the modules and firmware.
= =0A= >=3B >=3B
=0A= >=3B >=3B core-image-minimal is just that and only includes just enough= to boot the system.
=0A= >=3B >=3B
=0A= >=3B >=3B P.S. if you add "wifi" to your DISTRO_FEATURES=2C then packag= egroup-base-wifi should automatically get added to the image. Checkout meta= /recipes-core/packagegroups/packagegroup-base.bb to see how that works.
= =0A= >=3B >=3B
=0A= >=3B >=3B Thomas
=0A= >=3B >=3B
=0A= >=3B
=0A= >=3B Interesting! are we talking about doing this in the local.conf? or a= re we talking about modifying existing recipes? I'd like to do this cleanly= and not mess up what's in the default files. Maybe create my own layer??=0A= >=3B
=0A= >=3B Jim A
=0A= >=3B
=0A= >=3B >=3B From: yocto= -bounces@yoctoproject.org=0A=
=0A= >=3B >=3B [m= ailto:yocto-bounces@yoctoproject.org] On Behalf Of Chris Tapp
=0A= >=3B >=3B Sent: Monday=2C January 26=2C 2015 2:28 PM
=0A= >=3B >=3B To: James Abernathy
=0A= >=3B >=3B Cc: yocto@yoctoproj= ect.org=3B Gary Thomas
=0A= >=3B >=3B Subject: Re: [yocto] adding all the pieces of WiFi to
=0A= >=3B >=3B core-image-minimal
=0A= >=3B >=3B
=0A= >=3B >=3B
=0A= >=3B >=3B On 26 Jan 2015=2C at 19:31=2C James Abernathy <=3Bjfabernathy@outlook.com>=3B wrote= :
=0A= >=3B >=3B
=0A= >=3B >=3B
=0A= >=3B >=3B I get a clean build when I add: CORE_IMAGE_EXTRA_INSTALL +=3D= " packagegroup-base-wifi"
=0A= >=3B >=3B
=0A= >=3B >=3B However=2C I have no wireless drivers. I must have to add som= ething to add the drivers and firmware to the kernel. Not sure what though.=
=0A= >=3B >=3B
=0A= >=3B >=3B I'm not an expert here=2C but I think that adding kernel-modu= les and linux-firmware to your extra_install should give you what you need.=
=0A= >=3B >=3B
=0A= >=3B >=3B
=0A= >=3B >=3B Jim A
=0A= >=3B >=3B
=0A= >=3B >=3B On Jan 26=2C 2015=2C at 11:09 AM=2C James Abernathy <=3Bjfabernathy@outlook.com>=3B w= rote:
=0A= >=3B >=3B
=0A= >=3B >=3B
=0A= >=3B >=3B On Jan 26=2C 2015=2C at 10:52 AM=2C Gary Thomas <=3Bgary@mlbassoc.com>=3B wrote:
=0A= >=3B >=3B
=0A= >=3B >=3B On 2015-01-26 08:26=2C James Abernathy wrote:
=0A= >=3B >=3B
=0A= >=3B >=3B
=0A= >=3B >=3B
=0A= >=3B >=3B On Jan 26=2C 2015=2C at 8:49 AM=2C Gary Thomas <=3Bgary@mlbassoc.c= om <=3Bmailto:gary@mlbassoc.com>=3B>=3B wrote:
=0A= >=3B >=3B
=0A= >=3B >=3B On 2015-01-26 06:29=2C James Abernathy wrote:
=0A= >=3B >=3B
=0A= >=3B >=3B
=0A= >=3B >=3B
=0A= >=3B >=3B On Jan 23=2C 2015=2C at 12:37 PM=2C Gary Thomas <=3Bgary@mlbassoc.c= om <=3Bmailto:gary@mlbassoc.com>=3B>=3B wrote:
=0A= >=3B >=3B
=0A= >=3B >=3B On 2015-01-23 10:24=2C Jim Abernathy wrote:
=0A= >=3B >=3B
=0A= >=3B >=3B I'm starting a project mostly for self-education. I have alre= ady done
=0A= >=3B >=3B the project using Ubuntu Server 14.04 using a Intel NUC and a= Pandaboard as targets. Now I want to see how easy it is to move it to Yoct= o.
=0A= >=3B >=3B
=0A= >=3B >=3B Starting with the NUC=2C I can boot Dizzy 1.7.1 core-image-mi= nimal and
=0A= >=3B >=3B core-image-sato=2C both built with bitbake and not the prebui= lt images. However=2C core-image-minimal doesn't have WiFi and core-image-s= ato does=2C but I don't need all the GUI stuff. It's a headless application= .
=0A= >=3B >=3B
=0A= >=3B >=3B So what is recommended=3B eliminating the GUI from sato or ad= ding wifi
=0A= >=3B >=3B and wpa-supplicant=2C etc to minimal?? Also any pointers to h= ow to do the adding/subtracting would be most helpful.
=0A= >=3B >=3B
=0A= >=3B >=3B Once this is working all I have to do is put apache-tomcat=2C= and openjdk-7-jre=2C then my application.
=0A= >=3B >=3B
=0A= >=3B >=3B We use just iw &=3B wpa-supplicant and set up the configur= ation files
=0A= >=3B >=3B manually (e.g. the wpa-supplicant configurations).
=0A= >=3B >=3B
=0A= >=3B >=3B Could you help with a little more details. What I envision is= adding
=0A= >=3B >=3B an append statement of some kind to local.conf to load in the= wireless related files to core-image-minimal=2C same with openjdk-7-jre an= d tomcat7=2C but my first efforts have generated some unintelligible error = for me. So that's why I'm looking for direction=0A= on where to start with this.
=0A= >=3B >=3B
=0A= >=3B >=3B What was the error you got? I'll bet it was for 'iw' which is= a
=0A= >=3B >=3B package from meta-oe=2C so you'll need to add that layer
= =0A= >=3B >=3B
=0A= >=3B >=3B Once you've added the meta-oe layer=2C you should be able to = put this
=0A= >=3B >=3B line in your local.conf:
=0A= >=3B >=3B CORE_IMAGE_EXTRA_INSTALL +=3D " iw wpa-supplicant"
=0A= >=3B >=3B Okay=2C what I don't get is the fact that without any additio= nal layers=2C
=0A= >=3B >=3B bitbake core-image-sato builds all the WiFi features I need. = bitbake core-image-minimal does not. So I'm thinking that there is some COR= E_IMAGE_EXTRA_INSTALL statement that can just add what is needed without ex= tra layers.
=0A= >=3B >=3B
=0A= >=3B >=3B I guess it just doesn't make sense to me right now.
=0A= >=3B >=3B
=0A= >=3B >=3B Try using
=0A= >=3B >=3B CORE_IMAGE_EXTRA_INSTALL +=3D " packagegroup-base-wifi"
= =0A= >=3B >=3B which will bring in 'wireless-tools' and 'wpa-supplicant'.=0A= >=3B >=3B
=0A= >=3B >=3B I prefer 'iw' to 'wireless-tools' as it is newer and [IMO] si= mpler to
=0A= >=3B >=3B use.
=0A= >=3B >=3B Thanks=2C I found that I can clean build with just the wpa-su= pplicant added and I'm hoping that will bring in the wifi drivers. If it do= es=2C all I want to do is edit the /etc/interfaces file with the Static IP = of the wlan0=2C the static IP of the eth0 and the=0A= wpa-xxx for the WKPA2_PSK information.
=0A= >=3B >=3B
=0A= >=3B >=3B Do I really need the tools? I don't need CLI commands to chan= ge any network parameters later.
=0A= >=3B >=3B
=0A= >=3B >=3B Jim A
=0A= >=3B >=3B
=0A= >=3B >=3B
=0A= >=3B >=3B --
=0A= >=3B >=3B ------------------------------------------------------------<= br>=0A= >=3B >=3B Gary Thomas | Consulting for the
=0A= >=3B >=3B MLB Associates | Embedded world
=0A= >=3B >=3B ------------------------------------------------------------<= br>=0A= >=3B >=3B --
=0A= >=3B >=3B _______________________________________________
=0A= >=3B >=3B yocto mailing list
=0A= >=3B >=3B yocto@yoctoproject.= org
=0A= >=3B >=3B https://lists.yoctoproject.org/listinfo/yocto
=0A= >=3B >=3B
=0A= >=3B >=3B --
=0A= >=3B >=3B _______________________________________________
=0A= >=3B >=3B yocto mailing list
=0A= >=3B >=3B yocto@yoctoproject.= org
=0A= >=3B >=3B https://lists.yoctoproject.org/listinfo/yocto
=0A= >=3B >=3B
=0A= >=3B >=3B --
=0A= >=3B >=3B _______________________________________________
=0A= >=3B >=3B yocto mailing list
=0A= >=3B >=3B yocto@yoctoproject.= org
=0A= >=3B >=3B https://lists.yoctoproject.org/listinfo/yocto
=0A= >=3B >=3B
=0A= >=3B >=3B --
=0A= >=3B >=3B
=0A= >=3B >=3B Chris Tapp
=0A= >=3B >=3B opensource@keyleve= l.com
=0A= >=3B >=3B www.key= level.com
=0A= >=3B >=3B
=0A= >=3B >=3B ----
=0A= >=3B >=3B You can tell you're getting older when your car insurance get= s real cheap!
=0A= >=3B >=3B
=0A= >=3B

=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
= --_82a4839d-b016-422d-83a2-a27c6d496cdf_-- From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 07D5BE00894; Mon, 26 Jan 2015 15:22:28 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * -5.0 RCVD_IN_DNSWL_HI RBL: Sender listed at http://www.dnswl.org/, high * trust * [192.55.52.88 listed in list.dnswl.org] Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 76CA4E00837 for ; Mon, 26 Jan 2015 15:22:23 -0800 (PST) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga101.fm.intel.com with ESMTP; 26 Jan 2015 15:22:10 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.09,471,1418112000"; d="scan'208";a="676272179" Received: from rszwicht-mobl6.ger.corp.intel.com (HELO peggleto-mobl5.ger.corp.intel.com) ([10.252.18.107]) by orsmga002.jf.intel.com with ESMTP; 26 Jan 2015 15:22:10 -0800 From: Paul Eggleton To: Jim Abernathy Date: Mon, 26 Jan 2015 23:22:09 +0000 Message-ID: <4908306.bUS88zCuvA@peggleto-mobl5.ger.corp.intel.com> Organization: Intel Corporation User-Agent: KMail/4.14.3 (Linux/3.17.8-200.fc20.x86_64; KDE/4.14.3; x86_64; ; ) In-Reply-To: References: <7B6FE55CD594D7478CED8A39DF3BFC0A5E73FDA7@UT40SVCWEM001.atk.com> MIME-Version: 1.0 Cc: yocto@yoctoproject.org, Gary Thomas Subject: Re: adding all the pieces of WiFi to core-image-minimal 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, 26 Jan 2015 23:22:28 -0000 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" On Monday 26 January 2015 16:37:37 Jim Abernathy wrote: > > From: Thomas.Moore2@ATK.COM > > To: jfabernathy@outlook.com > > CC: opensource@keylevel.com; yocto@yoctoproject.org; gary@mlbassoc.com > > Subject: RE: [yocto] adding all the pieces of WiFi to core-image-minimal > > Date: Mon, 26 Jan 2015 21:04:54 +0000 > > > > For now, I'd just get everything working with the local.conf: > > > > DISTRO_FEATURES += "wifi" > > > > bitbake core-image-base > > > > Ultimately, you may want to make a custom machine and distro config and > > incorporate all of the things you've specified in local.conf in those > > configs. For example, I have a system that's an intel-based single-board > > computer with several expansion cards. I've created a machine > > configuration to define the basic hardware components (features, drivers, > > etc). I've also created a custom distro because we prefer system over > > systemv and to include some other non-machine specific packages. Finally, > > I've created a custom image that includes some other extras. > > > > The power of local.conf is nice, but it's a little tricky transitioning > > from that to more of a BSP approach like I described above because most > > people just say to add it to your local.conf, but that's not really how > > it should be done at the end. Think global variables vs classes. > > > > P.S. Never edit anything in the poky folder. If you want to modify an > > existing recipe, create a new layer with a bbappend and modify away. > > > > Thomas > > I tried just adding DISTRO_FEATURES += "wifi" to the local.conf and > bitbaking core-image-base, but I got a lot of errors: > > NOTE: Resolving any missing task queue dependencies > ERROR: Nothing PROVIDES 'glibc' > ERROR: glibc was skipped: missing required distro feature 'ipv4' (not in > DISTRO_FEATURES) ERROR: Required build target 'core-image-base' has no > buildable providers. Missing or unbuildable dependency chain was: You're getting this error because you're actually replacing the value with "wifi" not adding it, because the default value is actually set *after* local.conf is parsed using ?=, so having set a value in local.conf, it's already set and thus ?= has no effect. Then we get to parsing the glibc recipe and that immediately fails because it states that all features in DISTRO_FEATURES_LIBC are required, and you've removed those. (As a side note I really dislike how this latter bit has been implemented, but at least it breaks early rather than what used to happen where it would get up to compiling glibc and then fail). The correct way to add to DISTRO_FEATURES in local.conf would be to use DISTRO_FEATURES_append = " ..." (and don't forget the leading space in the value). However, that said, I'd guess that if your configuration is the default poky or reasonably close to it, DISTRO_FEATURES already contains "wifi", so there shouldn't even be a need to add it; particularly as you've already suggested wifi was working with core-image-sato. Cheers, Paul -- Paul Eggleton Intel Open Source Technology Centre From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id CA0F5E00894; Mon, 26 Jan 2015 17:29:47 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 X-Spam-HAM-Report: * 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider * (jfabernathy[at]outlook.com) * -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no * trust * [65.55.116.17 listed in list.dnswl.org] * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] Received: from BLU004-OMC1S6.hotmail.com (blu004-omc1s6.hotmail.com [65.55.116.17]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 63AB9E0083A for ; Mon, 26 Jan 2015 17:29:36 -0800 (PST) Received: from BLU436-SMTP186 ([65.55.116.7]) by BLU004-OMC1S6.hotmail.com over TLS secured channel with Microsoft SMTPSVC(7.5.7601.22751); Mon, 26 Jan 2015 17:29:36 -0800 X-TMN: [DbZX6D95ITrGPdJmWXXweqm+6D9cNgnz] X-Originating-Email: [jfabernathy@outlook.com] Message-ID: MIME-Version: 1.0 (Mac OS X Mail 8.1 \(1993\)) From: James Abernathy In-Reply-To: <4908306.bUS88zCuvA@peggleto-mobl5.ger.corp.intel.com> Date: Mon, 26 Jan 2015 20:29:33 -0500 References: <7B6FE55CD594D7478CED8A39DF3BFC0A5E73FDA7@UT40SVCWEM001.atk.com> <4908306.bUS88zCuvA@peggleto-mobl5.ger.corp.intel.com> To: Paul Eggleton X-Mailer: Apple Mail (2.1993) X-OriginalArrivalTime: 27 Jan 2015 01:29:34.0606 (UTC) FILETIME=[B4FACAE0:01D039D0] Cc: yocto@yoctoproject.org, Gary Thomas Subject: Re: adding all the pieces of WiFi to core-image-minimal 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: Tue, 27 Jan 2015 01:29:47 -0000 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Okay, here=E2=80=99s the answer for me. It should never have been = core-image-minimal. I just view that as not core-image-sato, meaning no = gui. If you take standard dizzy and change machine to nuc, then bitbake = core-image-base, you get all the wifi, wpa-supplicant that you need. So the trivial answer was that core-image-base is the console, CLI = version I needed to start with all along. Thanks for all the help. Jim A > On Jan 26, 2015, at 6:22 PM, Paul Eggleton = wrote: >=20 > On Monday 26 January 2015 16:37:37 Jim Abernathy wrote: >>> From: Thomas.Moore2@ATK.COM >>> To: jfabernathy@outlook.com >>> CC: opensource@keylevel.com; yocto@yoctoproject.org; = gary@mlbassoc.com >>> Subject: RE: [yocto] adding all the pieces of WiFi to = core-image-minimal >>> Date: Mon, 26 Jan 2015 21:04:54 +0000 >>>=20 >>> For now, I'd just get everything working with the local.conf: >>>=20 >>> DISTRO_FEATURES +=3D "wifi" >>>=20 >>> bitbake core-image-base >>>=20 >>> Ultimately, you may want to make a custom machine and distro config = and >>> incorporate all of the things you've specified in local.conf in = those >>> configs. For example, I have a system that's an intel-based = single-board >>> computer with several expansion cards. I've created a machine >>> configuration to define the basic hardware components (features, = drivers, >>> etc). I've also created a custom distro because we prefer system = over >>> systemv and to include some other non-machine specific packages. = Finally, >>> I've created a custom image that includes some other extras. >>>=20 >>> The power of local.conf is nice, but it's a little tricky = transitioning >>> from that to more of a BSP approach like I described above because = most >>> people just say to add it to your local.conf, but that's not really = how >>> it should be done at the end. Think global variables vs classes. >>>=20 >>> P.S. Never edit anything in the poky folder. If you want to modify = an >>> existing recipe, create a new layer with a bbappend and modify away. >>>=20 >>> Thomas >>=20 >> I tried just adding DISTRO_FEATURES +=3D "wifi" to the local.conf and >> bitbaking core-image-base, but I got a lot of errors: >>=20 >> NOTE: Resolving any missing task queue dependencies >> ERROR: Nothing PROVIDES 'glibc' >> ERROR: glibc was skipped: missing required distro feature 'ipv4' (not = in >> DISTRO_FEATURES) ERROR: Required build target 'core-image-base' has = no >> buildable providers. Missing or unbuildable dependency chain was: >=20 > You're getting this error because you're actually replacing the value = with=20 > "wifi" not adding it, because the default value is actually set = *after*=20 > local.conf is parsed using ?=3D, so having set a value in local.conf, = it's=20 > already set and thus ?=3D has no effect. Then we get to parsing the = glibc recipe=20 > and that immediately fails because it states that all features in=20 > DISTRO_FEATURES_LIBC are required, and you've removed those. (As a = side note I=20 > really dislike how this latter bit has been implemented, but at least = it=20 > breaks early rather than what used to happen where it would get up to=20= > compiling glibc and then fail). The correct way to add to = DISTRO_FEATURES in=20 > local.conf would be to use DISTRO_FEATURES_append =3D " ..." (and = don't forget=20 > the leading space in the value). >=20 > However, that said, I'd guess that if your configuration is the = default poky or=20 > reasonably close to it, DISTRO_FEATURES already contains "wifi", so = there=20 > shouldn't even be a need to add it; particularly as you've already = suggested=20 > wifi was working with core-image-sato. >=20 > Cheers, > Paul >=20 > --=20 >=20 > Paul Eggleton > Intel Open Source Technology Centre