[meta-lsi] [PATCH 15/15] README: add information about configuration fragments
cristian.bercaru at windriver.com
Wed May 13 04:19:49 PDT 2015
When building the kernel from the Yocto repositories, configuration
fragments are used to build the final .config instead of pre-built
This patch adds information to the README about which variables need
to be set in local.conf in order to include certain configuration
fragments in the final .config. The fragments contain power-management
endianess and debugging options.
Signed-off-by: Cristian Bercaru <cristian.bercaru at windriver.com>
README | 31 +++++++++++++++++++++++++++++--
1 file changed, 29 insertions(+), 2 deletions(-)
diff --git a/README b/README
index be72a5f..1b9c449 100644
@@ -199,7 +199,34 @@ c. LSI_SRC = "lsi-tip"
-7.8 Other optional settings for saving disk space and build time:
+7.8 Customizing the Kernel .config file
+When building the kernel from the Yocto repositories, the final .config is built
+using configuration fragments. Otherwise, a pre-built defconfig is used.
+Besides the options specific to the standard and preempt-rt kernel, you are able
+to add extra kernel fragments to the .config of 3.10 kernels by setting the
+a. Power management scheme (3.10, ARM only)
+ - POWER_MANAGEMENT = "low-power" (DEFAULT)
+ to keep the core low power when is shut down
+ - POWER_MANAGEMENT = "full-power"
+ to complete power down the core when is shut down
+ - POWER_MANAGEMENT = "full-power-L2"
+ to complete power down the core and L2 cache when is shut down
+b. Big-endian or little-endian (3.10, ARM only)
+Set the order in which a sequence of bytes are stored in computer memory.
+ - BIG_ENDIAN = "no" (DEFAULT)
+ Little-endien is the default settings.
+ - BIG_ENDIAN = "yes"
+ Kernel will be built with CONFIG_CPU_BIG_ENDIAN enabled.
+c. Debug options(3.10, ARM and POWERPC)
+ - DBG = "no" (DEFAULT)
+ - DBG = "yes"
+ Will enable options for debug in the Kernel config.
+7.9 Other optional settings for saving disk space and build time:
DL_DIR = "/<some-shared-location>/downloads"
SSTATE_DIR = "/<some-shared-location>/sstate-cache
@@ -258,7 +285,7 @@ When sending patches, please use something like:
-Maintainers: Daniel Dragomir <daniel.dragomir at windriver.com>
+Maintainers: Cristian Bercaru <cristian.bercaru at windriver.com>
Lucian Creanga <lucian.creanga at windriver.com>
Please see the meta-lsi/MAINTAINERS file for more details.
More information about the meta-lsi