Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 31 Oct 2018 01:46:00 +0300
From:      Greg V <greg@unrelenting.technology>
To:        Marcin Wojtas <mw@semihalf.com>
Cc:        Emmanuel Vadot <manu@bidouilliste.com>, freebsd-arm <freebsd-arm@freebsd.org>
Subject:   Re: MACCHIATObin
Message-ID:  <1540939560.20404.0@smtp.migadu.com>
In-Reply-To: <CAPv3WKcfJpbdnD6LmX032EC82BeYheJap8OYgz9gfSUkd9qUNA@mail.gmail.com>
References:  <4DCCA5C9-C156-4080-A8F9-035478AC2FF7@yahoo.com> <F8B5248A-7522-4268-A72A-DBA04D943046@netgate.com> <CAPv3WKeuN3TwOEBR6zu_9ovyvvQUD4t83shgT0LTbtD1re6ikQ@mail.gmail.com> <CAPv3WKcmiOzBGKtomQJ9mqJaaPXNjfEfX2Q7iD5u5qz2ojQJDA@mail.gmail.com> <1540841879.1781.1@smtp.migadu.com> <20181029204655.73c0895cf2df7245769590fe@bidouilliste.com> <1540843531.1781.2@smtp.migadu.com> <CAPv3WKcfJpbdnD6LmX032EC82BeYheJap8OYgz9gfSUkd9qUNA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help


On Tue, Oct 30, 2018 at 12:48 AM, Marcin Wojtas <mw@semihalf.com> wrote:
> Hi,
>=20
> pon., 29 pa=C5=BA 2018 o 21:05 Greg V <greg@unrelenting.technology>=20
> napisa=C5=82(a):
>>=20
>>=20
>>=20
>>  On Mon, Oct 29, 2018 at 10:46 PM, Emmanuel Vadot
>>  <manu@bidouilliste.com> wrote:
>>  > On Mon, 29 Oct 2018 22:37:59 +0300
>>  > Greg V <greg@unrelenting.technology> wrote:
>>  >
>>  >>
>>  >>
>>  >>  On Sat, Aug 18, 2018 at 10:07 AM, Marcin Wojtas=20
>> <mw@semihalf.com>
>>  >> wrote:
>>  >>  > sob., 18 sie 2018 o 08:43 Marcin Wojtas <mw@semihalf.com>
>>  >> napisa?(a):
>>  >>  >>
>>  >>  >>  sob., 18 sie 2018 o 01:10 Jim Thompson <jim@netgate.com>
>>  >>  >> napisa?(a):
>>  >>  >>  >
>>  >>  >>  > On Aug 17, 2018, at 5:42 PM, Mark Millard via freebsd-arm
>>  >>  >> <freebsd-arm@freebsd.org> 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=20
>> most of
>>  >> the
>>  >>  >>  > >> platform functionalities (core support, USB, AHCI,=20
>> RTC).
>>  >> Three
>>  >>  >> big
>>  >>  >>  > >> items remained left:
>>  >>  >>  > >> - PCIE root complex (this should work soon with the=20
>> work
>>  >> 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
>>  >> working,
>>  >>  >> and some of this carries over to the 8k/7k.
>>  >>  >>  > - We have another internal developer working on an EIP-97
>>  >> driver
>>  >>  >> for crypto offload.  This should be a foundation for the=20
>> EIP-197
>>  >> in
>>  >>  >> the 8K.
>>  >>  >>  > - I know manu@is working on pin controllers and clocks
>>  >> specific
>>  >>  >> to Machiatto.bin (80x0/70x0).
>>  >>  >>  > - Getting the NICs, PCIe, etc working still remains to be
>>  >> done.
>>  >>  >>  >
>>  >>  >>
>>  >>  >>  About the latter - the NIC is pretty complex, however we
>>  >> (Semihalf)
>>  >>  >>  have really huge experience with all its support
>>  >> implementations and
>>  >>  >>  the platform itself. I'll put it straightforward - it's=20
>> only a
>>  >>  >> matter
>>  >>  >>  of development funding, if it's guaranteed, we will do it=20
>> with
>>  >>  >>  pleasure :) As well as the NIC support (DW Synopsys driver=20
>> for
>>  >> DT
>>  >>  >> and
>>  >>  >>  verify/improve on pcie-host-generic with ACPI).
>>  >>  >
>>  >>  > "As well as PCIE support..." of course.
>>  >>  >
>>  >>  > Marcin
>>  >>
>>  >>  Hi,
>>  >>
>>  >>  I've noticed that people successfully use ACPI-PCIe on the
>>  >> MACCHIATObin
>>  >>  with Linux,
>>  >>  so? has anyone tested FreeBSD pcie-host-generic there?
>>  >>
>>  >>  I'm considering buying a MACCHIATObin board to test my drm-next
>>  >> build
>>  >>  for aarch64
>>  >>  ( https://github.com/FreeBSDDesktop/kms-drm/pull/89 ), but I'd=20
>> like
>>  >> to
>>  >>  first know if PCIe actually works :)
>>  >
>>  >  I'll will push support for mcbin soon in the tree (with PCI=20
>> support).
>>  >  I don't know what ACPI-PCIe is exactly but I don't see how it can
>>  > work
>>  > without a dedicated driver for the armada 8K.
>>=20
>>  dev/pci/pci_host_generic_acpi.c =E2=80=94 generic ECAM PCIe driver.
>>=20
>>  I think ThunderX2 uses it (2018 Cavium copyright in the file),=20
>> probably
>>  Ampere eMAG (haven't seen anything about that here, but the vendor
>>  lists FreeBSD in their OS compatibility list), should be possible to
>>  use on the SoftIron Overdrives (NetBSD just added ACPI/aarch64 and=20
>> they
>>  tested on the Overdrive:
>>  https://dmesgd.nycbug.org/index.cgi?do=3Dview&id=3D4526 =E2=80=94 but a=
ll
>>  FreeBSD+SoftIron dmesgs on dmesgd.nycbug so far are in FDT mode, not
>>  ACPI)=E2=80=A6
>>=20
>>  And the EDK2 firmware for the Armada8k does have an ACPI mode=E2=80=A6
>>=20
>=20
> I confirm - thanks to the initial configuration in UEFI, ACPI tables
> support PCI, which OS can use with the pure ECAM pci-host-generic
> driver. Here's also the latest Centos7 bootlog, where you can see it:
> https://pastebin.com/Aa2NvDnM
>=20
> Marcin

So you haven't tried booting *FreeBSD* in ACPI mode on the 8k yet?

Would be great to see a FreeBSD dmesg from that configuration on=20
https://dmesgd.nycbug.org :)
=




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1540939560.20404.0>