[yocto] Wifi on wandboard with Yoct0 Morty

2017-07-07 Thread Umamahesh Yelchuruvenkata



Hi

I am trying to bring up Wifi on wandboard Rev C1 and using Yocto Morty version(2.2.2) , I downloaded the firmware bin files from following


wget -c 
https://git.kernel.org/cgit/linux/kerne ... 0-sdio.bin
wget -c 
https://rcn-ee.com/repos/git/meta-fsl-a ... 0-sdio.txt

Created a folder firmware/brcm under tmp/work/wandboard-fslc-linux-gnueabi/core-image-minimal/1.0-r0/rootfs/lib

Enabled the drivers,

<*> Broadcom FullMAC wireless cards support │ │ 
│ │ [*] SDIO bus interface support 

At the target getting following errors,

root@wandboard:~# dmesg | grep brcm
[ 1.739333] brcmfmac_sdio mmc1:0001:1: Direct firmware load for brcm/brcmfmac4330-sdio.bin failed with error -2
[ 1.748200] brcmfmac_sdio mmc1:0001:1: Falling back to user helper
[ 62.783879] brcmfmac: brcmf_sdio_htclk: HT Avail timeout (100): clkctl 0x50
[ 63.793963] brcmfmac: brcmf_sdio_htclk: HT Avail timeout (100): clkctl 0x50
root@wandboard:~# 


Please suggest

::DISCLAIMER::
The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only.E-mail transmission is not guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or may contain viruses in transmission. The e mail and its contents (with or without referred errors) shall therefore not attach any liability on the originator or HCL or its affiliates. Views or opinions, if any, presented in this email are solely those of the author and may not necessarily reflect the views or opinions of HCL or its affiliates. Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of this message without the prior written consent of authorized representative of HCL is strictly prohibited. If you have received this email in error please delete it and notify the sender immediately. Before opening any email and/or attachments, please check them for viruses and other defects.


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


Re: [yocto] Wifi on wandboard with Yoct0 Morty

2017-07-07 Thread Ayoub Zaki

Fo wandboard I use meta-freescale and meta-freescale-3rdparty layers.

Wifi works out of the box :-)


On 07.07.2017 09:59, Umamahesh Yelchuruvenkata wrote:

Hi
I am trying to bring up Wifi on wandboard Rev C1 and using Yocto Morty 
version(2.2.2) , I downloaded the firmware bin files from following


wget -c https://git.kernel.org/cgit/linux/kerne ... 0-sdio.bin 

wget -c https://rcn-ee.com/repos/git/meta-fsl-a ... 0-sdio.txt 



Created a folder firmware/brcm under 
tmp/work/wandboard-fslc-linux-gnueabi/core-image-minimal/1.0-r0/rootfs/lib


Enabled the drivers,

<*> Broadcom FullMAC wireless cards support │ │
│ │ [*] SDIO bus interface support

At the target getting following errors,

root@wandboard:~# dmesg | grep brcm
[ 1.739333] brcmfmac_sdio mmc1:0001:1: Direct firmware load for 
brcm/brcmfmac4330-sdio.bin failed with error -2

[ 1.748200] brcmfmac_sdio mmc1:0001:1: Falling back to user helper
[ 62.783879] brcmfmac: brcmf_sdio_htclk: HT Avail timeout (100): 
clkctl 0x50
[ 63.793963] brcmfmac: brcmf_sdio_htclk: HT Avail timeout (100): 
clkctl 0x50

root@wandboard:~#


Please suggest



::DISCLAIMER::


The contents of this e-mail and any attachment(s) are confidential and 
intended for the named recipient(s) only.
E-mail transmission is not guaranteed to be secure or error-free as 
information could be intercepted, corrupted,
lost, destroyed, arrive late or incomplete, or may contain viruses in 
transmission. The e mail and its contents
(with or without referred errors) shall therefore not attach any 
liability on the originator or HCL or its affiliates.
Views or opinions, if any, presented in this email are solely those of 
the author and may not necessarily reflect the
views or opinions of HCL or its affiliates. Any form of reproduction, 
dissemination, copying, disclosure, modification,
distribution and / or publication of this message without the prior 
written consent of authorized representative of
HCL is strictly prohibited. If you have received this email in error 
please delete it and notify the sender immediately.
Before opening any email and/or attachments, please check them for 
viruses and other defects.








--

Ayoub Zaki

ayoub.z...@embexus.com
Mobile: +49(0)176-62901545
Skype: ayoub.zaki_2
https://embexus.com

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


[yocto] [meta-qt4][PATCH] qmmp: Fix gcc-6 build error

2017-07-07 Thread Ricardo Ribalda Delgado
Invalid conversion (const).

Signed-off-by: Ricardo Ribalda Delgado 
---
 recipes-qt4/qt-apps/qmmp/invalid-conv.patch | 37 +
 recipes-qt4/qt-apps/qmmp_0.8.6.bb   |  1 +
 2 files changed, 38 insertions(+)
 create mode 100644 recipes-qt4/qt-apps/qmmp/invalid-conv.patch

diff --git a/recipes-qt4/qt-apps/qmmp/invalid-conv.patch 
b/recipes-qt4/qt-apps/qmmp/invalid-conv.patch
new file mode 100644
index ..f862d1bbd38d
--- /dev/null
+++ b/recipes-qt4/qt-apps/qmmp/invalid-conv.patch
@@ -0,0 +1,37 @@
+Upstream-Status: Inappropriate [current version does not have this plugin]
+diff --git a/src/plugins/Effect/srconverter/srconverter.cpp 
b/src/plugins/Effect/srconverter/srconverter.cpp
+index fcd77bc04cb7..873923e6219e 100644
+--- a/src/plugins/Effect/srconverter/srconverter.cpp
 b/src/plugins/Effect/srconverter/srconverter.cpp
+@@ -51,17 +51,18 @@ void SRConverter::applyEffect(Buffer *b)
+ {
+ if (m_src_state && b->nbytes > 0)
+ {
++  float *data_in = new float [m_src_data.input_frames * channels()];
+ m_src_data.end_of_input = 0;
+ m_src_data.input_frames = b->nbytes / m_sz / channels();
+-m_src_data.data_in = new float [m_src_data.input_frames * channels()];
+ m_src_data.output_frames = m_src_data.src_ratio * 
m_src_data.input_frames + 1;
+ m_src_data.data_out = new float [m_src_data.output_frames * 
channels()];
+ 
+ 
+ if(format() == Qmmp::PCM_S16LE)
+ {
+-src_short_to_float_array((short*) b->data, m_src_data.data_in,
++src_short_to_float_array((short*) b->data, data_in,
+  m_src_data.input_frames * channels());
++m_src_data.data_in = data_in;
+ }
+ else
+ {
+@@ -75,8 +76,9 @@ void SRConverter::applyEffect(Buffer *b)
+ data[i] |= 0xff00;
+ }
+ }
+-src_int_to_float_array((int*) b->data, m_src_data.data_in,
++src_int_to_float_array((int*) b->data, data_in,
+m_src_data.input_frames * channels());
++m_src_data.data_in = data_in;
+ }
+ 
+ if ((m_srcError = src_process(m_src_state, &m_src_data)) > 0)
diff --git a/recipes-qt4/qt-apps/qmmp_0.8.6.bb 
b/recipes-qt4/qt-apps/qmmp_0.8.6.bb
index e68ad0f189a4..acb7dad34600 100644
--- a/recipes-qt4/qt-apps/qmmp_0.8.6.bb
+++ b/recipes-qt4/qt-apps/qmmp_0.8.6.bb
@@ -10,6 +10,7 @@ DEPENDS = "taglib libmad libvorbis libogg alsa-lib 
libsndfile1 libsamplerate0 cu
 
 SRC_URI = "http://qmmp.ylsoftware.com/files/${BP}.tar.bz2 \
file://no-host-paths.patch \
+   file://invalid-conv.patch \
   "
 
 SRC_URI[md5sum] = "67e96e89c61b7432e5a12f555db702b1"
-- 
2.13.2

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


[yocto] [meta-qt4][PATCH] qt4: Fix build with moc4 and boost

2017-07-07 Thread Ricardo Ribalda Delgado
Signed-off-by: Ricardo Ribalda Delgado 
---
 recipes-qt4/qt4/qt4-4.8.7.inc|  1 +
 ...everywhere-opensource-src-4.8.6-QTBUG-22829.patch | 20 
 recipes-qt4/qt4/qt4-native.inc   |  1 +
 3 files changed, 22 insertions(+)
 create mode 100644 
recipes-qt4/qt4/qt4-4.8.7/qt-everywhere-opensource-src-4.8.6-QTBUG-22829.patch

diff --git a/recipes-qt4/qt4/qt4-4.8.7.inc b/recipes-qt4/qt4/qt4-4.8.7.inc
index 16b22a808a62..4bade85abe98 100644
--- a/recipes-qt4/qt4/qt4-4.8.7.inc
+++ b/recipes-qt4/qt4/qt4-4.8.7.inc
@@ -34,6 +34,7 @@ SRC_URI = 
"http://download.qt-project.org/official_releases/qt/4.8/${PV}/qt-ever
file://g++.conf \
file://linux.conf \
file://fix-for-mips-n32.patch \
+  file://qt-everywhere-opensource-src-4.8.6-QTBUG-22829.patch \
"
 
 SRC_URI[md5sum] = "d990ee66bf7ab0c785589776f35ba6ad"
diff --git 
a/recipes-qt4/qt4/qt4-4.8.7/qt-everywhere-opensource-src-4.8.6-QTBUG-22829.patch
 
b/recipes-qt4/qt4/qt4-4.8.7/qt-everywhere-opensource-src-4.8.6-QTBUG-22829.patch
new file mode 100644
index ..2b9da641e42b
--- /dev/null
+++ 
b/recipes-qt4/qt4/qt4-4.8.7/qt-everywhere-opensource-src-4.8.6-QTBUG-22829.patch
@@ -0,0 +1,20 @@
+Error described on: https://bugzilla.redhat.com/show_bug.cgi?id=1396755
+
+Upstream-Status: Backport
+diff -up qt-everywhere-opensource-src-4.8.7/src/tools/moc/main.cpp.QTBUG-22829 
qt-everywhere-opensource-src-4.8.7/src/tools/moc/main.cpp
+--- qt-everywhere-opensource-src-4.8.7/src/tools/moc/main.cpp.QTBUG-22829  
2015-05-07 09:14:44.0 -0500
 qt-everywhere-opensource-src-4.8.7/src/tools/moc/main.cpp  2016-12-08 
12:32:46.638962448 -0600
+@@ -188,8 +188,12 @@ int runMoc(int _argc, char **_argv)
+ pp.macros["Q_MOC_RUN"];
+ pp.macros["__cplusplus"];
+ 
+-// Workaround a bug while parsing the boost/type_traits/has_operator.hpp 
header. See QTBUG-22829
++// Workaround a bugs while parsing some boost headers. See QTBUG-22829 
+ pp.macros["BOOST_TT_HAS_OPERATOR_HPP_INCLUDED"];
++pp.macros["BOOST_LEXICAL_CAST_INCLUDED"];
++pp.macros["BOOST_NEXT_PRIOR_HPP_INCLUDED"];
++pp.macros["BOOST_TYPE_TRAITS_HPP"];
++pp.macros["_SYS_SYSMACROS_H_OUTER"];
+ 
+ QByteArray filename;
+ QByteArray output;
diff --git a/recipes-qt4/qt4/qt4-native.inc b/recipes-qt4/qt4/qt4-native.inc
index 5a873de4e8f4..c0d6b3cb4cd4 100644
--- a/recipes-qt4/qt4/qt4-native.inc
+++ b/recipes-qt4/qt4/qt4-native.inc
@@ -21,6 +21,7 @@ SRC_URI = 
"http://download.qt-project.org/official_releases/qt/4.8/${PV}/qt-ever
   file://gcc-6.patch \
file://g++.conf \
file://linux.conf \
+  file://qt-everywhere-opensource-src-4.8.6-QTBUG-22829.patch \
"
 
 UPSTREAM_CHECK_URI = "http://download.qt.io/official_releases/qt/4.8/";
-- 
2.13.2

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


Re: [yocto] Wifi on wandboard with Yoct0 Morty

2017-07-07 Thread Umamahesh Yelchuruvenkata



Please check the dmesg log posted, how to overcome the issue. Do you have procedure how to compile for meta-freescale and meta-freescale-3rdparty layers.


From: yocto-boun...@yoctoproject.org [yocto-boun...@yoctoproject.org] on behalf of Ayoub Zaki [ayoub.z...@embexus.com]
Sent: 07 July 2017 13:35
To: yocto@yoctoproject.org
Subject: Re: [yocto] Wifi on wandboard with Yoct0 Morty




Fo wandboard I use meta-freescale and meta-freescale-3rdparty layers.
Wifi works out of the box :-)


On 07.07.2017 09:59, Umamahesh Yelchuruvenkata wrote:


Hi 
I am trying to bring up Wifi on wandboard Rev C1 and using Yocto Morty version(2.2.2) , I downloaded the firmware bin files from following


wget -c 
https://git.kernel.org/cgit/linux/kerne ... 0-sdio.bin
wget -c 
https://rcn-ee.com/repos/git/meta-fsl-a ... 0-sdio.txt

Created a folder firmware/brcm under tmp/work/wandboard-fslc-linux-gnueabi/core-image-minimal/1.0-r0/rootfs/lib

Enabled the drivers,

<*> Broadcom FullMAC wireless cards support │ │ 
│ │ [*] SDIO bus interface support 

At the target getting following errors,

root@wandboard:~# dmesg | grep brcm
[ 1.739333] brcmfmac_sdio mmc1:0001:1: Direct firmware load for brcm/brcmfmac4330-sdio.bin failed with error -2
[ 1.748200] brcmfmac_sdio mmc1:0001:1: Falling back to user helper
[ 62.783879] brcmfmac: brcmf_sdio_htclk: HT Avail timeout (100): clkctl 0x50
[ 63.793963] brcmfmac: brcmf_sdio_htclk: HT Avail timeout (100): clkctl 0x50
root@wandboard:~# 


Please suggest



::DISCLAIMER::

The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only.
E-mail transmission is not guaranteed to be secure or error-free as information could be intercepted, corrupted,

lost, destroyed, arrive late or incomplete, or may contain viruses in transmission. The e mail and its contents

(with or without referred errors) shall therefore not attach any liability on the originator or HCL or its affiliates.

Views or opinions, if any, presented in this email are solely those of the author and may not necessarily reflect the

views or opinions of HCL or its affiliates. Any form of reproduction, dissemination, copying, disclosure, modification,

distribution and / or publication of this message without the prior written consent of authorized representative of

HCL is strictly prohibited. If you have received this email in error please delete it and notify the sender immediately.

Before opening any email and/or attachments, please check them for viruses and other defects.


 


-- 

Ayoub Zaki

ayoub.z...@embexus.com
Mobile: +49(0)176-62901545
Skype: ayoub.zaki_2
https://embexus.com





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


[yocto] Uninstall the installed files using bbappend file

2017-07-07 Thread Aravindhlal G . S . S
Hi,

One of the configuration files is installed in the recipe which is present in 
the generic layer. I cannot directly remove the install in the recipe present 
in generic layer as it would affect the other platforms. I would like to define 
a new bbappend file, which should be uninstalling that particular configuration 
file which building it for particular target.

Is it possible to do this ? If yes, could you please share how to do this ? 
Appreciate your help !

Thanks
-Aravindh
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto