diff options
| author | Ong Chun Weng <chun.weng.ong@intel.com> | 2016-08-24 14:58:51 +0800 |
|---|---|---|
| committer | Tom Zanussi <tom.zanussi@linux.intel.com> | 2016-08-25 11:14:59 -0500 |
| commit | 20c6a8ab096c01a26f6cbac93ffe0d2004619061 (patch) | |
| tree | fd540a3c8685af79a99fecdd513eea7231b25f0a | |
| parent | 678db6436e4b118e1a888a3b93551e98b25c77cc (diff) | |
| download | meta-intel-20c6a8ab096c01a26f6cbac93ffe0d2004619061.tar.gz | |
meta-isg: meta-valleyisland: BSP layer retirement
This layer is retired from meta-intel master branch in future
YP releases because there are no immediate requirements for
support in newer LTSI kernel.
Signed-off-by: Ong Chun Weng <chun.weng.ong@intel.com>
Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
9 files changed, 0 insertions, 341 deletions
diff --git a/meta-isg/meta-valleyisland/COPYING.MIT b/meta-isg/meta-valleyisland/COPYING.MIT deleted file mode 100644 index 89de3547..00000000 --- a/meta-isg/meta-valleyisland/COPYING.MIT +++ /dev/null | |||
| @@ -1,17 +0,0 @@ | |||
| 1 | Permission is hereby granted, free of charge, to any person obtaining a copy | ||
| 2 | of this software and associated documentation files (the "Software"), to deal | ||
| 3 | in the Software without restriction, including without limitation the rights | ||
| 4 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
| 5 | copies of the Software, and to permit persons to whom the Software is | ||
| 6 | furnished to do so, subject to the following conditions: | ||
| 7 | |||
| 8 | The above copyright notice and this permission notice shall be included in | ||
| 9 | all copies or substantial portions of the Software. | ||
| 10 | |||
| 11 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
| 12 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
| 13 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
| 14 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
| 15 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
| 16 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN | ||
| 17 | THE SOFTWARE. | ||
diff --git a/meta-isg/meta-valleyisland/README b/meta-isg/meta-valleyisland/README deleted file mode 100644 index 073af2a3..00000000 --- a/meta-isg/meta-valleyisland/README +++ /dev/null | |||
| @@ -1,234 +0,0 @@ | |||
| 1 | This README file contains information on building the meta-valleyisland | ||
| 2 | BSP layer, and booting the images contained in the /binary directory. | ||
| 3 | Please see the corresponding sections below for details. | ||
| 4 | |||
| 5 | The Valley Island BSP consists of two versions: | ||
| 6 | 1. 32-bit Valley Island | ||
| 7 | 2. 64-bit Valley Island | ||
| 8 | |||
| 9 | The BSP is made specifically for IntelĀ® Atom E3800 Processor | ||
| 10 | Development Kit (formerly known as Valley Island). This BSP integrates | ||
| 11 | Intel Graphics for Linux driver (i965) as the integrated graphics. | ||
| 12 | |||
| 13 | Valley Island BSP is meant to support the following platforms: | ||
| 14 | 1. Valley Island Development Kit | ||
| 15 | 2. Bayley Bay CRB | ||
| 16 | 3. Bakersport CRB | ||
| 17 | 4. MinnowBoard MAX | ||
| 18 | |||
| 19 | Further information on the platforms supported by this BSP can be | ||
| 20 | found here: | ||
| 21 | |||
| 22 | http://www.intel.com/content/www/us/en/intelligent-systems/bay-trail/atom-processor-e3800-family-overview.html | ||
| 23 | |||
| 24 | Information on all IntelĀ® embedded platforms can be found here: | ||
| 25 | |||
| 26 | http://www.intel.com/p/en_US/embedded/hwsw/hardware | ||
| 27 | |||
| 28 | Yocto Project Compatible | ||
| 29 | ======================== | ||
| 30 | |||
| 31 | This BSP is compatible with the Yocto Project as per the requirements | ||
| 32 | listed here: | ||
| 33 | |||
| 34 | https://www.yoctoproject.org/webform/yocto-project-compatible-registration | ||
| 35 | |||
| 36 | Dependencies | ||
| 37 | ============ | ||
| 38 | |||
| 39 | This layer depends on: | ||
| 40 | |||
| 41 | URI: git://git.openembedded.org/bitbake | ||
| 42 | branch: master | ||
| 43 | |||
| 44 | URI: git://git.openembedded.org/openembedded-core | ||
| 45 | layers: meta | ||
| 46 | branch: master | ||
| 47 | |||
| 48 | URI: git://git.yoctoproject.org/meta-intel | ||
| 49 | layers: intel | ||
| 50 | branch: master | ||
| 51 | |||
| 52 | Patches | ||
| 53 | ======= | ||
| 54 | |||
| 55 | Please submit any patches against this BSP to the Meta-Intel Yocto mailing list | ||
| 56 | (meta-intel@yoctoproject.org) and cc: the maintainer: | ||
| 57 | |||
| 58 | Maintainer: Chang Rebecca Swee Fun <rebecca.swee.fun.chang@intel.com> | ||
| 59 | |||
| 60 | Please see the meta-isg/MAINTAINERS file for more details. | ||
| 61 | |||
| 62 | Table of Contents | ||
| 63 | ================= | ||
| 64 | |||
| 65 | I. Building the meta-valleyisland BSP layer | ||
| 66 | II. Booting the images in /binary | ||
| 67 | III. Device Notes | ||
| 68 | a. Boot Loader | ||
| 69 | b. I/O drivers | ||
| 70 | c. LPIO ACPI enumeration support | ||
| 71 | IV. Known Issues | ||
| 72 | a. I/O drivers | ||
| 73 | |||
| 74 | |||
| 75 | I. Building the meta-valleyisland BSP layer | ||
| 76 | =========================================== | ||
| 77 | |||
| 78 | In order to build an image with BSP support for a given release, you | ||
| 79 | need to download the corresponding BSP tarball from the 'Board Support | ||
| 80 | Package (BSP) Downloads' page of the Yocto Project website. | ||
| 81 | |||
| 82 | Having that done, and assuming you have extracted the BSP tarball contents | ||
| 83 | at the top-level of your Yocto build tree, you can build a valleyisland | ||
| 84 | image by adding the location of the meta-valleyisland layer to | ||
| 85 | bblayers.conf, along with the meta-intel layer itself (to access | ||
| 86 | common metadata shared between BSPs) e.g.: | ||
| 87 | |||
| 88 | yocto/meta-intel \ | ||
| 89 | yocto/meta-intel/meta-isg/meta-valleyisland \ | ||
| 90 | |||
| 91 | To enable the 32-bit Valley Island layer, add the valleyisland-32 MACHINE to local.conf: | ||
| 92 | |||
| 93 | MACHINE ?= "valleyisland-32" | ||
| 94 | |||
| 95 | To enable the 64-bit Valley Island layer, add the valleyisland-64 MACHINE to local.conf: | ||
| 96 | |||
| 97 | MACHINE ?= "valleyisland-64" | ||
| 98 | |||
| 99 | The meta-valleyisland contains support for Intel HD Audio. However, HD Audio | ||
| 100 | driver is dependent on gstreamer plugins and ffmpeg plugins to work properly. | ||
| 101 | These gstreamer plugins require license flags in order to be included in the build. | ||
| 102 | |||
| 103 | Add "commercial" in the LICENSE_FLAGS_WHITELIST in local.conf. For example: | ||
| 104 | |||
| 105 | LICENSE_FLAGS_WHITELIST = "commercial" | ||
| 106 | |||
| 107 | You should then be able to build a valleyisland image as such: | ||
| 108 | |||
| 109 | $ source oe-init-build-env | ||
| 110 | $ bitbake core-image-sato | ||
| 111 | |||
| 112 | At the end of a successful build, you should have a live image that | ||
| 113 | you can boot from a USB flash drive (see instructions on how to do | ||
| 114 | that below, in the section 'Booting the images from /binary'). | ||
| 115 | |||
| 116 | As an alternative to downloading the BSP tarball, you can also work | ||
| 117 | directly from the meta-intel git repository. For each BSP in the | ||
| 118 | 'meta-intel' repository, there are multiple branches, one | ||
| 119 | corresponding to each major release starting with 'laverne' (0.90), in | ||
| 120 | addition to the latest code which tracks the current master (note that | ||
| 121 | not all BSPs are present in every release). Instead of extracting a | ||
| 122 | BSP tarball at the top level of your yocto build tree, you can | ||
| 123 | equivalently check out the appropriate branch from the meta-intel | ||
| 124 | repository at the same location. | ||
| 125 | |||
| 126 | II. Booting the images in /binary | ||
| 127 | ================================= | ||
| 128 | |||
| 129 | This BSP contains (or builds) live images which must be converted to a | ||
| 130 | partitioned image format in order to boot them on the Valley Island | ||
| 131 | Development Kit, Bayley Bay CRB and Bakersport CRB. | ||
| 132 | |||
| 133 | You can deploy the hddimg image to a USB or SATA device. You will | ||
| 134 | need to know the device name on your host as well as the device name on | ||
| 135 | the target. Be careful with this step as using the wrong host device can | ||
| 136 | result in overwriting data on your host machine. | ||
| 137 | |||
| 138 | Under Linux, USB and SATA devices typically appears as /dev/sdb, | ||
| 139 | /dev/sdc, etc. Watching your system messages as you connect the device | ||
| 140 | will tell you exactly which device name is assigned to the device. | ||
| 141 | On the Valley Island platform, assuming only one storage device is | ||
| 142 | attached at boot, a USB or SATA device will be /dev/sda. | ||
| 143 | |||
| 144 | After inserting the boot media into your host machine and determining | ||
| 145 | your host and target device, create the image using the mkefidisk.sh | ||
| 146 | script, provided by poky under scripts/contrib/. Note that root | ||
| 147 | privileges are required. For example, using an USB device which appears | ||
| 148 | as /dev/sdc on the host: | ||
| 149 | |||
| 150 | $ sudo ./mkefidisk.sh /dev/sdc core-image-sato-valleyisland-32.hddimg /dev/sda | ||
| 151 | |||
| 152 | Follow the prompts on the screen to confirm the action. | ||
| 153 | |||
| 154 | Insert the device into the Valley Island platform and power on. This | ||
| 155 | should result in a system booted to the Sato graphical desktop. | ||
| 156 | |||
| 157 | The root password is empty on the Poky reference distribution images. | ||
| 158 | |||
| 159 | |||
| 160 | III. Device Notes | ||
| 161 | ================= | ||
| 162 | a. Boot Loader | ||
| 163 | -------------- | ||
| 164 | Valley Island Development Kit | ||
| 165 | BIOS : EBC MF01X003 | ||
| 166 | Note : It is recommended to use the default settings of this BIOS version. | ||
| 167 | |||
| 168 | Bayley Bay/ Bakersport CRB/ MinnowBoard MAX | ||
| 169 | BIOS : ISG BIOS 092_032 | ||
| 170 | EC : KSC v3.14 | ||
| 171 | |||
| 172 | Required settings in ISG BIOS | ||
| 173 | |||
| 174 | OS Selection: | ||
| 175 | Device Manager -> Boot -> OS Selection -> Yocto Linux | ||
| 176 | |||
| 177 | Turn off Secure-boot: | ||
| 178 | Device Manager -> Secure Boot Configuration -> Attempt Secure Boot -> | ||
| 179 | Uncheck | ||
| 180 | |||
| 181 | Turn off LPE Audio Support: | ||
| 182 | Device Manager -> System Setup -> South Cluster Configuration -> | ||
| 183 | Audio Configuration -> LPE Audio Support -> Disable | ||
| 184 | |||
| 185 | Turn on HD Audio Support: | ||
| 186 | Device Manager -> System Setup -> South Cluster Configuration -> | ||
| 187 | Audio Configuration -> Azalia Controller -> Enable | ||
| 188 | |||
| 189 | Please use EFI mode for all boot medium types, i.e. USB disk and Hard Disk. | ||
| 190 | Setting in BIOS: | ||
| 191 | |||
| 192 | Choose boot medium: | ||
| 193 | Boot Manager -> EFI (Hard Drive/USB Device) | ||
| 194 | |||
| 195 | Save settings: | ||
| 196 | Boot Maintenance Manager -> Boot Options -> Change Boot Order -> | ||
| 197 | Change the order -> Commmit Changes and Exit | ||
| 198 | |||
| 199 | |||
| 200 | b. I/O drivers | ||
| 201 | -------------- | ||
| 202 | The I2C controller driver supports fast mode by default. | ||
| 203 | To enable standard mode, appends the arguments to kernel command line. | ||
| 204 | |||
| 205 | "i2c-designware-pci.force_std_mode=1" (PCI mode) | ||
| 206 | "i2c-designware-platform.force_std_mode=1" (ACPI mode) | ||
| 207 | |||
| 208 | |||
| 209 | c. LPIO ACPI enumeration support | ||
| 210 | -------------------------------- | ||
| 211 | Required settings in ISG BIOS | ||
| 212 | |||
| 213 | Turn on ACPI mode | ||
| 214 | Device Manager -> System Setup -> South Cluster Configuration -> | ||
| 215 | LPSS & SCC Configuration -> LPSS & SCC Device Mode -> ACPI mode | ||
| 216 | |||
| 217 | Some LPSS devices are hidden in ACPI mode to support Windows. To enable | ||
| 218 | these devices, toggle the following in the BIOS Menu. | ||
| 219 | |||
| 220 | Device Manager -> System Setup -> South Cluster Configuration -> Miscellaneous | ||
| 221 | Configuration -> Unsupported LPSS Device and select "Unhide" | ||
| 222 | |||
| 223 | |||
| 224 | IV. Known Limitations | ||
| 225 | ===================== | ||
| 226 | a. I/O drivers | ||
| 227 | -------------- | ||
| 228 | HSUART: | ||
| 229 | |||
| 230 | When runninig PCI mode HSUART at baud rate 2M and above, you may observe | ||
| 231 | kernel message "serial8250: too much work for irq...". Most of the time it | ||
| 232 | won't disrupt the transfer and able to complete without data corruption. | ||
| 233 | However, occasionally your transfer may halt when that kernel message appear. | ||
| 234 | In this case, you would need to re-open the HSUART port. | ||
diff --git a/meta-isg/meta-valleyisland/README.sources b/meta-isg/meta-valleyisland/README.sources deleted file mode 100644 index eef58fec..00000000 --- a/meta-isg/meta-valleyisland/README.sources +++ /dev/null | |||
| @@ -1,18 +0,0 @@ | |||
| 1 | The sources for the packages comprising the images shipped with this | ||
| 2 | BSP can be found at the following location: | ||
| 3 | |||
| 4 | http://downloads.yoctoproject.org/mirror/sources/ | ||
| 5 | |||
| 6 | The metadata used to generate the images shipped with this BSP, in | ||
| 7 | addition to the code contained in this BSP, can be found at the | ||
| 8 | following location: | ||
| 9 | |||
| 10 | http://downloads.yoctoproject.org/releases/yocto/yocto-1.5/poky-dora-10.0.0.tar.bz2 | ||
| 11 | |||
| 12 | The metadata used to generate the images shipped with this BSP, in | ||
| 13 | addition to the code contained in this BSP, can also be found at the | ||
| 14 | following locations: | ||
| 15 | |||
| 16 | git://git.yoctoproject.org/poky.git | ||
| 17 | |||
| 18 | git://git.yoctoproject.org/meta-intel | ||
diff --git a/meta-isg/meta-valleyisland/conf/layer.conf b/meta-isg/meta-valleyisland/conf/layer.conf deleted file mode 100644 index 00eea9cd..00000000 --- a/meta-isg/meta-valleyisland/conf/layer.conf +++ /dev/null | |||
| @@ -1,14 +0,0 @@ | |||
| 1 | #We have a conf and classes directory, add to BBPATH | ||
| 2 | BBPATH .= ":${LAYERDIR}" | ||
| 3 | |||
| 4 | # We have a recipes directory, add to BBFILES | ||
| 5 | BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \ | ||
| 6 | ${LAYERDIR}/recipes-*/*/*.bbappend" | ||
| 7 | |||
| 8 | BBFILE_COLLECTIONS += "valleyisland" | ||
| 9 | BBFILE_PATTERN_valleyisland := "^${LAYERDIR}/" | ||
| 10 | BBFILE_PRIORITY_valleyisland = "6" | ||
| 11 | |||
| 12 | LAYERDEPENDS_valleyisland = "intel" | ||
| 13 | |||
| 14 | LICENSE_PATH += "${LAYERDIR}/custom-licenses" | ||
diff --git a/meta-isg/meta-valleyisland/conf/machine/valleyisland-32.conf b/meta-isg/meta-valleyisland/conf/machine/valleyisland-32.conf deleted file mode 100644 index 2353f3d1..00000000 --- a/meta-isg/meta-valleyisland/conf/machine/valleyisland-32.conf +++ /dev/null | |||
| @@ -1,25 +0,0 @@ | |||
| 1 | #@TYPE: Machine | ||
| 2 | #@NAME: valleyisland-32 | ||
| 3 | |||
| 4 | #@WEBTITLE: Intel Atom E38xx Processor (Valley Island) 32-bit with Open Source Frame Buffer Graphics | ||
| 5 | |||
| 6 | #@DESCRIPTION: Machine configuration for Valley Island 32-bit systems, without Intel-proprietary graphics bits | ||
| 7 | |||
| 8 | PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto" | ||
| 9 | PREFERRED_VERSION_linux-yocto ?= "3.14%" | ||
| 10 | |||
| 11 | require conf/machine/include/intel-core2-32-common.inc | ||
| 12 | require conf/machine/include/intel-common-pkgarch.inc | ||
| 13 | require conf/machine/include/meta-intel.inc | ||
| 14 | |||
| 15 | MACHINE_FEATURES += "pcbios efi" | ||
| 16 | |||
| 17 | MACHINE_EXTRA_RRECOMMENDS += "linux-firmware" | ||
| 18 | |||
| 19 | XSERVER ?= "${XSERVER_X86_BASE} \ | ||
| 20 | ${XSERVER_X86_EXT} \ | ||
| 21 | ${XSERVER_X86_FBDEV} \ | ||
| 22 | ${XSERVER_X86_I965} \ | ||
| 23 | " | ||
| 24 | |||
| 25 | APPEND += "acpi_enforce_resources=lax video=efifb:off vga=0x318" | ||
diff --git a/meta-isg/meta-valleyisland/conf/machine/valleyisland-64.conf b/meta-isg/meta-valleyisland/conf/machine/valleyisland-64.conf deleted file mode 100644 index 917b0a35..00000000 --- a/meta-isg/meta-valleyisland/conf/machine/valleyisland-64.conf +++ /dev/null | |||
| @@ -1,26 +0,0 @@ | |||
| 1 | #@TYPE: Machine | ||
| 2 | #@NAME: valleyisland-64 | ||
| 3 | |||
| 4 | #@WEBTITLE: Intel Atom E38xx Processor (Valley Island) 64-bit with Open Source Frame Buffer Graphics | ||
| 5 | |||
| 6 | #@DESCRIPTION: Machine configuration for Valley Island 64-bit systems, without Intel-proprietary graphics bits | ||
| 7 | |||
| 8 | |||
| 9 | PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto" | ||
| 10 | PREFERRED_VERSION_linux-yocto ?= "3.14%" | ||
| 11 | |||
| 12 | require conf/machine/include/intel-corei7-64-common.inc | ||
| 13 | require conf/machine/include/intel-common-pkgarch.inc | ||
| 14 | require conf/machine/include/meta-intel.inc | ||
| 15 | |||
| 16 | MACHINE_FEATURES += "pcbios efi" | ||
| 17 | |||
| 18 | MACHINE_EXTRA_RRECOMMENDS += "linux-firmware" | ||
| 19 | |||
| 20 | XSERVER ?= "${XSERVER_X86_BASE} \ | ||
| 21 | ${XSERVER_X86_EXT} \ | ||
| 22 | ${XSERVER_X86_FBDEV} \ | ||
| 23 | ${XSERVER_X86_I965} \ | ||
| 24 | " | ||
| 25 | |||
| 26 | APPEND += "acpi_enforce_resources=lax video=efifb:off vga=0x318" | ||
diff --git a/meta-isg/meta-valleyisland/recipes-bsp/formfactor/formfactor/valleyisland-32/machconfig b/meta-isg/meta-valleyisland/recipes-bsp/formfactor/formfactor/valleyisland-32/machconfig deleted file mode 100644 index ffce0122..00000000 --- a/meta-isg/meta-valleyisland/recipes-bsp/formfactor/formfactor/valleyisland-32/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-isg/meta-valleyisland/recipes-bsp/formfactor/formfactor/valleyisland-64/machconfig b/meta-isg/meta-valleyisland/recipes-bsp/formfactor/formfactor/valleyisland-64/machconfig deleted file mode 100644 index ffce0122..00000000 --- a/meta-isg/meta-valleyisland/recipes-bsp/formfactor/formfactor/valleyisland-64/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-isg/meta-valleyisland/recipes-bsp/formfactor/formfactor_0.0.bbappend b/meta-isg/meta-valleyisland/recipes-bsp/formfactor/formfactor_0.0.bbappend deleted file mode 100644 index 72d991c7..00000000 --- a/meta-isg/meta-valleyisland/recipes-bsp/formfactor/formfactor_0.0.bbappend +++ /dev/null | |||
| @@ -1 +0,0 @@ | |||
| 1 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" | ||
