Date: Wed, 16 Oct 2019 20:25:59 +0200 From: Michael Tuexen <Michael.Tuexen@macmic.franken.de> To: Colin Percival <cperciva@tarsnap.com> Cc: freebsd-arm@freebsd.org Subject: Re: EC2 ARM64 "bare metal" instances Message-ID: <B39F25E7-39F0-4979-93F7-4513404E9DA7@macmic.franken.de> In-Reply-To: <0100016dd57b89f3-034edaf3-4ae3-46f6-96ad-a3f0cf202c05-000000@email.amazonses.com> References: <0100016dd57b89f3-034edaf3-4ae3-46f6-96ad-a3f0cf202c05-000000@email.amazonses.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> On 16. Oct 2019, at 18:51, Colin Percival <cperciva@tarsnap.com> = wrote: >=20 > Hi ARM experts, >=20 > FreeBSD does not currently boot on Amazon's recently released "bare = metal" > ARM64 instances. It might be useful to get these working, since = they're > reasonably powered hardware (16 cores, 32 GB RAM) and should be able = to run > bhyve (that's the "bare metal" part). Not sure we have bhyve support for arm64 in tree right now... >=20 > Right now the boot is failing because FreeBSD is not finding the disk = (or > the network adapter, for that matter): Isn't your device similar to https://dmesgd.nycbug.org/index.cgi?do=3Dview&id=3D4813 Best regards Michael >=20 > http://www.daemonology.net/tmp/a1.metal.boot_verbose >=20 > Ed suggested that I get a listing of PCI devices from Linux (which = does boot > on these systems), and it looks like the missing devices are attached = to PCI > domains 2 and 3 (aka pci0 and pci1): >=20 > http://www.daemonology.net/tmp/a1.metal.lspci-v >=20 > I'm aware of a few patches these systems needed in order to work on = Linux: >=20 > 1. Respecting ACPI _DSM "PCI Boot Configuration": > = https://github.com/torvalds/linux/commit/a78cf9657ba5426f54aa93a067c10d097= 944c082 >=20 > 2. Adding the Annapurna Labs PCIe controller driver: > = https://github.com/torvalds/linux/commit/4166bfe53093b687a0b1b22e5d943e143= b8089b2 > = https://github.com/torvalds/linux/commit/a8daea94754989f6c48dafda840482cbc= 9f882f9 >=20 > 3. Something I don't understand at all about MSI: > = https://github.com/torvalds/linux/commit/90b4c55586155cf13bbafbd4e55327f89= 681859d >=20 > Can someone who knows more me about ARM64 / ACPI / PCIe / MSI take a = look > at these and figure out how to get this working in FreeBSD? >=20 > I'll be happy to test patches or to walk someone through the process = of > using EC2 so you can hack on this directly. >=20 > --=20 > Colin Percival > Security Officer Emeritus, FreeBSD | The power to serve > Founder, Tarsnap | www.tarsnap.com | Online backups for the truly = paranoid > _______________________________________________ > freebsd-arm@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-arm > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?B39F25E7-39F0-4979-93F7-4513404E9DA7>