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--