From owner-freebsd-arm@freebsd.org Mon Oct 5 12:10:00 2020 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id A17714228C0 for ; Mon, 5 Oct 2020 12:10:00 +0000 (UTC) (envelope-from mw@semihalf.com) Received: from mail-qt1-x843.google.com (mail-qt1-x843.google.com [IPv6:2607:f8b0:4864:20::843]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4C4fYM46L6z3YpJ for ; Mon, 5 Oct 2020 12:09:59 +0000 (UTC) (envelope-from mw@semihalf.com) Received: by mail-qt1-x843.google.com with SMTP id j22so9276452qtj.8 for ; Mon, 05 Oct 2020 05:09:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=semihalf-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=c8kuBvlMVT+T7JfFM0Ol6P7d6Axt5dd2wlpFI2NGrGo=; b=hdpao0is9bdMtxOEM4/vX6aJTau1C4NFiXqxmcaYfDg2xAjEQmXhklnRAPlq8KV/TE Wi76Gser5wFnEGJZ8tK5LPwxHe3jd4MdpFP2/WVBkYhR/EeVG5WQU3lGKl/trYS4sPAm n/FNQjwbev88kTBWHhK3K2x5V2TwPf7NJitRTucW+0GR2k/lGPJw+qptL3RKugb+d8hW IuloisE6A7MH4XTNmaWbsoONoUXQDPpjD/EH+izRR7Mn4X37h4tTGzpCyYWxm7ggwa4w t0tstyVisxGsm7bEQwYqE0r6DbjjLRh6Le2BaN4J8o/ZzVKRVLLH3tpv+eAzXv3WgCSL rFUg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=c8kuBvlMVT+T7JfFM0Ol6P7d6Axt5dd2wlpFI2NGrGo=; b=kZJWme+an1I3899cas3KeOv4jZaVBMEzHsay/p5B3muqklIeJG4AzMDo3gAisdqoRx JEewRFTd2sCSHRJqNwIUiWFzz8N2tGukCVj0gJVRd0mW9mSZc04bcngNmDTFlQgWpfor 3P+mx2eV0Fu5DJYcUJp/iJYiqQumkNndUcT0iYZcGYZU6XV0o9OmmYllKj64uXnOCIIJ W/jEWeL6Xf3RTIksSq1Bi+TDYrMQTbAbK6esADYXb0F2bT5Q+9CBv/d9jkvStG6GqlFN RTq1/KSuDn9AgOXCY3vkDx/bb14q4NZdS+Q7Qm6BlqmfCJIVTNEQgyforPPokorytowq nUMg== X-Gm-Message-State: AOAM531/dAbPFf1hSXEki2lLu1qHSQL1opbWrD23R3eEozibRO4P5CFu 7X+pTBcDv9w1yZQbJAzwo2DB7jnWul9rRufBsk3QlOI9R9+Kcg== X-Google-Smtp-Source: ABdhPJxMQZt0JB5zC0ZqKTZtBnNpgPAy2ZL1URu97DW1nHvyEand82xXpuxwkk4ntlSIJNp+EooPyX3hUSqbsB41iF8= X-Received: by 2002:ac8:4e8c:: with SMTP id 12mr12210514qtp.91.1601899798433; Mon, 05 Oct 2020 05:09:58 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Marcin Wojtas Date: Mon, 5 Oct 2020 14:09:47 +0200 Message-ID: Subject: Re: HEADS UP: NXP LS1046A SoC support in the tree To: Dan Kotowski Cc: freebsd-arm Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 4C4fYM46L6z3YpJ X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=semihalf-com.20150623.gappssmtp.com header.s=20150623 header.b=hdpao0is; dmarc=none; spf=none (mx1.freebsd.org: domain of mw@semihalf.com has no SPF policy when checking 2607:f8b0:4864:20::843) smtp.mailfrom=mw@semihalf.com X-Spamd-Result: default: False [-2.55 / 15.00]; RCVD_TLS_ALL(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[semihalf-com.20150623.gappssmtp.com:s=20150623]; FREEFALL_USER(0.00)[mw]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.996]; NEURAL_HAM_LONG(-1.01)[-1.006]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; DMARC_NA(0.00)[semihalf.com]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[semihalf-com.20150623.gappssmtp.com:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::843:from]; NEURAL_HAM_SHORT(-0.25)[-0.251]; R_SPF_NA(0.00)[no SPF record]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-arm] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Oct 2020 12:10:00 -0000 =C5=9Br., 30 wrz 2020 o 13:16 Dan Kotowski napisa=C5=82(a): > > > Hello all, > > > > On behalf of the Semihalf team I'd like to announce that starting from > > r365054 FreeBSD is ready to run NXP LS1046A system-on-a-chip with most > > of the interfaces supported. > > > > LS1046A are quad-core 64-bit ARMv8 Cortex-A72 processors with > > integrated packet processing acceleration and high speed peripherals > > including 10 Gb Ethernet, PCIe 3.0, SATA 3.0 and USB 3.0 for a wide > > range of networking, storage, security and industrial applications. It > > is confirmed that at least some parts of the kernel support (such as > > SDHCI) was successfully used on the Solid-Run LX2K Honeycomb > > development platform. > > > > Below is the port status together with the features, which were > > originally developed on top of the release/11.2.0 that have made their > > way to FreeBSD-HEAD: > > > > - LS1046A core support (Quad-CA72 SMP, timers, IRQS, UART) > > - already working in vanilla FreeBSD-HEAD before > > - DWC3 USB3.0 host controller driver (FreeBSD-HEAD > > version developed by manu@) > > > > - VF610 I2C controller (adjusted to work with the LS1046A) > > - TI LM75 temperature sensor (adjusted to work with the LS1046A) > > - QorIQ platform clockgen > > - LS1046A CPU clockgen > > - LS1046A GPIO > > - RX8803 I2C RTC > > - TCA6416 I2C GPIO expander > > - LS1046A AHCI > > - LS1046A SDHCI > > > > The major out-of-tree components are that albeit working on top of > > release/11.2.0, still require significant effort to adopt to > > FreeBSD-HEAD: > > > > - DPAA network controller support > > - QSPI controller support > > > > This was a joined effort of Semihalf and Alstom Group (main > > development sponsor), in particular: > > Laurent Muller > > David Fontaine > > Yannis Planus > > Artur Rojek > > Dawid G=C3=B3recki > > Kornel Dul=C4=99ba > > Kamil Koczurek > > Micha=C5=82 Stanek > > Jacek Klimkowicz > > > > Best regards, > > Marcin > > Excellent work, all! > > Do you expect to port up the DPAA controller support or will you be leavi= ng that for others? As of now unfortunately we do not have spare cycles to perform the upgrade (that may change, but I prefer not to commit to any timeframe whatsoever). Between 11.2 and HEAD there was a big contrib (sys/contrib/ncsw/) part update and our changes, using the latest common code from NXP are conflicting to a great extent. > > And have you looked into what it would take to add DPAA2 support as well? > Yes, briefly - the DPAA2 is more complex than its predecessor and it should be added from scratch, so it seems much more work to introduce the support for the NIC from the LX2K SoCs. Best regards, Marcin