[meta-lsi] [PATCH 12/41] README: add information about configuration fragments

Daniel Dragomir daniel.dragomir at windriver.com
Thu Jan 28 04:29:15 PST 2016


From: Cristian Bercaru <cristian.bercaru at windriver.com>

When building the kernel from the Yocto repositories, configuration
fragments are used to build the final .config instead of pre-built
defconfigs.
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 7b2e842..f763015 100644
--- a/README
+++ b/README
@@ -199,7 +199,34 @@ c. LSI_SRC = "lsi-tip"
    3.10: https://github.com/lsigithub/lsi_axxia_yocto_3.10
    3.4: https://github.com/lsigithub/lsi_axxia_yocto
 
-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
+following options
+
+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:
 Maintenance
 -----------
 
-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-axxia/MAINTAINERS file for more details.
-- 
1.9.1



More information about the meta-lsi mailing list