Page MenuHomeFreeBSD

Add support for EC2 i3.metal serial port
ClosedPublic

Authored by cperciva on Sep 19 2018, 9:26 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Nov 28, 4:05 PM
Unknown Object (File)
Oct 16 2024, 11:13 PM
Unknown Object (File)
Sep 18 2024, 3:47 PM
Unknown Object (File)
Sep 15 2024, 2:43 PM
Unknown Object (File)
Sep 13 2024, 3:53 AM
Unknown Object (File)
Sep 9 2024, 1:30 AM
Unknown Object (File)
Sep 2 2024, 8:47 PM
Unknown Object (File)
Sep 2 2024, 5:45 PM
Subscribers
None

Details

Summary

Recognize the Amazon PCI serial device found in i3.metal EC2 instances
as an NS8250 UART.

Test Plan

Booting an EC2 i3.metal instance with this patch, uart2 shows up and if I write to it (e.g., cat /COPYRIGHT > /dev/ttyu2) that shows up in the EC2 Console Logs.

Unfortunately I haven't been able to figure out how to get the kernel to use this for its console output, which is kind of the point... any help will be much appreciated.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Adding some reviewers who have touched this recently and may be able to tell me if I'm doing this right and/or what I'm missing.

This revision is now accepted and ready to land.Sep 19 2018, 10:01 PM
imp added inline comments.
sys/dev/uart/uart_bus_pci.c
128 ↗(On Diff #48241)

It's traditional to also add this to puc, iirc.

This revision was automatically updated to reflect the committed changes.