From 60c96dbf20da7014c014e19c47b57c30b338bfe0 Mon Sep 17 00:00:00 2001 From: Kyle Evans Date: Wed, 28 Sep 2022 15:24:53 -0500 Subject: [PATCH] arm64: add a std.ec2 config Mostly to document basic harware present on the platform; knowing that Graviton exposes an ns8250 uart alone is quite helpful. Reviewed by: andrew, imp, manu Seems accurate: cperciva Sponsored by: NetApp, Inc. Sponsored by: Klara, Inc. Differential Revision: https://reviews.freebsd.org/D36776 --- sys/arm64/conf/GENERIC | 1 + sys/arm64/conf/std.ec2 | 15 +++++++++++++++ 2 files changed, 16 insertions(+) create mode 100644 sys/arm64/conf/std.ec2 diff --git a/sys/arm64/conf/GENERIC b/sys/arm64/conf/GENERIC index 60772893cdb..c53132b0c22 100644 --- a/sys/arm64/conf/GENERIC +++ b/sys/arm64/conf/GENERIC @@ -31,6 +31,7 @@ include "std.amd" include "std.arm" include "std.broadcom" include "std.cavium" +include "std.ec2" include "std.hyperv" include "std.hisilicon" include "std.imx" diff --git a/sys/arm64/conf/std.ec2 b/sys/arm64/conf/std.ec2 new file mode 100644 index 00000000000..da80c3b5f4b --- /dev/null +++ b/sys/arm64/conf/std.ec2 @@ -0,0 +1,15 @@ +# +# EC2 support (Graviton, Graviton 2) +# + +# Serial (COM) ports +device uart_ns8250 + +# Ethernet NIC, typically loaded as a module instead +#device ena + +# Options typically present in AWS /boot/loader.conf that we don't want to +# enable for GENERIC +#envvar hw.broken_txfifo=1 + +device acpi