aboutsummaryrefslogtreecommitdiffstats
path: root/meta-isg/meta-crystalforest/README
blob: 48781056f3334cc00c7adc9ca135cce2f26606cb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
This README file contains information on building the meta-crystalforest
BSP layer, and booting the images contained in the /binary directory.
Please see the corresponding sections below for details.

Overview of Intel Communication Product Offering
------------------------------------------------

The following platforms are supported on meta-intel dizzy branch ONLY:

Crystal Forest/Server - Shumway reference platform configurations:
processor: Intel Xeon E5-2600/E5-2400       (Sandy Bridge-based) or
           Intel Xeon E5-2600v2/E5-2400v2   (Ivy Bridge-based)
chipset:   Intel Communication Chipset 8900-8920 Series (Cave Creek)
url: http://www.intel.com/p/en_US/embedded/hwsw/hardware/xeon-e5-89xx/overview

Crystal Forest/Gladden - Stargo reference platform configurations:
processor: Intel Xeon E3-1125C/E3-1105C     (Sandy Bridge-based) or
           Intel Xeon E3-1125v2/E3-1105v2   (Ivy Bridge-based)
chipset:   Intel Communication Chipset 8900-8920 Series (Cave Creek)
url: http://www.intel.com/p/en_US/embedded/hwsw/hardware/xeon-core-pentium-celeron-89xx/overview

Highland Forest (Crystal Forest/Server Refresh) - Shumway reference platform configurations:
processor: Intel Xeon E5-2600v2/E5-2400v2   (Ivy Bridge-based)
chipset:   Intel Communication Chipset 8925-8955 Series (Coleto Creek)
url: https://www-ssl.intel.com/content/www/us/en/intelligent-systems/crystal-forest-server/xeon-e5-v2-89xx-chipset-ibd.html

The following platform is supported on meta-intel fido branch and beyond.

River Forest - Long Brook reference platform configurations:
processor: Intel Xeon E5-2600v3/E5-2400v3   (Haswell EP-based)
chipset:   Intel Communication Chipset 8925-8955 Series (Coleto Creek)
url: https://www-ssl.intel.com/content/www/my/en/embedded/products/river-forest/overview.html?wapkw=coleto

All above four platforms use PCIe-based Matrox graphics card for display.

More Information on all Intel® embedded platforms can be found here:

  http://www.intel.com/p/en_US/embedded/hwsw/hardware


Yocto Project Compatible
========================

This BSP is compatible with the Yocto Project as per the requirements
listed here:

  https://www.yoctoproject.org/webform/yocto-project-compatible-registration

Dependencies
============

This layer depends on:

  URI: git://git.openembedded.org/bitbake
  branch: master

  URI: git://git.openembedded.org/openembedded-core
  layers: meta
  branch: master

  URI: git://git.yoctoproject.org/meta-intel
  layers: intel
  branch: master


Patches
=======

Please submit any patches against this BSP to the meta-intel mailing
list (meta-intel@yoctoproject.org) and cc: the maintainer:

Maintainer: Wu Chia Chuan <chia.chuan.wu@intel.com>

Please see the meta-isg/MAINTAINERS file for more details.


Table of Contents
=================

  I. Building the meta-crystalforest BSP layer
 II. Booting the images in /binary
III. Device Notes
    a. Boot Loader
    b. I/O drivers
IV. Enabling Intel DPDK and QuickAssist Technology

I. Building the meta-crystalforest BSP layer
=======================================

In order to build an image with BSP support for a given release, you
need to download the corresponding BSP tarball from the 'Board Support
Package (BSP) Downloads' page of the Yocto Project website.

Having done that, and assuming you extracted the BSP tarball contents
at the top-level of your yocto build tree, you can build a crystalforest
image by adding the location of the meta-crystalforest layer to
bblayers.conf, along with the meta-intel layer itself (to access
common metadata shared between BSPs) e.g.:

  yocto/meta-intel \
  yocto/meta-intel/meta-isg/meta-crystalforest \

Crystal Forest layer is meant for building both Crystal Forest Gladden
and Crystal Forest Server platforms. By enabling Crystal Forest layer,
the image you build is able to boot on both supported platforms.

To enable the Crystal Forest layer, add the Crystal Forest MACHINE to
build/local.conf:

  MACHINE ?= "crystalforest"

You should then be able to build a crystalforest image as such:

  $ source oe-init-build-env
  $ bitbake core-image-sato

At the end of a successful build, you should have a live image that
you can boot from a USB flash drive (see instructions on how to do
that below, in the section 'Booting the images from /binary').

The live image is located within build/tmp/deploy/images/<machine> folder.

As an alternative to downloading the BSP tarball, you can also work
directly from the meta-intel git repository.  For each BSP in the
'meta-intel' repository, there are multiple branches, one
corresponding to each major release starting with 'laverne' (0.90), in
addition to the latest code which tracks the current master (note that
not all BSPs are present in every release).  Instead of extracting a
BSP tarball at the top level of your yocto build tree, you can
equivalently check out the appropriate branch from the meta-intel
repository at the same location.


II. Booting the images in /binary
=================================

This BSP contains bootable live images, which can be used to directly
boot Yocto off of a USB flash drive.

You can deploy the hddimg image to a USB or SATA device. You will
need to know the device name on your host as well as the device name on
the target. Be careful with this step as using the wrong host device can
result in overwriting data on your host machine.

Under Linux, USB and SATA devices typically appears as /dev/sdb,
/dev/sdc, etc. Watching your system messages as you connect the device
will tell you exactly which device name is assigned to the device.
On the Valley Island platform, assuming only one storage device is
attached at boot, a USB or SATA device will be /dev/sda.

After inserting the boot media into your host machine and determining
your host and target device, create the image using the mkefidisk.sh
script, provided by poky under scripts/contrib/. Note that root
privileges are required. For example, using an USB device which appears
as /dev/sdc on the host:

$ sudo ./mkefidisk.sh /dev/sdc core-image-sato-<machine>.hddimg /dev/sda

Follow the prompts on the screen to confirm the action.

This should give you a bootable USB flash device.  Insert the device
into a bootable USB socket on the target, and power on.  This should
result in a system booted to the Sato graphical desktop.

If you want a terminal, use the arrows at the top of the UI to move to
different pages of available applications, one of which is named
'Terminal'.  Clicking that should give you a root terminal.

If you want to ssh into the system, you can use the root terminal to
ifconfig the IP address and use that to ssh in.  The root password is
empty, so to log in type 'root' for the user name and hit 'Enter' at
the Password prompt: and you should be in.

III. Device Notes
=================

a. Boot Loader
--------------
- Support BIOS version at Shumway board (HighlandForest/CrystalForest-server):
   CCFRCLC0.019

- Support BIOS version at Stargo board ( CrystalForest-Gladden ):
  CIVGCCK1.86C.0003.P00

- Support BIOS version at Long Brook board (RiverForest)
  GRNDCRB1.86B.0022.R01.i02.1405151000

b. I/O drivers
--------------
-Support Matrox graphic card.
-Support SATA, USB Host v2.0
-Supported I/O devices (APIC, RTC, SPI, UART, I2C, LPS, SMBus i801,
 WDT, and HPET)


IV. Enabling Intel DPDK and QuickAssist Technology
===================================================

DPDK recipe: meta-intel/meta-isg/common/recipes-extended/dpdk
QAT recipe:  meta-intel/meta-isg/common/recipes-extended/qat
QAT-enable zlib recipe: meta-intel/meta-isg/common/recipes-extended/zlib-qat

Note:
qat16 recipe is meant for platform with Coleto Creek  chipset.
qat15 recipe is meant for platform with Cave Creek chipset.

conf/machine/crystalforest.conf is the common machine configuration
to support Crystal Forest/server, Crystal Forest/gladden, Highland Forest and
River Forest. In order to generate the right binary for these platforms which
have different QAT technology, user could change the default config accordingly
within crystalforest.conf as below:

For Coleto Creek chipset:
PREFERRED_PROVIDER_virtual/qat ?= "qat16"

For Cave Creek chipset:
PREFERRED_PROVIDER_virtual/qat ?= "qat15"

Another option and preferred approach for above setting is to override
configuration under build/conf/local.conf as follow:

For Coleto Creek chipset:
PREFERRED_PROVIDER_virtual/qat = "qat16"

For Cave Creek chipset:
PREFERRED_PROVIDER_virtual/qat = "qat15"

By default, the machine configuration does not assume that the above
ingredients are pre-installed onto the BSP. Developers are required
to either use smart tool to install those software packages or
configure IMAGE_INSTALL under build/conf/local.conf, for example.

For Coleto Creek chipset:
IMAGE_INSTALL += "dpdk qat16 zlib-qat"

For Cavecreek Creek chipset:
IMAGE_INSTALL += "dpdk qat15 zlib-qat"

The list of packages can be searched under tmp/deploy/<package-type>
folder.