From e856eed4e3539cce803425ec7b0edfdc1265e3fa Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Wed, 22 Feb 2012 16:13:29 -0600 Subject: documentation/bsp-guide/bsp.xml: Edits to HW Configuration Options Section Made some minor edits. I also discovered that the information describing where tuning files reside was not real helpful. In particular, tuning files are not limited to the meta/conf/machine/include directory. For example, the Crown Bay BSP layer includes a tuning file from the meta-intel Layer. (From yocto-docs rev: 3a76ccc4f645f03a6e888b7eb53fa9bc7bfb255e) Signed-off-by: Scott Rifenbark Signed-off-by: Richard Purdie --- documentation/bsp-guide/bsp.xml | 23 ++++++++++++++++------- 1 file changed, 16 insertions(+), 7 deletions(-) (limited to 'documentation/bsp-guide/bsp.xml') diff --git a/documentation/bsp-guide/bsp.xml b/documentation/bsp-guide/bsp.xml index a957409ec8..019a78f0a0 100644 --- a/documentation/bsp-guide/bsp.xml +++ b/documentation/bsp-guide/bsp.xml @@ -355,19 +355,20 @@ If the BSP supports multiple machines, multiple machine configuration files can be present. These filenames correspond to the values to which users have set the - MACHINE variable. + MACHINE variable. These files define things such as the kernel package to use - (PREFERRED_PROVIDER of virtual/kernel), the hardware drivers to + (PREFERRED_PROVIDER + of virtual/kernel), the hardware drivers to include in different types of images, any special software components that are needed, any bootloader information, and also any special image format requirements. - At least one machine file is required for a BSP layer. + Each BSP Layer requires at least one machine file. However, you can supply more than one file. For example, in the Crown Bay BSP shown earlier in this section, the conf/machine directory contains two configuration files: @@ -383,19 +384,27 @@ This crownbay.conf file could also include a hardware "tuning" file that is commonly used to - define the the package architecture and specify + define the package architecture and specify optimization flags, which are carefully chosen to give best performance on a given processor. Tuning files are found in the meta/conf/machine/include - directory. - To use them, you simply include them in the machine configuration file. + directory of the + Yocto Project Files. + Tuning files can also reside in the BSP Layer itself. + For example, the ia32-base.inc file resides in the + meta-intel BSP Layer in conf/machine/include. + + + + To use an include file, you simply include them in the machine configuration file. For example, the Crown Bay BSP crownbay.conf has the - following statement: + following statements: include conf/machine/include/tune-atom.inc + include conf/machine/include/ia32-base.inc -- cgit v1.2.3-54-g00ecf