diff options
author | Darren Hart <dvhart@linux.intel.com> | 2012-05-23 17:27:11 -0700 |
---|---|---|
committer | Darren Hart <dvhart@linux.intel.com> | 2012-05-29 14:20:30 -0700 |
commit | 6fe4a9692863ee5a9aadf5786481757866a4bb18 (patch) | |
tree | 7e892f52f8f1de168c748a51acc8fd30490f5859 /meta-fri2 | |
parent | edaef395dac10a1b2c405f2f5d47798d795d7687 (diff) | |
download | meta-intel-6fe4a9692863ee5a9aadf5786481757866a4bb18.tar.gz |
fri2: README: Add device details and known issues
Expand the README to provide more details about the device as well as how to
configure and interract with it. List known issues.
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
CC: Scott Rifenbark <scott.m.rifenbark@intel.com>
Diffstat (limited to 'meta-fri2')
-rw-r--r-- | meta-fri2/README | 189 |
1 files changed, 182 insertions, 7 deletions
diff --git a/meta-fri2/README b/meta-fri2/README index df2fa87a..2208392f 100644 --- a/meta-fri2/README +++ b/meta-fri2/README | |||
@@ -2,10 +2,15 @@ This README file contains information on building the meta-fri2 BSP | |||
2 | layer, and booting the images contained in the /binary directory. | 2 | layer, and booting the images contained in the /binary directory. |
3 | Please see the corresponding sections below for details. | 3 | Please see the corresponding sections below for details. |
4 | 4 | ||
5 | The Fish River Island II platform consists of the Intel Atom Z6xx | 5 | The Fish River Island II BSP supports the Kontron M2M Smart Services |
6 | processor, plus the Intel EG20T Platform Controller Hub (Tunnel Creek | 6 | Developer Kit, as described here: |
7 | + Topcliff), along with a varied assortment of communications options | 7 | |
8 | and various other machine-to-machine (m2m) capabilities. | 8 | http://us.kontron.com/products/systems+and+platforms/m2m/m2m+smart+services+developer+kit.html |
9 | |||
10 | The platform consists of the Intel Atom E640T processor plus the Intel | ||
11 | EG20T Platform Controller Hub (Tunnel Creek + Topcliff), along with a | ||
12 | variety of communications options and other machine-to-machine (m2m) | ||
13 | capabilities. | ||
9 | 14 | ||
10 | It also supports the E6xx embedded on-chip graphics via the Intel | 15 | It also supports the E6xx embedded on-chip graphics via the Intel |
11 | Embedded Media and Graphics Driver (EMGD) 1.10 Driver. | 16 | Embedded Media and Graphics Driver (EMGD) 1.10 Driver. |
@@ -44,6 +49,21 @@ Table of Contents | |||
44 | 49 | ||
45 | I. Building the meta-fri2 BSP layer | 50 | I. Building the meta-fri2 BSP layer |
46 | II. Booting the images in /binary | 51 | II. Booting the images in /binary |
52 | III. Device Notes | ||
53 | a. Serial Port | ||
54 | b. HDMI | ||
55 | c. Power Reset | ||
56 | d. Accelerometer | ||
57 | e. GPIO | ||
58 | f. MMC | ||
59 | g. 802.11 | ||
60 | h. 802.15.4 | ||
61 | i. Audio | ||
62 | j. Optional devices | ||
63 | IV. Known Issues | ||
64 | a. EFI boot fails | ||
65 | b. Client USB is disabled | ||
66 | c. Audio over secondary HDMI port only | ||
47 | 67 | ||
48 | 68 | ||
49 | I. Building the meta-fri2 BSP layer | 69 | I. Building the meta-fri2 BSP layer |
@@ -55,9 +75,8 @@ Package (BSP) Downloads' page of the Yocto Project website. | |||
55 | 75 | ||
56 | Having done that, and assuming you extracted the BSP tarball contents | 76 | Having done that, and assuming you extracted the BSP tarball contents |
57 | at the top-level of your yocto build tree, you can build an fri2 image | 77 | at the top-level of your yocto build tree, you can build an fri2 image |
58 | by adding the location of the meta-fri2 layer to bblayers.conf, along | 78 | by adding the location of the meta-intel and meta-fri2 layers to |
59 | with the meta-intel layer itself (to access common metadata shared | 79 | bblayers.conf, e.g.: |
60 | between BSPs) e.g.: | ||
61 | 80 | ||
62 | yocto/meta-intel \ | 81 | yocto/meta-intel \ |
63 | yocto/meta-intel/meta-fri2 \ | 82 | yocto/meta-intel/meta-fri2 \ |
@@ -139,3 +158,159 @@ the syslinux boot: prompt, or the boot: prompt contains strange | |||
139 | characters), try doing this first: | 158 | characters), try doing this first: |
140 | 159 | ||
141 | # dd if=/dev/zero of=/dev/sdf bs=1M count=512 | 160 | # dd if=/dev/zero of=/dev/sdf bs=1M count=512 |
161 | |||
162 | |||
163 | III. Device Notes | ||
164 | ================================ | ||
165 | a. Serial Port | ||
166 | -------------- | ||
167 | The FRI2 has an optional serial daughter card providing a serial | ||
168 | console via the micro-USB port on the top of the device adjascent the | ||
169 | SIM card slot. | ||
170 | |||
171 | The UART from the EG20T is connected to a TI UART-to-USB device | ||
172 | (TUSB3410) which appears as a serial port on the host computer. From a | ||
173 | Linux host, load the driver with the following options: | ||
174 | |||
175 | # modprobe ti_usb_3410_5052 vendor_3410=0x0451 product_3410=0x5053 | ||
176 | |||
177 | In future versions of the Linux kernel (3.4 and later), the | ||
178 | vendor and product codes are detected automatically. | ||
179 | |||
180 | When you power on your FRI2, your host will discover a serial device | ||
181 | and name it /dev/ttyUSB0 (or similar). You can communicate with this | ||
182 | device at 115200 8N1 using your preferred terminal emulator. | ||
183 | |||
184 | In order to redirect the BIOS console to the serial port, you may need | ||
185 | to set up console redirection in the BIOS menu. The serial port is | ||
186 | referred to as COM2 in the BIOS. | ||
187 | |||
188 | Advanced | ||
189 | Serial Port Console Redirection | ||
190 | COM2 | ||
191 | Console Redirection [Enabled] | ||
192 | Console Redirection Settings | ||
193 | Terminal Type [ANSI] | ||
194 | Bits per second [115200] | ||
195 | Data Bits [8] | ||
196 | Parity [None] | ||
197 | Stop Bits [1] | ||
198 | Flow Control [None] | ||
199 | Recorder Mode [Disabled] | ||
200 | Resolution 100x31 [Disabled] | ||
201 | Legacy OS Redirection [80x24] | ||
202 | |||
203 | Note that the UART clock is configured at 48MHz in the firmware. This | ||
204 | will cause problems with software assuming a typical 1.8 MHz clock. | ||
205 | The Linux kernel pch-uart driver is aware of the clock, but Syslinux, | ||
206 | for example, is not. For software expecting a typical clock, directing | ||
207 | them to use a BAUD of 3318 (rather than 115200) can work around the | ||
208 | problem. | ||
209 | |||
210 | b. HDMI | ||
211 | ------- | ||
212 | The FRI2 has two micro HDMI ports. The one closest to the 1/8" audio | ||
213 | jacks is the primary display. | ||
214 | |||
215 | c. Power Reset | ||
216 | -------------- | ||
217 | The recessed button adjacent the LEDs on the top of the device is a | ||
218 | power reset button. | ||
219 | |||
220 | d. Accelerometer | ||
221 | ---------------- | ||
222 | The LIS331DLH accelerometer is connected to the I2C bus on the CPLD on | ||
223 | the compute module. The driver for this chip is under active | ||
224 | development and will be included in the BSP once completed. | ||
225 | |||
226 | e. GPIO | ||
227 | ------- | ||
228 | The FRI2 has two I2C PCA555x GPIO devices used for internal control | ||
229 | signals. These have not been exposed in the current release of the | ||
230 | BSP, but may be in the future. Regardless, these do would not provide | ||
231 | general purpose IO with which to read or drive additional signals. | ||
232 | |||
233 | f. MMC | ||
234 | ------ | ||
235 | The FRI2 provides two microSD card MMC devices. One is located | ||
236 | adjacent the 1/8" audio jacks, another is located on the board inside | ||
237 | the chassis. These devices can be used to boot the device, or as | ||
238 | secondary storage. | ||
239 | |||
240 | g. 802.11 | ||
241 | --------- | ||
242 | The Intel Corporation Centrino Advanced-N 6205 that ships with the | ||
243 | FRI2 is supported. You can use connman-gnome to configures the | ||
244 | interface. | ||
245 | |||
246 | h. 802.15.4 | ||
247 | ----------- | ||
248 | The TI CC2531 802.15.4 radio is a USB ACM modem. The MAC is enabled by | ||
249 | issuing the following command: | ||
250 | |||
251 | # echo J > /dev/ttyACM0 | ||
252 | |||
253 | The bank of 3 LEDs nearest the power reset button will change if this | ||
254 | command is executed successfully. If you have a 3G modem installed, | ||
255 | the 802.15.4 device may appear as /dev/ttyACM3 instead. | ||
256 | |||
257 | No further testing or integration has been done. | ||
258 | |||
259 | i. Audio | ||
260 | -------------------- | ||
261 | The FRI2 has an 1/8" analog output (nearest the antennae), a line-in | ||
262 | input below that, as well as SPDIF over HDMI. These can be tested | ||
263 | using the alsa-utils package. aplay -l will list both playback | ||
264 | devices: | ||
265 | |||
266 | # aplay -l | ||
267 | **** List of PLAYBACK Hardware Devices **** | ||
268 | card 0: MID [HDA Intel MID], device 0: ALC262 Analog [ALC262 Analog] | ||
269 | Subdevices: 1/1 | ||
270 | Subdevice #0: subdevice #0 | ||
271 | card 0: MID [HDA Intel MID], device 3: ALC262 Digital [ALC262 Digital] | ||
272 | Subdevices: 1/1 | ||
273 | Subdevice #0: subdevice #0 | ||
274 | |||
275 | Using a sample WAV file, you can use aplay to play to either device: | ||
276 | |||
277 | Over analog: | ||
278 | # aplay -D plughw:0,0 sample.wav | ||
279 | |||
280 | Over HDMI: | ||
281 | # aplay -D plughw:0,3 sample.wav | ||
282 | |||
283 | |||
284 | j. Optional Devices | ||
285 | ------------------- | ||
286 | The FRI2 has two mini-PCIe slots internally. The device ships with a | ||
287 | half-length wireless card installed. This can be replaced with a | ||
288 | wireless + bluetooth card. The other slot is available for use with | ||
289 | cellular cards or mSATA SSDs. | ||
290 | |||
291 | The Ericsson F5521gw 3G modem has been verifed with the FRI2 images. | ||
292 | Note that the connman-gnome UI does not allow for configuring the | ||
293 | cellular interface. The ofono-tests package can be used to configure | ||
294 | the modem and bring up an interface. | ||
295 | |||
296 | |||
297 | IV. Known Issues | ||
298 | ---------------- | ||
299 | a. EFI | ||
300 | ------ | ||
301 | The FRI2 firmware can boot to an EFI shell. It does not yet boot the | ||
302 | EFI payload provided on the FRI2 live image. This is a known issue | ||
303 | under investigation. | ||
304 | |||
305 | b. Client USB is disabled | ||
306 | ------------------------- | ||
307 | The micro-USB port adjacent the primary HDMI port is intended for | ||
308 | Client USB functionality, but is not supported on current revisions of | ||
309 | the device. | ||
310 | |||
311 | c. Audio over secondary HDMI port only | ||
312 | -------------------------------------- | ||
313 | While audio over HDMI has been shown to work, it seems to only work over | ||
314 | the secondary (bottom-most) HDMI port. There does not appear to be a | ||
315 | deterministic way of getting the device to output the signal (video and audio) | ||
316 | over the secondary port. | ||