Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The init does not write to console backed by UART #14

Open
imkiva opened this issue Apr 1, 2022 · 3 comments
Open

The init does not write to console backed by UART #14

imkiva opened this issue Apr 1, 2022 · 3 comments
Labels
bug Something isn't working priority: low

Comments

@imkiva
Copy link
Owner

imkiva commented Apr 1, 2022

@imkiva imkiva added the bug Something isn't working label Apr 1, 2022
@imkiva
Copy link
Owner Author

imkiva commented Apr 1, 2022

https://stackoverflow.com/questions/33843143/booting-linux-kernel-using-a-simple-char-driver-as-console

A work around might be to create a custom initramfs that changes the /dev/console device node from major 5 minor 1 to use minor 3, thus changing it into /dev/ttyprintk. Or symlink to achieve the same thing. This should get init to use ttyprintk as its stdin/stdout/stderr.

updated: not work

@imkiva
Copy link
Owner Author

imkiva commented Apr 1, 2022

@imkiva
Copy link
Owner Author

imkiva commented Apr 1, 2022

Another thought: HTIF?

@imkiva imkiva changed the title The init does not write to console The init does not write to console backed by UART Apr 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working priority: low
Projects
None yet
Development

No branches or pull requests

1 participant