From 818e6ba129e7dc68d392f191b813529d387c1ae0 Mon Sep 17 00:00:00 2001 From: Darren Hart Date: Wed, 5 Dec 2012 18:29:02 -0800 Subject: fri2: README update Update the README with various changes that somehow never made it in prior to the last release. These include details on the Intel provided Fast Boot EFI firmware, known issues, and de-versioning of the EMGD licensing configuration variables. Signed-off-by: Darren Hart --- meta-fri2/README | 127 +++++++++++++++++++++++++++++++++---------------------- 1 file changed, 77 insertions(+), 50 deletions(-) (limited to 'meta-fri2') diff --git a/meta-fri2/README b/meta-fri2/README index b90613d9..8c4d5678 100644 --- a/meta-fri2/README +++ b/meta-fri2/README @@ -1,5 +1,5 @@ This README file contains information on building the meta-fri2 BSP -layer, and booting the images contained in the /binary directory. +layer and booting the images contained in the /binary directory. Please see the corresponding sections below for details. The Fish River Island II BSP supports the Kontron M2M Smart Services @@ -59,20 +59,22 @@ Table of Contents I. Building the meta-fri2 BSP layer II. Booting the images in /binary III. Device Notes - a. Serial Port - b. HDMI - c. Power Reset - d. Accelerometer - e. GPIO - f. MMC - g. 802.11 - h. 802.15.4 - i. Audio - j. Optional devices + a. BIOS and Firmware + b. Serial Port + c. HDMI + d. Power Reset + e. Accelerometer + f. GPIO + g. MMC + h. 802.11 + i. 802.15.4 + j. Audio + k. Optional Devices IV. Known Issues a. EFI boot fails b. Client USB is disabled c. Audio over secondary HDMI port only + V. Additional Resources I. Building the meta-fri2 BSP layer @@ -93,7 +95,7 @@ bblayers.conf, e.g.: The meta-fri2 layer contains support for two different machine configurations. These configurations are identical except for the fact that the one prefixed with 'fri2' makes use of the Intel-proprietary -EMGD 1.14 graphics driver, while the one prefixed with 'fri2-noemgd' +EMGD graphics driver, while the one prefixed with 'fri2-noemgd' does not. If you want to enable the layer that supports EMGD graphics add the @@ -103,12 +105,12 @@ following to the local.conf file: The 'fri2' machine includes the emgd-driver-bin package, which has a proprietary license that must be whitelisted by adding the string -"license_emgd-driver-bin_1.14" to the LICENSE_FLAGS_WHITELIST variable -in your local.conf. For example: +"license_emgd-driver-bin" to the LICENSE_FLAGS_WHITELIST variable in +your local.conf. For example: - LICENSE_FLAGS_WHITELIST = "license_emgd-driver-bin_1.14" + LICENSE_FLAGS_WHITELIST = "license_emgd-driver-bin" -If you want to enable the layer that does not support EMGD graphics +If you want to enable the layer that does not support EMGD graphics, add the following to the local.conf file: MACHINE ?= "fri2-noemgd" @@ -128,7 +130,7 @@ added to the the LICENSE_FLAGS_WHITELIST variable in your local.conf. For example: - LICENSE_FLAGS_WHITELIST = "license_emgd-driver-bin_1.14 commercial" + LICENSE_FLAGS_WHITELIST = "license_emgd-driver-bin commercial" The reason this is needed is to prevent the image from including anything that might violate the license terms of the packages used to @@ -175,6 +177,11 @@ 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. +If instead of a live image, you would like to prepare an EFI bootable +partitioned image, use the mkefidisk.sh script provided in the scripts +directory of this BSP. Future versions of the images have an EFI +installer integrated into the live image. + ---- If you find you're getting corrupt images on the USB (it doesn't show @@ -186,10 +193,26 @@ characters), try doing this first: III. Device Notes ================================ -a. Serial Port +a. BIOS and Firmware + +Units provided from the Yocto Project Fish River Island 2 Giveaway +Program are preconfigured with the Intel provided Fast Boot EFI +firmware. This firmware will search the available devices (USB, SD, +and mSATA) for a valid EFI payload at "EFI\BOOT\BOOTIA32.EFI". If it +fails to find one, it will launch the EFI shell and optionally execute +a "startup.nsh" script if it finds the script on the available storage +devices. It searches the devices in the following order: USB, SD, +mSATA. + +Units acquired via other channels may have the Kontron supplied APTIO +(AMI) BIOS. This is a PCBIOS and EFI firmware with a traditional BIOS +configuration menu which can be used to define a variety of boot +configurations. + +b. Serial Port -------------- The FRI2 has an optional serial daughter card providing a serial -console via the micro-USB port on the top of the device adjascent the +console via the micro-USB port on the top of the device adjacent the SIM card slot. The UART from the EG20T is connected to a TI UART-to-USB device @@ -205,9 +228,9 @@ When you power on your FRI2, your host will discover a serial device and name it /dev/ttyUSB0 (or similar). You can communicate with this device at 115200 8N1 using your preferred terminal emulator. -In order to redirect the BIOS console to the serial port, you may need -to set up console redirection in the BIOS menu. The serial port is -referred to as COM2 in the BIOS. +If using the Intel provided Fast Boot EFI firmware, no additional +configuration is required. If using the APTIO (AMI) BIOS, use the +following settings to configure console redirection in the BIOS menu: Advanced Serial Port Console Redirection @@ -224,50 +247,45 @@ referred to as COM2 in the BIOS. Resolution 100x31 [Disabled] Legacy OS Redirection [80x24] -Note that the UART clock is configured at 48MHz in the firmware. This -will cause problems with software assuming a typical 1.8 MHz clock. -The Linux kernel pch-uart driver is aware of the clock, but Syslinux, -for example, is not. For software expecting a typical clock, directing -them to use a BAUD of 3318 (rather than 115200) can work around the -problem. - -b. HDMI +c. HDMI ------- -The FRI2 has two micro HDMI ports. The one closest to the 1/8" audio -jacks is the primary display. +The FRI2 has two micro HDMI ports. For the Intel provided Fast Boot +EFI firmware, the one closest to the bottom of the device is the +primary display. For the APTIO (AMI) BIOS, the jack nearest the 1/8" +audio jacks is the primary display. -c. Power Reset +d. Power Reset -------------- The recessed button adjacent the LEDs on the top of the device is a power reset button. -d. Accelerometer +e. Accelerometer ---------------- The LIS331DLH accelerometer is connected to the I2C bus on the CPLD on the compute module. The driver for this chip is under active development and will be included in the BSP once completed. -e. GPIO +f. GPIO ------- The FRI2 has two I2C PCA555x GPIO devices used for internal control signals. These have not been exposed in the current release of the BSP, but may be in the future. Regardless, these would not provide general purpose IO with which to read or drive additional signals. -f. MMC +g. MMC ------ The FRI2 provides two microSD card MMC devices. One is located adjacent the 1/8" audio jacks, another is located on the board inside the chassis. These devices can be used to boot the device, or as secondary storage. -g. 802.11 +h. 802.11 --------- The Intel Corporation Centrino Advanced-N 6205 that ships with the FRI2 is supported. You can use connman-gnome to configures the interface. -h. 802.15.4 +i. 802.15.4 ----------- The TI CC2531 802.15.4 radio is a USB ACM modem. The MAC is enabled by issuing the following command: @@ -280,12 +298,12 @@ the 802.15.4 device may appear as /dev/ttyACM3 instead. No further testing or integration has been done. -i. Audio +j. Audio -------------------- The FRI2 has an 1/8" analog output (nearest the antennae), a line-in input below that, as well as SPDIF over HDMI. These can be tested -using the alsa-utils package. aplay -l will list both playback -devices: +using the alsa-utils package. The aplay -l command will list both +playback devices: # aplay -l **** List of PLAYBACK Hardware Devices **** @@ -305,7 +323,7 @@ Over HDMI: # aplay -D plughw:0,3 sample.wav -j. Optional Devices +k. Optional Devices ------------------- The FRI2 has two mini-PCIe slots internally. The device ships with a half-length wireless card installed. This can be replaced with a @@ -322,19 +340,28 @@ IV. Known Issues ---------------- a. EFI ------ -The FRI2 firmware can boot to an EFI shell. It does not yet boot the -EFI payload provided on the FRI2 live image. This is a known issue -under investigation. +The APTIO (AMI) BIOS does not yet boot the EFI payload provided on the +FRI2 live image. This is a known issue under investigation. If using +this firmware, boot using PCBIOS mode, rather than EFI. The Intel +provided Fast Boot EFI firmware will boot the EFI payload. b. Client USB is disabled ------------------------- -The micro-USB port adjacent the primary HDMI port is intended for -Client USB functionality, but is not supported on current revisions of -the device. +The micro-USB port adjacent the primary HDMI port is intended for Client +USB functionality, but is not supported on current revisions of the +device. c. Audio over secondary HDMI port only -------------------------------------- While audio over HDMI has been shown to work, it seems to only work over the secondary (bottom-most) HDMI port. There does not appear to be a -deterministic way of getting the device to output the signal (video and audio) -over the secondary port. +deterministic way of getting the device to output the signal (video and +audio) over the secondary port. + + +V. Additional Resources +----------------------- +In addition to this README, please see the following wiki page for tips +on using the FRI2 with the Yocto Project: + +https://wiki.yoctoproject.org/wiki/BSPs/FRI2 -- cgit v1.2.3-54-g00ecf