From owner-freebsd-arm@freebsd.org Fri Jan 4 20:31:56 2019 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 121FA1438F59 for ; Fri, 4 Jan 2019 20:31:56 +0000 (UTC) (envelope-from shawn.webb@hardenedbsd.org) Received: from mail-ed1-x541.google.com (mail-ed1-x541.google.com [IPv6:2a00:1450:4864:20::541]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D2E5282E51 for ; Fri, 4 Jan 2019 20:31:54 +0000 (UTC) (envelope-from shawn.webb@hardenedbsd.org) Received: by mail-ed1-x541.google.com with SMTP id a20so26037792edc.8 for ; Fri, 04 Jan 2019 12:31:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hardenedbsd.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=zBt6Rm+Qw2MeW6DsPKXRJwzmXsL/VZEV2Wk4is51NWI=; b=bL7V8+c3hcLD0I4hHYRk2cEFSWPGCa3Rj/OuoA0g/rJXF5Ue5f2cFoY2CD8qrIYdyR L/oy+2Pfo52oQK1nJleC2liknybvnPpouGH0rv/rYBo2D5ENkbzpZShC1WWpJYdpIEiI N/pmwNsUB2uWW2i3cTVpQ4qsyxCcHk9xrfGSmYYmM2HcE21SRNCwmBtaiAy7ZvdVsUE0 /cZ8ujNiS9UOy/VL6G5cjuCyHRnOQS1ZAcZbkQyN8zmyIU1IeZUfoiYcudGAiQe5b9Jf lpt31eWxfRJLERuzEyAkhxGFGCC7lewIZshFh9m9lafOtPbxakdo6l0FRa8o+DOu1ZyT V9rA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=zBt6Rm+Qw2MeW6DsPKXRJwzmXsL/VZEV2Wk4is51NWI=; b=Kb0YUNb+6VO9cS+yU+4rZqZGNcOXrr0FOXBhtdJjI9FbSbqxbmHLvwDmMxuZbobpBx mQRpE5U/aEqD44y3zqaIbXCE//oNIaj0HE1o6dwJMDY0Sn4es3lgFMtAbwYjfT0tVDKo utpqsXMWGYmJ/sriIxkpTWRieiU4bUeuSP/na2X0ljA4Oft0wrZxU7w0RhuM0BFqYnD4 cwbBmuOYXn6I7Cbcm7rgVZvOFmlp9r/12cfnPjGL7ctJQPgUJXUD8zytHqqKIoq2prRD rbqOiNaJX7lZ+4ma46mM8DYdSCFtqrCD2L4Td/xVleljWbZAJ0gtJIlqwR+0mU51oUTc juqQ== X-Gm-Message-State: AA+aEWa7OW7b4YRpIa0dxStFYb6wyT+ZW5qVNtETQhF+yOgTe3N8QmeC /mTGusdbyYYeINZcLZiunXckJBQZnDe33w== X-Google-Smtp-Source: AFSGD/VT0cqgyw6gP+bKizmUzy8+PB2CodigCsNQNlsx6oafkOHMpBfFj3r+/EMvYSzzAWKgve0/Hg== X-Received: by 2002:a17:906:6442:: with SMTP id l2-v6mr39133694ejn.73.1546633913503; Fri, 04 Jan 2019 12:31:53 -0800 (PST) Received: from mutt-hbsd (232.ip-54-39-148.net. [54.39.148.232]) by smtp.gmail.com with ESMTPSA id cd6-v6sm13626098ejb.14.2019.01.04.12.31.49 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 04 Jan 2019 12:31:52 -0800 (PST) Date: Fri, 4 Jan 2019 15:31:33 -0500 From: Shawn Webb To: "Jayachandran C." Cc: Ed Maste , "freebsd-arm@freebsd.org" Subject: Re: ThunderX2 support in FreeBSD/arm64 Message-ID: <20190104203133.euftenspsfxp7vyq@mutt-hbsd> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="yp2u43dytvahevui" Content-Disposition: inline In-Reply-To: X-Operating-System: FreeBSD mutt-hbsd 13.0-CURRENT FreeBSD 13.0-CURRENT HARDENEDBSD-13-CURRENT amd64 X-PGP-Key: http://pgp.mit.edu/pks/lookup?op=vindex&search=0x6A84658F52456EEE User-Agent: NeoMutt/20180716 X-Rspamd-Queue-Id: D2E5282E51 X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=hardenedbsd.org header.s=google header.b=bL7V8+c3; spf=pass (mx1.freebsd.org: domain of shawn.webb@hardenedbsd.org designates 2a00:1450:4864:20::541 as permitted sender) smtp.mailfrom=shawn.webb@hardenedbsd.org X-Spamd-Result: default: False [-5.80 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[hardenedbsd.org:+]; MX_GOOD(-0.01)[alt1.aspmx.l.google.com,aspmx.l.google.com,aspmx2.googlemail.com,alt2.aspmx.l.google.com,aspmx3.googlemail.com]; NEURAL_HAM_SHORT(-0.98)[-0.980,0]; SIGNED_PGP(-2.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; IP_SCORE(-0.71)[ip: (0.06), ipnet: 2a00:1450::/32(-1.89), asn: 15169(-1.66), country: US(-0.08)]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[hardenedbsd.org:s=google]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; DMARC_NA(0.00)[hardenedbsd.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[1.4.5.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.5.4.1.0.0.a.2.list.dnswl.org : 127.0.5.0]; MID_RHS_NOT_FQDN(0.50)[] 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: Fri, 04 Jan 2019 20:31:56 -0000 --yp2u43dytvahevui Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jan 03, 2019 at 12:51:26PM -0800, Jayachandran C. wrote: > (Was AFK for a while, sorry for the late reply) > Hi Ed, >=20 > On Fri, Dec 21, 2018 at 11:15 AM Ed Maste wrote: > > > > On Mon, 17 Dec 2018 at 21:51, Jayachandran C. wr= ote: > > > > > > Over the last few weeks I have committed changes for a few outstanding > > > items needed for ThunderX2 support in FreeBSD/arm64. > > > > I see that D10082, D10083, D10084 are still open, awaiting review. > > Should I apply them to my test tree? > > > > My current status - loader claims to start the kernel, but I see no > > further output. Can you share the kernel config file you used (or > > perhaps a git tree you built from)? >=20 > There seems to be 2 issues here - both of them happen when the AMI > firmware is used. > The first issue is that the efi framebuffer does not work, and I am > not able to select the serial console with AMI firmware. The second > issue is that the on-chip SATA controller is not setup correctly by > the AMI firmware and can cause a 'NBU BAR error' failure. >=20 > I have uploaded a test firmware and instructions to > https://people.freebsd.org/~jchandra/testfw/ which should boot FreeBSD > fine. This is an internal build which does not have both the problems > above. Let me know if this works, and I will try to push the fixes to > AMI. Hey Jayachandran, I'll apply the test firmware on my end either this weekend or Monday. I'll report back afterwards. Thanks, --=20 Shawn Webb Cofounder and Security Engineer HardenedBSD Tor-ified Signal: +1 443-546-8752 Tor+XMPP+OTR: lattera@is.a.hacker.sx GPG Key ID: 0x6A84658F52456EEE GPG Key Fingerprint: 2ABA B6BD EF6A F486 BE89 3D9E 6A84 658F 5245 6EEE --yp2u43dytvahevui Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEKrq2ve9q9Ia+iT2eaoRlj1JFbu4FAlwvwqAACgkQaoRlj1JF bu5xLQ//S2pa3f2h6im7BA0bkLtrlQAW551KVP/n488pp0V+ZVLQyo6PdpHr8ECe wi/lLU672FK/KsLptJFum8trPOtZWbhyPBV0v32fAvLNDUw0WTrRMgzTMtOZJcBC xKvUpwZ2GzniNdc4Yv1mqYa/ipjnW+g4kWBYzIIOLZxP3y9YgaB+LvYrPpkKhuPg BOn1eVRX/l2Bt4fuPzhYFbfIFmeQ/BpECSWGcGZMxgQdA0KNxdUXNuZynxtMCMka bnUAgg1l0zyyIKzfI838yxi0dYYKe/UJ0P0iSKklRTTfeiQPRWqs3B+js4r2h1le nWJEbRoA1pawbyjlm1QJZ07oXjU0dc4e7S4lMTOhcI1pZscNGDjXr7EpS/6XO5p3 xK/ITudD270YXdQfdsfsnfJz121T+P8gym+wKtZXlZ40LOSZCU99Iqo0VH5nXIz2 i/lvn6A7Ejm50MQmHGYXX0SPPUy3eXDE2S+5AyO4OSSCQsyNoq0GzDxSZ9nAgA1K 9zn8OgTqTlze8Mj+C/p0EX3sWkdWmkW9Pr4WDNe4cbgz3lIXQ+tWNleBx1PAGK+E Lj0MFCH4GqwQHBnvdoX/NFDVZeMyllrfg5vP4kpDmHIcSWXwA4Hq4nzzsYufYB+C xGIy07amLgvt7pjNQGBtskbith2wAStdjJRKKpRK4v7bSC78udg= =io+Y -----END PGP SIGNATURE----- --yp2u43dytvahevui--