linux-firmware: Update SRCREV, pull in iwlwifi-7260 support
PATCH 1/4 linux-firmware: Update SRCREV, pull in iwlwifi-7260 support
Fixes [YOCTO #5110]
Add support for the iwlwifi 7260 adapters. This creates a new package and includes support in the default linux-firmware (everything) package.
Update the iwlwifi and radeon license checksums. Extensions to the copyright date ranges were the only change to the LICENSE files.
--- .../linux-firmware/linux-firmware_git.bb | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-)
meta/recipes-kernel/linux-firmware/linux-firmware_git.bb +6 -4
@@ -7,12 +7,12 @@ SECTION = "kernel" LICENSE = "Proprietary" -LIC_FILES_CHKSUM = "file://LICENSE.radeon;md5=e56b405656593a0c97e478513051ea0e \ +LIC_FILES_CHKSUM = "file://LICENSE.radeon;md5=9c2faab1bfca55e1510d6bde67206f9c \ file://LICENSE.dib0700;md5=f7411825c8a555a1a3e5eab9ca773431 \ file://LICENCE.xc5000;md5=1e170c13175323c32c7f4d0998d53f66 \ file://LICENCE.ralink-firmware.txt;md5=ab2c269277c45476fb449673911a2dfd \ file://LICENCE.qla2xxx;md5=4005328a134054f0fa077bdc37aa64f2 \ - file://LICENCE.iwlwifi_firmware;md5=11545778abf78c43d7644d4f171ea1c7 \ + file://LICENCE.iwlwifi_firmware;md5=8b938534f77ffd453690eb34ed84ae8b \ file://LICENCE.i2400m;md5=14b901969e23c41881327c0d9e4b7d36 \ file://LICENCE.atheros_firmware;md5=30a14c7823beedac9fa39c64fdd01a13 \ file://LICENCE.agere;md5=af0133de6b4a9b2522defd5f188afd31 \
@@ -23,10 +23,10 @@ LIC_FILES_CHKSUM = "file://LICENSE.radeon;md5=e56b405656593a0c97e478513051ea0e \ file://LICENCE.via_vt6656;md5=e4159694cba42d4377a912e78a6e850f \ " -SRCREV = "c530a75c1e6a472b0eb9558310b518f0dfcd8860" +SRCREV = "600caefd83a406540b2a789be6415e44c9b87add" PE = "1" PV = "0.0+git${SRCPV}" -PR = "r1" +PR = "r0" SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git"
@@ -172,10 +172,12 @@ ALTERNATIVE_TARGET_linux-firmware-bcm4334[brcmfmac-sdio.bin] = "/lib/firmware/br RDEPENDS_${PN}-iwlwifi-6000g2a-5 = "${PN}-iwlwifi-license" RDEPENDS_${PN}-iwlwifi-6000g2b-6 = "${PN}-iwlwifi-license" +RDEPENDS_${PN}-iwlwifi-7260-7 = "${PN}-iwlwifi-license" FILES_${PN}-iwlwifi-license = "/lib/firmware/LICENCE.iwlwifi_firmware" FILES_${PN}-iwlwifi-6000g2a-5 = "/lib/firmware/iwlwifi-6000g2a-5.ucode" FILES_${PN}-iwlwifi-6000g2b-6 = "/lib/firmware/iwlwifi-6000g2b-6.ucode" +FILES_${PN}-iwlwifi-7260-7 = "/lib/firmware/iwlwifi-7260-7.ucode" FILES_${PN} += "/lib/firmware/*"
Signature · 1 line
1.7.9.5
PATCH 2/4 xorg-driver-common: Add configure and install appends from meta-intel
As part of pulling in the more generic components of the meta-intel xserver infrastructure, include the configure and install appends from the meta-intel version of xorg-driver-common.
Modify the configure prepend to use ${S} in the paths explicitly as without this the script appears to be running in a build/ directory instead of the source directory, and cannot find the configure.ac. This prepend is required for at least the -intel and -mga drivers.
--- .../xorg-driver/xorg-driver-common.inc | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-)
meta/recipes-graphics/xorg-driver/xorg-driver-common.inc +16 -1
@@ -5,7 +5,7 @@ SECTION = "x11/drivers" LICENSE = "MIT-X" PE = "2" -INC_PR = "r21" +INC_PR = "r22" DEPENDS = "virtual/xserver xproto randrproto util-macros"
@@ -39,3 +39,18 @@ def add_abi_depends(d, name): pn = d.getVar("PN", True) d.appendVar('RDEPENDS_' + pn, ' ' + abi) + +# AC_CHECK_FILE doesn't work when cross compiling, so we create a replacement +# macro that simply assumes the test succeeds. This is required for at least +# the -intel and -mga drivers. +do_configure_prepend () { + echo 'AC_DEFUN(CC_AC_CHECK_FILE, $2)' > ${S}/configure.ac.new + sed 's/AC_CHECK_FILE/CC_AC_CHECK_FILE/g' ${S}/configure.ac >> ${S}/configure.ac.new + mv ${S}/configure.ac.new ${S}/configure.ac +} + +# FIXME: We don't want to include the libtool archives (*.la) from modules +# directory, as they serve no useful purpose. Upstream should fix Makefile.am +do_install_append() { + find ${D}${libdir}/xorg/modules -regex ".*\.la$" | xargs rm -f -- +}
Signature · 1 line
1.7.9.5
Re: [PATCH 2/4] xorg-driver-common: Add configure and install appends from meta-intel
Quoted 21 lines · Darren Hart
As part of pulling in the more generic components of the meta-intel xserver infrastructure, include the configure and install appends from the meta-intel version of xorg-driver-common.
Modify the configure prepend to use ${S} in the paths explicitly as without this the script appears to be running in a build/ directory instead of the source directory, and cannot find the configure.ac. This prepend is required for at least the -intel and -mga drivers.
Signed-off-by Darren Hart <[email protected]>Cc Ross Burton <[email protected]>Cc Nitin A Kamble <[email protected]>--- .../xorg-driver/xorg-driver-common.inc | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-)meta/recipes-graphics/xorg-driver/xorg-driver-common.inc +0
-0
meta/recipes-graphics/xorg-driver/xorg-driver-common.inc SECTION = "x11/drivers" · line 8
Quoted 5 lines
meta/recipes-graphics/xorg-driver/xorg-driver-common.inc +1
-1@@ -5,7 +5,7 @@ SECTION = "x11/drivers" LICENSE = "MIT-X" PE = "2" -INC_PR = "r21" +INC_PR = "r22"
This is need because you had a PRINC?
Quoted 11 lines
meta/recipes-graphics/xorg-driver/xorg-driver-common.inc +5
-0DEPENDS = "virtual/xserver xproto randrproto util-macros"@@ -39,3 +39,18 @@ def add_abi_depends(d, name): pn = d.getVar("PN", True) d.appendVar('RDEPENDS_' + pn, ' ' + abi) + +# AC_CHECK_FILE doesn't work when cross compiling, so we create a replacement +# macro that simply assumes the test succeeds. This is required for at least +# the -intel and -mga drivers. +do_configure_prepend () {
meta/recipes-graphics/xorg-driver/xorg-driver-common.inc def add_abi_depends(d, name): · line 56
Quoted 10 lines
meta/recipes-graphics/xorg-driver/xorg-driver-common.inc +10
-0+ echo 'AC_DEFUN(CC_AC_CHECK_FILE, $2)' > ${S}/configure.ac.new + sed 's/AC_CHECK_FILE/CC_AC_CHECK_FILE/g' ${S}/configure.ac >> ${S}/configure.ac.new + mv ${S}/configure.ac.new ${S}/configure.ac +} + +# FIXME: We don't want to include the libtool archives (*.la) from modules +# directory, as they serve no useful purpose. Upstream should fix Makefile.am +do_install_append() { + find ${D}${libdir}/xorg/modules -regex ".*\.la$" | xargs rm -f -- +}
Agreed.
Signature · 3 lines
Otavio Salvador O.S. Systems http://www.ossystems.com.br http://code.ossystems.com.br Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750
Re: [PATCH 2/4] xorg-driver-common: Add configure and install appends from meta-intel
Quoted 24 lines · Otavio Salvador
Quoted 23 lines · Darren Hart
As part of pulling in the more generic components of the meta-intel xserver infrastructure, include the configure and install appends from the meta-intel version of xorg-driver-common.
Modify the configure prepend to use ${S} in the paths explicitly as without this the script appears to be running in a build/ directory instead of the source directory, and cannot find the configure.ac. This prepend is required for at least the -intel and -mga drivers.
Signed-off-by Darren Hart <[email protected]>Cc Ross Burton <[email protected]>Cc Nitin A Kamble <[email protected]>--- .../xorg-driver/xorg-driver-common.inc | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-)meta/recipes-graphics/xorg-driver/xorg-driver-common.inc +0
-0@@ -5,7 +5,7 @@ SECTION = "x11/drivers" LICENSE = "MIT-X"
Quoted 6 lines
meta/recipes-graphics/xorg-driver/xorg-driver-common.inc SECTION = "x11/drivers" · line 8
Quoted 3 lines
meta/recipes-graphics/xorg-driver/xorg-driver-common.inc +1
-1PE = "2" -INC_PR = "r21" +INC_PR = "r22"This is need because you had a PRINC?
It is my understanding that this change will ensure recipes including this file will get rebuilt after this patch is merged and will get the updated install append, clearing the .la files.
Yes/No?
Thanks for the review,
Darren
Quoted 24 lines
Quoted 11 lines
meta/recipes-graphics/xorg-driver/xorg-driver-common.inc +5
-0DEPENDS = "virtual/xserver xproto randrproto util-macros"@@ -39,3 +39,18 @@ def add_abi_depends(d, name): pn = d.getVar("PN", True) d.appendVar('RDEPENDS_' + pn, ' ' + abi) + +# AC_CHECK_FILE doesn't work when cross compiling, so we create a replacement +# macro that simply assumes the test succeeds. This is required for at least +# the -intel and -mga drivers. +do_configure_prepend () {meta/recipes-graphics/xorg-driver/xorg-driver-common.inc def add_abi_depends(d, name): · line 56
Quoted 10 lines
meta/recipes-graphics/xorg-driver/xorg-driver-common.inc +10
-0+ echo 'AC_DEFUN(CC_AC_CHECK_FILE, $2)' > ${S}/configure.ac.new + sed 's/AC_CHECK_FILE/CC_AC_CHECK_FILE/g' ${S}/configure.ac >> ${S}/configure.ac.new + mv ${S}/configure.ac.new ${S}/configure.ac +} + +# FIXME: We don't want to include the libtool archives (*.la) from modules +# directory, as they serve no useful purpose. Upstream should fix Makefile.am +do_install_append() { + find ${D}${libdir}/xorg/modules -regex ".*\.la$" | xargs rm -f -- +}Agreed.
Signature · 3 lines
Darren Hart Intel Open Source Technology Center Yocto Project - Linux Kernel
Re: [PATCH 2/4] xorg-driver-common: Add configure and install appends from meta-intel
In reply to Darren Hartmeta/recipes-graphics/xorg-driver/xorg-driver-common.inc def add_abi_depends(d, name): · line 50
Quoted 8 lines · Darren Hart
meta/recipes-graphics/xorg-driver/xorg-driver-common.inc +8
-0+# AC_CHECK_FILE doesn't work when cross compiling, so we create a replacement +# macro that simply assumes the test succeeds. This is required for at least +# the -intel and -mga drivers. +do_configure_prepend () { + echo 'AC_DEFUN(CC_AC_CHECK_FILE, $2)' > ${S}/configure.ac.new + sed 's/AC_CHECK_FILE/CC_AC_CHECK_FILE/g' ${S}/configure.ac >> ${S}/configure.ac.new + mv ${S}/configure.ac.new ${S}/configure.ac +}
I've been systematically fixing the drivers that use AC_CHECK_FILE so now as far as I know we're left with just one (-mga), for which my patch has been submitted upstream.
I'd prefer to see the patch retained and upstream fixed instead of working around the breakage, because the test that configure.ac is attempting to do is valid, it's just done wrong.
meta/recipes-graphics/xorg-driver/xorg-driver-common.inc def add_abi_depends(d, name): · line 56
Quoted 5 lines
meta/recipes-graphics/xorg-driver/xorg-driver-common.inc +5
-0+# FIXME: We don't want to include the libtool archives (*.la) from modules +# directory, as they serve no useful purpose. Upstream should fix Makefile.am +do_install_append() { + find ${D}${libdir}/xorg/modules -regex ".*\.la$" | xargs rm -f -- +}
Sadly when using libtool you can't "opt-out" of installing .la files unless you delete the files that just got installed. In my opinion this is something that needs to be done globally instead of per-recipe.
Ross
Re: [PATCH 2/4] xorg-driver-common: Add configure and install appends from meta-intel
Quoted 14 lines · Ross
meta/recipes-graphics/xorg-driver/xorg-driver-common.inc def add_abi_depends(d, name): · line 50
Quoted 8 lines · Darren Hart
meta/recipes-graphics/xorg-driver/xorg-driver-common.inc +8
-0+# AC_CHECK_FILE doesn't work when cross compiling, so we create a replacement +# macro that simply assumes the test succeeds. This is required for at least +# the -intel and -mga drivers. +do_configure_prepend () { + echo 'AC_DEFUN(CC_AC_CHECK_FILE, $2)' > ${S}/configure.ac.new + sed 's/AC_CHECK_FILE/CC_AC_CHECK_FILE/g' ${S}/configure.ac >> ${S}/configure.ac.new + mv ${S}/configure.ac.new ${S}/configure.ac +}I've been systematically fixing the drivers that use
AC_CHECK_FILEso now as far as I know we're left with just one (-mga), for which my patch has been submitted upstream.
Quoted 3 lines
I'd prefer to see the patch retained and upstream fixed instead of working around the breakage, because the test that configure.ac is attempting to do is valid, it's just done wrong.
So I think this should be dropped from here.
Quoted 10 lines
meta/recipes-graphics/xorg-driver/xorg-driver-common.inc def add_abi_depends(d, name): · line 56
Quoted 5 lines
meta/recipes-graphics/xorg-driver/xorg-driver-common.inc +5
-0+# FIXME: We don't want to include the libtool archives (*.la) from modules +# directory, as they serve no useful purpose. Upstream should fix Makefile.am +do_install_append() { + find ${D}${libdir}/xorg/modules -regex ".*\.la$" | xargs rm -f -- +}Sadly when using libtool you can't "opt-out" of installing .la files unless you delete the files that just got installed. In my opinion this is something that needs to be done globally instead of per-recipe.
So autotools.bbclass?
Signature · 3 lines
Otavio Salvador O.S. Systems http://www.ossystems.com.br http://code.ossystems.com.br Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750
Re: [PATCH 2/4] xorg-driver-common: Add configure and install appends from meta-intel
Quoted 6 lines · Otavio Salvador
Quoted 4 lines
Sadly when using libtool you can't "opt-out" of installing .la files unless you delete the files that just got installed. In my opinion this is something that needs to be done globally instead of per-recipe.
So autotools.bbclass?
Exactly. Phil sent patches to do this previously, and I've a branch... somewhere that has another unfinished version.
Ross
Re: [PATCH 2/4] xorg-driver-common: Add configure and install appends from meta-intel
Quoted 10 lines · Ross
Quoted 6 lines · Otavio Salvador
Quoted 4 lines
Sadly when using libtool you can't "opt-out" of installing .la files unless you delete the files that just got installed. In my opinion this is something that needs to be done globally instead of per-recipe.
So autotools.bbclass?
Exactly. Phil sent patches to do this previously, and I've a branch... somewhere that has another unfinished version.
I continue to have mixed feelings about this:
* We've not done side by side build comparisons with something like buildhistory.
* Figuring out any runtime issues with dlopen is the hardest part and we don't actually have real data on whether there are issues there or not.
* We'd be deviating from the way the libtool authors suggest their tool should operate. This makes filing bug reports and interacting with upstream harder. I continue to dream of a libtool with working sysroot support for example instead of carrying our hacks/workarounds/bugfixes.
* They are used in places, for example the darwin shlibs code currently uses them. It could be updated to use otool these days mind but I'd probably make the current code a fallback for unknown arches since it is guaranteed to work everywhere.
So whilst I know several people love to just delete them, its a slightly more complex issue than that.
Cheers,
Richard (who isn't keen on libtool and would rather replace that instead)
Re: [PATCH 2/4] xorg-driver-common: Add configure and install appends from meta-intel
Quoted 2 lines · Richard Purdie
* Figuring out any runtime issues with dlopen is the hardest part and we don't actually have real data on whether there are issues there or not.
Do we have any particular reason to believe that there would be issues (and if so, what they might be)? I guess it should be easy enough to gather data if we know what we're looking for.
Right now the .la files go into the -dev packages anyway and hence aren't usually going to be available at runtime for anything calling dlopen() on the target. Is it native packages you're concerned about?
Quoted 3 lines
* We'd be deviating from the way the libtool authors suggest their tool should operate. This makes filing bug reports and interacting with upstream harder.
This is true, though interacting with libtool upstream already seems to be hard enough that I'm not sure this would make a material difference.
Quoted 4 lines
* They are used in places, for example the darwin shlibs code currently uses them. It could be updated to use otool these days mind but I'd probably make the current code a fallback for unknown arches since it is guaranteed to work everywhere.
There's no reason in principle that folks on darwin (and/or hitherto-undiscovered architectures) couldn't retain the .la files if they wanted. The original patch that I sent used a DISTRO_FEATURE to control this and those people building for darwin could simply refrain from setting it. Alternatively we could make it explicitly conditional on TARGET_OS or some such if there are reasons to believe that some targets do genuinely require this stuff.
p.
Re: [PATCH 2/4] xorg-driver-common: Add configure and install appends from meta-intel
Quoted 7 lines · Phil Blundell
Quoted 2 lines · Richard Purdie
* Figuring out any runtime issues with dlopen is the hardest part and we don't actually have real data on whether there are issues there or not.
Do we have any particular reason to believe that there would be issues (and if so, what they might be)? I guess it should be easy enough to gather data if we know what we're looking for.
There won't be any problems with dlopen() because that only looks at .so files. Any issues will be at build time, I wouldn't be surprised if some dependencies changed due to a difference in eg pkgconfig vs .la linkage. Then again some other distros blanket-delete .la files by default so I don't expect any critical problems.
Quoted 5 lines
Quoted 4 lines
* They are used in places, for example the darwin shlibs code currently uses them. It could be updated to use otool these days mind but I'd probably make the current code a fallback for unknown arches since it is guaranteed to work everywhere.
Quoted 7 lines
There's no reason in principle that folks on darwin (and/or hitherto-undiscovered architectures) couldn't retain the .la files if they wanted. The original patch that I sent used a
DISTRO_FEATUREto control this and those people building for darwin could simply refrain from setting it. Alternatively we could make it explicitly conditional onTARGET_OSor some such if there are reasons to believe that some targets do genuinely require this stuff.
I don't think a distro feature is the right approach, but however it's set can easily be forced using a machine override for Darwin.
Ross
Re: [PATCH 2/4] xorg-driver-common: Add configure and install appends from meta-intel
In reply to Phil BlundellQuoted 11 lines · Phil Blundell
Quoted 2 lines · Richard Purdie
* Figuring out any runtime issues with dlopen is the hardest part and we don't actually have real data on whether there are issues there or not.
Do we have any particular reason to believe that there would be issues (and if so, what they might be)? I guess it should be easy enough to gather data if we know what we're looking for.
Right now the .la files go into the -dev packages anyway and hence aren't usually going to be available at runtime for anything calling
dlopen()on the target. Is it native packages you're concerned about?
The -dev package argument is a good one, we seem to be surviving without those and that probably addresses the concern I was thinking of. I'm also thinking of ltdl and its dlopen wrapping, not dlopen itself which is a much smaller subset of recipes.
Quoted 6 lines
Quoted 3 lines
* We'd be deviating from the way the libtool authors suggest their tool should operate. This makes filing bug reports and interacting with upstream harder.
This is true, though interacting with libtool upstream already seems to be hard enough that I'm not sure this would make a material difference.
It does seem somewhat tricky, agreed.
Quoted 5 lines
Quoted 4 lines
* They are used in places, for example the darwin shlibs code currently uses them. It could be updated to use otool these days mind but I'd probably make the current code a fallback for unknown arches since it is guaranteed to work everywhere.
Quoted 7 lines
There's no reason in principle that folks on darwin (and/or hitherto-undiscovered architectures) couldn't retain the .la files if they wanted. The original patch that I sent used a
DISTRO_FEATUREto control this and those people building for darwin could simply refrain from setting it. Alternatively we could make it explicitly conditional onTARGET_OSor some such if there are reasons to believe that some targets do genuinely require this stuff.
There are ways to avoid problems for darwin. Using otool instead of the .la files would be nice, equally mangling DISTRO_FEATURES based on an SDK override is possible, albeit ugly. The la handling code will likely bitrot as soon as its disabled by default and metadata starts getting dropped which is probably a bigger concern. The number of SDK darwin builds is currently a tiny portion of the usercase and codebase.
I guess the .la files just don't seem to be a big issue that some people seem to paint them as. Why do we need to remove them and deviate from the upstream?
Anyhow, if someone can show some world builds with and without the .la files and see what build history shows we'd be closer to taking a patch to turning them off. If we do it, we'll have to do it everywhere for everything since the remaining code will bitrot badly IMO otherwise.
Cheers,
Richard
Re: [PATCH 2/4] xorg-driver-common: Add configure and install appends from meta-intel
Quoted 3 lines · Richard Purdie
I guess the .la files just don't seem to be a big issue that some people seem to paint them as. Why do we need to remove them and deviate from the upstream?
You appear to be defending choices made by libtool upstream here. Are you unwell? :)
Quoted 4 lines
Anyhow, if someone can show some world builds with and without the .la files and see what build history shows we'd be closer to taking a patch to turning them off. If we do it, we'll have to do it everywhere for everything since the remaining code will bitrot badly IMO otherwise.
I'll try and hack something up this week as a proof of concept.
Ross
Re: [PATCH 2/4] xorg-driver-common: Add configure and install appends from meta-intel
In reply to Burton, RossQuoted 13 lines · Ross
meta/recipes-graphics/xorg-driver/xorg-driver-common.inc def add_abi_depends(d, name): · line 50
Quoted 8 lines · Darren Hart
meta/recipes-graphics/xorg-driver/xorg-driver-common.inc +8
-0+# AC_CHECK_FILE doesn't work when cross compiling, so we create a replacement +# macro that simply assumes the test succeeds. This is required for at least +# the -intel and -mga drivers. +do_configure_prepend () { + echo 'AC_DEFUN(CC_AC_CHECK_FILE, $2)' > ${S}/configure.ac.new + sed 's/AC_CHECK_FILE/CC_AC_CHECK_FILE/g' ${S}/configure.ac >> ${S}/configure.ac.new + mv ${S}/configure.ac.new ${S}/configure.ac +}I've been systematically fixing the drivers that use
AC_CHECK_FILEso now as far as I know we're left with just one (-mga), for which my patch has been submitted upstream.
The xf86-video-intel driver also appears to need it (just FYI re your comment on mga).
Signature · 3 lines
Darren Hart Intel Open Source Technology Center Yocto Project - Linux Kernel
PATCH 3/4 xf86-video-mga: Pull in Matrox MGA support from meta-intel
In reply to Darren HartIn support of the more generic x86 BSPs, pull in the Matrox driver recipe from meta-intel.
Remove the checkfile patch from Ross as this is now handled adequately with the configure prepend hack which assumes success for any checkfile calls.
--- meta/conf/machine/include/ia32-base.inc | 2 ++ .../xorg-driver/xf86-video-mga_1.6.2.bb | 20 ++++++++++++++++++++ 2 files changed, 22 insertions(+) create mode 100644 meta/recipes-graphics/xorg-driver/xf86-video-mga_1.6.2.bb
meta/conf/machine/include/ia32-base.inc +2 -0
@@ -45,6 +45,8 @@ XSERVER_IA32_I965 = "xf86-video-intel \ mesa-driver-i965 \ " +XSERVER_IA32_MATROX_MGA = "xf86-video-mga" + XSERVER_IA32_VESA = "xf86-video-vesa" XSERVER_IA32_FBDEV = "xf86-video-fbdev"
meta/recipes-graphics/xorg-driver/xf86-video-mga_1.6.2.bb new file +20 -0
@@ -0,0 +1,20 @@ +require recipes-graphics/xorg-driver/xorg-driver-video.inc + +SUMMARY = "X.Org X server -- Matrox MGA display driver" + +DESCRIPTION = "mga is an Xorg driver for Matrox video cards" + +LIC_FILES_CHKSUM = "file://COPYING;md5=bc1395d2cd32dfc5d6c57d2d8f83d3fc" + +DEPENDS += "virtual/libx11 drm xf86driproto glproto virtual/libgl libpciaccess" + +EXTRA_OECONF += "--enable-dri" + +PR = "r1" + +COMPATIBLE_HOST = '(i.86.*-linux|x86_64.*-linux)' + +SRC_URI[md5sum] = "f543877db4e260d8b43c7da3095605ed" +SRC_URI[sha256sum] = "3f89ce250eea93f0de890954687790e06c0bab9e3e303df393e8759a187eca6c" + +RDEPENDS_${PN} = "xserver-xorg-module-exa"
Signature · 1 line
1.7.9.5
Re: [PATCH 3/4] xf86-video-mga: Pull in Matrox MGA support from meta-intel
Quoted 2 lines · Darren Hart
In support of the more generic x86 BSPs, pull in the Matrox driver recipe from meta-intel.
What machine is this for in particular? In discussion with Nitin about MGA a few weeks back the conclusion was that the vesa driver should be sufficient. As far as I'm aware the reference platforms don't ship with MGA hardware so it's up to the owner of the platform to install whatever they have to hand (mga, nvidia, ATI, etc), or am I wrong about that?
Quoted 3 lines
Remove the checkfile patch from Ross as this is now handled adequately with the configure prepend hack which assumes success for any checkfile calls.
Assuming success in an distro where opengl isn't enabled will result in the driver believing that DRI is enabled when it isn't, so expect to see build failures from this.
Ross
Re: [PATCH 3/4] xf86-video-mga: Pull in Matrox MGA support from meta-intel
Quoted 11 lines · Ross
Quoted 2 lines · Darren Hart
In support of the more generic x86 BSPs, pull in the Matrox driver recipe from meta-intel.
What machine is this for in particular? In discussion with Nitin about MGA a few weeks back the conclusion was that the vesa driver should be sufficient. As far as I'm aware the reference platforms don't ship with MGA hardware so it's up to the owner of the platform to install whatever they have to hand (mga, nvidia, ATI, etc), or am I wrong about that?
It's my understanding that some of these server-type systems like Romley and Crystal Forest have on-chip graphics disabled and ship with ancient MGA graphics, which apparently we have a cheap source of chips for...
Probably vesa would work for these systems, cc'ing those in the know...
Tom
Quoted 9 lines
Quoted 3 lines
Remove the checkfile patch from Ross as this is now handled adequately with the configure prepend hack which assumes success for any checkfile calls.
Assuming success in an distro where opengl isn't enabled will result in the driver believing that DRI is enabled when it isn't, so expect to see build failures from this.
Ross
Re: [PATCH 3/4] xf86-video-mga: Pull in Matrox MGA support from meta-intel
In reply to Burton, RossQuoted 5 lines · Ross
Quoted 2 lines · Darren Hart
In support of the more generic x86 BSPs, pull in the Matrox driver recipe from meta-intel.
What machine is this for in particular?
This was reported when someone was testing on a Romley machine.
Quoted 6 lines
In discussion with Nitin
about MGA a few weeks back the conclusion was that the vesa driver should be sufficient. As far as I'm aware the reference platforms don't ship with MGA hardware so it's up to the owner of the platform to install whatever they have to hand (mga, nvidia, ATI, etc), or am I wrong about that?
Nitin?
Yunguo?
Quoted 8 lines
Quoted 4 lines
Remove the checkfile patch from Ross as this is now handled adequately with the configure prepend hack which assumes success for any checkfile calls.
Assuming success in an distro where opengl isn't enabled will result in the driver believing that DRI is enabled when it isn't, so expect to see build failures from this.
Should we be adding a distro depends on opengl for this driver as is being done for others currently?
Signature · 3 lines
Darren Hart Intel Open Source Technology Center Yocto Project - Linux Kernel
Re: [PATCH 3/4] xf86-video-mga: Pull in Matrox MGA support from meta-intel
Quoted 6 lines · Darren Hart
Quoted 3 lines
Assuming success in an distro where opengl isn't enabled will result in the driver believing that DRI is enabled when it isn't, so expect to see build failures from this.
Should we be adding a distro depends on opengl for this driver as is being done for others currently?
No, because DRI is optional in this driver. Follow opengl and flip --enable/disable-dri.
(assuming I don't change the server to always build DRI)
Ross
Re: [PATCH 3/4] xf86-video-mga: Pull in Matrox MGA support from meta-intel
Quoted 5 lines · Ross
Quoted 4 lines · Darren Hart
Quoted 3 lines
Assuming success in an distro where opengl isn't enabled will result in the driver believing that DRI is enabled when it isn't, so expect to see build failures from this.
Quoted 7 lines
Quoted 2 lines
Should we be adding a distro depends on opengl for this driver as is being done for others currently?
No, because DRI is optional in this driver. Follow opengl and flip --enable/disable-dri.
(assuming I don't change the server to always build DRI)
Follow-up. Using PACKAGECONFIG to respecting the "opengl" DISTRO_FEATURE and --enable/--disable-dri should work for the MGA driver. dri.h is part of Mesa, so obviously opengl and DRI are entwined.
Ross
A message that is not in the archive (sent off-list or not yet received): [email protected]
Re: [PATCH 3/4] xf86-video-mga: Pull in Matrox MGA support from meta-intel
Quoted 18 lines · Yunguo Wei
Quoted 6 lines · Darren Hart
Quoted 4 lines · Ross
Quoted 2 lines · Darren Hart
In support of the more generic x86 BSPs, pull in the Matrox driver recipe from meta-intel.
What machine is this for in particular?
This was reported when someone was testing on a Romley machine.
Yes, it is Intel SDP S2R3, Romley-EP IVY refresh.
Quoted 9 lines
Quoted 7 lines
In discussion with Nitin
about MGA a few weeks back the conclusion was that the vesa driver should be sufficient. As far as I'm aware the reference platforms don't ship with MGA hardware so it's up to the owner of the platform to install whatever they have to hand (mga, nvidia, ATI, etc), or am I wrong about that?Nitin?
Quoted 7 lines
Quoted 1 line
Yunguo?
We thought vesa is supposed to work.
Intel OSVe team reported this problem against WRLinux 5.0.1, and I fixed it by adding mga package.
Note that, mga kernel driver was not built-in or as a module.
I missed that the kernel module was missing. Oops. That's easy enough to add to the common-pc graphics fragment. But what we need to know is if we should try to get MGA into oe-core or not. I honestly don't understand why we shouldn't, with intel and omap in there already. It seems silly to have a special layer for the xorg driver when mesa and the kernel already build their part for the same hardware....
Are there any compelling arguments for not including the mga driver in oe-core?
Quoted 15 lines
Regards,
YunguoQuoted 10 lines
Quoted 7 lines
Quoted 4 lines
Remove the checkfile patch from Ross as this is now handled adequately with the configure prepend hack which assumes success for any checkfile calls.
Assuming success in an distro where opengl isn't enabled will result in the driver believing that DRI is enabled when it isn't, so expect to see build failures from this.
Should we be adding a distro depends on opengl for this driver as is being done for others currently?
Signature · 3 lines
Darren Hart Intel Open Source Technology Center Yocto Project - Linux Kernel
A message that is not in the archive (sent off-list or not yet received): [email protected]
Re: [PATCH 3/4] xf86-video-mga: Pull in Matrox MGA support from meta-intel
Quoted 30 lines · Yunguo Wei
Quoted 23 lines · Darren Hart
Quoted 14 lines · Yunguo Wei
Quoted 6 lines · Darren Hart
Quoted 4 lines · Ross
Quoted 2 lines · Darren Hart
In support of the more generic x86 BSPs, pull in the Matrox driver recipe from meta-intel.
What machine is this for in particular?
This was reported when someone was testing on a Romley machine.
Yes, it is Intel SDP S2R3, Romley-EP IVY refresh.
Quoted 6 lines
Quoted 6 lines
In discussion with Nitin
about MGA a few weeks back the conclusion was that the vesa driver should be sufficient. As far as I'm aware the reference platforms don't ship with MGA hardware so it's up to the owner of the platform to install whatever they have to hand (mga, nvidia, ATI, etc), or am I wrong about that?Quoted 8 lines
Quoted 3 lines
Nitin?
Yunguo?
We thought vesa is supposed to work.
Intel OSVe team reported this problem against WRLinux 5.0.1, and I fixed it by adding mga package.
Note that, mga kernel driver was not built-in or as a module.Quoted 6 lines
I missed that the kernel module was missing. Oops. That's easy enough to add to the common-pc graphics fragment. But what we need to know is if we should try to get MGA into oe-core or not. I honestly don't understand why we shouldn't, with intel and omap in there already. It seems silly to have a special layer for the xorg driver when mesa and the kernel already build their part for the same hardware....
Quoted 5 lines
Not sure if adding MGA to config fragment could fix this issue, but in my memory it was not working.
That's why I added MGA user space package.But you can try, any Romley-EP machine could reproduce it.
I don't have one personally. Nitin, could you forward this information along to someone who does? Can they test with Vesa?
--
Darren
Quoted 21 lines
Regards,
YunguoQuoted 16 lines
Are there any compelling arguments for not including the mga driver in oe-core?
Quoted 12 lines
Regards,
YunguoQuoted 9 lines
Quoted 6 lines
Quoted 3 lines
Remove the checkfile patch from Ross as this is now handled adequately with the configure prepend hack which assumes success for any checkfile calls.
Assuming success in an distro where opengl isn't enabled will result in the driver believing that DRI is enabled when it isn't, so expect to see build failures from this.
Should we be adding a distro depends on opengl for this driver as is being done for others currently?
Signature · 3 lines
Darren Hart Intel Open Source Technology Center Yocto Project - Linux Kernel
PATCH 4/4 genericx86: Create a x86-common.inc base for the x86 BSPs
In reply to Darren HartFixes [YOCTO #5108] (adds support for xf86-video-mga to generic-x86*)
The genericx86 and genericx86-64 machines share a great deal in common in terms of machine features, required packages, etc. Use a common include file to simplify changes to both machine definitions and avoid accidental omissions.
Replace the hard-coded XSERVER assignment with the XSERVER_IA32* defines from ia32-base.inc.
--- meta-yocto-bsp/conf/machine/genericx86-64.conf | 29 +----------------- meta-yocto-bsp/conf/machine/genericx86.conf | 31 +------------------- meta-yocto-bsp/conf/machine/include/x86-common.inc | 26 ++++++++++++++++ 3 files changed, 28 insertions(+), 58 deletions(-) create mode 100644 meta-yocto-bsp/conf/machine/include/x86-common.inc
meta-yocto-bsp/conf/machine/genericx86-64.conf +1 -28
@@ -4,31 +4,4 @@ #@DESCRIPTION: Machine configuration for generic X86_64 (64-bit) PCs and servers. Supports a moderately wide range of drivers that should boot and be usable on "typical" hardware. include conf/machine/include/tune-x86_64.inc - -MACHINE_FEATURES = "screen keyboard pci usbhost ext2 ext3 x86 wifi acpi alsa efi pcbios" - -KERNEL_IMAGETYPE = "bzImage" - -PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto" -PREFERRED_VERSION_linux-yocto ?= "3.10%" -PREFERRED_PROVIDER_virtual/xserver ?= "xserver-xorg" -XSERVER ?= "xserver-xorg \ - xserver-xorg-extension-glx \ - xf86-input-mouse \ - xf86-input-keyboard \ - xf86-input-evdev \ - xf86-input-synaptics \ - xf86-video-fbdev \ - xf86-video-modesetting \ - xf86-video-vesa \ - xf86-video-intel \ - mesa-driver-i915 \ - mesa-driver-i965" - -MACHINE_EXTRA_RRECOMMENDS = "kernel-modules eee-acpi-scripts linux-firmware v86d" - -IMAGE_FSTYPES ?= "ext3 cpio.gz live" - -GLIBC_ADDONS = "nptl" - -EXTRA_OECONF_append_pn-matchbox-panel-2 = " --with-battery=acpi" +include conf/machine/include/x86-common.inc
meta-yocto-bsp/conf/machine/genericx86.conf +1 -30
@@ -4,33 +4,4 @@ #@DESCRIPTION: Machine configuration for generic X86 (32-bit) PCs. Supports a moderately wide range of drivers that should boot and be usable on "typical" hardware. include conf/machine/include/tune-atom.inc - -MACHINE_FEATURES = "screen keyboard pci usbhost ext2 ext3 x86 wifi acpi alsa" - -KERNEL_IMAGETYPE = "bzImage" - -PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto" -PREFERRED_VERSION_linux-yocto ?= "3.10%" -PREFERRED_PROVIDER_virtual/xserver ?= "xserver-xorg" -XSERVER ?= "xserver-xorg \ - xserver-xorg-extension-glx \ - xf86-input-mouse \ - xf86-input-keyboard \ - xf86-input-evdev \ - xf86-input-synaptics \ - xf86-video-fbdev \ - xf86-video-modesetting \ - xf86-video-vesa \ - xf86-video-intel \ - mesa-driver-i915 \ - mesa-driver-i965" - -#MACHINE_EXTRA_RDEPENDS = "rt2860" - -MACHINE_EXTRA_RRECOMMENDS = "kernel-modules eee-acpi-scripts linux-firmware v86d" - -IMAGE_FSTYPES ?= "ext3 cpio.gz live" - -GLIBC_ADDONS = "nptl" - -EXTRA_OECONF_append_pn-matchbox-panel-2 = " --with-battery=acpi" +include conf/machine/include/x86-common.inc
meta-yocto-bsp/conf/machine/include/x86-common.inc new file +26 -0
@@ -0,0 +1,26 @@ +include conf/machine/include/ia32-base.inc +MACHINE_FEATURES = "screen keyboard pci usbhost ext2 ext3 x86 wifi acpi alsa \ + efi pcbios" + +KERNEL_IMAGETYPE = "bzImage" + +PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto" +PREFERRED_VERSION_linux-yocto ?= "3.10%" +PREFERRED_PROVIDER_virtual/xserver ?= "xserver-xorg" +XSERVER ?= "${XSERVER_IA32_BASE} \ + ${XSERVER_IA32_EXT} \ + ${XSERVER_IA32_I915} \ + ${XSERVER_IA32_I965} \ + ${XSERVER_IA32_MATROX_MGA} \ + ${XSERVER_IA32_FBDEV} \ + ${XSERVER_IA32_VESA} \ + ${XSERVER_IA32_MODESETTING} \ + " + +MACHINE_EXTRA_RRECOMMENDS = "kernel-modules eee-acpi-scripts linux-firmware v86d" + +IMAGE_FSTYPES ?= "ext3 cpio.gz live" + +GLIBC_ADDONS = "nptl" + +EXTRA_OECONF_append_pn-matchbox-panel-2 = " --with-battery=acpi"
Signature · 1 line
1.7.9.5
Quoted 34 lines · Darren Hart
Fixes [YOCTO #5110]
Add support for the iwlwifi 7260 adapters. This creates a new package and includes support in the default linux-firmware (everything) package.
Update the iwlwifi and radeon license checksums. Extensions to the copyright date ranges were the only change to the LICENSE files.
Signed-off-by Darren Hart <[email protected]>--- .../linux-firmware/linux-firmware_git.bb | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-)meta/recipes-kernel/linux-firmware/linux-firmware_git.bb +2
-2@@ -7,12 +7,12 @@ SECTION = "kernel" LICENSE = "Proprietary" -LIC_FILES_CHKSUM = "file://LICENSE.radeon;md5=e56b405656593a0c97e478513051ea0e \ +LIC_FILES_CHKSUM = "file://LICENSE.radeon;md5=9c2faab1bfca55e1510d6bde67206f9c \ file://LICENSE.dib0700;md5=f7411825c8a555a1a3e5eab9ca773431 \ file://LICENCE.xc5000;md5=1e170c13175323c32c7f4d0998d53f66 \ file://LICENCE.ralink-firmware.txt;md5=ab2c269277c45476fb449673911a2dfd \ file://LICENCE.qla2xxx;md5=4005328a134054f0fa077bdc37aa64f2 \ - file://LICENCE.iwlwifi_firmware;md5=11545778abf78c43d7644d4f171ea1c7 \ + file://LICENCE.iwlwifi_firmware;md5=8b938534f77ffd453690eb34ed84ae8b \ file://LICENCE.i2400m;md5=14b901969e23c41881327c0d9e4b7d36 \ file://LICENCE.atheros_firmware;md5=30a14c7823beedac9fa39c64fdd01a13 \ file://LICENCE.agere;md5=af0133de6b4a9b2522defd5f188afd31 \
meta/recipes-kernel/linux-firmware/linux-firmware_git.bb LIC_FILES_CHKSUM = "file://LICENSE.radeon;md5=e56b405656593a0c97e478513051ea0e \ · line 29
Quoted 9 lines
meta/recipes-kernel/linux-firmware/linux-firmware_git.bb +2
-2@@ -23,10 +23,10 @@ LIC_FILES_CHKSUM = "file://LICENSE.radeon;md5=e56b405656593a0c97e478513051ea0e \ file://LICENCE.via_vt6656;md5=e4159694cba42d4377a912e78a6e850f \ " -SRCREV = "c530a75c1e6a472b0eb9558310b518f0dfcd8860" +SRCREV = "600caefd83a406540b2a789be6415e44c9b87add" PE = "1" PV = "0.0+git${SRCPV}" -PR = "r1" +PR = "r0"
I know this is OK but I'd prefer to omit the PR when it is r0; specially now we use PRServer.
Quoted 22 lines
meta/recipes-kernel/linux-firmware/linux-firmware_git.bb +2
-1SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git"@@ -172,10 +172,12 @@ ALTERNATIVE_TARGET_linux-firmware-bcm4334[brcmfmac-sdio.bin] = "/lib/firmware/br RDEPENDS_${PN}-iwlwifi-6000g2a-5 = "${PN}-iwlwifi-license" RDEPENDS_${PN}-iwlwifi-6000g2b-6 = "${PN}-iwlwifi-license" +RDEPENDS_${PN}-iwlwifi-7260-7 = "${PN}-iwlwifi-license" FILES_${PN}-iwlwifi-license = "/lib/firmware/LICENCE.iwlwifi_firmware" FILES_${PN}-iwlwifi-6000g2a-5 = "/lib/firmware/iwlwifi-6000g2a-5.ucode" FILES_${PN}-iwlwifi-6000g2b-6 = "/lib/firmware/iwlwifi-6000g2b-6.ucode" +FILES_${PN}-iwlwifi-7260-7 = "/lib/firmware/iwlwifi-7260-7.ucode" FILES_${PN} += "/lib/firmware/*" --1.7.9.5
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core
Signature · 3 lines
Otavio Salvador O.S. Systems http://www.ossystems.com.br http://code.ossystems.com.br Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750
Quoted 38 lines · Otavio Salvador
Quoted 37 lines · Darren Hart
Fixes [YOCTO #5110]
Add support for the iwlwifi 7260 adapters. This creates a new package and includes support in the default linux-firmware (everything) package.
Update the iwlwifi and radeon license checksums. Extensions to the copyright date ranges were the only change to the LICENSE files.
Signed-off-by Darren Hart <[email protected]>--- .../linux-firmware/linux-firmware_git.bb | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-)meta/recipes-kernel/linux-firmware/linux-firmware_git.bb +2
-2@@ -7,12 +7,12 @@ SECTION = "kernel" LICENSE = "Proprietary" -LIC_FILES_CHKSUM = "file://LICENSE.radeon;md5=e56b405656593a0c97e478513051ea0e \ +LIC_FILES_CHKSUM = "file://LICENSE.radeon;md5=9c2faab1bfca55e1510d6bde67206f9c \ file://LICENSE.dib0700;md5=f7411825c8a555a1a3e5eab9ca773431 \ file://LICENCE.xc5000;md5=1e170c13175323c32c7f4d0998d53f66 \ file://LICENCE.ralink-firmware.txt;md5=ab2c269277c45476fb449673911a2dfd \ file://LICENCE.qla2xxx;md5=4005328a134054f0fa077bdc37aa64f2 \ - file://LICENCE.iwlwifi_firmware;md5=11545778abf78c43d7644d4f171ea1c7 \ + file://LICENCE.iwlwifi_firmware;md5=8b938534f77ffd453690eb34ed84ae8b \ file://LICENCE.i2400m;md5=14b901969e23c41881327c0d9e4b7d36 \ file://LICENCE.atheros_firmware;md5=30a14c7823beedac9fa39c64fdd01a13 \ file://LICENCE.agere;md5=af0133de6b4a9b2522defd5f188afd31 \@@ -23,10 +23,10 @@ LIC_FILES_CHKSUM = "file://LICENSE.radeon;md5=e56b405656593a0c97e478513051ea0e \ file://LICENCE.via_vt6656;md5=e4159694cba42d4377a912e78a6e850f \ "
Quoted 9 lines
meta/recipes-kernel/linux-firmware/linux-firmware_git.bb LIC_FILES_CHKSUM = "file://LICENSE.radeon;md5=e56b405656593a0c97e478513051ea0e \ · line 29
Quoted 6 lines
meta/recipes-kernel/linux-firmware/linux-firmware_git.bb +2
-2-SRCREV = "c530a75c1e6a472b0eb9558310b518f0dfcd8860" +SRCREV = "600caefd83a406540b2a789be6415e44c9b87add" PE = "1" PV = "0.0+git${SRCPV}" -PR = "r1" +PR = "r0"I know this is OK but I'd prefer to omit the PR when it is r0; specially now we use PRServer.
Well, what is the official policy here? I'm happy to respin if necessary, but I'd rather not burn cycles if the policy is hazy on the subject.
Thanks,
Darren
Quoted 26 lines
Quoted 23 lines
meta/recipes-kernel/linux-firmware/linux-firmware_git.bb +2
-1SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git"@@ -172,10 +172,12 @@ ALTERNATIVE_TARGET_linux-firmware-bcm4334[brcmfmac-sdio.bin] = "/lib/firmware/br RDEPENDS_${PN}-iwlwifi-6000g2a-5 = "${PN}-iwlwifi-license" RDEPENDS_${PN}-iwlwifi-6000g2b-6 = "${PN}-iwlwifi-license" +RDEPENDS_${PN}-iwlwifi-7260-7 = "${PN}-iwlwifi-license" FILES_${PN}-iwlwifi-license = "/lib/firmware/LICENCE.iwlwifi_firmware" FILES_${PN}-iwlwifi-6000g2a-5 = "/lib/firmware/iwlwifi-6000g2a-5.ucode" FILES_${PN}-iwlwifi-6000g2b-6 = "/lib/firmware/iwlwifi-6000g2b-6.ucode" +FILES_${PN}-iwlwifi-7260-7 = "/lib/firmware/iwlwifi-7260-7.ucode" FILES_${PN} += "/lib/firmware/*" --1.7.9.5
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core
Signature · 3 lines
Darren Hart Intel Open Source Technology Center Yocto Project - Linux Kernel
Quoted 49 lines · Darren Hart
Quoted 38 lines · Otavio Salvador
Quoted 37 lines · Darren Hart
Fixes [YOCTO #5110]
Add support for the iwlwifi 7260 adapters. This creates a new package and includes support in the default linux-firmware (everything) package.
Update the iwlwifi and radeon license checksums. Extensions to the copyright date ranges were the only change to the LICENSE files.
Signed-off-by Darren Hart <[email protected]>--- .../linux-firmware/linux-firmware_git.bb | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-)meta/recipes-kernel/linux-firmware/linux-firmware_git.bb +2
-2@@ -7,12 +7,12 @@ SECTION = "kernel" LICENSE = "Proprietary" -LIC_FILES_CHKSUM = "file://LICENSE.radeon;md5=e56b405656593a0c97e478513051ea0e \ +LIC_FILES_CHKSUM = "file://LICENSE.radeon;md5=9c2faab1bfca55e1510d6bde67206f9c \ file://LICENSE.dib0700;md5=f7411825c8a555a1a3e5eab9ca773431 \ file://LICENCE.xc5000;md5=1e170c13175323c32c7f4d0998d53f66 \ file://LICENCE.ralink-firmware.txt;md5=ab2c269277c45476fb449673911a2dfd \ file://LICENCE.qla2xxx;md5=4005328a134054f0fa077bdc37aa64f2 \ - file://LICENCE.iwlwifi_firmware;md5=11545778abf78c43d7644d4f171ea1c7 \ + file://LICENCE.iwlwifi_firmware;md5=8b938534f77ffd453690eb34ed84ae8b \ file://LICENCE.i2400m;md5=14b901969e23c41881327c0d9e4b7d36 \ file://LICENCE.atheros_firmware;md5=30a14c7823beedac9fa39c64fdd01a13 \ file://LICENCE.agere;md5=af0133de6b4a9b2522defd5f188afd31 \@@ -23,10 +23,10 @@ LIC_FILES_CHKSUM = "file://LICENSE.radeon;md5=e56b405656593a0c97e478513051ea0e \ file://LICENCE.via_vt6656;md5=e4159694cba42d4377a912e78a6e850f \ "Quoted 9 lines
meta/recipes-kernel/linux-firmware/linux-firmware_git.bb LIC_FILES_CHKSUM = "file://LICENSE.radeon;md5=e56b405656593a0c97e478513051ea0e \ · line 29
Quoted 6 lines
meta/recipes-kernel/linux-firmware/linux-firmware_git.bb +2
-2-SRCREV = "c530a75c1e6a472b0eb9558310b518f0dfcd8860" +SRCREV = "600caefd83a406540b2a789be6415e44c9b87add" PE = "1" PV = "0.0+git${SRCPV}" -PR = "r1" +PR = "r0"I know this is OK but I'd prefer to omit the PR when it is r0; specially now we use PRServer.
Quoted 4 lines
Well, what is the official policy here? I'm happy to respin if necessary, but I'd rather not burn cycles if the policy is hazy on the subject.
Darren, sorry to say it is removal when possible.
Sau!
Quoted 31 lines
Thanks,
Darren
Quoted 26 lines
Quoted 23 lines
meta/recipes-kernel/linux-firmware/linux-firmware_git.bb +2
-1SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git"@@ -172,10 +172,12 @@ ALTERNATIVE_TARGET_linux-firmware-bcm4334[brcmfmac-sdio.bin] = "/lib/firmware/br RDEPENDS_${PN}-iwlwifi-6000g2a-5 = "${PN}-iwlwifi-license" RDEPENDS_${PN}-iwlwifi-6000g2b-6 = "${PN}-iwlwifi-license" +RDEPENDS_${PN}-iwlwifi-7260-7 = "${PN}-iwlwifi-license" FILES_${PN}-iwlwifi-license = "/lib/firmware/LICENCE.iwlwifi_firmware" FILES_${PN}-iwlwifi-6000g2a-5 = "/lib/firmware/iwlwifi-6000g2a-5.ucode" FILES_${PN}-iwlwifi-6000g2b-6 = "/lib/firmware/iwlwifi-6000g2b-6.ucode" +FILES_${PN}-iwlwifi-7260-7 = "/lib/firmware/iwlwifi-7260-7.ucode" FILES_${PN} += "/lib/firmware/*" --1.7.9.5
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core
Quoted 50 lines · Saul Wold
Quoted 49 lines · Darren Hart
Quoted 47 lines · Otavio Salvador
Quoted 34 lines · Darren Hart
Fixes [YOCTO #5110]
Add support for the iwlwifi 7260 adapters. This creates a new package and includes support in the default linux-firmware (everything) package.
Update the iwlwifi and radeon license checksums. Extensions to the copyright date ranges were the only change to the LICENSE files.
Signed-off-by Darren Hart <[email protected]>--- .../linux-firmware/linux-firmware_git.bb | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-)meta/recipes-kernel/linux-firmware/linux-firmware_git.bb +2
-2@@ -7,12 +7,12 @@ SECTION = "kernel" LICENSE = "Proprietary" -LIC_FILES_CHKSUM = "file://LICENSE.radeon;md5=e56b405656593a0c97e478513051ea0e \ +LIC_FILES_CHKSUM = "file://LICENSE.radeon;md5=9c2faab1bfca55e1510d6bde67206f9c \ file://LICENSE.dib0700;md5=f7411825c8a555a1a3e5eab9ca773431 \ file://LICENCE.xc5000;md5=1e170c13175323c32c7f4d0998d53f66 \ file://LICENCE.ralink-firmware.txt;md5=ab2c269277c45476fb449673911a2dfd \ file://LICENCE.qla2xxx;md5=4005328a134054f0fa077bdc37aa64f2 \ - file://LICENCE.iwlwifi_firmware;md5=11545778abf78c43d7644d4f171ea1c7 \ + file://LICENCE.iwlwifi_firmware;md5=8b938534f77ffd453690eb34ed84ae8b \ file://LICENCE.i2400m;md5=14b901969e23c41881327c0d9e4b7d36 \ file://LICENCE.atheros_firmware;md5=30a14c7823beedac9fa39c64fdd01a13 \ file://LICENCE.agere;md5=af0133de6b4a9b2522defd5f188afd31 \meta/recipes-kernel/linux-firmware/linux-firmware_git.bb LIC_FILES_CHKSUM = "file://LICENSE.radeon;md5=e56b405656593a0c97e478513051ea0e \ · line 29
Quoted 9 lines
meta/recipes-kernel/linux-firmware/linux-firmware_git.bb +2
-2@@ -23,10 +23,10 @@ LIC_FILES_CHKSUM = "file://LICENSE.radeon;md5=e56b405656593a0c97e478513051ea0e \ file://LICENCE.via_vt6656;md5=e4159694cba42d4377a912e78a6e850f \ " -SRCREV = "c530a75c1e6a472b0eb9558310b518f0dfcd8860" +SRCREV = "600caefd83a406540b2a789be6415e44c9b87add" PE = "1" PV = "0.0+git${SRCPV}" -PR = "r1" +PR = "r0"I know this is OK but I'd prefer to omit the PR when it is r0; specially now we use PRServer.
Quoted 5 lines
Quoted 4 lines
Well, what is the official policy here? I'm happy to respin if necessary, but I'd rather not burn cycles if the policy is hazy on the subject.
Darren, sorry to say it is removal when possible.
Policy was hazy, however to me at least its now clear.
PR values are to be handled by the PR server and therefore we're clearing them out of recipes as and when we can (same applies to INC_PR). Ultimately they should disappear, the sooner the better as far as I'm concerned.
Cheers,
Richard
Quoted 55 lines · Richard Purdie
Quoted 54 lines · Saul Wold
Quoted 53 lines · Darren Hart
Quoted 38 lines · Otavio Salvador
Quoted 37 lines · Darren Hart
Fixes [YOCTO #5110]
Add support for the iwlwifi 7260 adapters. This creates a new package and includes support in the default linux-firmware (everything) package.
Update the iwlwifi and radeon license checksums. Extensions to the copyright date ranges were the only change to the LICENSE files.
Signed-off-by Darren Hart <[email protected]>--- .../linux-firmware/linux-firmware_git.bb | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-)meta/recipes-kernel/linux-firmware/linux-firmware_git.bb +2
-2@@ -7,12 +7,12 @@ SECTION = "kernel" LICENSE = "Proprietary" -LIC_FILES_CHKSUM = "file://LICENSE.radeon;md5=e56b405656593a0c97e478513051ea0e \ +LIC_FILES_CHKSUM = "file://LICENSE.radeon;md5=9c2faab1bfca55e1510d6bde67206f9c \ file://LICENSE.dib0700;md5=f7411825c8a555a1a3e5eab9ca773431 \ file://LICENCE.xc5000;md5=1e170c13175323c32c7f4d0998d53f66 \ file://LICENCE.ralink-firmware.txt;md5=ab2c269277c45476fb449673911a2dfd \ file://LICENCE.qla2xxx;md5=4005328a134054f0fa077bdc37aa64f2 \ - file://LICENCE.iwlwifi_firmware;md5=11545778abf78c43d7644d4f171ea1c7 \ + file://LICENCE.iwlwifi_firmware;md5=8b938534f77ffd453690eb34ed84ae8b \ file://LICENCE.i2400m;md5=14b901969e23c41881327c0d9e4b7d36 \ file://LICENCE.atheros_firmware;md5=30a14c7823beedac9fa39c64fdd01a13 \ file://LICENCE.agere;md5=af0133de6b4a9b2522defd5f188afd31 \@@ -23,10 +23,10 @@ LIC_FILES_CHKSUM = "file://LICENSE.radeon;md5=e56b405656593a0c97e478513051ea0e \ file://LICENCE.via_vt6656;md5=e4159694cba42d4377a912e78a6e850f \ "Quoted 9 lines
meta/recipes-kernel/linux-firmware/linux-firmware_git.bb LIC_FILES_CHKSUM = "file://LICENSE.radeon;md5=e56b405656593a0c97e478513051ea0e \ · line 29
Quoted 6 lines
meta/recipes-kernel/linux-firmware/linux-firmware_git.bb +2
-2-SRCREV = "c530a75c1e6a472b0eb9558310b518f0dfcd8860" +SRCREV = "600caefd83a406540b2a789be6415e44c9b87add" PE = "1" PV = "0.0+git${SRCPV}" -PR = "r1" +PR = "r0"I know this is OK but I'd prefer to omit the PR when it is r0; specially now we use PRServer.
Well, what is the official policy here? I'm happy to respin if necessary, but I'd rather not burn cycles if the policy is hazy on the subject.
Quoted 9 lines
Quoted 1 line
Darren, sorry to say it is removal when possible.
Policy was hazy, however to me at least its now clear.
PR values are to be handled by the PR server and therefore we're clearing them out of recipes as and when we can (same applies to
INC_PR). Ultimately they should disappear, the sooner the better as far as I'm concerned.
OK, I'll remove the PR and include in a V2 series.
Signature · 3 lines
Darren Hart Intel Open Source Technology Center Yocto Project - Linux Kernel
cover Updates in support of genericx86*
As this series bridges both oe-core and poky and is best viewed as one series, I opted to send the series to both lists.
These patches address bugs/feature requests for additional support of linux-firmware and xorg-video-* drivers for the new meta-yocto-bsp genericx86 and genericx86-64 machines.
Some of the oe-core changes could be contained in the meta-yocto-bsp layer, but as these changes come from meta-intel, they are needed by multiple layers, and I felt it might make more sense in oe-core. If people object to the mga or intel xserver video drivers, I can respin those for meta-yocto-bsp.
The following changes since commit f41b7a7d4d0463a0dfafe6621d01680b81798019:
bitbake: hob: remove PACKAGE_INSTALL variable setting from hob (2013-09-04 14:18:49 +0100)
are available in the git repository at:
git://git.yoctoproject.org/poky-contrib dvhart/genericx86
http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=dvhart/genericx86
Darren Hart (4):
linux-firmware: Update SRCREV, pull in iwlwifi-7260 support
xorg-driver-common: Add configure and install appends from meta-intel
xf86-video-mga: Pull in Matrox MGA support from meta-intel
genericx86: Create a x86-common.inc base for the x86 BSPs
meta-yocto-bsp/conf/machine/genericx86-64.conf | 29 +----------------- meta-yocto-bsp/conf/machine/genericx86.conf | 31 +------------------- meta-yocto-bsp/conf/machine/include/x86-common.inc | 26 ++++++++++++++++ meta/conf/machine/include/ia32-base.inc | 2 ++ .../xorg-driver/xf86-video-mga_1.6.2.bb | 20 +++++++++++++ .../xorg-driver/xorg-driver-common.inc | 17 ++++++++++- .../linux-firmware/linux-firmware_git.bb | 10 ++++--- 7 files changed, 72 insertions(+), 63 deletions(-) create mode 100644 meta-yocto-bsp/conf/machine/include/x86-common.inc create mode 100644 meta/recipes-graphics/xorg-driver/xf86-video-mga_1.6.2.bb
Signature · 1 line
1.7.9.5
Re: [PATCH 0/4] Updates in support of genericx86*
Quoted 11 lines · Darren Hart
As this series bridges both oe-core and poky and is best viewed as one series, I opted to send the series to both lists.
These patches address bugs/feature requests for additional support of linux-firmware and xorg-video-* drivers for the new meta-yocto-bsp genericx86 and genericx86-64 machines.
Some of the oe-core changes could be contained in the meta-yocto-bsp layer, but as these changes come from meta-intel, they are needed by multiple layers, and I felt it might make more sense in oe-core. If people object to the mga or intel xserver video drivers, I can respin those for meta-yocto-bsp.
QEMU does not need them so they should be in meta-yocto-bsp.
Signature · 3 lines
Otavio Salvador O.S. Systems http://www.ossystems.com.br http://code.ossystems.com.br Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750
Re: [PATCH 0/4] Updates in support of genericx86*
Quoted 8 lines · Otavio Salvador
Quoted 7 lines · Darren Hart
As this series bridges both oe-core and poky and is best viewed as one series, I opted to send the series to both lists.
These patches address bugs/feature requests for additional support of linux-firmware and xorg-video-* drivers for the new meta-yocto-bsp genericx86 and genericx86-64 machines.
Quoted 7 lines
Quoted 4 lines
Some of the oe-core changes could be contained in the meta-yocto-bsp layer, but as these changes come from meta-intel, they are needed by multiple layers, and I felt it might make more sense in oe-core. If people object to the mga or intel xserver video drivers, I can respin those for meta-yocto-bsp.
QEMU does not need them so they should be in meta-yocto-bsp.
I'm fine with that if that is the consensus. Does anyone else care to weigh in?
Signature · 3 lines
Darren Hart Intel Open Source Technology Center Yocto Project - Linux Kernel
Re: [poky] [PATCH 0/4] Updates in support of genericx86*
Quoted 9 lines · Darren Hart
Quoted 6 lines
Quoted 4 lines
Some of the oe-core changes could be contained in the meta-yocto-bsp layer, but as these changes come from meta-intel, they are needed by multiple layers, and I felt it might make more sense in oe-core. If people object to the mga or intel xserver video drivers, I can respin those for meta-yocto-bsp.
QEMU does not need them so they should be in meta-yocto-bsp.
I'm fine with that if that is the consensus. Does anyone else care to weigh in?
By that logic nearly all the X drivers in oe-core should be in meta-yocto-bsp (synaptics, intel, modesetting, omap, omapfb, keyboard, mouse), but then we'd be forcing people using anything other than qemu to use meta-yocto-bsp (or duplicate the recipes). A more nuanced rationale for keeping modesettings/intel/etc is that whilst the driver isn't used on QEMU it is in use on a large number of machines so it can be centrally maintained in oe-core. I'm not convinced this holds for -mga (unless you're reading this from the late 90s) so it should be in meta-yocto-bsp.
Ross
Re: [poky] [PATCH 0/4] Updates in support of genericx86*
Quoted 11 lines · Ross
Quoted 9 lines · Darren Hart
Quoted 6 lines
Quoted 4 lines
Some of the oe-core changes could be contained in the meta-yocto-bsp layer, but as these changes come from meta-intel, they are needed by multiple layers, and I felt it might make more sense in oe-core. If people object to the mga or intel xserver video drivers, I can respin those for meta-yocto-bsp.
QEMU does not need them so they should be in meta-yocto-bsp.
I'm fine with that if that is the consensus. Does anyone else care to weigh in?
Quoted 9 lines
By that logic nearly all the X drivers in oe-core should be in meta-yocto-bsp (synaptics, intel, modesetting, omap, omapfb, keyboard, mouse), but then we'd be forcing people using anything other than qemu to use meta-yocto-bsp (or duplicate the recipes). A more nuanced rationale for keeping modesettings/intel/etc is that whilst the driver isn't used on QEMU it is in use on a large number of machines so it can be centrally maintained in oe-core. I'm not convinced this holds for -mga (unless you're reading this from the late 90s) so it should be in meta-yocto-bsp.
There is some thinking going on at the moment about merging genericx86 and qemux86 since the two machines are converging and any differences could be dealt with at runtime. To me, this is a key detail.
I agree that -mga is a push for OE-Core but the other drivers are useful and I can see a case for moving them towards the core rather than having several layers needing them.
Cheers,
Richard
Re: [poky] [PATCH 0/4] Updates in support of genericx86*
Quoted 22 lines · Richard Purdie
Quoted 11 lines · Ross
Quoted 9 lines · Darren Hart
Quoted 6 lines
Quoted 4 lines
Some of the oe-core changes could be contained in the meta-yocto-bsp layer, but as these changes come from meta-intel, they are needed by multiple layers, and I felt it might make more sense in oe-core. If people object to the mga or intel xserver video drivers, I can respin those for meta-yocto-bsp.
QEMU does not need them so they should be in meta-yocto-bsp.
I'm fine with that if that is the consensus. Does anyone else care to weigh in?
Quoted 9 lines
By that logic nearly all the X drivers in oe-core should be in meta-yocto-bsp (synaptics, intel, modesetting, omap, omapfb, keyboard, mouse), but then we'd be forcing people using anything other than qemu to use meta-yocto-bsp (or duplicate the recipes). A more nuanced rationale for keeping modesettings/intel/etc is that whilst the driver isn't used on QEMU it is in use on a large number of machines so it can be centrally maintained in oe-core. I'm not convinced this holds for -mga (unless you're reading this from the late 90s) so it should be in meta-yocto-bsp.
Quoted 7 lines
There is some thinking going on at the moment about merging genericx86 and qemux86 since the two machines are converging and any differences could be dealt with at runtime. To me, this is a key detail.
I agree that -mga is a push for OE-Core but the other drivers are useful and I can see a case for moving them towards the core rather than having several layers needing them.
I am not sure Intel's driver should be in OE-Core; if that's the case we'd need nouveau and ati drivers there as well as they are largely used in PCs.
Signature · 3 lines
Otavio Salvador O.S. Systems http://www.ossystems.com.br http://code.ossystems.com.br Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750