Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 355DBE00FA6; Sat, 3 Oct 2015 05:51:48 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HTML_MESSAGE,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low * trust * [98.138.91.22 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 * -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's * domain * 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily * valid * -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature Received: from nm28-vm0.bullet.mail.ne1.yahoo.com (nm28-vm0.bullet.mail.ne1.yahoo.com [98.138.91.22]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 9260FE00BC0 for ; Sat, 3 Oct 2015 05:51:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sbcglobal.net; s=s2048; t=1443876701; bh=1hs59w2TwwvgT2wdXCGzZVFokUzyB/AWu7OwTtIzjY4=; h=Date:From:Reply-To:To:In-Reply-To:References:Subject:From:Subject; b=N3HV5dSqdp/zqp6LBb/OiRF1od8pvleiX8QegzTiEnVQjdFGozS3mQg+IBcvmAmAtWHn/SWPehZ/Eb0NU9SkOVV0S3Zkp1nGelduW3cvqJOQWh+jx0kxXu/AR+tf2AKU/i4p/UvuW7oi4ABDhzJzpFWZh73pDuMsJFMI2hFlLtaEnafvuhMC+EmCsbSOfzKgzVFgWJZpzYw7W/OQoZG+oGWvfi6h2vTSiMSKfZOPWGBfcB91rA80uulWH6F/jPhUKE02b8cp9Rwz9PXrusFaIZJ2B/68r14U69mWhBm9EM8lTU6BH3qORDYAQj+Lp2q5H1iBN+OFLorTCaGYW0yZYg== Received: from [98.138.226.180] by nm28.bullet.mail.ne1.yahoo.com with NNFMP; 03 Oct 2015 12:51:41 -0000 Received: from [98.138.89.193] by tm15.bullet.mail.ne1.yahoo.com with NNFMP; 03 Oct 2015 12:51:41 -0000 Received: from [127.0.0.1] by omp1051.mail.ne1.yahoo.com with NNFMP; 03 Oct 2015 12:51:41 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 407823.78634.bm@omp1051.mail.ne1.yahoo.com X-YMail-OSG: FLtngxEVM1kQw2oLwoB2SdL8pulZUDlxT2G5DYsXrPc7yiokMtfRD_sVtKYB8s9 6lB.0vFah33eCzyWeqADdiCFQ5bAifD4heWSYc.iHRf9L5oDxtbxw9a2mWlD.8_zp0v2DjEkykHD oxCPCnuE2c9uLvPzDLw84qNv6k7y_kL2CM_IslougQ8KhC2iPI1jim29g.aPmjMSimIxX9Xb0HEw dSVX9OCkD3v4wqW2tn1F39IeKN2YAWvZwNeWjhC0C_eXvS473vDdHLa9TOWvgq5bRwFlYGxKNV6W 4KGbF5wPXbkUh.BbLm6O7emxzaHGH35oQSuSNi3W2_dJ5Q1EEkb9CMMrEroPvzFcUm5QOvfiRAI2 07kqAkRC5omFSL4W.h4Y2Moq9Hu.txhfzc.u27UFPhkUIAqIrrEQdPL_hU1sCVx5e6JyFbY6RV.e 3lSzY7lvDVRowiIO0awDURYMi71PYPjboFheFPsr9FMgBX9dT2z5rN50.gdVKs0Fcty3THMXvpBL t9i37ROpl3kp5QDTEBgPJca2BLJ_vrdFFa99JILNq4EtWNmvov6Priv_tbDBP2ow- Received: by 98.138.101.165; Sat, 03 Oct 2015 12:51:40 +0000 Date: Sat, 3 Oct 2015 12:51:40 +0000 (UTC) From: Edward Vidal To: "yocto@yoctoproject.org" Message-ID: <246328473.707613.1443876700452.JavaMail.yahoo@mail.yahoo.com> In-Reply-To: References: MIME-Version: 1.0 Subject: Re: yocto Digest, Vol 61, Issue 13 X-BeenThere: yocto@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list Reply-To: Edward Vidal List-Id: Discussion of all things Yocto Project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Oct 2015 12:51:48 -0000 Content-Type: multipart/alternative; boundary="----=_Part_707612_1684645445.1443876700443" ------=_Part_707612_1684645445.1443876700443 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi All, After installing linux-firmware and "rfkill unblock all".Then at the consol= e Enabled wireless and provided the psk manually the wireless is working.I = now have 2 Raspberry Pi 2B running RaspBian and 1 Raspberry Pi 2B running Y= octo core-image-sato all wireless. Thanks for the help.=C2=A0Edward Vidal Jr. e-mail develone@sbcglobal.net 9= 15-595-1613=20 On Friday, October 2, 2015 3:38 PM, "yocto-request@yoctoproject.org" <= yocto-request@yoctoproject.org> wrote: =20 Send yocto mailing list submissions to =C2=A0=C2=A0=C2=A0 yocto@yoctoproject.org To subscribe or unsubscribe via the World Wide Web, visit =C2=A0=C2=A0=C2=A0 https://lists.yoctoproject.org/listinfo/yocto or, via email, send a message with subject or body 'help' to =C2=A0=C2=A0=C2=A0 yocto-request@yoctoproject.org You can reach the person managing the list at =C2=A0=C2=A0=C2=A0 yocto-owner@yoctoproject.org When replying, please edit your Subject line so it is more specific than "Re: Contents of yocto digest..." Today's Topics: =C2=A0 1. Re: [meta-raspberrypi][PATCH] userland: Fix multiple inline =C2=A0 =C2=A0 =C2=A0 issues while building with gcc 5.x (Andrei Gherzan) =C2=A0 2. Re: [meta-raspberrypi] compiling userland (Andrei Gherzan) =C2=A0 3. Re: [meta-raspberrypi] compiling userland (Andrei Gherzan) =C2=A0 4. Re: wpa_supplicant on Raspberry Pi 2B (Edward Vidal) ---------------------------------------------------------------------- Message: 1 Date: Fri, 2 Oct 2015 23:29:46 +0200 From: Andrei Gherzan To: Tom Doehring Cc: yocto@yoctoproject.org Subject: Re: [yocto] [meta-raspberrypi][PATCH] userland: Fix multiple =C2=A0=C2=A0=C2=A0 inline issues while building with gcc 5.x Message-ID: <20151002212946.GA11827@resin> Content-Type: text/plain; charset=3Dus-ascii On Sun, Sep 27, 2015 at 03:34:14PM +0200, Tom Doehring wrote: > Building userland source with gcc 5.x causes multiple issues such as: >=20 > vcos_thread.h:186:15: warning: inline function 'vcos_thread_get_affinity'= declared but never defined > |=C2=A0 VCOS_UNSIGNED vcos_thread_get_affinity(VCOS_THREAD_T *thread); >=20 > The following patches fixes these issues and allows building userland on = the current > poky master branch. >=20 > Signed-off-by: Tom Doehring > --- >=C2=A0 .../userland/0001-Use-newer-POSIX-macro.patch=C2=A0 =C2=A0 =C2=A0 |= 35 ---------------------- >=C2=A0 .../userland/0001-fix-gcc-5.x-inlines.patch=C2=A0 =C2=A0 =C2=A0 =C2= =A0 | 26 ++++++++++++++++ >=C2=A0 .../userland/userland/0002-fix-musl-build.patch=C2=A0 =C2=A0 | 22 += +++++++++++++ >=C2=A0 .../0003-fix-alloc-size-uninitialized.patch=C2=A0 =C2=A0 =C2=A0 =C2= =A0 | 13 ++++++++ >=C2=A0 recipes-graphics/userland/userland_git.bb=C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 | 13 +++++--- >=C2=A0 5 files changed, 70 insertions(+), 39 deletions(-) >=C2=A0 delete mode 100644 recipes-graphics/userland/userland/0001-Use-newe= r-POSIX-macro.patch >=C2=A0 create mode 100644 recipes-graphics/userland/userland/0001-fix-gcc-= 5.x-inlines.patch >=C2=A0 create mode 100644 recipes-graphics/userland/userland/0002-fix-musl= -build.patch >=C2=A0 create mode 100644 recipes-graphics/userland/userland/0003-fix-allo= c-size-uninitialized.patch >=20 Tested on GCC 5.2.0 and worked fine. Merged to master. Thank you. --=20 Andrei Gherzan ------------------------------ Message: 2 Date: Fri, 2 Oct 2015 23:33:35 +0200 From: Andrei Gherzan To: Tom Martin Cc: "yocto@yoctoproject.org" Subject: Re: [yocto] [meta-raspberrypi] compiling userland Message-ID: <20151002213335.GA3484@resin> Content-Type: text/plain; charset=3Dus-ascii Hi Tom, On Fri, Sep 25, 2015 at 01:19:43AM +0200, Tom Martin wrote: > i'm completly new to yocta and doing my first steps. > > plan is to build a system with a small footprint for low-latency video > wifibroadcast. > > first steps are trying to build rpi-test-image including omxplayer. but > compiling fails when compiling userland. > > last lines before the failure are. am i missing just something basic? This should be now fixed in master. Could you give it a try? -- Andrei Gherzan ------------------------------ Message: 3 Date: Fri, 2 Oct 2015 23:34:56 +0200 From: Andrei Gherzan To: Andreas M?ller Cc: "yocto@yoctoproject.org" Subject: Re: [yocto] [meta-raspberrypi] compiling userland Message-ID: <20151002213456.GB3484@resin> Content-Type: text/plain; charset=3Diso-8859-1 On Sun, Sep 27, 2015 at 10:24:28PM +0200, Andreas M?ller wrote: > On Fri, Sep 25, 2015 at 6:42 AM, Khem Raj wrote: > > Can you try the patches from > > https://github.com/kraj/meta-raspberrypi/commits/kraj/master > > > Hi Khem, > > Because of running into same issues I've tried your branch and get > errors as attached with current oe-core. > > Off-topic note: I think this layer is totally under-maintained. There > were many patches send that were not even commented. This ends up in > forks (e.g yours - and yes I've seen your efforts in sending patches) > which should be avoided. > Started to get back on track. Hope this won't happen again. -- Andrei Gherzan ------------------------------ Message: 4 Date: Fri, 2 Oct 2015 21:37:56 +0000 (UTC) From: Edward Vidal To: "yocto@yoctoproject.org" , =C2=A0=C2=A0=C2=A0 "danielhilst@gmail.com" Subject: Re: [yocto] wpa_supplicant on Raspberry Pi 2B Message-ID: =C2=A0=C2=A0=C2=A0 <962916176.503077.1443821876374.JavaMail.yahoo@mail.yaho= o.com> Content-Type: text/plain; charset=3D"utf-8" Hi all,Still no success getting wifi working.Any and all help appreciated. Created a new image which installed 46 new rpms linux-firmware see below. ? ps -ax | grep wpa_supplicant ? 503 ???????? S????? 0:00 /usr/sbin/wpa_supplicant -u ? 704 pts/0??? R+???? 0:00 grep wpa_supplicant root@raspberrypi2:~# wpa_cli stat Failed to connect to non-global ctrl_ifname: (nil)? error: Success root@raspberrypi2:~# wpa_cli stat Failed to connect to non-global ctrl_ifname: (nil)? error: Success root@raspberrypi2:~# wpa_supplicant -ddd -B? -i wlan0 -D nl80211 -c /etc/wp= a_supplicant.conf wpa_supplicant v2.4 random: Trying to read entropy from /dev/random Successfully initialized wpa_supplicant Initializing interface 'wlan0' conf '/etc/wpa_supplicant.conf' driver 'nl80= 211' ctrl_interface 'N/A' bridge 'N/A' Configuration file '/etc/wpa_supplicant.conf' -> '/etc/wpa_supplicant.conf' Reading configuration file '/etc/wpa_supplicant.conf' ctrl_interface=3D'/var/run/wpa_supplicant' ctrl_interface_group=3D'0' update_config=3D1 Line: 5 - start of a new network block scan_ssid=3D1 (0x1) ssid - hexdump_ascii(len=3D10): ???? 41 54 54 39 78 32 78 39 6a 37???????????????????? ATT9x2x9j7?????=20 PSK (ASCII passphrase) - hexdump_ascii(len=3D12): [REMOVED] proto: 0x1 key_mgmt: 0x2 PSK (from passphrase) - hexdump(len=3D32): [REMOVED] Priority group 0 ?? id=3D0 ssid=3D'ATT9x2x9j7' rfkill: initial event: idx=3D0 type=3D1 op=3D0 soft=3D1 hard=3D0 rfkill: WLAN soft blocked nl80211: Supported cipher 00-0f-ac:1 nl80211: Supported cipher 00-0f-ac:5 nl80211: Supported cipher 00-0f-ac:2 nl80211: Supported cipher 00-0f-ac:4 nl80211: Using driver-based off-channel TX nl80211: interface wlan0 in phy phy0 nl80211: Set mode ifindex 3 iftype 2 (STATION) nl80211: Subscribe to mgmt frames with non-AP handle 0x5a6e68 nl80211: Register frame type=3D0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=3D0x5a= 6e68 match=3D06 nl80211: Register frame type=3D0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=3D0x5a= 6e68 match=3D0a07 nl80211: Register frame type=3D0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=3D0x5a= 6e68 match=3D0a11 nl80211: Register frame type=3D0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=3D0x5a= 6e68 match=3D1101 nl80211: Register frame type=3D0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=3D0x5a= 6e68 match=3D1102 nl80211: Register frame type=3D0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=3D0x5a= 6e68 match=3D0505 nl80211: Could not yet enable interface 'wlan0' due to rfkill netlink: Operstate: ifindex=3D3 linkmode=3D1 (userspace-control), operstate= =3D5 (IF_OPER_DORMANT) nl80211: driver param=3D'(null)' Add interface wlan0 to a new radio phy0 nl80211: Regulatory information - country=3D00 nl80211: 2402-2472 @ 40 MHz 20 mBm nl80211: 2457-2482 @ 40 MHz 20 mBm (no IR) nl80211: 2474-2494 @ 20 MHz 20 mBm (no OFDM) (no IR) nl80211: 5170-5250 @ 160 MHz 20 mBm (no IR) nl80211: 5250-5330 @ 160 MHz 20 mBm (DFS) (no IR) nl80211: 5490-5730 @ 160 MHz 20 mBm (DFS) (no IR) nl80211: Added 802.11b mode based on 802.11g information wlan0: Own MAC address: 40:a5:ef:05:4d:01 wpa_driver_nl80211_set_key: ifindex=3D3 (wlan0) alg=3D0 addr=3D(nil) key_id= x=3D0 set_tx=3D0 seq_len=3D0 key_len=3D0 nl80211: set_key failed; err=3D-100 Network is down) wpa_driver_nl80211_set_key: ifindex=3D3 (wlan0) alg=3D0 addr=3D(nil) key_id= x=3D1 set_tx=3D0 seq_len=3D0 key_len=3D0 nl80211: set_key failed; err=3D-100 Network is down) wpa_driver_nl80211_set_key: ifindex=3D3 (wlan0) alg=3D0 addr=3D(nil) key_id= x=3D2 set_tx=3D0 seq_len=3D0 key_len=3D0 nl80211: set_key failed; err=3D-100 Network is down) wpa_driver_nl80211_set_key: ifindex=3D3 (wlan0) alg=3D0 addr=3D(nil) key_id= x=3D3 set_tx=3D0 seq_len=3D0 key_len=3D0 nl80211: set_key failed; err=3D-100 Network is down) wlan0: RSN: flushing PMKID list in the driver nl80211: Flush PMKIDs wlan0: Setting scan request: 0.100000 sec wlan0: WPS: UUID based on MAC address: 50fb4973-c5e3-5899-b3c0-27a64501d294 GnuTLS: Library version 3.3.14 (runtime) - 3.3.14 (build) EAPOL: SUPP_PAE entering state DISCONNECTED EAPOL: Supplicant port status: Unauthorized nl80211: Skip set_supp_port(unauthorized) while not associated EAPOL: KEY_RX entering state NO_KEY_RECEIVE EAPOL: SUPP_BE entering state INITIALIZE EAP: EAP entering state DISABLED Using existing control interface directory. ctrl_interface_group=3D0 wlan0: Added interface wlan0 wlan0: State: DISCONNECTED -> DISCONNECTED nl80211: Set wlan0 operstate 0->0 (DORMANT) netlink: Operstate: ifindex=3D3 linkmode=3D-1 (no change), operstate=3D5 (I= F_OPER_DORMANT) Daemonize.. root@raspberrypi2:~# wpa_cli stat Selected interface 'wlan0' wpa_state=3DINTERFACE_DISABLED address=3D40:a5:ef:05:4d:01 uuid=3D50fb4973-c5e3-5899-b3c0-27a64501d294 root@raspberrypi2:~# ifconfig wlan0 wlan0???? Link encap:Ethernet? HWaddr 40:A5:EF:05:4D:01?=20 ????????? BROADCAST MULTICAST? MTU:1500? Metric:1 ????????? RX packets:0 errors:0 dropped:0 overruns:0 frame:0 ????????? TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 ????????? collisions:0 txqueuelen:1000=20 ????????? RX bytes:0 (0.0 B)? TX bytes:0 (0.0 B) Thanks +linux-firmware-0.0+git0+3161bfa479-r0.all +linux-firmware-ar3k-0.0+git0+3161bfa479-r0.all +linux-firmware-ar9170-0.0+git0+3161bfa479-r0.all +linux-firmware-ath6k-0.0+git0+3161bfa479-r0.all +linux-firmware-ath9k-0.0+git0+3161bfa479-r0.all +linux-firmware-atheros-license-0.0+git0+3161bfa479-r0.all +linux-firmware-bcm4329-0.0+git0+3161bfa479-r0.all +linux-firmware-bcm4330-0.0+git0+3161bfa479-r0.all +linux-firmware-bcm4334-0.0+git0+3161bfa479-r0.all +linux-firmware-broadcom-license-0.0+git0+3161bfa479-r0.all +linux-firmware-dev-0.0+git0+3161bfa479-r0.all +linux-firmware-iwlwifi-135-6-0.0+git0+3161bfa479-r0.all +linux-firmware-iwlwifi-3160-7-0.0+git0+3161bfa479-r0.all +linux-firmware-iwlwifi-3160-8-0.0+git0+3161bfa479-r0.all +linux-firmware-iwlwifi-3160-9-0.0+git0+3161bfa479-r0.all +linux-firmware-iwlwifi-6000-4-0.0+git0+3161bfa479-r0.all +linux-firmware-iwlwifi-6000g2a-5-0.0+git0+3161bfa479-r0.all +linux-firmware-iwlwifi-6000g2a-6-0.0+git0+3161bfa479-r0.all +linux-firmware-iwlwifi-6000g2b-5-0.0+git0+3161bfa479-r0.all +linux-firmware-iwlwifi-6000g2b-6-0.0+git0+3161bfa479-r0.all +linux-firmware-iwlwifi-6050-4-0.0+git0+3161bfa479-r0.all +linux-firmware-iwlwifi-6050-5-0.0+git0+3161bfa479-r0.all +linux-firmware-iwlwifi-7260-7-0.0+git0+3161bfa479-r0.all +linux-firmware-iwlwifi-7260-8-0.0+git0+3161bfa479-r0.all +linux-firmware-iwlwifi-7260-9-0.0+git0+3161bfa479-r0.all +linux-firmware-iwlwifi-7265-8-0.0+git0+3161bfa479-r0.all +linux-firmware-iwlwifi-7265-9-0.0+git0+3161bfa479-r0.all +linux-firmware-iwlwifi-license-0.0+git0+3161bfa479-r0.all +linux-firmware-license-0.0+git0+3161bfa479-r0.all +linux-firmware-marvell-license-0.0+git0+3161bfa479-r0.all +linux-firmware-radeon-0.0+git0+3161bfa479-r0.all +linux-firmware-radeon-license-0.0+git0+3161bfa479-r0.all +linux-firmware-ralink-0.0+git0+3161bfa479-r0.all +linux-firmware-ralink-license-0.0+git0+3161bfa479-r0.all +linux-firmware-rtl-license-0.0+git0+3161bfa479-r0.all +linux-firmware-rtl8192ce-0.0+git0+3161bfa479-r0.all +linux-firmware-rtl8192cu-0.0+git0+3161bfa479-r0.all +linux-firmware-rtl8192su-0.0+git0+3161bfa479-r0.all +linux-firmware-sd8686-0.0+git0+3161bfa479-r0.all +linux-firmware-sd8787-0.0+git0+3161bfa479-r0.all +linux-firmware-sd8797-0.0+git0+3161bfa479-r0.all +linux-firmware-ti-connectivity-license-0.0+git0+3161bfa479-r0.all +linux-firmware-vt6656-0.0+git0+3161bfa479-r0.all +linux-firmware-vt6656-license-0.0+git0+3161bfa479-r0.all +linux-firmware-wl12xx-0.0+git0+3161bfa479-r0.all +linux-firmware-wl18xx-0.0+git0+3161bfa479-r0.all ?Edward Vidal Jr. e-mail develone@sbcglobal.net 915-595-1613 -------------- next part -------------- An HTML attachment was scrubbed... URL: ------------------------------ --=20 _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto End of yocto Digest, Vol 61, Issue 13 ************************************* ------=_Part_707612_1684645445.1443876700443 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi All,

After installing linu= x-firmware and "rfkill unblock all".
Then at the = console Enabled wireless and provided the psk manually the wireless is work= ing.
I now have 2 Raspberr= y Pi 2B running RaspBian and 1 Raspberry Pi 2B running Yocto core-image-sato all wirele= ss.

Thanks for the help.
 
Edward Vidal Jr. e-mail develone@sbcglobal.net 915-595-1613<= /div>


On Friday, October 2, 2015 3:38 PM, "yocto-req= uest@yoctoproject.org" <yocto-request@yoctoproject.org> wrote:


Send yocto mailing li= st submissions to
    yocto@yoctoproject.org=

To subscribe or unsubscribe via the World Wide Web, visit
 =    https://lists.yoctoproject.org/listinfo/yocto
or, via = email, send a message with subject or body 'help' to
    = yocto-request@yoctoproject.org

You can = reach the person managing the list at
    yocto-owner@yoctoproject.org

When replying, please edit yo= ur Subject line so it is more specific
than "Re: Contents of yocto diges= t..."


Today's Topics:

  1. Re: [meta-raspberrypi][P= ATCH] userland: Fix multiple inline
      issues while bu= ilding with gcc 5.x (Andrei Gherzan)
  2. Re: [meta-raspberrypi] c= ompiling userland (Andrei Gherzan)
  3. Re: [meta-raspberrypi] com= piling userland (Andrei Gherzan)
  4. Re: wpa_supplicant on Raspbe= rry Pi 2B (Edward Vidal)


---------------------------------------= -------------------------------

Message: 1
Date: Fri, 2 Oct 2015 = 23:29:46 +0200
From: Andrei Gherzan <andrei@gherzan.ro>
To: = Tom Doehring <toolmmy@googlemail.com>
Cc: y= octo@yoctoproject.org
Subject: Re: [yocto] [meta-raspberrypi][PATCH]= userland: Fix multiple
    inline issues while building = with gcc 5.x
Message-ID: <20151002212946.GA11827= @resin>
Content-Type: text/plain; charset=3Dus-ascii

On Su= n, Sep 27, 2015 at 03:34:14PM +0200, Tom Doehring wrote:
> Building u= serland source with gcc 5.x causes multiple issues such as:
>
>= ; vcos_thread.h:186:15: warning: inline function 'vcos_thread_get_affinity'= declared but never defined
> |  VCOS_UNSIGNED vcos_thread_get_a= ffinity(VCOS_THREAD_T *thread);
>
> The following patches fixe= s these issues and allows building userland on the current
> poky mas= ter branch.
>
> Signed-off-by: Tom Doehring <toolm= my@googlemail.com>
> ---
>  .../userland/0001-Use-n= ewer-POSIX-macro.patch      | 35 ----------------------
&= gt;  .../userland/0001-fix-gcc-5.x-inlines.patch      &= nbsp; | 26 ++++++++++++++++
>  .../userland/userland/0002-fix-mu= sl-build.patch    | 22 ++++++++++++++
>  .../0003-fix-= alloc-size-uninitialized.patch        | 13 ++++++++
= >  recipes-graphics/userland/userland_git.bb      &n= bsp;   | 13 +++++---
>  5 files changed, 70 insertions(+), = 39 deletions(-)
>  delete mode 100644 recipes-graphics/userland/= userland/0001-Use-newer-POSIX-macro.patch
>  create mode 100644 = recipes-graphics/userland/userland/0001-fix-gcc-5.x-inlines.patch
>&n= bsp; create mode 100644 recipes-graphics/userland/userland/0002-fix-musl-bu= ild.patch
>  create mode 100644 recipes-graphics/userland/userla= nd/0003-fix-alloc-size-uninitialized.patch
>

Tested on GCC 5.= 2.0 and worked fine. Merged to master. Thank you.

--
Andrei Gher= zan


------------------------------

Message: 2
Date: Fr= i, 2 Oct 2015 23:33:35 +0200
From: Andrei Gherzan <andrei@gherzan.ro>
To: Tom Martin <
t.martin@eins-plus.de>
Cc: "<= a ymailto=3D"mailto:yocto@yoctoproject.org" href=3D"mailto:yocto@yoctoproje= ct.org">yocto@yoctoproject.org" <yocto@yoctoproject.org= >
Subject: Re: [yocto] [meta-raspberrypi] compiling userland
Messa= ge-ID: <20151002213335.GA3484@resin>
Conten= t-Type: text/plain; charset=3Dus-ascii

Hi Tom,

On Fri, Sep 25= , 2015 at 01:19:43AM +0200, Tom Martin wrote:
> i'm completly new to = yocta and doing my first steps.
>
> plan is to build a system w= ith a small footprint for low-latency video
> wifibroadcast.
><= br>> first steps are trying to build rpi-test-image including omxplayer.= but
> compiling fails when compiling userland.
>
> last = lines before the failure are. am i missing just something basic?

Thi= s should be now fixed in master. Could you give it a try?

--
Andr= ei Gherzan


------------------------------

Message: 3
D= ate: Fri, 2 Oct 2015 23:34:56 +0200
From: Andrei Gherzan <andrei@gher= zan.ro>
To: Andreas M?ller <schnitzeltony= @googlemail.com>
Cc: "yocto@yoctoproject.org" <yocto@yoctoproject.org>
Subject: Re: [yocto] [meta-raspber= rypi] compiling userland
Message-ID: <201510022134= 56.GB3484@resin>
Content-Type: text/plain; charset=3Diso-8859-1
On Sun, Sep 27, 2015 at 10:24:28PM +0200, Andreas M?ller wrote:
&g= t; On Fri, Sep 25, 2015 at 6:42 AM, Khem Raj <raj.khem@gmail.com>= ; wrote:
> > Can you try the patches from
> > https://github.com/kraj/meta-raspberrypi/commits/kraj/master
&g= t; >
> Hi Khem,
>
> Because of running into same issue= s I've tried your branch and get
> errors as attached with current oe= -core.
>
> Off-topic note: I think this layer is totally under-= maintained. There
> were many patches send that were not even comment= ed. This ends up in
> forks (e.g yours - and yes I've seen your effor= ts in sending patches)
> which should be avoided.
>

Star= ted to get back on track. Hope this won't happen again.


--
An= drei Gherzan


------------------------------

Message: 4Date: Fri, 2 Oct 2015 21:37:56 +0000 (UTC)
From: Edward Vidal <develone@sbcglobal.net>
To: "yocto@yoctoproject.org<= /a>" <yocto@yoctoproject.org>,
    "danielhilst@gmail.com" <danielhilst@gmail.com>Subject: Re: [yocto] wpa_supplicant on Raspberry Pi 2B
Message-ID:
&= nbsp;   <962916176.503077.1443821876374.JavaMail.yah= oo@mail.yahoo.com>
Content-Type: text/plain; charset=3D"utf-8"
Hi all,Still no success getting wifi working.Any and all help apprecia= ted.
Created a new image which installed 46 new rpms linux-firmware see = below.
?
ps -ax | grep wpa_supplicant
? 503 ???????? S????? 0:00 /= usr/sbin/wpa_supplicant -u
? 704 pts/0??? R+???? 0:00 grep wpa_supplican= t

root@raspberrypi2:~# wpa_cli stat
Failed to connect to non-g= lobal ctrl_ifname: (nil)? error: Success
root@raspberrypi2:~# wpa_cli= stat
Failed to connect to non-global ctrl_ifname: (nil)? error: Success=

root@raspberrypi2:~# wpa_supplicant -ddd -B? -i wlan0 -D nl80211= -c /etc/wpa_supplicant.conf
wpa_supplicant v2.4
random: Trying to re= ad entropy from /dev/random
Successfully initialized wpa_supplicant
I= nitializing interface 'wlan0' conf '/etc/wpa_supplicant.conf' driver 'nl802= 11' ctrl_interface 'N/A' bridge 'N/A'
Configuration file '/etc/wpa_suppl= icant.conf' -> '/etc/wpa_supplicant.conf'
Reading configuration file = '/etc/wpa_supplicant.conf'
ctrl_interface=3D'/var/run/wpa_supplicant'ctrl_interface_group=3D'0'
update_config=3D1
Line: 5 - start of a ne= w network block
scan_ssid=3D1 (0x1)
ssid - hexdump_ascii(len=3D10):???? 41 54 54 39 78 32 78 39 6a 37???????????????????? ATT9x2x9j7????? PSK (ASCII passphrase) - hexdump_ascii(len=3D12): [REMOVED]
proto: 0x1=
key_mgmt: 0x2
PSK (from passphrase) - hexdump(len=3D32): [REMOVED]Priority group 0
?? id=3D0 ssid=3D'ATT9x2x9j7'
rfkill: initial even= t: idx=3D0 type=3D1 op=3D0 soft=3D1 hard=3D0
rfkill: WLAN soft blockednl80211: Supported cipher 00-0f-ac:1
nl80211: Supported cipher 00-0f-a= c:5
nl80211: Supported cipher 00-0f-ac:2
nl80211: Supported cipher 00= -0f-ac:4
nl80211: Using driver-based off-channel TX
nl80211: interfac= e wlan0 in phy phy0
nl80211: Set mode ifindex 3 iftype 2 (STATION)
nl= 80211: Subscribe to mgmt frames with non-AP handle 0x5a6e68
nl80211: Reg= ister frame type=3D0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=3D0x5a6e68 match= =3D06
nl80211: Register frame type=3D0xd0 (WLAN_FC_STYPE_ACTION) nl_hand= le=3D0x5a6e68 match=3D0a07
nl80211: Register frame type=3D0xd0 (WLAN_FC_= STYPE_ACTION) nl_handle=3D0x5a6e68 match=3D0a11
nl80211: Register frame = type=3D0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=3D0x5a6e68 match=3D1101
nl8= 0211: Register frame type=3D0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=3D0x5a6e6= 8 match=3D1102
nl80211: Register frame type=3D0xd0 (WLAN_FC_STYPE_ACTION= ) nl_handle=3D0x5a6e68 match=3D0505
nl80211: Could not yet enable interf= ace 'wlan0' due to rfkill
netlink: Operstate: ifindex=3D3 linkmode=3D1 (= userspace-control), operstate=3D5 (IF_OPER_DORMANT)
nl80211: driver para= m=3D'(null)'
Add interface wlan0 to a new radio phy0
nl80211: Regulat= ory information - country=3D00
nl80211: 2402-2472 @ 40 MHz 20 mBm
nl8= 0211: 2457-2482 @ 40 MHz 20 mBm (no IR)
nl80211: 2474-2494 @ 20 MHz 20 m= Bm (no OFDM) (no IR)
nl80211: 5170-5250 @ 160 MHz 20 mBm (no IR)
nl80= 211: 5250-5330 @ 160 MHz 20 mBm (DFS) (no IR)
nl80211: 5490-5730 @ 160 M= Hz 20 mBm (DFS) (no IR)
nl80211: Added 802.11b mode based on 802.11g inf= ormation
wlan0: Own MAC address: 40:a5:ef:05:4d:01
wpa_driver_nl80211= _set_key: ifindex=3D3 (wlan0) alg=3D0 addr=3D(nil) key_idx=3D0 set_tx=3D0 s= eq_len=3D0 key_len=3D0
nl80211: set_key failed; err=3D-100 Network is do= wn)
wpa_driver_nl80211_set_key: ifindex=3D3 (wlan0) alg=3D0 addr=3D(nil)= key_idx=3D1 set_tx=3D0 seq_len=3D0 key_len=3D0
nl80211: set_key failed;= err=3D-100 Network is down)
wpa_driver_nl80211_set_key: ifindex=3D3 (wl= an0) alg=3D0 addr=3D(nil) key_idx=3D2 set_tx=3D0 seq_len=3D0 key_len=3D0nl80211: set_key failed; err=3D-100 Network is down)
wpa_driver_nl80211= _set_key: ifindex=3D3 (wlan0) alg=3D0 addr=3D(nil) key_idx=3D3 set_tx=3D0 s= eq_len=3D0 key_len=3D0
nl80211: set_key failed; err=3D-100 Network is do= wn)
wlan0: RSN: flushing PMKID list in the driver
nl80211: Flush PMKI= Ds
wlan0: Setting scan request: 0.100000 sec
wlan0: WPS: UUID based o= n MAC address: 50fb4973-c5e3-5899-b3c0-27a64501d294
GnuTLS: Library vers= ion 3.3.14 (runtime) - 3.3.14 (build)
EAPOL: SUPP_PAE entering state DIS= CONNECTED
EAPOL: Supplicant port status: Unauthorized
nl80211: Skip s= et_supp_port(unauthorized) while not associated
EAPOL: KEY_RX entering s= tate NO_KEY_RECEIVE
EAPOL: SUPP_BE entering state INITIALIZE
EAP: EAP= entering state DISABLED
Using existing control interface directory.
= ctrl_interface_group=3D0
wlan0: Added interface wlan0
wlan0: State: D= ISCONNECTED -> DISCONNECTED
nl80211: Set wlan0 operstate 0->0 (DOR= MANT)
netlink: Operstate: ifindex=3D3 linkmode=3D-1 (no change), opersta= te=3D5 (IF_OPER_DORMANT)
Daemonize..

root@raspberrypi2:~# wpa_= cli stat
Selected interface 'wlan0'
wpa_state=3DINTERFACE_DISABLEDaddress=3D40:a5:ef:05:4d:01
uuid=3D50fb4973-c5e3-5899-b3c0-27a64501d294=

root@raspberrypi2:~# ifconfig wlan0
wlan0???? Link encap:Ethe= rnet? HWaddr 40:A5:EF:05:4D:01?
????????? BROADCAST MULTICAST? MTU:1500= ? Metric:1
????????? RX packets:0 errors:0 dropped:0 overruns:0 frame:0<= br>????????? TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
??????= ??? collisions:0 txqueuelen:1000
????????? RX bytes:0 (0.0 B)? TX bytes= :0 (0.0 B)

Thanks
+linux-firmware-0.0+git0+3161bfa479-r0.all
+= linux-firmware-ar3k-0.0+git0+3161bfa479-r0.all
+linux-firmware-ar9170-0.= 0+git0+3161bfa479-r0.all
+linux-firmware-ath6k-0.0+git0+3161bfa479-r0.al= l
+linux-firmware-ath9k-0.0+git0+3161bfa479-r0.all
+linux-firmware-at= heros-license-0.0+git0+3161bfa479-r0.all
+linux-firmware-bcm4329-0.0+git= 0+3161bfa479-r0.all
+linux-firmware-bcm4330-0.0+git0+3161bfa479-r0.all+linux-firmware-bcm4334-0.0+git0+3161bfa479-r0.all
+linux-firmware-bro= adcom-license-0.0+git0+3161bfa479-r0.all
+linux-firmware-dev-0.0+git0+31= 61bfa479-r0.all
+linux-firmware-iwlwifi-135-6-0.0+git0+3161bfa479-r0.all=
+linux-firmware-iwlwifi-3160-7-0.0+git0+3161bfa479-r0.all
+linux-fir= mware-iwlwifi-3160-8-0.0+git0+3161bfa479-r0.all
+linux-firmware-iwlwifi-= 3160-9-0.0+git0+3161bfa479-r0.all
+linux-firmware-iwlwifi-6000-4-0.0+git= 0+3161bfa479-r0.all
+linux-firmware-iwlwifi-6000g2a-5-0.0+git0+3161bfa47= 9-r0.all
+linux-firmware-iwlwifi-6000g2a-6-0.0+git0+3161bfa479-r0.all+linux-firmware-iwlwifi-6000g2b-5-0.0+git0+3161bfa479-r0.all
+linux-fir= mware-iwlwifi-6000g2b-6-0.0+git0+3161bfa479-r0.all
+linux-firmware-iwlwi= fi-6050-4-0.0+git0+3161bfa479-r0.all
+linux-firmware-iwlwifi-6050-5-0.0+= git0+3161bfa479-r0.all
+linux-firmware-iwlwifi-7260-7-0.0+git0+3161bfa47= 9-r0.all
+linux-firmware-iwlwifi-7260-8-0.0+git0+3161bfa479-r0.all
+l= inux-firmware-iwlwifi-7260-9-0.0+git0+3161bfa479-r0.all
+linux-firmware-= iwlwifi-7265-8-0.0+git0+3161bfa479-r0.all
+linux-firmware-iwlwifi-7265-9= -0.0+git0+3161bfa479-r0.all
+linux-firmware-iwlwifi-license-0.0+git0+316= 1bfa479-r0.all
+linux-firmware-license-0.0+git0+3161bfa479-r0.all
+li= nux-firmware-marvell-license-0.0+git0+3161bfa479-r0.all
+linux-firmware-= radeon-0.0+git0+3161bfa479-r0.all
+linux-firmware-radeon-license-0.0+git= 0+3161bfa479-r0.all
+linux-firmware-ralink-0.0+git0+3161bfa479-r0.all+linux-firmware-ralink-license-0.0+git0+3161bfa479-r0.all
+linux-firmwa= re-rtl-license-0.0+git0+3161bfa479-r0.all
+linux-firmware-rtl8192ce-0.0+= git0+3161bfa479-r0.all
+linux-firmware-rtl8192cu-0.0+git0+3161bfa479-r0.= all
+linux-firmware-rtl8192su-0.0+git0+3161bfa479-r0.all
+linux-firmw= are-sd8686-0.0+git0+3161bfa479-r0.all
+linux-firmware-sd8787-0.0+git0+31= 61bfa479-r0.all
+linux-firmware-sd8797-0.0+git0+3161bfa479-r0.all
+li= nux-firmware-ti-connectivity-license-0.0+git0+3161bfa479-r0.all
+linux-f= irmware-vt6656-0.0+git0+3161bfa479-r0.all
+linux-firmware-vt6656-license= -0.0+git0+3161bfa479-r0.all
+linux-firmware-wl12xx-0.0+git0+3161bfa479-r= 0.all
+linux-firmware-wl18xx-0.0+git0+3161bfa479-r0.all
?Edward Vidal= Jr. e-mail develone@sbcglobal.net 915-595-1613
-----------= --- next part --------------
An HTML attachment was scrubbed...
URL: = <http://lists.yoctoprojec= t.org/pipermail/yocto/attachments/20151002/c636a928/attachment.html>=

------------------------------

--
______________________= _________________________
yocto mailing list
yocto@yoctoproj= ect.org
https://lists.yoctoproject.org/listinfo/yocto

End of yocto Digest, Vol 61, Issue 13
********************************= *****


------=_Part_707612_1684645445.1443876700443--