From owner-freebsd-arm@freebsd.org Mon Jun 1 00:26:19 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 200132F6509 for ; Mon, 1 Jun 2020 00:26:19 +0000 (UTC) (envelope-from mw@semihalf.com) Received: from mail-qt1-x82f.google.com (mail-qt1-x82f.google.com [IPv6:2607:f8b0:4864:20::82f]) (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 49ZwvZ0Px3z4FFq for ; Mon, 1 Jun 2020 00:26:17 +0000 (UTC) (envelope-from mw@semihalf.com) Received: by mail-qt1-x82f.google.com with SMTP id x29so6504545qtv.4 for ; Sun, 31 May 2020 17:26:17 -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=5s1CUI+oSNur99fxERX+MlEne1gZGCt0DQcgpXyy9R8=; b=kS8EYqzFtq6G2T6XHCvuNP67sKBy2zO35FjVcrGzHwM4jyD6++3NL3AT2D3HM+fgQJ WNlbxAj98KGpJrq7RnlyJyc+Wh7KjW91m1Db24Q5tXMSJJUqsMB5PKqsC55iaW/0f1VU oDPj6DrQbkGS2ModqOb8OyMugcbjgM4FwlyvaGug5xDL/YF1LbCULyWG6ipXROWuKARp IimX2mpY8bvRcSrWH+rwXzdgS/QDzXk1ezivESDyWI2FeT67dknFYxibAYFTzMSVm//x JoMu8CjTIXy0yrbqjvFUlIzIfORd3fyHZxRsnrsOFkCjErcNM/vZ7hPsCtRcf1hRcg2O 6rPw== 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=5s1CUI+oSNur99fxERX+MlEne1gZGCt0DQcgpXyy9R8=; b=puPPyF4GRwz2SDQp/eNHWwnsAYagaWmvHethnoEcld9ugTRzYPli+8MDJWoJhgC16I ivWTFiRigktN1O6BoTVbHsKbq4xDsNx13KcHCETWJ0nFg2xvzP/Gc2O7SnGh9Xb3Zkxf XLIBydz7ZUgiaLB7iOrEEPXadqQytVM56qRNE186zwx/VdeZllSuQmIr/wypqkTWSLnp 3khxAMnWKQs94xryj9flIFvgxUewYgFSBxuwIiSrcvSI6DDOdK4VBns6SD28PsyN41xi K9fk0ACePhsOPa9nKFN3/xrrOjxF5c0SvhXsdKhO3c+wvSMlIim19EOnIu9/DR1aijaY 34Ow== X-Gm-Message-State: AOAM532augo34tJm4QUCXDSXVwjsdGS6YYJG36fzguU/+rfB5mabA2cc uUdQi1/4A+da5WCKkDcX0c1KahcDfUv9MnWtrYZzwZZt X-Google-Smtp-Source: ABdhPJza+l48frwEMI0o7CcAr6i+zhj2a8Gq5K8A4wZ1dLQtMbbGZqDRA8Iy4yVxlsSNUDaviPUmdXx9mBpSUqVV78k= X-Received: by 2002:ac8:6118:: with SMTP id a24mr19512666qtm.30.1590971176612; Sun, 31 May 2020 17:26:16 -0700 (PDT) MIME-Version: 1.0 References: <664db38a87ea8803be72af9738534994@unrelenting.technology> <8951311F-77F7-40B8-AEA0-F8CBCB1A05DE@yahoo.com> <4ad62e6669044f82e71a9d86fd493356@unrelenting.technology> <31D3FA64-8296-4CA5-92A2-F7FE7C4AE981@unrelenting.technology> <4E21DEB1-0C86-41CD-BE89-FBF2EF45443C@unrelenting.technology> In-Reply-To: <4E21DEB1-0C86-41CD-BE89-FBF2EF45443C@unrelenting.technology> From: Marcin Wojtas Date: Mon, 1 Jun 2020 02:26:04 +0200 Message-ID: Subject: Re: FreeBSD on Layerscape/QorIQ LX2160X To: myfreeweb Cc: Dan Kotowski , freebsd-arm Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 49ZwvZ0Px3z4FFq X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=semihalf-com.20150623.gappssmtp.com header.s=20150623 header.b=kS8EYqzF; dmarc=none; spf=none (mx1.freebsd.org: domain of mw@semihalf.com has no SPF policy when checking 2607:f8b0:4864:20::82f) smtp.mailfrom=mw@semihalf.com X-Spamd-Result: default: False [-2.36 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.06)[-1.061]; R_DKIM_ALLOW(-0.20)[semihalf-com.20150623.gappssmtp.com:s=20150623]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; SH_EMAIL_DBL_DONT_QUERY_IPS(0.00)[0.0.0.1:email]; NEURAL_HAM_LONG(-0.98)[-0.980]; 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:+]; NEURAL_HAM_SHORT(-0.02)[-0.021]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::82f:from]; 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]; RCVD_TLS_ALL(0.00)[]; DBL_PROHIBIT(0.00)[0.0.0.1:email] 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, 01 Jun 2020 00:26:19 -0000 Hi, niedz., 31 maj 2020 o 18:09 myfreeweb napisa= =C5=82(a): > > > > On May 31, 2020 4:00:22 PM UTC, Dan Kotowski wrote: > >> > > I've sent a link to a known firmware build before: > >> > > https://drive.google.com/file/d/1yXSS1O1U8CmtwaIPfxNDkzhAClJGvErK/= view > >> > > Have you tried it? Any difference in FreeBSD/NetBSD, with NVMe? > >> > > >> > I decided to go back to the UEFI sources and have found some differe= nces that I think need to be reconciled before moving forward. That said, I= 'm not an ACPI wizard by any means - for me it's low-level mage spells at b= est... > >> > In https://github.com/SolidRun/edk2-platforms we have 2 different br= anches that SolidRun seems to use: > >> > > >> > 1. LSDK-19.09-sr > >> > 2. master-lx2160a > >> > > >> > I've been building from the latter branch, but found some significan= t differences in the former that I think may be important to merge in. > >> > >> To me it seems like 19.09 is just outdated and doesn't have any benefi= ts. Ask the solidrun people to be sure. > >> > >> Either way, nothing here would fix the interrupt bug. It's our bug sin= ce NetBSD works fine :( > > > >Any thoughts on the "Poll mode" comment below from the dts? We're still = not seeing any of the PHYs in either BSD. > > > >``` > >&emdio1 { > > rgmii_phy1: ethernet-phy@1 { > > /* AR8035 PHY - "compatible" property not strictly needed */ > > compatible =3D "ethernet-phy-id004d.d072"; > > reg =3D <0x1>; > > /* Poll mode - no "interrupts" property defined */ > > }; > >}; > >``` > > Why are you looking at Ethernet stuff? > We do not have a driver for NXP's NIC in any BSD. > > (I do wonder if the Semihalf work on the Layerscape family would eventual= ly include Ethernet..) > Yes, our work included ethernet support for the LS1046 by heavily modifying the sys/dev/dpaa driver, used by PowerPC QorIQ line. As the work was done on 11.x, nice forward port here is a challenge, we currently have no free cycles for. Anyway, LS2K uses a different IP (DPAA2) - even though it has some common components with the DPAA, there's a certain amount of work to be done. In case someone has spare funds for this, please contact me directly :) Best regards, Marcin