Skip to content

Commit

Permalink
[HACK] unconditionally enable console
Browse files Browse the repository at this point in the history
Signed-off-by: Svyatoslav Ryhel <[email protected]>
  • Loading branch information
clamor-s committed Oct 3, 2023
1 parent 53c4b82 commit 5005cdb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion common/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ config MENU

config CONSOLE_RECORD
bool "Console recording"
default y
help
This provides a way to record console output (and provide console
input) through circular buffers. This is mostly useful for testing.
Expand All @@ -26,7 +27,7 @@ config CONSOLE_RECORD_INIT_F
config CONSOLE_RECORD_OUT_SIZE
hex "Output buffer size"
depends on CONSOLE_RECORD
default 0x400 if CONSOLE_RECORD
default 0x10000 if CONSOLE_RECORD
help
Set the size of the console output buffer. When this fills up, no
more data will be recorded until some is removed. The buffer is
Expand Down
2 changes: 2 additions & 0 deletions drivers/fastboot/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -243,12 +243,14 @@ config FASTBOOT_OEM_RUN

config FASTBOOT_CMD_OEM_CONSOLE
bool "Enable the 'oem console' command"
default y
help
Add support for the "oem console" command to input and read console
record buffer.

config FASTBOOT_CMD_OEM_CMD
bool "Enable the 'oem cmd' command"
default y
help
Add support for the "oem cmd" command to run a command and read
console record buffer if is enabled. Be aware that you provide full
Expand Down

0 comments on commit 5005cdb

Please sign in to comment.