diff options
| author | Nitin A Kamble <nitin.a.kamble@intel.com> | 2014-09-04 15:03:22 -0700 |
|---|---|---|
| committer | Tom Zanussi <tom.zanussi@linux.intel.com> | 2014-09-16 20:11:53 -0500 |
| commit | db201e33a439bff71970edabc23659dccf5769fb (patch) | |
| tree | b94d078aceff44cc6e572442ceef76f2d592ab37 | |
| parent | 200ebb54f46f364e7eb1738c5e993374f03f407d (diff) | |
| download | meta-intel-db201e33a439bff71970edabc23659dccf5769fb.tar.gz | |
Remove emenlow machine support
The emenlow machine has been retired with this commit. This does not affect
the emenlow-noemgd machine and it is supported as usual.
Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
5 files changed, 6 insertions, 134 deletions
diff --git a/meta-emenlow/README b/meta-emenlow/README index 05a04837..0bf0cbcb 100644 --- a/meta-emenlow/README +++ b/meta-emenlow/README | |||
| @@ -82,35 +82,13 @@ common metadata shared between BSPs) e.g.: | |||
| 82 | yocto/meta-intel \ | 82 | yocto/meta-intel \ |
| 83 | yocto/meta-intel/meta-emenlow \ | 83 | yocto/meta-intel/meta-emenlow \ |
| 84 | 84 | ||
| 85 | The meta-emenlow layer contains support for two different machine | 85 | The meta-emenlow layer contains support for emenlow-noemgd machine |
| 86 | configurations. These configurations are identical except for the fact | 86 | configuration. The previously supported emenlow machine with the |
| 87 | that the one prefixed with 'emenlow' makes use of the | 87 | proprietary EMGD graphics driver has been retired. The 'emenlow-noemgd' |
| 88 | Intel-proprietary EMGD 1.18 graphics driver, while the one prefixed | 88 | machine configuration uses the open source 'gma500' kernel DRM driver |
| 89 | with 'emenlow-noemgd' does not. The 'emenlow-noemgd' machine | ||
| 90 | configuration instead uses the open source 'gma500' kernel DRM driver | ||
| 91 | along with the 'modesetting' X driver. | 89 | along with the 'modesetting' X driver. |
| 92 | 90 | ||
| 93 | If you want to enable the layer that supports EMGD graphics add the | 91 | To enable the layer add the following to the local.conf file: |
| 94 | following to the local.conf file: | ||
| 95 | |||
| 96 | MACHINE ?= "emenlow" | ||
| 97 | |||
| 98 | The 'emenlow' machine includes the emgd-driver-bin package, which has | ||
| 99 | a proprietary license that must be whitelisted by adding the string | ||
| 100 | "license_emgd-driver-bin_1.18" to the LICENSE_FLAGS_WHITELIST variable | ||
| 101 | in your local.conf. For example: | ||
| 102 | |||
| 103 | LICENSE_FLAGS_WHITELIST = "license_emgd-driver-bin" | ||
| 104 | |||
| 105 | The emgd recipe depends on Xorg's dri and glx modules, which are built | ||
| 106 | only when 'opengl' is listed in DISTRO_FEATURES. So if the distro | ||
| 107 | doesn't list 'opengl' in the DISTRO_FEATURES you would need this | ||
| 108 | additional line to your local.conf: | ||
| 109 | |||
| 110 | DISTRO_FEATURES_append = " opengl" | ||
| 111 | |||
| 112 | If you want to enable the layer that does not support EMGD graphics | ||
| 113 | add the following to the local.conf file: | ||
| 114 | 92 | ||
| 115 | MACHINE ?= "emenlow-noemgd" | 93 | MACHINE ?= "emenlow-noemgd" |
| 116 | 94 | ||
| @@ -123,21 +101,6 @@ At the end of a successful build, you should have a live image that | |||
| 123 | you can boot from a USB flash drive (see instructions on how to do | 101 | you can boot from a USB flash drive (see instructions on how to do |
| 124 | that below, in the section 'Booting the images from /binary'). | 102 | that below, in the section 'Booting the images from /binary'). |
| 125 | 103 | ||
| 126 | NOTE: The 'emenlow' machine will include support for hardware video | ||
| 127 | acceleration via gstreamer if and only if the "commercial" string is | ||
| 128 | added to the the LICENSE_FLAGS_WHITELIST variable in your local.conf. | ||
| 129 | |||
| 130 | For example: | ||
| 131 | |||
| 132 | LICENSE_FLAGS_WHITELIST = "license_emgd-driver-bin commercial" | ||
| 133 | |||
| 134 | The reason this is needed is to prevent the image from including | ||
| 135 | anything that might violate the license terms of the packages used to | ||
| 136 | implement the the video acceleration feature, such as gst-ffmpeg and | ||
| 137 | ffmpeg. As always, please consult the licenses included in the | ||
| 138 | specific packages for details if you use packages that require | ||
| 139 | particular LICENSE_FLAGS. | ||
| 140 | |||
| 141 | As an alternative to downloading the BSP tarball, you can also work | 104 | As an alternative to downloading the BSP tarball, you can also work |
| 142 | directly from the meta-intel git repository. For each BSP in the | 105 | directly from the meta-intel git repository. For each BSP in the |
| 143 | 'meta-intel' repository, there are multiple branches, one | 106 | 'meta-intel' repository, there are multiple branches, one |
| @@ -159,7 +122,7 @@ Under Linux, insert a USB flash drive. Assuming the USB flash drive | |||
| 159 | takes device /dev/sdf, use dd to copy the live image to it. For | 122 | takes device /dev/sdf, use dd to copy the live image to it. For |
| 160 | example: | 123 | example: |
| 161 | 124 | ||
| 162 | # dd if=core-image-sato-emenlow.hddimg of=/dev/sdf | 125 | # dd if=core-image-sato-emenlow-noemgd.hddimg of=/dev/sdf |
| 163 | # sync | 126 | # sync |
| 164 | # eject /dev/sdf | 127 | # eject /dev/sdf |
| 165 | 128 | ||
diff --git a/meta-emenlow/conf/machine/emenlow.conf b/meta-emenlow/conf/machine/emenlow.conf deleted file mode 100644 index 502d196a..00000000 --- a/meta-emenlow/conf/machine/emenlow.conf +++ /dev/null | |||
| @@ -1,32 +0,0 @@ | |||
| 1 | #@TYPE: Machine | ||
| 2 | #@NAME: emenlow | ||
| 3 | |||
| 4 | #@WEBTITLE: Intel Atom Z5xx Processor With Intel US15W Controller Hub (eMenlow) | ||
| 5 | |||
| 6 | #@DESCRIPTION: Machine configuration for eMenlow based systems, like the | ||
| 7 | # Webs-2120 box. | ||
| 8 | |||
| 9 | PREFERRED_VERSION_linux-yocto ?= "3.10%" | ||
| 10 | |||
| 11 | require conf/machine/include/intel-core2-32-common.inc | ||
| 12 | require conf/machine/include/meta-intel.inc | ||
| 13 | require conf/machine/include/meta-intel-emgd.inc | ||
| 14 | |||
| 15 | MACHINE_FEATURES += "va-impl-mixvideo" | ||
| 16 | |||
| 17 | MACHINE_HWCODECS ?= "va-intel" | ||
| 18 | XSERVERCODECS ?= "emgd-driver-video emgd-gst-plugins-va \ | ||
| 19 | emgd-gst-plugins-mixvideo gst-va-intel" | ||
| 20 | |||
| 21 | XSERVER ?= "${XSERVER_X86_BASE} \ | ||
| 22 | ${XSERVER_X86_EXT} \ | ||
| 23 | ${XSERVER_X86_EMGD} \ | ||
| 24 | " | ||
| 25 | |||
| 26 | PREFERRED_VERSION_xserver-xorg ?= "1.9.3" | ||
| 27 | PREFERRED_VERSION_xf86-input-synaptics ?= "1.6.3" | ||
| 28 | PREFERRED_VERSION_xf86-input-evdev ?= "2.6.0" | ||
| 29 | PREFERRED_VERSION_emgd-driver-bin ?= "1.18" | ||
| 30 | PREFERRED_VERSION_libva ?= "1.0.16" | ||
| 31 | |||
| 32 | APPEND += "video=vesafb vga=0x318 vmalloc=256MB reboot=pci" | ||
diff --git a/meta-emenlow/recipes-bsp/formfactor/formfactor/emenlow/machconfig b/meta-emenlow/recipes-bsp/formfactor/formfactor/emenlow/machconfig deleted file mode 100644 index ffce0122..00000000 --- a/meta-emenlow/recipes-bsp/formfactor/formfactor/emenlow/machconfig +++ /dev/null | |||
| @@ -1,3 +0,0 @@ | |||
| 1 | # Assume a USB mouse and keyboard are connected | ||
| 2 | HAVE_TOUCHSCREEN=0 | ||
| 3 | HAVE_KEYBOARD=1 | ||
diff --git a/meta-emenlow/recipes-graphics/xorg-xserver/xserver-xf86-config/emenlow/xorg.conf b/meta-emenlow/recipes-graphics/xorg-xserver/xserver-xf86-config/emenlow/xorg.conf deleted file mode 100644 index 52179631..00000000 --- a/meta-emenlow/recipes-graphics/xorg-xserver/xserver-xf86-config/emenlow/xorg.conf +++ /dev/null | |||
| @@ -1,43 +0,0 @@ | |||
| 1 | ## | ||
| 2 | ## X Config options generated from CED | ||
| 3 | ## x11 conf skeleton | ||
| 4 | ## DriverVer= | ||
| 5 | ## | ||
| 6 | |||
| 7 | Section "Screen" | ||
| 8 | Identifier "Screen0" | ||
| 9 | Device "IntelEMGD-0" | ||
| 10 | Monitor "Monitor0" | ||
| 11 | SubSection "Display" | ||
| 12 | EndSubSection | ||
| 13 | EndSection | ||
| 14 | |||
| 15 | # Primary (First/only) display | ||
| 16 | Section "Device" | ||
| 17 | Identifier "IntelEMGD-0" | ||
| 18 | Driver "emgd" | ||
| 19 | VendorName "Intel(R) DEG" | ||
| 20 | BoardName "Embedded Graphics" | ||
| 21 | BusID "0:2:0" | ||
| 22 | Screen 0 | ||
| 23 | Option "PcfVersion" "1792" | ||
| 24 | Option "ConfigId" "1" | ||
| 25 | Option "ALL/1/name" "e6xx" | ||
| 26 | Option "ALL/1/General/PortOrder" "24000" | ||
| 27 | Option "ALL/1/General/DisplayConfig" "1" | ||
| 28 | Option "ALL/1/General/DisplayDetect" "1" | ||
| 29 | Option "ALL/1/General/TuningWA" "1" | ||
| 30 | Option "ALL/1/Port/4/General/name" "lvds" | ||
| 31 | Option "ALL/1/Port/4/General/EdidAvail" "3" | ||
| 32 | Option "ALL/1/Port/4/General/EdidNotAvail" "1" | ||
| 33 | Option "ALL/1/Port/4/General/Rotation" "0" | ||
| 34 | Option "ALL/1/Port/4/General/Edid" "0" | ||
| 35 | EndSection | ||
| 36 | |||
| 37 | Section "ServerLayout" | ||
| 38 | Identifier "Default Layout" | ||
| 39 | Screen 0 "Screen0" 0 0 | ||
| 40 | # InputDevice "Mouse0" "CorePointer" | ||
| 41 | # InputDevice "Keyboard0" "CoreKeyboard" | ||
| 42 | # InputDevice "DevInputMice" "SendCoreEvents" | ||
| 43 | EndSection | ||
diff --git a/meta-emenlow/recipes-kernel/linux/linux-yocto_3.10.bbappend b/meta-emenlow/recipes-kernel/linux/linux-yocto_3.10.bbappend index bf3df764..b5ed2146 100644 --- a/meta-emenlow/recipes-kernel/linux/linux-yocto_3.10.bbappend +++ b/meta-emenlow/recipes-kernel/linux/linux-yocto_3.10.bbappend | |||
| @@ -1,23 +1,10 @@ | |||
| 1 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" | 1 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" |
| 2 | 2 | ||
| 3 | |||
| 4 | COMPATIBLE_MACHINE_emenlow = "emenlow" | ||
| 5 | KMACHINE_emenlow = "emenlow" | ||
| 6 | KBRANCH_emenlow = "standard/emenlow" | ||
| 7 | KERNEL_FEATURES_append_emenlow = " features/drm-emgd/drm-emgd-1.18 cfg/vesafb" | ||
| 8 | |||
| 9 | COMPATIBLE_MACHINE_emenlow-noemgd = "emenlow-noemgd" | 3 | COMPATIBLE_MACHINE_emenlow-noemgd = "emenlow-noemgd" |
| 10 | KMACHINE_emenlow-noemgd = "emenlow" | 4 | KMACHINE_emenlow-noemgd = "emenlow" |
| 11 | KBRANCH_emenlow-noemgd = "standard/emenlow" | 5 | KBRANCH_emenlow-noemgd = "standard/emenlow" |
| 12 | KERNEL_FEATURES_append_emenlow-noemgd = " features/drm-gma500/drm-gma500" | 6 | KERNEL_FEATURES_append_emenlow-noemgd = " features/drm-gma500/drm-gma500" |
| 13 | 7 | ||
| 14 | LINUX_VERSION_emenlow = "3.10.38" | ||
| 15 | SRCREV_meta_emenlow = "e1f26aeccfd43bc3d7e95873ceda469b631b8473" | ||
| 16 | SRCREV_machine_emenlow = "02f7e63e56c061617957388c23bd5cf9b05c5388" | ||
| 17 | SRCREV_emgd_emenlow = "42d5e4548e8e79e094fa8697949eed4cf6af00a3" | ||
| 18 | |||
| 19 | LINUX_VERSION_emenlow-noemgd = "3.10.38" | 8 | LINUX_VERSION_emenlow-noemgd = "3.10.38" |
| 20 | SRCREV_meta_emenlow-noemgd = "e1f26aeccfd43bc3d7e95873ceda469b631b8473" | 9 | SRCREV_meta_emenlow-noemgd = "e1f26aeccfd43bc3d7e95873ceda469b631b8473" |
| 21 | SRCREV_machine_emenlow-noemgd = "02f7e63e56c061617957388c23bd5cf9b05c5388" | 10 | SRCREV_machine_emenlow-noemgd = "02f7e63e56c061617957388c23bd5cf9b05c5388" |
| 22 | |||
| 23 | SRC_URI_emenlow = "git://git.yoctoproject.org/linux-yocto-3.10.git;protocol=git;nocheckout=1;branch=${KBRANCH},${KMETA},emgd-1.18;name=machine,meta,emgd" | ||
