mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-17 20:51:39 +00:00
Nokia RX-51: Enable CONFIG_CONSOLE_MUX
After this change both device display and serial console would contain U-Boto output automatically without any future configuration. This would allow easier debugging on real device as access to serial console is hard and also in qemu emulator where it is easier to copy+paste from serial console as from SDL framebuffer. Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Lokesh Vutla <lokeshvutla@ti.com>
This commit is contained in:
parent
b5f7cf5017
commit
07693ccb15
2 changed files with 4 additions and 4 deletions
|
@ -7,7 +7,7 @@ CONFIG_NR_DRAM_BANKS=2
|
||||||
CONFIG_BOOTDELAY=30
|
CONFIG_BOOTDELAY=30
|
||||||
CONFIG_USE_PREBOOT=y
|
CONFIG_USE_PREBOOT=y
|
||||||
CONFIG_PREBOOT="run preboot"
|
CONFIG_PREBOOT="run preboot"
|
||||||
# CONFIG_CONSOLE_MUX is not set
|
CONFIG_CONSOLE_MUX=y
|
||||||
CONFIG_SYS_CONSOLE_IS_IN_ENV=y
|
CONFIG_SYS_CONSOLE_IS_IN_ENV=y
|
||||||
CONFIG_HUSH_PARSER=y
|
CONFIG_HUSH_PARSER=y
|
||||||
CONFIG_SYS_PROMPT="Nokia RX-51 # "
|
CONFIG_SYS_PROMPT="Nokia RX-51 # "
|
||||||
|
|
|
@ -119,9 +119,9 @@ int rx51_kp_getc(struct stdio_dev *sdev);
|
||||||
/* Environment information */
|
/* Environment information */
|
||||||
#define CONFIG_EXTRA_ENV_SETTINGS \
|
#define CONFIG_EXTRA_ENV_SETTINGS \
|
||||||
"usbtty=cdc_acm\0" \
|
"usbtty=cdc_acm\0" \
|
||||||
"stdin=vga\0" \
|
"stdin=serial,vga\0" \
|
||||||
"stdout=vga\0" \
|
"stdout=serial,vga\0" \
|
||||||
"stderr=vga\0" \
|
"stderr=serial,vga\0" \
|
||||||
"setcon=setenv stdin ${con};" \
|
"setcon=setenv stdin ${con};" \
|
||||||
"setenv stdout ${con};" \
|
"setenv stdout ${con};" \
|
||||||
"setenv stderr ${con}\0" \
|
"setenv stderr ${con}\0" \
|
||||||
|
|
Loading…
Add table
Reference in a new issue