2010-08-08 04:04:13 +00:00
|
|
|
config ARCH
|
|
|
|
string
|
|
|
|
option env="ARCH"
|
|
|
|
|
|
|
|
config KERNELVERSION
|
|
|
|
string
|
|
|
|
option env="KERNELVERSION"
|
|
|
|
|
|
|
|
config DEFCONFIG_LIST
|
|
|
|
string
|
|
|
|
option defconfig_list
|
|
|
|
default "$ARCH_DEFCONFIG"
|
|
|
|
default "arch/$ARCH/defconfig"
|
2007-07-05 16:01:17 +00:00
|
|
|
|
2007-07-05 16:02:00 +00:00
|
|
|
config GREGORIAN_CALENDER
|
|
|
|
bool
|
|
|
|
|
2007-09-28 18:32:15 +00:00
|
|
|
config HAS_KALLSYMS
|
|
|
|
bool
|
|
|
|
|
2007-10-04 10:33:03 +00:00
|
|
|
config HAS_MODULES
|
2007-09-28 18:32:15 +00:00
|
|
|
bool
|
|
|
|
|
2007-11-09 22:19:54 +00:00
|
|
|
config ENV_HANDLING
|
2009-11-18 15:04:54 +00:00
|
|
|
select CRC32
|
2007-11-09 22:19:54 +00:00
|
|
|
bool
|
|
|
|
|
2009-12-03 13:04:22 +00:00
|
|
|
config GENERIC_GPIO
|
|
|
|
bool
|
|
|
|
|
2013-06-10 10:13:44 +00:00
|
|
|
config BOOTM
|
2013-09-27 05:02:47 +00:00
|
|
|
select UIMAGE
|
2013-06-10 10:13:44 +00:00
|
|
|
bool
|
|
|
|
|
2011-03-24 12:52:39 +00:00
|
|
|
config BLOCK
|
|
|
|
bool
|
|
|
|
|
|
|
|
config BLOCK_WRITE
|
|
|
|
bool
|
|
|
|
|
2012-01-08 06:23:19 +00:00
|
|
|
config FILETYPE
|
|
|
|
bool
|
|
|
|
|
2012-04-13 06:02:47 +00:00
|
|
|
config BINFMT
|
|
|
|
bool
|
|
|
|
select FILETYPE
|
|
|
|
|
2012-07-05 19:13:34 +00:00
|
|
|
config UIMAGE
|
2012-07-05 19:29:08 +00:00
|
|
|
select UNCOMPRESS
|
|
|
|
select CRC32
|
2012-07-05 19:13:34 +00:00
|
|
|
bool
|
|
|
|
|
2012-04-29 18:21:16 +00:00
|
|
|
config GLOBALVAR
|
|
|
|
bool
|
|
|
|
|
2012-07-25 08:02:43 +00:00
|
|
|
config STDDEV
|
|
|
|
bool
|
|
|
|
|
2012-10-15 10:28:53 +00:00
|
|
|
config BAREBOX_UPDATE
|
|
|
|
bool
|
|
|
|
|
2013-09-22 22:41:22 +00:00
|
|
|
config MENUTREE
|
|
|
|
bool
|
|
|
|
|
2012-12-08 06:51:19 +00:00
|
|
|
menu "General Settings"
|
2007-07-05 16:01:30 +00:00
|
|
|
|
2011-09-19 06:18:00 +00:00
|
|
|
config LOCALVERSION
|
|
|
|
string "Local version - append to the version string"
|
|
|
|
help
|
|
|
|
Append an extra string to the end of your version string.
|
|
|
|
The string you set here will be appended after the contents of
|
|
|
|
any files with a filename matching localversion* in your
|
2012-12-08 06:51:19 +00:00
|
|
|
object and source tree, in that order. Your total string can
|
2011-09-19 06:18:00 +00:00
|
|
|
be a maximum of 64 characters.
|
|
|
|
|
2008-09-02 13:48:06 +00:00
|
|
|
config LOCALVERSION_AUTO
|
|
|
|
bool "Automatically append version information to the version string"
|
|
|
|
default y
|
|
|
|
help
|
|
|
|
This will try to automatically determine if the current tree is a
|
|
|
|
release tree by looking for git tags that belong to the current
|
|
|
|
top of tree revision.
|
|
|
|
|
|
|
|
A string of the format -gxxxxxxxx will be added to the localversion
|
2012-12-08 06:51:19 +00:00
|
|
|
if a git-based tree is found. The string generated by this will be
|
2008-09-02 13:48:06 +00:00
|
|
|
appended after any matching localversion* files, and after the value
|
|
|
|
set in CONFIG_LOCALVERSION.
|
|
|
|
|
|
|
|
(The actual string used here is the first eight characters produced
|
|
|
|
by running the command:
|
|
|
|
|
|
|
|
$ git rev-parse --verify HEAD
|
|
|
|
|
|
|
|
which is done within the script "scripts/setlocalversion".)
|
|
|
|
|
2007-07-12 09:24:19 +00:00
|
|
|
config BOARDINFO
|
|
|
|
string
|
2007-07-12 07:27:06 +00:00
|
|
|
|
2012-01-08 06:10:07 +00:00
|
|
|
config BANNER
|
|
|
|
bool "display banner"
|
|
|
|
default y
|
|
|
|
|
2012-09-05 15:52:12 +00:00
|
|
|
config MEMINFO
|
|
|
|
bool "display memory info"
|
|
|
|
default y
|
|
|
|
|
2011-04-01 13:06:49 +00:00
|
|
|
config ENVIRONMENT_VARIABLES
|
|
|
|
bool "environment variables support"
|
|
|
|
|
2012-12-08 06:51:19 +00:00
|
|
|
menu "memory layout"
|
2008-06-04 09:43:10 +00:00
|
|
|
|
2013-01-28 09:26:10 +00:00
|
|
|
source "pbl/Kconfig"
|
2012-07-27 17:25:56 +00:00
|
|
|
|
2009-02-20 16:44:46 +00:00
|
|
|
config MMU
|
|
|
|
bool "Enable MMU"
|
|
|
|
help
|
|
|
|
Saying yes here enables the MMU. This is useful on some architectures
|
|
|
|
to enable the data cache which depends on the MMU. See Documentation/mmu.txt
|
|
|
|
for further information.
|
|
|
|
|
2013-01-25 23:26:03 +00:00
|
|
|
config MMU_EARLY
|
|
|
|
bool "Enable MMU early"
|
|
|
|
depends on ARM
|
|
|
|
depends on MMU
|
|
|
|
default y
|
|
|
|
help
|
|
|
|
This enables the MMU during early startup. This speeds up things during startup
|
|
|
|
of barebox, but may lead to harder to debug code. If unsure say yes here.
|
|
|
|
|
2008-06-04 09:43:10 +00:00
|
|
|
config HAVE_CONFIGURABLE_TEXT_BASE
|
|
|
|
bool
|
|
|
|
|
2007-07-12 07:27:06 +00:00
|
|
|
config TEXT_BASE
|
2008-06-04 09:43:10 +00:00
|
|
|
depends on HAVE_CONFIGURABLE_TEXT_BASE
|
2007-07-12 07:27:06 +00:00
|
|
|
prompt "TEXT_BASE"
|
|
|
|
hex
|
2007-09-25 20:01:01 +00:00
|
|
|
default ARCH_TEXT_BASE
|
2007-07-12 07:27:06 +00:00
|
|
|
help
|
2009-12-15 08:11:09 +00:00
|
|
|
The Address barebox gets linked at.
|
2007-07-12 07:27:06 +00:00
|
|
|
|
2012-01-17 14:48:31 +00:00
|
|
|
config BAREBOX_MAX_IMAGE_SIZE
|
|
|
|
prompt "Maximum size of barebox"
|
|
|
|
hex
|
|
|
|
default 0xffffffff
|
|
|
|
help
|
|
|
|
Define the maximum size of barebox
|
|
|
|
|
2014-02-04 07:53:15 +00:00
|
|
|
config BAREBOX_MAX_PBL_SIZE
|
|
|
|
depends on PBL_IMAGE
|
|
|
|
prompt "Maximum pre-bootloader size"
|
|
|
|
hex
|
|
|
|
default 0xffffffff
|
|
|
|
help
|
|
|
|
On some hardware the ROM code can load the pbl into SRAM, but not
|
|
|
|
the whole image. This option specifies how big the pbl may get.
|
|
|
|
|
2012-01-18 01:07:33 +00:00
|
|
|
config BAREBOX_MAX_BARE_INIT_SIZE
|
|
|
|
prompt "Maximum bare_init size"
|
|
|
|
hex
|
2014-02-04 07:53:15 +00:00
|
|
|
range 0x0 BAREBOX_MAX_PBL_SIZE if LOAD_PBL_SRAM
|
|
|
|
default BAREBOX_MAX_PBL_SIZE if LOAD_PBL_SRAM
|
2012-01-18 01:07:33 +00:00
|
|
|
default 0xffffffff
|
|
|
|
help
|
|
|
|
Define the maximum size of bare_init
|
2014-02-04 07:53:15 +00:00
|
|
|
this will allow your bare_init to fit in SRAM as example
|
2012-01-18 01:07:33 +00:00
|
|
|
ARCH can overwrite it via ARCH_BAREBOX_MAX_BARE_INIT_SIZE
|
|
|
|
|
2008-06-04 09:43:10 +00:00
|
|
|
config HAVE_CONFIGURABLE_MEMORY_LAYOUT
|
|
|
|
bool
|
|
|
|
|
|
|
|
choice
|
|
|
|
prompt "select memory layout"
|
|
|
|
depends on HAVE_CONFIGURABLE_MEMORY_LAYOUT
|
|
|
|
default MEMORY_LAYOUT_DEFAULT
|
|
|
|
|
|
|
|
config MEMORY_LAYOUT_DEFAULT
|
|
|
|
bool "use default memory layout"
|
|
|
|
help
|
2009-12-15 08:11:09 +00:00
|
|
|
select this option to use bareboxs standard memory layout:
|
2012-12-08 06:51:19 +00:00
|
|
|
|
2008-06-04 09:43:10 +00:00
|
|
|
stack
|
|
|
|
-----
|
|
|
|
malloc heap
|
|
|
|
-----
|
|
|
|
TEXT_BASE
|
|
|
|
|
|
|
|
config MEMORY_LAYOUT_FIXED
|
|
|
|
bool "manually assign a memory layout"
|
|
|
|
help
|
|
|
|
select this option to manually assign stack base and malloc
|
|
|
|
heap base
|
|
|
|
|
|
|
|
endchoice
|
|
|
|
|
|
|
|
config STACK_BASE
|
|
|
|
depends on MEMORY_LAYOUT_FIXED
|
|
|
|
hex
|
|
|
|
prompt "STACK_BASE"
|
|
|
|
|
|
|
|
config STACK_SIZE
|
|
|
|
hex
|
|
|
|
default 0x8000
|
|
|
|
prompt "Stack size"
|
|
|
|
|
|
|
|
config MALLOC_BASE
|
|
|
|
depends on MEMORY_LAYOUT_FIXED
|
|
|
|
hex
|
|
|
|
prompt "MALLOC_BASE"
|
|
|
|
|
|
|
|
config MALLOC_SIZE
|
|
|
|
hex
|
|
|
|
default 0x400000
|
|
|
|
prompt "malloc area size"
|
|
|
|
endmenu
|
|
|
|
|
2007-09-28 18:32:15 +00:00
|
|
|
config BROKEN
|
|
|
|
bool
|
|
|
|
prompt "Prompt for broken or incomplete code"
|
|
|
|
|
|
|
|
config EXPERIMENTAL
|
|
|
|
bool
|
|
|
|
prompt "Prompt for experimental code"
|
|
|
|
|
2009-05-18 07:13:26 +00:00
|
|
|
choice
|
|
|
|
prompt "malloc implementation"
|
|
|
|
|
|
|
|
config MALLOC_DLMALLOC
|
|
|
|
bool "dlmalloc"
|
|
|
|
|
2011-12-08 14:03:49 +00:00
|
|
|
config MALLOC_TLSF
|
|
|
|
bool "tlsf"
|
|
|
|
|
2009-05-18 07:13:26 +00:00
|
|
|
config MALLOC_DUMMY
|
|
|
|
bool "dummy malloc"
|
|
|
|
depends on SHELL_NONE
|
|
|
|
help
|
|
|
|
select this option to use a dummy malloc implementation. With this
|
|
|
|
memory is never freed. This is suitable for well tested noninteractive
|
|
|
|
environments only.
|
|
|
|
|
|
|
|
endchoice
|
|
|
|
|
2007-10-04 10:33:03 +00:00
|
|
|
config MODULES
|
|
|
|
depends on HAS_MODULES
|
2007-09-28 18:32:15 +00:00
|
|
|
depends on EXPERIMENTAL
|
|
|
|
bool "module support"
|
2007-10-01 08:21:30 +00:00
|
|
|
help
|
|
|
|
This option enables support for loadable modules via insmod. Module
|
|
|
|
support is quite experimental at the moment. There is no convenient
|
|
|
|
way to compile modules and the list of exported symbols to actually
|
|
|
|
make use of modules is short to nonexistent
|
2007-09-28 18:32:15 +00:00
|
|
|
|
|
|
|
config KALLSYMS
|
|
|
|
depends on HAS_KALLSYMS
|
|
|
|
bool "kallsyms"
|
2007-10-01 08:21:30 +00:00
|
|
|
help
|
2009-12-15 08:11:09 +00:00
|
|
|
With Kallsyms enabled all symbols are compiled into the barebox image.
|
2007-10-01 08:21:30 +00:00
|
|
|
This is useful to print a nice backtrace when an exception occurs.
|
2007-09-28 18:32:15 +00:00
|
|
|
|
2007-07-12 07:27:06 +00:00
|
|
|
config RELOCATABLE
|
2012-10-07 17:06:30 +00:00
|
|
|
depends on PPC || ARM
|
2009-12-15 08:11:09 +00:00
|
|
|
bool "generate relocatable barebox binary"
|
2007-07-12 07:27:06 +00:00
|
|
|
help
|
2009-12-15 08:11:09 +00:00
|
|
|
A non relocatable barebox binary will run at it's compiled in
|
2007-07-12 07:27:06 +00:00
|
|
|
link address in RAM. This leads to smaller image sizes but may
|
2009-12-15 08:11:09 +00:00
|
|
|
put barebox just in the middle of RAM. With this option enabled
|
|
|
|
instead barebox can determine this address at runtime and thus
|
2007-07-12 07:27:06 +00:00
|
|
|
allowing it to relocate to the end of the available RAM. This
|
|
|
|
way you have the whole memory in a single piece.
|
|
|
|
|
2013-08-04 08:46:01 +00:00
|
|
|
config PANIC_HANG
|
|
|
|
bool "hang the system in case of a fatal error"
|
|
|
|
help
|
|
|
|
This option enables stop of the system in case of a
|
|
|
|
fatal error, so that you have to reset it manually.
|
|
|
|
This is probably NOT a good idea for an embedded
|
|
|
|
system where you want the system to reboot
|
|
|
|
automatically as fast as possible, but it may be
|
|
|
|
useful during development since you can try to debug
|
|
|
|
the conditions that lead to the situation.
|
|
|
|
|
2007-07-05 16:01:30 +00:00
|
|
|
config PROMPT
|
|
|
|
string
|
2009-12-15 08:11:09 +00:00
|
|
|
prompt "barebox command prompt"
|
|
|
|
default "barebox:"
|
2007-07-05 16:01:30 +00:00
|
|
|
|
2007-07-05 16:01:33 +00:00
|
|
|
config BAUDRATE
|
|
|
|
int
|
|
|
|
prompt "Default baudrate"
|
|
|
|
default 115200
|
|
|
|
|
2007-07-05 16:01:42 +00:00
|
|
|
config SIMPLE_READLINE
|
|
|
|
bool
|
|
|
|
default y
|
|
|
|
depends on !CMDLINE_EDITING
|
|
|
|
|
2007-07-05 16:01:33 +00:00
|
|
|
config CBSIZE
|
|
|
|
int
|
|
|
|
prompt "Buffer size for input from the Console"
|
|
|
|
default 1024
|
|
|
|
|
2007-09-23 23:40:06 +00:00
|
|
|
choice
|
|
|
|
prompt "Select your shell"
|
2007-07-05 16:01:33 +00:00
|
|
|
|
2007-09-25 20:07:21 +00:00
|
|
|
config SHELL_HUSH
|
|
|
|
bool "hush parser"
|
2011-04-01 13:06:49 +00:00
|
|
|
select ENVIRONMENT_VARIABLES
|
2011-04-01 13:16:27 +00:00
|
|
|
select COMMAND_SUPPORT
|
2012-01-08 17:25:18 +00:00
|
|
|
select PARAMETER
|
2012-04-13 06:02:47 +00:00
|
|
|
select BINFMT
|
2012-07-25 08:02:43 +00:00
|
|
|
select STDDEV
|
2008-08-13 14:23:04 +00:00
|
|
|
help
|
|
|
|
Enable hush support. This is the most advanced shell available
|
2009-12-15 08:11:09 +00:00
|
|
|
for barebox.
|
2007-09-23 23:40:06 +00:00
|
|
|
|
2007-09-25 20:07:21 +00:00
|
|
|
config SHELL_SIMPLE
|
|
|
|
bool "Simple parser"
|
2011-04-01 13:06:49 +00:00
|
|
|
select ENVIRONMENT_VARIABLES
|
2011-04-01 13:16:27 +00:00
|
|
|
select COMMAND_SUPPORT
|
2012-01-08 17:25:18 +00:00
|
|
|
select PARAMETER
|
2012-07-25 08:02:43 +00:00
|
|
|
select STDDEV
|
2008-08-13 14:23:04 +00:00
|
|
|
help
|
|
|
|
simple shell. No if/then, no return values from commands, no loops
|
2011-04-04 07:55:34 +00:00
|
|
|
|
|
|
|
config SHELL_NONE
|
|
|
|
bool "no shell (noninteractive build)"
|
|
|
|
help
|
|
|
|
No shell at all. This means no shell is started and your board has
|
2013-01-20 12:59:47 +00:00
|
|
|
to overwrite the barebox_main function pointer which is then called
|
|
|
|
at the end of the barebox startup process.
|
2007-09-23 23:40:06 +00:00
|
|
|
endchoice
|
2007-07-05 16:01:42 +00:00
|
|
|
|
2013-11-26 13:44:25 +00:00
|
|
|
config MAXARGS
|
|
|
|
int
|
|
|
|
depends on SHELL_SIMPLE
|
|
|
|
prompt "max. Number of arguments accepted for monitor commands"
|
|
|
|
default 16
|
|
|
|
|
2008-03-09 21:35:38 +00:00
|
|
|
config GLOB
|
|
|
|
bool
|
|
|
|
prompt "hush globbing support"
|
|
|
|
depends on SHELL_HUSH
|
|
|
|
help
|
|
|
|
If you want to use wildcards like * or ? say y here.
|
2012-05-13 13:03:08 +00:00
|
|
|
|
|
|
|
config GLOB_SORT
|
|
|
|
select QSORT
|
|
|
|
bool
|
|
|
|
prompt "glob sort support"
|
|
|
|
depends on GLOB
|
|
|
|
|
2007-07-05 16:01:33 +00:00
|
|
|
config PROMPT_HUSH_PS2
|
|
|
|
string
|
2007-09-23 23:40:06 +00:00
|
|
|
depends on SHELL_HUSH
|
2007-07-05 16:01:33 +00:00
|
|
|
prompt "hush PS2"
|
|
|
|
default "> "
|
|
|
|
|
2010-03-29 08:58:32 +00:00
|
|
|
config HUSH_FANCY_PROMPT
|
|
|
|
bool
|
|
|
|
depends on SHELL_HUSH
|
|
|
|
select PROCESS_ESCAPE_SEQUENCE
|
|
|
|
prompt "allow fancy hush prompts"
|
|
|
|
help
|
|
|
|
Allow to set PS1 from the command line. PS1 can have several escaped commands
|
2013-08-14 14:12:31 +00:00
|
|
|
like \h for the 'model' string or \w for the current working directory.
|
2010-03-29 08:58:32 +00:00
|
|
|
|
2008-08-13 14:23:04 +00:00
|
|
|
config CMDLINE_EDITING
|
2013-11-26 14:59:51 +00:00
|
|
|
depends on !SHELL_NONE
|
2008-08-13 14:23:04 +00:00
|
|
|
bool
|
|
|
|
prompt "Enable command line editing"
|
|
|
|
|
|
|
|
config AUTO_COMPLETE
|
|
|
|
bool
|
|
|
|
depends on CMDLINE_EDITING
|
|
|
|
prompt "Enable auto completion"
|
|
|
|
|
2010-08-20 08:22:47 +00:00
|
|
|
config MENU
|
|
|
|
bool
|
|
|
|
prompt "Menu Framework"
|
|
|
|
help
|
2012-12-08 06:51:19 +00:00
|
|
|
a menu framework that allow us to create list menu to simplify
|
|
|
|
barebox and make it more user-frendly
|
2010-08-20 08:22:47 +00:00
|
|
|
|
2010-09-07 19:55:21 +00:00
|
|
|
config PASSWORD
|
|
|
|
bool
|
|
|
|
prompt "Password Framework"
|
|
|
|
select DIGEST
|
|
|
|
help
|
|
|
|
allow you to have password protection framework
|
|
|
|
|
2013-09-16 17:49:59 +00:00
|
|
|
config PASSWORD_DEFAULT
|
|
|
|
string
|
|
|
|
prompt "Password default"
|
|
|
|
depends on PASSWORD
|
|
|
|
|
2010-09-07 19:55:21 +00:00
|
|
|
if PASSWORD
|
|
|
|
|
|
|
|
choice
|
|
|
|
prompt "passwd checksum"
|
|
|
|
|
|
|
|
config PASSWD_SUM_MD5
|
|
|
|
bool "MD5"
|
|
|
|
select MD5
|
|
|
|
|
|
|
|
config PASSWD_SUM_SHA1
|
|
|
|
bool "SHA1"
|
|
|
|
select SHA1
|
|
|
|
|
|
|
|
config PASSWD_SUM_SHA256
|
|
|
|
bool "SHA256"
|
|
|
|
select SHA256
|
|
|
|
|
|
|
|
endchoice
|
|
|
|
|
|
|
|
endif
|
|
|
|
|
2007-07-05 16:02:14 +00:00
|
|
|
config DYNAMIC_CRC_TABLE
|
2007-07-05 16:01:33 +00:00
|
|
|
bool
|
2007-07-05 16:02:14 +00:00
|
|
|
depends on CRC32
|
|
|
|
prompt "Generate the crc32 table dynamically"
|
2007-07-05 16:01:33 +00:00
|
|
|
default y
|
2007-07-05 16:02:14 +00:00
|
|
|
help
|
|
|
|
Saying yes to this option saves around 800 bytes of binary size.
|
|
|
|
If unsure say yes.
|
2007-07-05 16:01:33 +00:00
|
|
|
|
2007-07-05 16:01:45 +00:00
|
|
|
config ERRNO_MESSAGES
|
|
|
|
bool
|
|
|
|
prompt "print error values as text"
|
|
|
|
default y
|
|
|
|
|
2007-07-05 16:02:00 +00:00
|
|
|
config TIMESTAMP
|
|
|
|
bool
|
|
|
|
default y
|
|
|
|
select GREGORIAN_CALENDER
|
|
|
|
prompt "print timestamp information from images"
|
|
|
|
help
|
|
|
|
When CONFIG_TIMESTAMP is selected, the timestamp
|
|
|
|
(date and time) of an image is printed by image
|
|
|
|
commands like bootm or iminfo. This option is
|
|
|
|
automatically enabled when you select CFG_CMD_DATE .
|
|
|
|
|
2013-09-27 14:35:46 +00:00
|
|
|
config BLSPEC
|
|
|
|
depends on BLOCK
|
|
|
|
select OFTREE
|
|
|
|
select FLEXIBLE_BOOTARGS
|
|
|
|
bool
|
|
|
|
prompt "Support bootloader spec"
|
|
|
|
help
|
|
|
|
Enable this to let barebox support the Freedesktop bootloader spec,
|
|
|
|
see: http://www.freedesktop.org/wiki/Specifications/BootLoaderSpec/
|
|
|
|
The bootloader spec is a standard interface between the bootloader
|
|
|
|
and the kernel. It allows the bootloader to discover boot options
|
|
|
|
on a device and it allows the Operating System to install / update
|
|
|
|
kernels.
|
|
|
|
|
2013-09-15 08:09:23 +00:00
|
|
|
config KERNEL_INSTALL_TARGET
|
|
|
|
bool
|
2013-11-19 01:08:13 +00:00
|
|
|
depends on !SANDBOX
|
2013-09-15 08:09:23 +00:00
|
|
|
prompt "Build kernel-install utility for the target"
|
|
|
|
help
|
|
|
|
Enable this to compile the kernel-install script using the cross
|
|
|
|
compiler. The utility for the target will be under
|
|
|
|
scripts/kernel-install-target
|
|
|
|
|
2013-01-23 10:01:19 +00:00
|
|
|
choice
|
|
|
|
prompt "console support"
|
|
|
|
default CONSOLE_FULL
|
|
|
|
|
2008-08-01 09:47:10 +00:00
|
|
|
config CONSOLE_FULL
|
|
|
|
bool
|
2013-01-23 10:01:19 +00:00
|
|
|
prompt "full"
|
2008-08-01 09:47:10 +00:00
|
|
|
help
|
|
|
|
This option enables full console support capable of
|
2012-10-07 11:18:58 +00:00
|
|
|
handling multiple consoles. Also the full console support
|
|
|
|
is able to store the output which comes before a console
|
|
|
|
is registered in a circular buffer which will be printed
|
|
|
|
once the first console is registered. Recommended for most
|
|
|
|
usecases.
|
2008-08-01 09:47:10 +00:00
|
|
|
|
2013-01-23 10:01:19 +00:00
|
|
|
config CONSOLE_SIMPLE
|
|
|
|
bool
|
|
|
|
prompt "simple"
|
|
|
|
|
2013-01-23 10:01:20 +00:00
|
|
|
config CONSOLE_NONE
|
|
|
|
bool
|
|
|
|
prompt "none"
|
|
|
|
|
2013-01-23 10:01:19 +00:00
|
|
|
endchoice
|
|
|
|
|
2012-10-07 11:18:58 +00:00
|
|
|
choice
|
|
|
|
prompt "Console activation strategy"
|
|
|
|
depends on CONSOLE_FULL
|
|
|
|
default CONSOLE_ACTIVATE_FIRST
|
2008-08-01 09:47:10 +00:00
|
|
|
|
2007-07-05 16:02:01 +00:00
|
|
|
config CONSOLE_ACTIVATE_FIRST
|
|
|
|
bool
|
|
|
|
prompt "activate first console on startup"
|
|
|
|
help
|
|
|
|
Normally on startup all consoles are disabled, so you won't
|
2009-12-15 08:11:09 +00:00
|
|
|
see anything from barebox starting. Enabling this option
|
2007-07-05 16:02:01 +00:00
|
|
|
enables the first console.
|
|
|
|
|
|
|
|
config CONSOLE_ACTIVATE_ALL
|
2008-08-13 14:23:04 +00:00
|
|
|
bool
|
2007-07-05 16:02:01 +00:00
|
|
|
prompt "activate all consoles on startup"
|
|
|
|
help
|
|
|
|
Enabling this options activates all consoles on startup, so
|
|
|
|
you will get output and a prompt on all consoles simultaneously.
|
2012-10-07 11:18:58 +00:00
|
|
|
Only the first registered console will have the full startup
|
|
|
|
log though.
|
|
|
|
|
|
|
|
config CONSOLE_ACTIVATE_NONE
|
|
|
|
prompt "leave all consoles disabled"
|
|
|
|
bool
|
|
|
|
help
|
|
|
|
Leave all consoles disabled on startup. Board code or environment
|
|
|
|
is responsible for enabling a console. Otherwise you'll get a working
|
|
|
|
barebox, you just won't see anything.
|
|
|
|
|
|
|
|
endchoice
|
|
|
|
|
2008-06-05 17:45:19 +00:00
|
|
|
config PARTITION
|
|
|
|
bool
|
|
|
|
prompt "Enable Partitions"
|
|
|
|
|
2013-02-16 13:47:07 +00:00
|
|
|
source common/partitions/Kconfig
|
2011-11-24 12:43:46 +00:00
|
|
|
|
2007-09-13 13:22:23 +00:00
|
|
|
config DEFAULT_ENVIRONMENT
|
|
|
|
bool
|
|
|
|
default y
|
2014-01-23 13:19:36 +00:00
|
|
|
select ENV_HANDLING
|
2007-09-13 13:22:23 +00:00
|
|
|
prompt "Compile in default environment"
|
|
|
|
help
|
|
|
|
Enabling this option will give you a default environment when
|
|
|
|
the environment found in the environment sector is invalid
|
|
|
|
|
2011-12-31 15:11:12 +00:00
|
|
|
choice
|
2014-02-17 18:09:03 +00:00
|
|
|
prompt "default compression for in-barebox binaries"
|
|
|
|
default DEFAULT_COMPRESSION_NONE if PBL_IMAGE
|
|
|
|
default DEFAULT_COMPRESSION_LZO if LZO_DECOMPRESS
|
|
|
|
default DEFAULT_COMPRESSION_GZIP if ZLIB
|
|
|
|
default DEFAULT_COMPRESSION_LZ4 if LZ4_DECOMPRESS
|
|
|
|
default DEFAULT_COMPRESSION_BZIP2 if BZLIB
|
|
|
|
help
|
|
|
|
Select the default compression for in-barebox binary files. Files
|
|
|
|
compiled into barebox like for example the default environment will
|
|
|
|
be compressed with this compression type.
|
2011-12-31 15:11:12 +00:00
|
|
|
|
2014-02-17 18:09:03 +00:00
|
|
|
config DEFAULT_COMPRESSION_GZIP
|
2011-12-31 15:11:12 +00:00
|
|
|
bool "gzip"
|
|
|
|
depends on ZLIB
|
|
|
|
|
2014-02-17 18:09:03 +00:00
|
|
|
config DEFAULT_COMPRESSION_BZIP2
|
2011-12-31 15:11:12 +00:00
|
|
|
bool "bzip2"
|
|
|
|
depends on BZLIB
|
|
|
|
|
2014-02-17 18:09:03 +00:00
|
|
|
config DEFAULT_COMPRESSION_LZO
|
2011-12-31 15:11:12 +00:00
|
|
|
bool "lzo"
|
|
|
|
depends on LZO_DECOMPRESS
|
|
|
|
|
2014-02-17 18:09:03 +00:00
|
|
|
config DEFAULT_COMPRESSION_LZ4
|
|
|
|
bool "lz4"
|
|
|
|
depends on LZ4_DECOMPRESS
|
2011-12-31 15:11:12 +00:00
|
|
|
|
2014-02-17 18:09:03 +00:00
|
|
|
config DEFAULT_COMPRESSION_NONE
|
|
|
|
bool "no compression"
|
|
|
|
|
|
|
|
endchoice
|
2011-12-31 15:11:12 +00:00
|
|
|
|
2012-04-29 18:24:22 +00:00
|
|
|
config HAVE_DEFAULT_ENVIRONMENT_NEW
|
|
|
|
bool
|
|
|
|
|
|
|
|
config DEFAULT_ENVIRONMENT_GENERIC_NEW
|
|
|
|
bool
|
|
|
|
depends on DEFAULT_ENVIRONMENT
|
|
|
|
depends on SHELL_HUSH
|
2014-05-13 08:28:53 +00:00
|
|
|
select CMD_GETOPT
|
2012-04-29 18:24:22 +00:00
|
|
|
select GLOB
|
|
|
|
select GLOB_SORT
|
|
|
|
select CMD_GLOBAL
|
|
|
|
select CMD_AUTOMOUNT
|
2012-07-04 21:50:14 +00:00
|
|
|
select CMD_BASENAME
|
2013-02-18 18:44:24 +00:00
|
|
|
select CMD_READLINK
|
|
|
|
select CMD_DIRNAME
|
2012-04-29 18:24:22 +00:00
|
|
|
select FLEXIBLE_BOOTARGS
|
2013-09-22 11:09:07 +00:00
|
|
|
select CMD_BOOT
|
2014-02-28 07:39:27 +00:00
|
|
|
select NET_CMD_IFUP if NET
|
2012-04-29 18:24:22 +00:00
|
|
|
prompt "Generic environment template"
|
|
|
|
|
2014-02-18 09:25:13 +00:00
|
|
|
config DEFAULT_ENVIRONMENT_GENERIC_NEW_MENU
|
|
|
|
bool
|
|
|
|
depends on DEFAULT_ENVIRONMENT_GENERIC_NEW
|
2013-09-25 05:22:23 +00:00
|
|
|
depends on CMD_MENUTREE
|
2014-02-18 09:25:13 +00:00
|
|
|
default y
|
|
|
|
|
2014-02-25 14:38:07 +00:00
|
|
|
config DEFAULT_ENVIRONMENT_GENERIC_NEW_DFU
|
|
|
|
bool
|
|
|
|
depends on DEFAULT_ENVIRONMENT_GENERIC_NEW
|
|
|
|
depends on USB_GADGET_DFU
|
|
|
|
default y
|
|
|
|
|
2010-10-11 14:34:39 +00:00
|
|
|
config DEFAULT_ENVIRONMENT_GENERIC
|
|
|
|
bool
|
2012-04-29 18:24:22 +00:00
|
|
|
depends on !HAVE_DEFAULT_ENVIRONMENT_NEW
|
2010-10-11 14:34:39 +00:00
|
|
|
depends on DEFAULT_ENVIRONMENT
|
2011-04-04 07:55:34 +00:00
|
|
|
depends on SHELL_HUSH
|
2014-05-13 08:28:53 +00:00
|
|
|
select CMD_GETOPT
|
2010-10-11 14:34:42 +00:00
|
|
|
select CMD_CRC
|
|
|
|
select CMD_CRC_CMP
|
2012-04-29 18:21:16 +00:00
|
|
|
select CMD_AUTOMOUNT if HAVE_DEFAULT_ENVIRONMENT_NEW
|
2012-09-03 12:02:31 +00:00
|
|
|
select CMD_GLOBAL
|
2010-10-11 14:34:39 +00:00
|
|
|
prompt "Default environment generic"
|
|
|
|
help
|
|
|
|
With this option barebox will use the generic default
|
|
|
|
environment found under defaultenv/ in the src tree.
|
|
|
|
The Directory given with DEFAULT_ENVIRONMENT_PATH
|
|
|
|
will be added to the default environment. This should
|
|
|
|
at least contain a /env/config file.
|
|
|
|
This will be able to overwrite the files from defaultenv.
|
|
|
|
|
2007-09-13 13:22:23 +00:00
|
|
|
config DEFAULT_ENVIRONMENT_PATH
|
|
|
|
string
|
|
|
|
depends on DEFAULT_ENVIRONMENT
|
|
|
|
prompt "Default environment path"
|
|
|
|
help
|
2010-06-11 12:09:51 +00:00
|
|
|
Space separated list of pathes the default environment will be taken from.
|
|
|
|
Relative pathes will be relative to the barebox Toplevel dir, but absolute
|
2007-09-13 13:22:23 +00:00
|
|
|
pathes are fine aswell.
|
2008-08-13 14:23:04 +00:00
|
|
|
|
2012-04-13 10:36:33 +00:00
|
|
|
config BAREBOXENV_TARGET
|
|
|
|
bool
|
2013-11-19 01:08:13 +00:00
|
|
|
depends on !SANDBOX
|
2012-04-13 10:36:33 +00:00
|
|
|
prompt "build bareboxenv tool for target"
|
|
|
|
help
|
|
|
|
'bareboxenv' is a tool to access the barebox environment from a running Linux
|
|
|
|
system. Say yes here to build it for the target.
|
|
|
|
|
2013-12-03 23:06:38 +00:00
|
|
|
config BAREBOXCRC32_TARGET
|
|
|
|
bool
|
|
|
|
prompt "build bareboxcrc32 tool for target"
|
|
|
|
help
|
|
|
|
'bareboxcrc32' is a userspacetool to generate the crc32 checksums the same way
|
|
|
|
barebox does. Say yes here to build it for the target.
|
|
|
|
|
2010-12-18 10:25:34 +00:00
|
|
|
config POLLER
|
|
|
|
bool "generic polling infrastructure"
|
|
|
|
|
2012-07-18 08:46:47 +00:00
|
|
|
config RESET_SOURCE
|
|
|
|
bool "detect Reset cause"
|
|
|
|
depends on GLOBALVAR
|
|
|
|
help
|
|
|
|
Provide a global variable at runtine which reflects the possible cause
|
|
|
|
of the reset and why the bootloader is currently running. It can be
|
|
|
|
useful for any kind of system recovery or repair.
|
|
|
|
|
2007-07-05 16:01:30 +00:00
|
|
|
endmenu
|
|
|
|
|
2012-12-08 06:51:19 +00:00
|
|
|
menu "Debugging"
|
2007-07-05 16:01:33 +00:00
|
|
|
|
2012-12-19 14:49:29 +00:00
|
|
|
config COMPILE_LOGLEVEL
|
2013-02-07 12:47:26 +00:00
|
|
|
int "compile loglevel"
|
2012-12-19 14:49:29 +00:00
|
|
|
default 6
|
|
|
|
help
|
|
|
|
This defines the maximum loglevel compiled into the binary. Less important
|
|
|
|
messages will be compiled away resulting in a smaller binary.
|
|
|
|
|
|
|
|
0 system is unusable (emerg)
|
|
|
|
1 action must be taken immediately (alert)
|
|
|
|
2 critical conditions (crit)
|
|
|
|
3 error conditions (err)
|
|
|
|
4 warning conditions (warn)
|
|
|
|
5 normal but significant condition (notice)
|
|
|
|
6 informational (info)
|
|
|
|
7 debug-level messages (debug)
|
|
|
|
|
2013-02-07 12:47:26 +00:00
|
|
|
config DEFAULT_LOGLEVEL
|
|
|
|
int "default loglevel"
|
|
|
|
default 7
|
|
|
|
help
|
|
|
|
This defines the default runtime loglevel. It can be changed using the
|
|
|
|
global.loglevel variable. Available logelevels are:
|
|
|
|
|
|
|
|
0 system is unusable (emerg)
|
|
|
|
1 action must be taken immediately (alert)
|
|
|
|
2 critical conditions (crit)
|
|
|
|
3 error conditions (err)
|
|
|
|
4 warning conditions (warn)
|
|
|
|
5 normal but significant condition (notice)
|
|
|
|
6 informational (info)
|
|
|
|
7 debug-level messages (debug)
|
|
|
|
|
2007-11-27 20:30:46 +00:00
|
|
|
config DEBUG_INFO
|
|
|
|
bool
|
|
|
|
prompt "enable debug symbols"
|
|
|
|
help
|
2009-12-15 08:11:09 +00:00
|
|
|
Enable build of barebox with -g.
|
2007-11-27 20:30:46 +00:00
|
|
|
|
2011-07-19 21:31:06 +00:00
|
|
|
config DEBUG_LL
|
|
|
|
bool
|
|
|
|
depends on HAS_DEBUG_LL
|
|
|
|
prompt "low level debug messages"
|
|
|
|
help
|
|
|
|
Enable this to get low level debug messages during barebox initialization.
|
2012-11-23 09:03:20 +00:00
|
|
|
This requires SoC specific support. Most SoCs require the debug UART to be
|
|
|
|
initialized by a debugger or first stage bootloader.
|
2011-07-19 21:31:06 +00:00
|
|
|
|
2013-06-23 08:01:54 +00:00
|
|
|
choice
|
|
|
|
prompt "Kernel low-level debugging port"
|
|
|
|
depends on DEBUG_LL
|
|
|
|
|
|
|
|
config DEBUG_IMX1_UART
|
|
|
|
bool "i.MX1 Debug UART"
|
|
|
|
depends on ARCH_IMX1
|
|
|
|
help
|
|
|
|
Say Y here if you want kernel low-level debugging support
|
|
|
|
on i.MX1.
|
|
|
|
|
|
|
|
config DEBUG_IMX21_UART
|
|
|
|
bool "i.MX21 Debug UART"
|
|
|
|
depends on ARCH_IMX21
|
|
|
|
help
|
|
|
|
Say Y here if you want kernel low-level debugging support
|
|
|
|
on i.MX21.
|
|
|
|
|
|
|
|
config DEBUG_IMX25_UART
|
|
|
|
bool "i.MX25 Debug UART"
|
|
|
|
depends on ARCH_IMX25
|
|
|
|
help
|
|
|
|
Say Y here if you want kernel low-level debugging support
|
|
|
|
on i.MX25.
|
|
|
|
|
|
|
|
config DEBUG_IMX27_UART
|
|
|
|
bool "i.MX27 Debug UART"
|
2013-07-15 08:05:50 +00:00
|
|
|
depends on ARCH_IMX27
|
2013-06-23 08:01:54 +00:00
|
|
|
help
|
|
|
|
Say Y here if you want kernel low-level debugging support
|
|
|
|
on i.MX27.
|
|
|
|
|
|
|
|
config DEBUG_IMX31_UART
|
|
|
|
bool "i.MX31 Debug UART"
|
|
|
|
depends on ARCH_IMX31
|
|
|
|
help
|
|
|
|
Say Y here if you want kernel low-level debugging support
|
|
|
|
on i.MX31.
|
|
|
|
|
|
|
|
config DEBUG_IMX35_UART
|
|
|
|
bool "i.MX35 Debug UART"
|
|
|
|
depends on ARCH_IMX35
|
|
|
|
help
|
|
|
|
Say Y here if you want kernel low-level debugging support
|
|
|
|
on i.MX35.
|
|
|
|
|
|
|
|
config DEBUG_IMX51_UART
|
|
|
|
bool "i.MX51 Debug UART"
|
|
|
|
depends on ARCH_IMX51
|
|
|
|
help
|
|
|
|
Say Y here if you want kernel low-level debugging support
|
|
|
|
on i.MX51.
|
|
|
|
|
|
|
|
config DEBUG_IMX53_UART
|
|
|
|
bool "i.MX53 Debug UART"
|
|
|
|
depends on ARCH_IMX53
|
|
|
|
help
|
|
|
|
Say Y here if you want kernel low-level debugging support
|
|
|
|
on i.MX53.
|
|
|
|
|
|
|
|
config DEBUG_IMX6Q_UART
|
|
|
|
bool "i.MX6Q Debug UART"
|
|
|
|
depends on ARCH_IMX6
|
|
|
|
help
|
|
|
|
Say Y here if you want kernel low-level debugging support
|
|
|
|
on i.MX6Q.
|
|
|
|
|
2013-11-22 12:47:58 +00:00
|
|
|
config DEBUG_OMAP3_UART
|
|
|
|
bool "OMAP3 Debug UART"
|
|
|
|
depends on ARCH_OMAP3
|
|
|
|
help
|
|
|
|
Say Y here if you want kernel low-level debugging support
|
|
|
|
on OMAP3.
|
|
|
|
|
|
|
|
config DEBUG_OMAP4_UART
|
|
|
|
bool "OMAP4 Debug UART"
|
|
|
|
depends on ARCH_OMAP4
|
|
|
|
help
|
|
|
|
Say Y here if you want kernel low-level debugging support
|
|
|
|
on OMAP4.
|
|
|
|
|
|
|
|
config DEBUG_AM33XX_UART
|
|
|
|
bool "AM33XX Debug UART"
|
|
|
|
depends on ARCH_AM33XX
|
|
|
|
help
|
|
|
|
Say Y here if you want kernel low-level debugging support
|
|
|
|
on AM33XX.
|
|
|
|
|
2013-06-23 08:01:54 +00:00
|
|
|
endchoice
|
|
|
|
|
|
|
|
config DEBUG_IMX_UART_PORT
|
|
|
|
int "i.MX Debug UART Port Selection" if DEBUG_IMX1_UART || \
|
2013-07-15 08:05:50 +00:00
|
|
|
DEBUG_IMX21_UART || \
|
2013-06-23 08:01:54 +00:00
|
|
|
DEBUG_IMX25_UART || \
|
2013-07-15 08:05:50 +00:00
|
|
|
DEBUG_IMX27_UART || \
|
2013-06-23 08:01:54 +00:00
|
|
|
DEBUG_IMX31_UART || \
|
|
|
|
DEBUG_IMX35_UART || \
|
|
|
|
DEBUG_IMX51_UART || \
|
|
|
|
DEBUG_IMX53_UART || \
|
|
|
|
DEBUG_IMX6Q_UART || \
|
|
|
|
DEBUG_IMX6SL_UART
|
|
|
|
default 1
|
|
|
|
depends on ARCH_IMX
|
|
|
|
help
|
|
|
|
Choose UART port on which kernel low-level debug messages
|
|
|
|
should be output.
|
|
|
|
|
2013-11-22 12:47:58 +00:00
|
|
|
config DEBUG_OMAP_UART_PORT
|
|
|
|
int "OMAP Debug UART Port Selection" if DEBUG_OMAP3_UART || \
|
|
|
|
DEBUG_OMAP4_UART || \
|
|
|
|
DEBUG_AM33XX_UART
|
|
|
|
default 1
|
|
|
|
depends on ARCH_OMAP
|
|
|
|
help
|
|
|
|
Choose UART port on which kernel low-level debug messages
|
|
|
|
should be output. Possible values are:
|
|
|
|
OMAP3: 1 - 3
|
|
|
|
OMAP4: 1 - 3
|
|
|
|
AM33XX: 0 - 2
|
|
|
|
|
2013-06-23 10:49:41 +00:00
|
|
|
config DEBUG_INITCALLS
|
|
|
|
bool "Trace initcalls"
|
|
|
|
help
|
|
|
|
If enabled this will print initcall traces.
|
2007-07-05 16:01:33 +00:00
|
|
|
endmenu
|
2011-07-19 21:31:06 +00:00
|
|
|
|
|
|
|
config HAS_DEBUG_LL
|
|
|
|
bool
|