From owner-freebsd-arm@freebsd.org Sun Jan 6 21:05:12 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 767F4149B003 for ; Sun, 6 Jan 2019 21:05:12 +0000 (UTC) (envelope-from shawn.webb@hardenedbsd.org) Received: from mail-lf1-x142.google.com (mail-lf1-x142.google.com [IPv6:2a00:1450:4864:20::142]) (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 6E59590A32 for ; Sun, 6 Jan 2019 21:05:11 +0000 (UTC) (envelope-from shawn.webb@hardenedbsd.org) Received: by mail-lf1-x142.google.com with SMTP id b20so28742488lfa.12 for ; Sun, 06 Jan 2019 13:05:11 -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=C+S1+nUfAG4pNMPXmrX2JcqInRgs0K9R+3lZhvTdrDU=; b=fvAX94ccL36Y8wWDbz33se4TzKjtdgs2MOVK78ZQkBDksWCnklDlVzbtWDr2cApbUv qXsfGMJtPQ0tjzouUffreVPZW2dbnDo8Qw1gxrBrJ4DMtnEef25JPjvI/x/AmKQcJ+T2 WFKQPUKQob+cBQ29AA8sY3CW2EmZ7iP/imUyqmHlL8bHYR49mB7Ixo+dxyfeQR98LASD XUAAXokwOlz/Ymx8W27K9U5ydILCoSoqujT0/HUBoqdXQKsprP1wTt7dJ22k3m07nYF+ mSoIaF3+eYo9vluuXSF7tns1kd8gMCyTZCOj2j6yU/Gw+f6D3RbI3cWRXtodZYlUHfi7 jPKg== 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=C+S1+nUfAG4pNMPXmrX2JcqInRgs0K9R+3lZhvTdrDU=; b=Yf9G8wQhq3Uw6GiODzpzAc1EHUFSmO+/FZshTDejij5vOW5+gJmGMuyN3OvkhClcJ+ fj+iIjffgRw4i7qYY//aZ2YRyf6GA1us3fVcQf22yrvIgukjxPk7I524l4pY+dcy6zxm am/N0gmvhTFRy2NJazAli/X77C1AdS2SCSAZfh0O4DTl67aeuIz8IPxJpWuUcPqn2uXl M3y7PQLpdM5diLkzp2UPCi5Bz31D3TIeKS5Czfdw8MLSyr4GJn/mYiWqhaigRgfRYUnM eCBVf/Qpfuy2qmCErN31PM/b2egTNsla01KKdzBgHTgg0eYsaxQKVwzkdbRsCrQDQ7+8 aykQ== X-Gm-Message-State: AA+aEWanWjTrDc+dUwZzIURhrEmvioa4pHsxXR2ENLP3tZ3T9H1rKLuO qZryqySyLHgT/JfSXJdAsax81w== X-Google-Smtp-Source: AFSGD/UB8RNfpkNwC6dCb47kiLAt34n3iNuZhDI9uk3WnHoQXDFU7C9NiJS9vR1cd1NcRGtR1TVeoA== X-Received: by 2002:a19:c18d:: with SMTP id r135mr27100544lff.59.1546808709539; Sun, 06 Jan 2019 13:05:09 -0800 (PST) Received: from mutt-hbsd ([206.81.3.227]) by smtp.gmail.com with ESMTPSA id u11sm12473066lfb.85.2019.01.06.13.05.06 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 06 Jan 2019 13:05:08 -0800 (PST) Date: Sun, 6 Jan 2019 16:04:42 -0500 From: Shawn Webb To: "Jayachandran C." Cc: Ed Maste , "freebsd-arm@freebsd.org" Subject: Re: ThunderX2 support in FreeBSD/arm64 Message-ID: <20190106210442.o3vmftxvdy4huihv@mutt-hbsd> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="iqyorbvit3i5wqbz" 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: 6E59590A32 X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=pass header.d=hardenedbsd.org header.s=google header.b=fvAX94cc; spf=pass (mx1.freebsd.org: domain of shawn.webb@hardenedbsd.org designates 2a00:1450:4864:20::142 as permitted sender) smtp.mailfrom=shawn.webb@hardenedbsd.org X-Spamd-Result: default: False [0.02 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(0.00)[+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]; 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.09)[ip: (3.19), ipnet: 2a00:1450::/32(-1.89), asn: 15169(-1.67), country: US(-0.08)]; ARC_NA(0.00)[]; RECEIVED_SPAMHAUS_XBL(3.00)[227.3.81.206.zen.spamhaus.org : 127.0.0.4]; R_DKIM_ALLOW(0.00)[hardenedbsd.org:s=google]; NEURAL_HAM_MEDIUM(-0.89)[-0.887,0]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; NEURAL_SPAM_SHORT(0.59)[0.594,0]; NEURAL_HAM_LONG(-0.99)[-0.986,0]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; DMARC_NA(0.00)[hardenedbsd.org]; BAD_REP_POLICIES(0.10)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2.4.1.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: Sun, 06 Jan 2019 21:05:12 -0000 --iqyorbvit3i5wqbz 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 Jarachandran, Could you provide a sha256 hash of the uploaded firmware? 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 --iqyorbvit3i5wqbz Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEKrq2ve9q9Ia+iT2eaoRlj1JFbu4FAlwybWUACgkQaoRlj1JF bu7m8w/7BlclsuqXmf0j7Tyga68L86pFpmOL/7Fhkv4L6PqDRIEdf5Hl3325NMgE iJxX9iAaJ36hPk14k4W9yFFqWEiVtZlgOfh1mut7i0q8mrsXq1Sjdh/IR5YUzx5S DcfUwV1/zptmldSdcWHBHl9/4Hudu4YGpT+jxBW7ykV5UzOZR2vymUG1NBDfAkSE hVeBi9U1hf/i49Uf5slrqPU1XCG6q0Axq2EIQiMF7bKw7y5benToMYyw4DIbLqOw lw7CbcYZAjnY22neRoCcWEn/4oz54xDjwvdQAxvtiA9IRO+unFnesRGTACg9mgVE 0D/pcoKRq/z6JICFdAKzupTZ2YxIbZ94dxu0quf6cjRY5oVbIxy+3z2c40f65xJR FKoH4tVzBiqiCwmHzl2P3QkQ7XYAwirtvIg0+z0po77PKCh8NNpRgbZrU/ZHWstX ShMjwxdXbvGhDDn+WIYxOrM8NyuiIiLS/4FAmQebqASxafwbwOokixF8fD9TZ9dp 8/ha/6UpPdg3ODpKfCDfQTiwIv+frs5P90kMo6jDuWEKbXRnx6QzxwbtTBMNjDYI IqHcTGX8JwCBFTvHJ7BvaG8EL6wf79+XisCFXeM0LgVkdq4yjnlE9TfiqNnEVxsd 667aFawkU2ND9uy4Zvgh3BB6u5udqPCaL9nzs47DYSyAcDz/u94= =uLUI -----END PGP SIGNATURE----- --iqyorbvit3i5wqbz--