From owner-freebsd-arm@freebsd.org Mon Oct 29 20:05:36 2018 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 59BF810E8B89 for ; Mon, 29 Oct 2018 20:05:36 +0000 (UTC) (envelope-from greg@unrelenting.technology) Received: from out.migadu.com (out.migadu.com [91.121.223.63]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.migadu.com", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id DAEA9805AD for ; Mon, 29 Oct 2018 20:05:35 +0000 (UTC) (envelope-from greg@unrelenting.technology) Received: (Migadu outbound); Mon, 29 Oct 2018 20:05:34 +0000 Authentication-Results: out.migadu.com; auth=pass (plain) Received: from [192.168.1.141] ([62.122.208.146]) by out.migadu.com (Haraka/2.8.16) with ESMTPSA id 14671E19-642E-43BB-BEDF-2B479C899ACE.1 envelope-from (authenticated bits=0) (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 verify=FAIL); Mon, 29 Oct 2018 20:05:33 +0000 Date: Mon, 29 Oct 2018 23:05:31 +0300 From: Greg V Subject: Re: MACCHIATObin To: Emmanuel Vadot Cc: freebsd-arm , Marcin Wojtas Message-Id: <1540843531.1781.2@smtp.migadu.com> In-Reply-To: <20181029204655.73c0895cf2df7245769590fe@bidouilliste.com> References: <4DCCA5C9-C156-4080-A8F9-035478AC2FF7@yahoo.com> <1540841879.1781.1@smtp.migadu.com> <20181029204655.73c0895cf2df7245769590fe@bidouilliste.com> X-Mailer: geary/0.12.4 MIME-Version: 1.0 Content-Type: text/plain; charset=windows-1251; format=flowed Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; bh=cbvVRow0SwjmCz9H4ZGV772I0JfrH20GrFDWgH+EX6A=; c=relaxed/simple; d=unrelenting.technology; h=from:subject:date:to; s=default; b=AJaDq+GyBt0KEibl860sLXgHDP3h2peurcGv5QCw2wrHGexEg0z1Er1giv/Zn0V7dJhuskglnsC06y+zT8zD0YJ9wDYXFiNcfCCeVbmpVfGqhMWvLMxqXSS2deLmEiwwbadsTzUwa727wwp9fVTDazaoh9hDyZq61JHV0cbANYQ= X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Oct 2018 20:05:36 -0000 On Mon, Oct 29, 2018 at 10:46 PM, Emmanuel Vadot=20 wrote: > On Mon, 29 Oct 2018 22:37:59 +0300 > Greg V wrote: >=20 >>=20 >>=20 >> On Sat, Aug 18, 2018 at 10:07 AM, Marcin Wojtas =20 >> wrote: >> > sob., 18 sie 2018 o 08:43 Marcin Wojtas =20 >> napisa?(a): >> >> >> >> sob., 18 sie 2018 o 01:10 Jim Thompson >> >> napisa?(a): >> >> > >> >> > On Aug 17, 2018, at 5:42 PM, Mark Millard via freebsd-arm >> >> wrote: >> >> > >> >> > > Marcin Wojtas mw at semihalf.com wrote on >> >> > > Fri May 11 07:55:40 UTC 2018 : >> >> > > >> >> > >> Short status of the support - last year we enabled most of=20 >> the >> >> > >> platform functionalities (core support, USB, AHCI, RTC).=20 >> Three >> >> big >> >> > >> items remained left: >> >> > >> - PCIE root complex (this should work soon with the work=20 >> done >> >> for >> >> > >> another SoC, not merged yet) >> >> > >> - Network PPv2 >> >> > >> - Xenon SD/MMC controller >> >> > > >> >> > > >> >> > > I noticed a check in that deals with that "Xenon" >> >> > > SD/MMC controller: >> >> > > >> >> > > Author: loos >> >> > > Date: Tue Aug 14 16:33:30 2018 >> >> > > New Revision: 337772 >> >> > > URL: >> >> > > https://svnweb.freebsd.org/changeset/base/337772 >> >> >> [?] >> >> > > >> >> > > But I've not noticed check-ins for the other of the "big >> >> > > items" going by. (Though they may have.) >> >> > > >> >> > > Care to comment-on/update-the actual status for the >> >> > > Macchiato.bin(s)? >> >> > >> >> > >> >> > tl;dr: It?s not ?there? yet. >> >> > >> >> > Specifics: >> >> > >> >> > - loos@ has done a lot of work to get the espresso.bin=20 >> working, >> >> and some of this carries over to the 8k/7k. >> >> > - We have another internal developer working on an EIP-97=20 >> driver >> >> for crypto offload. This should be a foundation for the EIP-197=20 >> in >> >> the 8K. >> >> > - I know manu@is working on pin controllers and clocks=20 >> specific >> >> to Machiatto.bin (80x0/70x0). >> >> > - Getting the NICs, PCIe, etc working still remains to be=20 >> done. >> >> > >> >> >> >> About the latter - the NIC is pretty complex, however we=20 >> (Semihalf) >> >> have really huge experience with all its support=20 >> implementations and >> >> the platform itself. I'll put it straightforward - it's only a >> >> matter >> >> of development funding, if it's guaranteed, we will do it with >> >> pleasure :) As well as the NIC support (DW Synopsys driver for=20 >> DT >> >> and >> >> verify/improve on pcie-host-generic with ACPI). >> > >> > "As well as PCIE support..." of course. >> > >> > Marcin >>=20 >> Hi, >>=20 >> I've noticed that people successfully use ACPI-PCIe on the=20 >> MACCHIATObin >> with Linux, >> so? has anyone tested FreeBSD pcie-host-generic there? >>=20 >> I'm considering buying a MACCHIATObin board to test my drm-next=20 >> build >> for aarch64 >> ( https://github.com/FreeBSDDesktop/kms-drm/pull/89 ), but I'd like=20 >> to >> first know if PCIe actually works :) >=20 > I'll will push support for mcbin soon in the tree (with PCI support). > I don't know what ACPI-PCIe is exactly but I don't see how it can=20 > work > without a dedicated driver for the armada 8K. dev/pci/pci_host_generic_acpi.c =97 generic ECAM PCIe driver. I think ThunderX2 uses it (2018 Cavium copyright in the file), probably=20 Ampere eMAG (haven't seen anything about that here, but the vendor=20 lists FreeBSD in their OS compatibility list), should be possible to=20 use on the SoftIron Overdrives (NetBSD just added ACPI/aarch64 and they=20 tested on the Overdrive:=20 https://dmesgd.nycbug.org/index.cgi?do=3Dview&id=3D4526 =97 but all=20 FreeBSD+SoftIron dmesgs on dmesgd.nycbug so far are in FDT mode, not=20 ACPI)=85 And the EDK2 firmware for the Armada8k does have an ACPI mode=85 =