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

Serial Console Support on aarch64 #127

Closed
andreeaflorescu opened this issue May 25, 2021 · 1 comment
Closed

Serial Console Support on aarch64 #127

andreeaflorescu opened this issue May 25, 2021 · 1 comment
Labels

Comments

@andreeaflorescu
Copy link
Member

Add support for the serial console. The existing add_serial_console function from the VMM glue code should be used. To add the serial device the following operations are needed:

  • add the device on the MMIO bus (on aarch64 we do not have Port I/O, and all devices must be added to the MMIO Bus)
  • specify the serial console configuration in the FDT
  • add the type of serial to the kernel command line.

When adding the configuration in the FDT special attention is required to set the same GSI number as the one that was used when registering the interrupt event in KVM with register_irqfd. Similarly, the same MMIO address needs to be used in the kernel command line and when calling register_mmio.

@andreeaflorescu
Copy link
Member Author

Closing this. We still need to allocate the GSI & the MMIO slot, but these can be tackled as part of #136 and #126

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant