Skip to content
Snippets Groups Projects
Commit d63b5b4f authored by Simon Glass's avatar Simon Glass
Browse files

sandbox: Enable more console options


Enable the pre-console buffer, displaying the model and post-relocation
console announce on sandbox. Also add a model name to the device tree.
This allows testing of these features.

Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
Reviewed-by: default avatarBin Meng <bmeng.cn@gmail.com>
Tested-by: default avatarStephen Warren <swarren@nvidia.com>
parent 4e6bafa5
No related branches found
No related tags found
No related merge requests found
...@@ -5,6 +5,7 @@ ...@@ -5,6 +5,7 @@
/ { / {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
model = "sandbox";
aliases { aliases {
eth5 = "/eth@90000000"; eth5 = "/eth@90000000";
......
...@@ -488,7 +488,7 @@ config DISPLAY_CPUINFO ...@@ -488,7 +488,7 @@ config DISPLAY_CPUINFO
config DISPLAY_BOARDINFO config DISPLAY_BOARDINFO
bool "Display information about the board during start up" bool "Display information about the board during start up"
default y if ARM || M68K || MIPS || PPC || XTENSA default y if ARM || M68K || MIPS || PPC || SANDBOX || XTENSA
help help
Display information about the board that U-Boot is running on Display information about the board that U-Boot is running on
when U-Boot starts up. The board function checkboard() is called when U-Boot starts up. The board function checkboard() is called
......
...@@ -14,6 +14,8 @@ CONFIG_BOOTSTAGE_STASH_SIZE=0x4096 ...@@ -14,6 +14,8 @@ CONFIG_BOOTSTAGE_STASH_SIZE=0x4096
CONFIG_CONSOLE_RECORD=y CONFIG_CONSOLE_RECORD=y
CONFIG_CONSOLE_RECORD_OUT_SIZE=0x1000 CONFIG_CONSOLE_RECORD_OUT_SIZE=0x1000
CONFIG_SILENT_CONSOLE=y CONFIG_SILENT_CONSOLE=y
CONFIG_PRE_CONSOLE_BUFFER=y
CONFIG_PRE_CON_BUF_ADDR=0
CONFIG_CMD_CPU=y CONFIG_CMD_CPU=y
CONFIG_CMD_LICENSE=y CONFIG_CMD_LICENSE=y
CONFIG_CMD_BOOTZ=y CONFIG_CMD_BOOTZ=y
......
...@@ -41,6 +41,7 @@ ...@@ -41,6 +41,7 @@
#define CONFIG_SYS_LONGHELP /* #undef to save memory */ #define CONFIG_SYS_LONGHELP /* #undef to save memory */
#define CONFIG_SYS_CBSIZE 1024 /* Console I/O Buffer Size */ #define CONFIG_SYS_CBSIZE 1024 /* Console I/O Buffer Size */
#define CONFIG_DISPLAY_BOARDINFO_LATE
/* Print Buffer Size */ /* Print Buffer Size */
#define CONFIG_SYS_PBSIZE (CONFIG_SYS_CBSIZE + sizeof(CONFIG_SYS_PROMPT) + 16) #define CONFIG_SYS_PBSIZE (CONFIG_SYS_CBSIZE + sizeof(CONFIG_SYS_PROMPT) + 16)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment