-
Notifications
You must be signed in to change notification settings - Fork 0
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
Talos II : Heads console output only on BMC console, not VGA #168
Comments
This is more complicated than it seems. Used petitboot’s config for reference as it appears on VGA console. After enabling more drivers VGA somewhat works, but it doesn't always show up. usb-init enables VGA console when it's off. This dependency is at least partially explained by:
The second console is separate from the text one (hvc0 is text and VGA is tty0 and tty1). When petitboot is in use, text and VGA consoles run two independent instances of petitboot. Likely need to do the same for Heads in init scripts.
Here's WIP image zImage.bundled.gz, but there is still things to do:
|
Some quick notes on Heads. If USB keyboard is needed, it needs to be defined under board config otherwise HID kernel module should not be loaded. |
Is it possible that similar issue is present on other platforms but no one notices, as they have real USB keyboard connected and HID driver is always loaded? |
@krystian-hebel all ps2 offering platforms removed USB HID in past Heads PR. Not so relevant here since Talos II doesn't offer ps2 ports for keyboard and mouse, only USB. But for platforms offering ps2 connectivity, HID should be optional and declared as such in separate usb-keyboard board option (important for Qubes sys-usb creation with exclusive access on that seperate controller). Sorry, brain slow today. |
Seems to work now, at least screen and input is initialized every time in latest tests. Changes are in three new commits in linuxboot/heads#1002. Mind that the PR has an old base and building USB_HID as a module won't work there. New image: zImage.bundled.gz Used |
Version: unreleased (after 0.5. To be edited with precision upon next release)
Latest tests with unreleased version supported my single CPU! Hurray! (More testing later end of month... Other reports?)
Current issue now is to have Heads payload output to vga console, which seems to miss either AST+DRM in kernel config and/or proper skiboot passed arguments.
Off-channel notes:
Originally posted by @tlaurion in #80 (comment)
The text was updated successfully, but these errors were encountered: