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, Apr 18, 6:40 AM
Unknown Object (File)
Tue, Apr 16, 4:27 AM
Unknown Object (File)
Sun, Apr 14, 9:43 PM
Unknown Object (File)
Sun, Apr 14, 8:25 PM
Unknown Object (File)
Jan 27 2024, 6:18 PM
Unknown Object (File)
Jan 24 2024, 3:08 AM
Unknown Object (File)
Jan 16 2024, 6:29 PM
Unknown Object (File)
Dec 22 2023, 9:48 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.