Re: [yocto] [Patch v2 0/4] Misc Fixes for meta-intel 1.3 release
On Wed, 2012-10-31 at 22:26 -0700, Darren Hart wrote: > On 10/31/2012 10:14 PM, nitin.a.kam...@intel.com wrote: > > From: Nitin A Kamble > > > > This v2 pull request is with newer version of libva-intel-driver. > > These commits tested on All the BSPs I am maintaining with expected results. > > > > Nitin, do these patches fix any specific bug? Such as 3348? You mention > a couple, but not clearly that these patches fix them. If so, please > include: > > Fixes [YOCTO #] > > in the commit log for the associated patch(es). > To save time, I'll go ahead and add that to those 2 patches when I pull it in... Tom > Otherwise this looks to be what we have discussed. > > Thanks, > > Darren > > > Thanks, > > Nitin > > > > The following changes since commit 43b2e9c34363ade4241a60f699b47179929c6fb6: > > > > n450: Add WEBTITLE and boilerplate README (2012-10-31 08:40:15 -0700) > > > > are available in the git repository at: > > git://git.yoctoproject.org/meta-intel-contrib nitin/misc > > http://git.yoctoproject.org/cgit.cgi/meta-intel-contrib/log/?h=nitin/misc > > > > Nitin A Kamble (3): > > libva: update to the latest version > > libva-intel-driver: update to the latest version > > mesa-dri.bbappend: avoid conflict with emgd-driver-bin > > > > Ross Burton (1): > > libva: remove redundant libva 1.0.12 > > > > .../recipes-graphics/mesa/mesa-dri_8.0.4.bbappend | 27 > > +--- > > .../libva/libva-intel-driver.inc |2 +- > > .../libva/libva-intel-driver_1.0.15.bb |8 -- > > .../libva/libva-intel-driver_1.0.18.bb |8 ++ > > common/recipes-multimedia/libva/libva_1.0.12.bb|8 -- > > common/recipes-multimedia/libva/libva_1.0.15.bb|8 -- > > common/recipes-multimedia/libva/libva_1.0.16.bb|8 ++ > > 7 files changed, 40 insertions(+), 29 deletions(-) > > delete mode 100644 > > common/recipes-multimedia/libva/libva-intel-driver_1.0.15.bb > > create mode 100644 > > common/recipes-multimedia/libva/libva-intel-driver_1.0.18.bb > > delete mode 100644 common/recipes-multimedia/libva/libva_1.0.12.bb > > delete mode 100644 common/recipes-multimedia/libva/libva_1.0.15.bb > > create mode 100644 common/recipes-multimedia/libva/libva_1.0.16.bb > > > ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
Re: [yocto] [PATCH 0/4] misc fixes for 1.3 meta-intel release
> -Original Message- > From: Zanussi, Tom > Sent: Wednesday, October 31, 2012 1:58 PM > To: Burton, Ross > Cc: Kamble, Nitin A; Hart, Darren; yocto@yoctoproject.org > Subject: Re: [PATCH 0/4] misc fixes for 1.3 meta-intel release > > On Wed, 2012-10-31 at 20:53 +, Burton, Ross wrote: > > On 31 October 2012 15:21, Burton, Ross wrote: > > > On 31 October 2012 15:17, Tom Zanussi wrote: > > >> That just leaves cedartrail before we can pull this in. > > > > > > That's odd, I was just about to write a mail. My current images are > > > broken as they are based on master which has a duff udev. I'll do a > > > rebuild against danny but that might not happen promptly. > > > > Just tested on Cedar Trail, good old Sintel plays fine at 4% CPU. > > > > OK, sounds like it works everywhere, so can be pulled in, but... > > Nitin, did you need to refresh this patchset to .18 or should I pull this in > and > pull in a .18 update later? > Tom, The patch set is not at the latest versions of libva components. Nitin > Tom > > > > Ross > ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
Re: [yocto] [Patch v2 0/4] Misc Fixes for meta-intel 1.3 release
> -Original Message- > From: Zanussi, Tom > Sent: Thursday, November 01, 2012 6:33 AM > To: Hart, Darren > Cc: Kamble, Nitin A; yocto@yoctoproject.org; Burton, Ross > Subject: Re: [Patch v2 0/4] Misc Fixes for meta-intel 1.3 release > > On Wed, 2012-10-31 at 22:26 -0700, Darren Hart wrote: > > On 10/31/2012 10:14 PM, nitin.a.kam...@intel.com wrote: > > > From: Nitin A Kamble > > > > > > This v2 pull request is with newer version of libva-intel-driver. > > > These commits tested on All the BSPs I am maintaining with expected > results. > > > > > > > Nitin, do these patches fix any specific bug? Such as 3348? You > > mention a couple, but not clearly that these patches fix them. If so, > > please > > include: > > > > Fixes [YOCTO #] > > > > in the commit log for the associated patch(es). > > > > To save time, I'll go ahead and add that to those 2 patches when I pull it > in... Thanks Tom, Nitin > > Tom > > > Otherwise this looks to be what we have discussed. > > > > Thanks, > > > > Darren > > > > > Thanks, > > > Nitin > > > > > > The following changes since commit > 43b2e9c34363ade4241a60f699b47179929c6fb6: > > > > > > n450: Add WEBTITLE and boilerplate README (2012-10-31 08:40:15 > > > -0700) > > > > > > are available in the git repository at: > > > git://git.yoctoproject.org/meta-intel-contrib nitin/misc > > > > > > http://git.yoctoproject.org/cgit.cgi/meta-intel-contrib/log/?h=nitin > > > /misc > > > > > > Nitin A Kamble (3): > > > libva: update to the latest version > > > libva-intel-driver: update to the latest version > > > mesa-dri.bbappend: avoid conflict with emgd-driver-bin > > > > > > Ross Burton (1): > > > libva: remove redundant libva 1.0.12 > > > > > > .../recipes-graphics/mesa/mesa-dri_8.0.4.bbappend | 27 > +--- > > > .../libva/libva-intel-driver.inc |2 +- > > > .../libva/libva-intel-driver_1.0.15.bb |8 -- > > > .../libva/libva-intel-driver_1.0.18.bb |8 ++ > > > common/recipes-multimedia/libva/libva_1.0.12.bb|8 -- > > > common/recipes-multimedia/libva/libva_1.0.15.bb|8 -- > > > common/recipes-multimedia/libva/libva_1.0.16.bb|8 ++ > > > 7 files changed, 40 insertions(+), 29 deletions(-) delete mode > > > 100644 common/recipes-multimedia/libva/libva-intel-driver_1.0.15.bb > > > create mode 100644 > > > common/recipes-multimedia/libva/libva-intel-driver_1.0.18.bb > > > delete mode 100644 common/recipes-multimedia/libva/libva_1.0.12.bb > > > delete mode 100644 common/recipes-multimedia/libva/libva_1.0.15.bb > > > create mode 100644 common/recipes-multimedia/libva/libva_1.0.16.bb > > > > > > ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
Re: [yocto] [PATCH 4/4] mesa-dri.bbappend: avoid conflict with emgd-driver-bin
> -Original Message- > From: Burton, Ross [mailto:ross.bur...@intel.com] > Sent: Wednesday, October 31, 2012 10:14 AM > To: Kamble, Nitin A > Cc: Zanussi, Tom; Hart, Darren; yocto@yoctoproject.org > Subject: Re: [yocto] [PATCH 4/4] mesa-dri.bbappend: avoid conflict with > emgd-driver-bin > > Hi, > > On 31 October 2012 02:23, wrote: > > Extend the mesa-dri recipe from oecore to avoid conflict with files > > generated by emgd-driver-bin recipe. > > The same problem happens with cdv-pvr-driver, right? Yes, I have heard about the issue from Rahul. > > It turns out that the binary DRI drivers these closed driver packages install > are > very dependent on the Mesa - so it's likely that they just don't work with our > Mesa 8.0.4. > > cdv-pvr-driver needs Mesa 7.11. I can't see anything in the documentation > about what version of Mesa EMGD expects. EMGD tarball release notes do mention Mesa version dependencies. We have not seen issues with the newer version of mesa, so went ahead with the newer versions of Mesa, while pinning the Mesa version in the machine.conf. > > I think we've two options: either don't ship libGL in our BSP packages, or > ship > a version that should actually work. This means shipping a mesa recipe in > meta-intel so that it's under meta-intel's control, with the useful side > effect > that we can make it just build libGL and nothing else. These are the right options IMO. We can also get complete mesa recipe in meta-intel, which will override the one from oecore layer completely. Then we have full control of mesa from meta-intel layers. Currently extending the oecore mesa recipe from meta-intel is not very elegant, but at least it is working as we want. Also making few changes to the oecore mesa recipe will make it easier to extend it from other layers. Nitin > > Ross ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
[yocto] iSCSI in Yocto
I am trying to get iSCSI support into my Yocto build, however I am finding that it is not going very well... I have my kernel configured with all the necessary options (I think...): iSCSI Boot Firmware Table Attributes module (SCSI_ISCSI_ATTRS) Linux-iSCSI.org iSCSI Target Mode Stack (ISCSI_TARGET) Generic Target Core Mod (TCM) and ConfigFS Infrastructure (CONFIG_TARGET_CORE) Userspace-driven configuration filesystem (CONFIGFS_FS) Now I am trying to get a program installed to configure the iSCSI setup. I found that there are no recipes for targetcli (which I would prefer to use if there is one out there or if someone is willing to guide me through it), so I found a recipe for lio-utils, which I have modified to build into my image. So far, I can run the LIO utilities, but am always getting errors stating that the device is busy. How can I get around those? Internet searches are fruitless. Any thoughts? My output is below. I suspect that it has something to do with the fact that /dev/sdb1 is already mounted on /media/sdb1 (though it really isn't - you can see that in the umount command at the end...). Can I prevent the system from trying to mount those? It appears that it is doing it via udev, but even if I move the mount script out of it's location, it still is happening. What am I doing wrong? Thanks! penryn:~# /etc/init.d/target start Loading target_core_mod/ConfigFS core: [OK] penryn:~# tcm_node --block iblock_0/sms /dev/sdb1 ConfigFS HBA: iblock_0 Successfully added TCM/ConfigFS HBA: iblock_0 ConfigFS Device Alias: sms Device Params ['/dev/sdb1'] sh: line 0: echo: write error: Device or resource busy IBLOCK: createvirtdev failed for enable_opt with echo 1 > /sys/kernel/config/target/core/iblock_0/sms/enable Unable to register TCM/ConfigFS storage object: /sys/kernel/config/target/core/iblock_0/sms penryn:~# mount rootfs on / type rootfs (rw) proc on /proc type proc (rw,relatime) sysfs on /sys type sysfs (rw,relatime) /dev/sda on /media/sda type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=cp437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro) /dev/sdb3 on /media/sdb3 type ext3 (rw,relatime,errors=continue,barrier=1,data=ordered) /dev/sdb1 on /media/sdb1 type ext2 (rw,relatime,errors=continue) /dev/loop0 on / type ext3 (rw,noatime,barrier=1,data=ordered) devtmpfs on /dev type devtmpfs (rw,relatime,size=974536k,nr_inodes=243634,mode=755) proc on /proc type proc (rw,relatime) sysfs on /sys type sysfs (rw,relatime) debugfs on /sys/kernel/debug type debugfs (rw,relatime) devpts on /dev/pts type devpts (rw,relatime,gid=5,mode=620) tmpfs on /var/volatile type tmpfs (rw,relatime) tmpfs on /media/ram type tmpfs (rw,relatime) tmpfs on /tmp type tmpfs (rw,relatime) /dev/sdb3 on /data type ext3 (rw,relatime,errors=continue,barrier=1,data=ordered) configfs on /sys/kernel/config type configfs (rw,relatime) penryn:~# umount /dev/sdb1 umount: /media/sdb1: not mounted penryn:~# ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
Re: [yocto] [Patch v2 0/4] Misc Fixes for meta-intel 1.3 release
On Wed, 2012-10-31 at 22:14 -0700, nitin.a.kam...@intel.com wrote: > From: Nitin A Kamble > > This v2 pull request is with newer version of libva-intel-driver. > These commits tested on All the BSPs I am maintaining with expected results. > OK, I've confirmed video works on crownbay and have two independent confirmations that cedartrail works fine too. All pulled into meta-intel/master. Thanks, Tom > Thanks, > Nitin > > The following changes since commit 43b2e9c34363ade4241a60f699b47179929c6fb6: > > n450: Add WEBTITLE and boilerplate README (2012-10-31 08:40:15 -0700) > > are available in the git repository at: > git://git.yoctoproject.org/meta-intel-contrib nitin/misc > http://git.yoctoproject.org/cgit.cgi/meta-intel-contrib/log/?h=nitin/misc > > Nitin A Kamble (3): > libva: update to the latest version > libva-intel-driver: update to the latest version > mesa-dri.bbappend: avoid conflict with emgd-driver-bin > > Ross Burton (1): > libva: remove redundant libva 1.0.12 > > .../recipes-graphics/mesa/mesa-dri_8.0.4.bbappend | 27 > +--- > .../libva/libva-intel-driver.inc |2 +- > .../libva/libva-intel-driver_1.0.15.bb |8 -- > .../libva/libva-intel-driver_1.0.18.bb |8 ++ > common/recipes-multimedia/libva/libva_1.0.12.bb|8 -- > common/recipes-multimedia/libva/libva_1.0.15.bb|8 -- > common/recipes-multimedia/libva/libva_1.0.16.bb|8 ++ > 7 files changed, 40 insertions(+), 29 deletions(-) > delete mode 100644 > common/recipes-multimedia/libva/libva-intel-driver_1.0.15.bb > create mode 100644 > common/recipes-multimedia/libva/libva-intel-driver_1.0.18.bb > delete mode 100644 common/recipes-multimedia/libva/libva_1.0.12.bb > delete mode 100644 common/recipes-multimedia/libva/libva_1.0.15.bb > create mode 100644 common/recipes-multimedia/libva/libva_1.0.16.bb > ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
Re: [yocto] [PATCH 0/1][meta-intel] Update README Instructions
On Wed, 2012-10-31 at 15:14 -0700, kishore.k.bo...@intel.com wrote: > From: Kishore Bodke > > This updates the README on how to get the DPDK and QuickAssist > Technology recipes > > Please pull them into meta-intel/master. > Pulled into meta-intel/master. Thanks, Tom > Thanks > Kishore. > > The following changes since commit 35962c01998a4b2f00c907a22236da2527e5f1d6: > > gnu-efi: add missing sha256 checksum (2012-10-31 15:55:44 -0500) > > are available in the git repository at: > > git://git.pokylinux.org/meta-intel-contrib kishore/readme > http://git.pokylinux.org/cgit.cgi/meta-intel-contrib/log/?h=kishore/readme > > Kishore Bodke (1): > crystalforest: Update README Instructions. > > meta-crystalforest/README | 19 ++- > 1 file changed, 10 insertions(+), 9 deletions(-) > ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
Re: [yocto] [PATCH 0/1] [meta-intel] update MAINTAINERS with patch instructions
On Wed, 2012-10-31 at 16:27 -0500, tom.zanu...@intel.com wrote: > From: Tom Zanussi > > This patch adds some extra instructions for meta-intel patch submission. > > Please pull into meta-intel/master. > Pulled into meta-intel/master. Tom > The following changes since commit 35962c01998a4b2f00c907a22236da2527e5f1d6: > > gnu-efi: add missing sha256 checksum (2012-10-31 15:55:44 -0500) > > are available in the git repository at: > > git://git.yoctoproject.org/meta-intel-contrib.git > tzanussi/patch-submission-update > > http://git.yoctoproject.org/cgit/cgit.cgi/meta-intel-contrib/log/?h=tzanussi/patch-submission-update > > Tom Zanussi (1): > meta-intel: update MAINTAINERS file with more explicit patch > submission instructions > > MAINTAINERS | 9 - > 1 file changed, 8 insertions(+), 1 deletion(-) > ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
Re: [yocto] [meta-fsl-ppc-private master] tcf-qoriqdbg_4.0.0.105390.bb: task do_compile:failed
On Tue, Oct 30, 2012 at 10:59 PM, wrote: > From: Chunrong Guo > > fix error: > ./core.internal/socketSupport.cpp: In function 'int > tcf::closesocket_(int)': > | ./core.internal/socketSupport.cpp:69:12: error: '::close' has not > been declared > | make: *** > [objs/tcf.qoriqdbg.agent.target/./core.internal/socketSupport.o] Error 1 > | make: *** Waiting for unfinished jobs > | ./core.internal/tcpTransport.cpp: In member function 'tcf::tcf_error > tcf::TCPTransport::createLocalPeer(const char*, tcf::IPeer**)': > | ./core.internal/tcpTransport.cpp:590:66: error: 'gethostname' was not > declared in this scope > | make: *** > [objs/tcf.qoriqdbg.agent.target/./core.internal/tcpTransport.o] Error 1 > | ERROR: oe_runmake failed > | ERROR: Function failed: do_compile > > Signed-off-by: Chunrong Guo > --- > .../files/add-include-in-socketSupport.patch | 10 ++ > .../files/add-include-in-tcpTransport.patch| 11 +++ > .../tcf-qoriqdbg/tcf-qoriqdbg_4.0.0.105390.bb |4 +++- > 3 files changed, 24 insertions(+), 1 deletion(-) > create mode 100644 > recipes-bad/tcf-qoriqdbg/files/add-include-in-socketSupport.patch > create mode 100644 > recipes-bad/tcf-qoriqdbg/files/add-include-in-tcpTransport.patch This is a patch to a private layer and should not go upstream. -M > > diff --git > a/recipes-bad/tcf-qoriqdbg/files/add-include-in-socketSupport.patch > b/recipes-bad/tcf-qoriqdbg/files/add-include-in-socketSupport.patch > new file mode 100644 > index 000..f969d47 > --- /dev/null > +++ b/recipes-bad/tcf-qoriqdbg/files/add-include-in-socketSupport.patch > @@ -0,0 +1,10 @@ > +--- > tcf-qoriqdbg-4.0.0.105390-r2/tcf-qoriqdbg-4.0.0.105390/core.internal/socketSupport.cpp > 2011-10-07 18:15:25.0 -0500 > tcf-qoriqdbg-4.0.0.105390/core.internal/socketSupport.cpp 2012-10-30 > 05:27:20.627395526 -0500 > +@@ -46,6 +46,7 @@ > + // Linux interfaces for getifaddrs/freeifaddrs > + #include > + > ++#include > + // To disable the nagle algorithm > + #include > + > diff --git a/recipes-bad/tcf-qoriqdbg/files/add-include-in-tcpTransport.patch > b/recipes-bad/tcf-qoriqdbg/files/add-include-in-tcpTransport.patch > new file mode 100644 > index 000..945b786 > --- /dev/null > +++ b/recipes-bad/tcf-qoriqdbg/files/add-include-in-tcpTransport.patch > @@ -0,0 +1,11 @@ > +--- > tcf-qoriqdbg-4.0.0.105390-r2/tcf-qoriqdbg-4.0.0.105390/core.internal/tcpTransport.cpp > 2012-04-05 22:16:07.0 -0500 > tcf-qoriqdbg-4.0.0.105390/core.internal/tcpTransport.cpp 2012-10-30 > 20:42:11.648654005 -0500 > +@@ -35,7 +35,7 @@ > + #include "channelImpl.h" > + #include "socketSupport.h" > + #include "socketTrace.h" > +- > ++#include > + #include > + #include > + #include > diff --git a/recipes-bad/tcf-qoriqdbg/tcf-qoriqdbg_4.0.0.105390.bb > b/recipes-bad/tcf-qoriqdbg/tcf-qoriqdbg_4.0.0.105390.bb > index 77523a1..0450306 100644 > --- a/recipes-bad/tcf-qoriqdbg/tcf-qoriqdbg_4.0.0.105390.bb > +++ b/recipes-bad/tcf-qoriqdbg/tcf-qoriqdbg_4.0.0.105390.bb > @@ -1,10 +1,12 @@ > DESCRIPTION = "SPID based TCF agent" > SECTION = "tcf-qoriqdbg" > LICENSE = "Freescale EULA" > -PR = "r2" > +PR = "r3" > LIC_FILES_CHKSUM = > "file://Makefile;beginline=6;endline=17;md5=75c98af1c2fa46281fbdac337244d196" > > SRC_URI = "file://${PN}-${PV}.tar.bz2 \ > + file://add-include-in-tcpTransport.patch \ > + file://add-include-in-socketSupport.patch \ > " > SRC_URI[md5sum] = "f11b99b489030d9f35573e91c4404e03" > SRC_URI[sha256sum] = > "3250e2951c3b57bfc3dc9e1174e38555e75682ad90831720a7c882093c119f2b" > -- > 1.7.9.7 > > > ___ > 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] how to add a task via anonymous python function
Hello, I want to do the following in anonymous python function addtask some_task after do_compile before do_install Getting some clue from externalsrc.bbclass I did the following python __anonymous () { tasks = d.getVar('__BBTASKS') tasks.insert(tasks.index('do_install'), 'do_some_task') d.setVar('__BBTASKS', tasks) d.setVarFlag('do_some_task', 'deps', 'do_compile') d.setVarFlag('do_install', 'deps', 'do_some_task') tasklist = filter(lambda k: d.getVarFlag(k, "task"), d.keys()) print tasklist } The above printed tasklist doesn't contain 'do_some_task'. I am able to run the task manually via bitbake -c some_task But, the task doesn't gets executed automatically after the do_compile task. Is there anything else that should be done? -- Joshua Immanuel HiPro IT Solutions Private Limited http://hipro.co.in signature.asc Description: This is a digitally signed message part ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto