From owner-freebsd-arm@freebsd.org Mon Jan 7 14:14: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 9729314944AE for ; Mon, 7 Jan 2019 14:14: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 C0CD78E6F4 for ; Mon, 7 Jan 2019 14:14:55 +0000 (UTC) (envelope-from shawn.webb@hardenedbsd.org) Received: by mail-ed1-x541.google.com with SMTP id y56so988405edd.11 for ; Mon, 07 Jan 2019 06:14:55 -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=zCm4YWni31FL7bfr3UuetwGQmy6X4+QVWlavtMazdAY=; b=LOKTGN+2hbDhL/tt9NLD+yWYlJMCrD7V/BwHxBhsjezpRUA+/7FpvwalN4fCTUfm/G 4efKR8+8RKGF7SveNWA4ufQ5nK6WraP67nxJ2VVZbsYO5/NETG7L4vos3Puva3PeJP2j ohgVHDXkDk2w8Ux+zzMFfbyRBjxAGU1766Ha0+MKpZxKUu814sshD5P1HJp8DLj+bZta EFpp7msFTb5HMGvujw7j9aSomPVFCVKfYBnWl8E2XzaJNj/4MgD0HnHQPuJOCVredRRz 6ebV9KmDrMyWvVQtU49zz8GvfezfJesJ3ZBEk7J92bf83drPk5wWoDYaridX5wrtY+di /9sA== 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=zCm4YWni31FL7bfr3UuetwGQmy6X4+QVWlavtMazdAY=; b=ItSM1+Bero1zNSiB4xBaRJd5PU6BoI2nZyeUkyG/YujbLkiMN9tMU11tb2OMDvmWkm CT315rHA7FPoHEGMq1YDEWrydz32ScwoJ/nvvqsEdyfeT3wz7kXaQs4nT4jEAV8ufAqc GqPfu6fA3MjLOHoU30KpPr1RGsobx8SJG2zYPmRXbdjaDfqiF/fKvixrhbMrt2Hm5hKK PY3Kb/KyVdjM+YN5fI74Znktni+Ur+V3GdWz7b6RfE8Go9oM660OkjukYWFuyB6GCRg0 R7Rwat73le/Pfy7nwPqerdd2/iqN5G3FcSFpEC/mdOM2I45Jn1QYCauXPhrbFRTBKvsk wIbA== X-Gm-Message-State: AA+aEWZ0I4zo2FR83BBIZ8VBNx8uJHDr9goBMTS9PHOqfMBpj6lnRBT7 ovgMVOH3UKamyAld4fdx5Jp07g== X-Google-Smtp-Source: AFSGD/XWS3WHraAfXkw3IRZLGlxCyMg7fUlIixPsZTYT7l3Ez9EQdQPoipc0YFR+QLWkBtnfGQI4Lg== X-Received: by 2002:a17:906:1f09:: with SMTP id w9-v6mr47579295ejj.22.1546870494592; Mon, 07 Jan 2019 06:14:54 -0800 (PST) Received: from mutt-hbsd (62-210-116-201.rev.poneytelecom.eu. [62.210.116.201]) by smtp.gmail.com with ESMTPSA id w24-v6sm18745224eja.71.2019.01.07.06.14.50 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 07 Jan 2019 06:14:53 -0800 (PST) Date: Mon, 7 Jan 2019 09:14:36 -0500 From: Shawn Webb To: "Jayachandran C." Cc: Ed Maste , "freebsd-arm@freebsd.org" Subject: Re: ThunderX2 support in FreeBSD/arm64 Message-ID: <20190107141303.mazpfqwyd3kuw6yz@mutt-hbsd> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="khubinwqy4wjfi5c" 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: C0CD78E6F4 X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=hardenedbsd.org header.s=google header.b=LOKTGN+2; 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.79 / 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)[cached: alt1.aspmx.l.google.com]; NEURAL_HAM_SHORT(-0.96)[-0.959,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.72)[ip: (0.06), ipnet: 2a00:1450::/32(-1.90), asn: 15169(-1.67), 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: Mon, 07 Jan 2019 14:14:56 -0000 --khubinwqy4wjfi5c 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. Following your instructions, when doing the hpm upgrade step, I get the following messages: PICMG HPM.1 Upgrade Agent 1.0.9: Error getting target upgrade capabilities, ccode: 0xc1: Invalid command Board might not be supporting the HPM.1 Standards 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 --khubinwqy4wjfi5c Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEKrq2ve9q9Ia+iT2eaoRlj1JFbu4FAlwzXssACgkQaoRlj1JF bu7GFxAAvRTnZVidMizSSnYGDzgCcKzKz+ZxbWAaNZ1M8Y9PffDRlNX8ef5xDWCf gFTg1xd8rTYLh5a5+oC9kocwzd2GGTJDgkYPXcMb2hGsPAuC7PD7i6ZZbeux4v7g uVLQF2d/RLYV6l4jwsZZX6pgeX2JOiiTvU1ql7hyH7VCAyxJql0uZrsAmxctWeIl Btk7iyPx1rNqtW5pBAMlG3VPzTVRAnk61RzqDOLKhWNfChs6QfPGEh8pkVjQDgMu bA5xBUBXAPy2ELlxsLH1xw+KJjZYIOZF5jUsNY3ActP47PIBJZVBjes5um1mXpLK 63MqUfzWgjBwZs+dUHPoAuMI0f+n+tH1Q4MNgNaqtvRPxzL7mwoSsNNwC49jj8ZW V+xWlNvm+8yFR3p/jq0JXqi70DlbMoPAR/i41JdeLye2Mgj97aiIENPlI2bZ04OJ cYyDTxZ3jZO3GEkQgHQFzhCUZxJD47F+VprF6dy982bOEb2NNBwds7AjKeqmOOlg R7xFuiKz2DFXbqPmHUzWcX33+bb8+HfWFxsqYJo5Gwt0axdx7/9sEbIhHzqamhUG 6Z0E74vefLqU5tjZhkNZgjMEuv1VV1FBHcvZeBWbPI2ii/7MITBz+J3SUGxeW1Jh VxhurS2lYC2UcfJkO3j61h8zJqCH3iQa4JF7ecN4qowM1W9ztow= =+om1 -----END PGP SIGNATURE----- --khubinwqy4wjfi5c--