Skip to content

Conversation

@wipawel
Copy link
Contributor

@wipawel wipawel commented Sep 6, 2023

No description provided.

@wipawel wipawel added bugfix This fixes a bug Severity: high Very important bug - fix ASAP labels Sep 6, 2023
@wipawel wipawel requested a review from a team as a code owner September 6, 2023 13:24
@wipawel wipawel enabled auto-merge (rebase) September 6, 2023 13:24
Copy link
Contributor

@minipli-oss minipli-oss left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just some nits

Register serial console only when UART port really exists and is ready.
Otherwise, the serial writing functions trigger a BUG_ON.

Signed-off-by: Pawel Wieczorkiewicz <[email protected]>
Initialize early serial console with a default config: com1,115200,8,n,1.
This is useful to get multiboot and cmdline parsing output.
When cmdline has been parsed initialize all specified UART ports and
assign serial console to them. This may overwrite the early config for
UART com1.
Always assign configured UART devices to the global com_ports[] and do
not hard code COM identifiers to actual COM ports.

Signed-off-by: Pawel Wieczorkiewicz <[email protected]>
@wipawel wipawel merged commit 696493b into KernelTestFramework:mainline Sep 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bugfix This fixes a bug Severity: high Very important bug - fix ASAP

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants