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 20:13:55 +00:00
|
|
|
config CMD_MEMORY
|
|
|
|
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
|
|
|
|
|
2011-03-24 12:52:39 +00:00
|
|
|
config BLOCK
|
|
|
|
bool
|
|
|
|
|
|
|
|
config BLOCK_WRITE
|
|
|
|
bool
|
|
|
|
|
2011-04-04 07:55:34 +00:00
|
|
|
config HAVE_NOSHELL
|
|
|
|
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
|
|
|
|
|
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
|
|
|
|
2012-07-27 17:25:56 +00:00
|
|
|
config HAVE_PBL_IMAGE
|
|
|
|
bool
|
|
|
|
|
|
|
|
config HAVE_IMAGE_COMPRESSION
|
|
|
|
bool
|
|
|
|
|
|
|
|
config PBL_IMAGE
|
|
|
|
bool "Pre-Bootloader image"
|
|
|
|
depends on HAVE_PBL_IMAGE
|
|
|
|
|
2012-08-03 09:03:01 +00:00
|
|
|
config PBL_FORCE_PIGGYDATA_COPY
|
|
|
|
bool
|
|
|
|
help
|
|
|
|
In some case we need to copy the PIGGYDATA as the link address
|
|
|
|
as example we run from SRAM and shutdown the SDRAM/DDR for
|
|
|
|
reconfiguration but most of the time we just need to copy the
|
|
|
|
executable code.
|
|
|
|
|
2012-07-27 17:25:56 +00:00
|
|
|
if PBL_IMAGE
|
|
|
|
|
|
|
|
config IMAGE_COMPRESSION
|
2012-08-03 09:03:01 +00:00
|
|
|
bool
|
2012-07-27 17:25:56 +00:00
|
|
|
depends on HAVE_IMAGE_COMPRESSION
|
2012-08-03 09:03:01 +00:00
|
|
|
default y
|
2012-07-27 17:25:56 +00:00
|
|
|
|
|
|
|
if IMAGE_COMPRESSION
|
|
|
|
|
|
|
|
choice
|
|
|
|
prompt "Compression"
|
|
|
|
|
|
|
|
config IMAGE_COMPRESSION_LZO
|
|
|
|
bool "lzo"
|
|
|
|
|
2012-07-22 10:12:01 +00:00
|
|
|
config IMAGE_COMPRESSION_GZIP
|
|
|
|
bool "gzip"
|
|
|
|
|
2012-07-27 17:25:56 +00:00
|
|
|
endchoice
|
|
|
|
|
|
|
|
endif
|
|
|
|
|
|
|
|
endif
|
|
|
|
|
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.
|
|
|
|
|
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
|
|
|
|
|
2012-01-18 01:07:33 +00:00
|
|
|
config BAREBOX_MAX_BARE_INIT_SIZE
|
|
|
|
prompt "Maximum bare_init size"
|
|
|
|
hex
|
|
|
|
default 0xffffffff
|
|
|
|
help
|
|
|
|
Define the maximum size of bare_init
|
|
|
|
this will allow your bare_init will fit in SRAM as example
|
|
|
|
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
|
|
|
|
depends on PPC
|
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.
|
|
|
|
|
2008-05-12 09:35:15 +00:00
|
|
|
config MACH_HAS_LOWLEVEL_INIT
|
|
|
|
bool
|
|
|
|
|
|
|
|
config MACH_DO_LOWLEVEL_INIT
|
|
|
|
bool "run machine low-level init"
|
|
|
|
depends on MACH_HAS_LOWLEVEL_INIT
|
|
|
|
default y
|
|
|
|
help
|
|
|
|
This entry enables SDRAM and other board low level initialization
|
|
|
|
on many platforms. Disabling this option allows configurations to use
|
2009-12-15 08:11:09 +00:00
|
|
|
barebox as a second stage boot loader.
|
2008-05-12 09:35:15 +00:00
|
|
|
|
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 LONGHELP
|
|
|
|
bool
|
|
|
|
prompt "Enable long help texts"
|
|
|
|
|
|
|
|
config CBSIZE
|
|
|
|
int
|
|
|
|
prompt "Buffer size for input from the Console"
|
|
|
|
default 1024
|
|
|
|
|
|
|
|
config MAXARGS
|
|
|
|
int
|
|
|
|
prompt "max. Number of arguments accepted for monitor commands"
|
|
|
|
default 16
|
|
|
|
|
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
|
|
|
|
depends on HAVE_NOSHELL
|
|
|
|
bool "no shell (noninteractive build)"
|
|
|
|
help
|
|
|
|
No shell at all. This means no shell is started and your board has
|
|
|
|
to provide a run_shell() function which is started 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
|
|
|
|
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
|
|
|
|
like \h for CONFIG_BOARDINFO or \w for the current working directory.
|
|
|
|
|
2010-10-08 12:20:46 +00:00
|
|
|
config HUSH_GETOPT
|
|
|
|
bool
|
|
|
|
depends on SHELL_HUSH
|
|
|
|
prompt "enable builtin getopt"
|
|
|
|
help
|
|
|
|
This enables a getopt function builtin to hush.
|
|
|
|
|
2008-08-13 14:23:04 +00:00
|
|
|
config CMDLINE_EDITING
|
|
|
|
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"
|
2012-05-21 15:53:36 +00:00
|
|
|
depends on PROCESS_ESCAPE_SEQUENCE
|
2010-08-20 08:22:47 +00:00
|
|
|
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
|
|
|
|
|
|
|
|
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 .
|
|
|
|
|
2008-08-01 09:47:10 +00:00
|
|
|
config CONSOLE_FULL
|
|
|
|
bool
|
|
|
|
default y
|
|
|
|
prompt "Enable full console support"
|
|
|
|
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
|
|
|
|
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
|
|
|
|
|
|
|
|
config CONSOLE_SIMPLE
|
|
|
|
bool
|
|
|
|
default y
|
|
|
|
depends on !CONSOLE_FULL
|
2007-07-05 16:02:03 +00:00
|
|
|
|
2008-06-05 17:45:19 +00:00
|
|
|
config PARTITION
|
|
|
|
bool
|
|
|
|
prompt "Enable Partitions"
|
|
|
|
|
2011-11-24 12:43:46 +00:00
|
|
|
config PARTITION_DISK
|
2011-12-07 09:46:23 +00:00
|
|
|
depends on PARTITION
|
2011-11-24 12:43:46 +00:00
|
|
|
bool "DISK partition support"
|
|
|
|
help
|
|
|
|
Add support for handling common partition tables on all kind of disk
|
|
|
|
like devices (harddisks, CF cards, SD cards and so on)
|
|
|
|
|
|
|
|
config PARTITION_DISK_DOS
|
2011-12-07 09:46:23 +00:00
|
|
|
depends on PARTITION_DISK
|
|
|
|
default y
|
2011-11-24 12:43:46 +00:00
|
|
|
bool "DOS partition support"
|
|
|
|
help
|
|
|
|
Add support to handle partitions in DOS style.
|
|
|
|
|
2007-09-13 13:22:23 +00:00
|
|
|
config DEFAULT_ENVIRONMENT
|
|
|
|
bool
|
|
|
|
default y
|
2012-02-07 16:52:45 +00:00
|
|
|
select CMD_LOADENV
|
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
|
|
|
config DEFAULT_ENVIRONMENT_COMPRESSED
|
|
|
|
bool
|
|
|
|
depends on DEFAULT_ENVIRONMENT
|
2012-08-03 09:03:01 +00:00
|
|
|
depends on !IMAGE_COMPRESSION_LZO
|
2012-07-22 10:12:01 +00:00
|
|
|
depends on !IMAGE_COMPRESSION_GZIP
|
2011-12-31 15:11:12 +00:00
|
|
|
default y if ZLIB
|
|
|
|
default y if BZLIB
|
|
|
|
default y if LZO_DECOMPRESS
|
|
|
|
|
|
|
|
if DEFAULT_ENVIRONMENT_COMPRESSED
|
|
|
|
|
|
|
|
choice
|
|
|
|
prompt "compression"
|
|
|
|
|
|
|
|
config DEFAULT_ENVIRONMENT_COMPRESSED_GZIP
|
|
|
|
bool "gzip"
|
|
|
|
depends on ZLIB
|
|
|
|
|
|
|
|
config DEFAULT_ENVIRONMENT_COMPRESSED_BZIP2
|
|
|
|
bool "bzip2"
|
|
|
|
depends on BZLIB
|
|
|
|
|
|
|
|
config DEFAULT_ENVIRONMENT_COMPRESSED_LZO
|
|
|
|
bool "lzo"
|
|
|
|
depends on LZO_DECOMPRESS
|
|
|
|
|
|
|
|
endchoice
|
|
|
|
|
|
|
|
endif
|
|
|
|
|
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
|
|
|
|
select HUSH_GETOPT
|
|
|
|
select GLOB
|
|
|
|
select GLOB_SORT
|
|
|
|
select CMD_GLOBAL
|
|
|
|
select CMD_AUTOMOUNT
|
2012-07-04 21:50:14 +00:00
|
|
|
select CMD_BASENAME
|
2012-04-29 18:24:22 +00:00
|
|
|
select FLEXIBLE_BOOTARGS
|
|
|
|
prompt "Generic environment template"
|
|
|
|
|
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
|
2010-10-11 14:34:41 +00:00
|
|
|
select HUSH_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
|
|
|
|
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.
|
|
|
|
|
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
|
|
|
|
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
|
|
|
|
2007-10-18 19:03:32 +00:00
|
|
|
config ENABLE_FLASH_NOISE
|
|
|
|
bool
|
|
|
|
prompt "verbose flash handling"
|
|
|
|
help
|
|
|
|
Enable this to get noisy flash handling routines
|
|
|
|
|
|
|
|
config ENABLE_PARTITION_NOISE
|
|
|
|
bool
|
|
|
|
prompt "verbose partition handling"
|
|
|
|
help
|
|
|
|
Enable this to get noisy partition handling routines
|
|
|
|
|
|
|
|
config ENABLE_DEVICE_NOISE
|
|
|
|
bool
|
|
|
|
prompt "verbose device handling"
|
|
|
|
help
|
|
|
|
Enable this to get noisy device handling routines
|
2007-07-05 16:01:33 +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
|
|
|
|
2007-07-05 16:01:33 +00:00
|
|
|
endmenu
|
2011-07-19 21:31:06 +00:00
|
|
|
|
|
|
|
config HAS_DEBUG_LL
|
|
|
|
bool
|