UPdates in support of genericx86*
v2 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.
Changes since v1
* Remove the addition of the mga video driver (postponed)
* Rename x86-common.inc to genericx86-common.inc
* Remove duplication from ia32-base.inc and genericx86-common.inc
* Remove PR=0
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/genericx86v2
http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=dvhart/genericx86v2
Darren Hart (2):
linux-firmware: Update SRCREV, pull in iwlwifi-7260 support
genericx86: Create a genericx86-common.inc base for the x86 BSPs
meta-yocto-bsp/conf/machine/genericx86-64.conf | 29 +----------------- meta-yocto-bsp/conf/machine/genericx86.conf | 31 +------------------- .../conf/machine/include/genericx86-common.inc | 20 +++++++++++++ .../linux-firmware/linux-firmware_git.bb | 9 +++--- 4 files changed, 27 insertions(+), 62 deletions(-) create mode 100644 meta-yocto-bsp/conf/machine/include/genericx86-common.inc
Signature · 1 line
1.7.9.5
PATCH v2 1/2 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.
---
Changes since v1
* Remove PR=0
.../linux-firmware/linux-firmware_git.bb | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-)
meta/recipes-kernel/linux-firmware/linux-firmware_git.bb +5 -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,9 @@ 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" SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git"
@@ -172,10 +171,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 v2 2/2 genericx86: Create a genericx86-common.inc base for the x86 BSPs
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.
---
Changes since v1:
* Remove mga from XSERVER
* Remove duplication with ia32-base.inc
--- meta-yocto-bsp/conf/machine/genericx86-64.conf | 29 +----------------- meta-yocto-bsp/conf/machine/genericx86.conf | 31 +------------------- .../conf/machine/include/genericx86-common.inc | 20 +++++++++++++ 3 files changed, 22 insertions(+), 58 deletions(-) create mode 100644 meta-yocto-bsp/conf/machine/include/genericx86-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/genericx86-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/genericx86-common.inc
meta-yocto-bsp/conf/machine/include/genericx86-common.inc new file +20 -0
@@ -0,0 +1,20 @@ +include conf/machine/include/ia32-base.inc +MACHINE_FEATURES += "wifi efi pcbios" + +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_FBDEV} \ + ${XSERVER_IA32_VESA} \ + ${XSERVER_IA32_MODESETTING} \ + " + +MACHINE_EXTRA_RRECOMMENDS += "linux-firmware v86d" + +GLIBC_ADDONS = "nptl" + +EXTRA_OECONF_append_pn-matchbox-panel-2 = " --with-battery=acpi"
Signature · 1 line
1.7.9.5
Re: [PATCH 2/2] genericx86: Create a genericx86-common.inc base for the x86 BSPs
Quoted 11 lines · Darren Hart
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.
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 1/2] linux-firmware: Update SRCREV, pull in iwlwifi-7260 support
In reply to Darren HartQuoted 11 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]>Cc Otavio Salvador <[email protected]>
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