rv1126-uboot/scripts
Masahiro Yamada 61304dbec3 cmd: add a new command "config" to show .config contents
This feature is inspired by /proc/config.gz of Linux.  In Linux,
if CONFIG_IKCONFIG is enabled, the ".config" file contents are
embedded in the kernel image.  If CONFIG_IKCONFIG_PROC is also
enabled, the ".config" contents are exposed to /proc/config.gz.
Users can do "zcat /proc/config.gz" to check which config options
are enabled on the running kernel image.

The idea is almost the same here; if CONFIG_CMD_CONFIG is enabled,
the ".config" contents are compressed and saved in the U-Boot image,
then printed by the new command "config".

The usage is quite simple.  Enable CONFIG_CMD_CONFIG, then run
 > config
from the command line interface.  The ".config" contents will be
printed on the console.

This feature increases the U-Boot image size by about 4KB (this is
mostly due to the gzip-compressed .config file).  By default, it is
enabled only for Sandbox because we do not care about the memory
footprint on it.  Of course, this feature is architecture agnostic,
so you can enable it on any board if the image size increase is
acceptable for you.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
2017-02-08 15:56:26 -05:00
..
basic
coccinelle/net
kconfig
.gitignore cmd: add a new command "config" to show .config contents 2017-02-08 15:56:26 -05:00
Kbuild.include
Kconfig cmd: add a new command "config" to show .config contents 2017-02-08 15:56:26 -05:00
Lindent
Makefile cmd: add a new command "config" to show .config contents 2017-02-08 15:56:26 -05:00
Makefile.autoconf kbuild: add include linux/kconfig.h in config.h 2017-01-28 08:47:42 -05:00
Makefile.build
Makefile.clean
Makefile.extrawarn
Makefile.host
Makefile.lib Avoid non-portable sed construct 2017-01-14 16:47:15 -05:00
Makefile.spl x86: Add SPL build rules for start-up code 2017-02-06 11:38:46 +08:00
Makefile.uncmd_spl
bin2c.c scripts: import bin2c.c from Linux 4.10-rc6 2017-02-08 15:56:19 -05:00
binutils-version.sh
build-whitelist.sh build-whitelist: do not add new options to whitelist when update 2016-10-07 14:26:30 +00:00
check-config.sh check-config: fix wrong comment about how to build whitelist 2016-10-07 14:26:32 +00:00
checkpatch.pl Various, accumulated typos collected from around the tree. 2016-10-06 20:57:40 -04:00
checkstack.pl
cleanpatch
config_whitelist.txt mmc: move CONFIG_GENERIC_MMC to Kconfig 2017-01-31 21:50:47 +09:00
coreboot.sed
docproc.c
dtc-version.sh
fill_scrapyard.py
gcc-stack-usage.sh
gcc-version.sh
get_default_envs.sh scripts: Add script to extract default environment 2016-10-06 21:00:53 -04:00
get_maintainer.pl
kernel-doc
ld-version.sh
mailmapper
mkmakefile
objdiff
setlocalversion
show-gnu-make