drivers: tty: serial: Add missing CONFIG_SERIAL_EARLYCON for ADI UART4#3243
Merged
gastmaier merged 1 commit intoanalogdevicesinc:adsp-6.12.0-yfrom Apr 15, 2026
Merged
Conversation
Collaborator
|
please fix the whitespace, kconfig use leading tabs |
Enable early console support for ADI UART4. Currently it is included in the kernel command line arguments for ADSP Linux but not enabled via Kconfig. This makes it so the ADI UART4 driver selects and enables earlycon support by default and will be available as an early console option during boot. Signed-off-by: Brandon Hurst <brandon.hurst@analog.com>
e119326 to
a830731
Compare
Author
|
Fixed whitespace issue (thanks). |
gastmaier
approved these changes
Apr 10, 2026
Collaborator
There was a problem hiding this comment.
The changes make sense.
Fortiguard is blocking every fetch to https://raw.githubusercontent.com/ , causing all CI/CD to fail. Trying to reach the personnel involved.
Author
|
Looks like CI/CD is passing now, thanks for sorting that out. |
f370f91
into
analogdevicesinc:adsp-6.12.0-y
21 of 27 checks passed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
PR Description
Enable early console support for ADI UART4. Currently it is included in the kernel command line arguments for ADSP Linux but not enabled via Kconfig.
This makes it so the ADI UART4 driver selects and enables earlycon support by default and will be available as an early console option during boot.
With or without earlycon/earlyprintk, the current 5.0.1 build does not actually set up an early console. I tested with the following kernel command-line:
In all cases, without the fix in this PR, same result (dropped messages) since the print buffer fills before the regular console is setup.
By adding CONFIG_SERIAL_EARLYCON, I can now get the early boot messages:
PR Type
PR Checklist