From nobody Tue May 21 20:58:10 2024 X-Original-To: freebsd-arm@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4VkRc03mrMz5KX3n for ; Tue, 21 May 2024 20:58:24 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from mx1.sbone.de (mx1.sbone.de [IPv6:2a01:4f8:13b:39f::9f:25]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mx1.sbone.de", Issuer "SBone.DE Root Certificate Authority" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VkRbz0M2fz4L0r for ; Tue, 21 May 2024 20:58:22 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of bzeeb-lists@lists.zabbadoz.net designates 2a01:4f8:13b:39f::9f:25 as permitted sender) smtp.mailfrom=bzeeb-lists@lists.zabbadoz.net Received: from mail.sbone.de (mail.sbone.de [IPv6:fde9:577b:c1a9:4902:0:7404:2:1025]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.sbone.de (Postfix) with ESMTPS id F14AF8D4A127 for ; Tue, 21 May 2024 20:58:12 +0000 (UTC) Received: from content-filter.t4-02.sbone.de (content-filter.t4-02.sbone.de [IPv6:fde9:577b:c1a9:4902:0:7404:2:2742]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPS id 666932D029D8 for ; Tue, 21 May 2024 20:58:12 +0000 (UTC) X-Virus-Scanned: amavisd-new at sbone.de Received: from mail.sbone.de ([IPv6:fde9:577b:c1a9:4902:0:7404:2:1025]) by content-filter.t4-02.sbone.de (content-filter.t4-02.sbone.de [IPv6:fde9:577b:c1a9:4902:0:7404:2:2742]) (amavisd-new, port 10024) with ESMTP id GXjaV7v-RuBJ for ; Tue, 21 May 2024 20:58:11 +0000 (UTC) Received: from strong-iwl0.sbone.de (strong-iwl0.sbone.de [IPv6:fde9:577b:c1a9:4902:b66b:fcff:fef3:e3d2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPSA id 4ED392D029D2 for ; Tue, 21 May 2024 20:58:11 +0000 (UTC) Date: Tue, 21 May 2024 20:58:10 +0000 (UTC) From: "Bjoern A. Zeeb" To: freebsd-arm@freebsd.org Subject: snapdragon developer kit? Message-ID: <44qp7sq7-p339-944p-4400-5862358550n9@yvfgf.mnoonqbm.arg> X-OpenPGP-Key-Id: 0x14003F198FEFA3E77207EE8D2B58B8F83CCF1842 List-Id: Porting FreeBSD to ARM processors List-Archive: https://lists.freebsd.org/archives/freebsd-arm List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-arm@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset=US-ASCII X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.29 / 15.00]; SUBJECT_ENDS_QUESTION(1.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.99)[-0.992]; R_SPF_ALLOW(-0.20)[+ip6:2a01:4f8:13b:39f::9f:25]; MIME_GOOD(-0.10)[text/plain]; MISSING_XM_UA(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; DMARC_NA(0.00)[zabbadoz.net]; RCVD_COUNT_THREE(0.00)[4]; RCVD_TLS_LAST(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; ASN(0.00)[asn:24940, ipnet:2a01:4f8::/32, country:DE]; FROM_HAS_DN(0.00)[]; ARC_NA(0.00)[]; TO_DN_NONE(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; R_DKIM_NA(0.00)[]; MLMMJ_DEST(0.00)[freebsd-arm@freebsd.org]; MIME_TRACE(0.00)[0:+] X-Rspamd-Queue-Id: 4VkRbz0M2fz4L0r Hi, what aer the chances that FreeBSD will ever run on such a thing? https://www.qualcomm.com/support/contact/forms/snapdragon-developer-kit -- Bjoern A. Zeeb r15:7 From nobody Tue May 21 21:13:42 2024 X-Original-To: freebsd-arm@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4VkRxy2TfFz5KYgJ for ; Tue, 21 May 2024 21:13:58 +0000 (UTC) (envelope-from fuz@fuz.su) Received: from fuz.su (fuz.su [IPv6:2001:41d0:8:e508::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "fuz.su", Issuer "fuz.su" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VkRxx57CNz4P51 for ; Tue, 21 May 2024 21:13:57 +0000 (UTC) (envelope-from fuz@fuz.su) Authentication-Results: mx1.freebsd.org; none Received: from fuz.su (localhost [127.0.0.1]) by fuz.su (8.18.1/8.18.1) with ESMTPS id 44LLDl1d037098 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Tue, 21 May 2024 23:13:47 +0200 (CEST) (envelope-from fuz@fuz.su) Received: (from fuz@localhost) by fuz.su (8.18.1/8.18.1/Submit) id 44LLDgDl037097; Tue, 21 May 2024 23:13:42 +0200 (CEST) (envelope-from fuz) Date: Tue, 21 May 2024 23:13:42 +0200 From: Robert Clausecker To: "Bjoern A. Zeeb" Cc: freebsd-arm@freebsd.org Subject: Re: snapdragon developer kit? Message-ID: References: <44qp7sq7-p339-944p-4400-5862358550n9@yvfgf.mnoonqbm.arg> List-Id: Porting FreeBSD to ARM processors List-Archive: https://lists.freebsd.org/archives/freebsd-arm List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-arm@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <44qp7sq7-p339-944p-4400-5862358550n9@yvfgf.mnoonqbm.arg> X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:16276, ipnet:2001:41d0::/32, country:FR] X-Rspamd-Queue-Id: 4VkRxx57CNz4P51 Perhaps it'll be like with the Windows 2023 Dev Kit: fine as a headless box, but not usable as a workstation due to missing GPU drivers. Also if they do the same broken EL2 setup, bhyve will likely not be supported. Yours, Robert Clausecker Am Tue, May 21, 2024 at 08:58:10PM +0000 schrieb Bjoern A. Zeeb: > Hi, > > what aer the chances that FreeBSD will ever run on such a thing? > > https://www.qualcomm.com/support/contact/forms/snapdragon-developer-kit > > -- > Bjoern A. Zeeb r15:7 > -- () ascii ribbon campaign - for an encoding-agnostic world /\ - against html email - against proprietary attachments From nobody Wed May 22 07:02:52 2024 X-Original-To: arm@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Vkj1X4JDMz5L3rS for ; Wed, 22 May 2024 07:02:56 +0000 (UTC) (envelope-from lexi@le-fay.org) Received: from fuchsia.eden.le-Fay.ORG (fuchsia.eden.le-fay.org [81.187.47.195]) by mx1.freebsd.org (Postfix) with ESMTP id 4Vkj1W68QMz4TG2 for ; Wed, 22 May 2024 07:02:55 +0000 (UTC) (envelope-from lexi@le-fay.org) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=le-fay.org header.s=fuchsia header.b="m//eLDXs"; dmarc=none; spf=pass (mx1.freebsd.org: domain of lexi@le-fay.org designates 81.187.47.195 as permitted sender) smtp.mailfrom=lexi@le-fay.org Received: from iris.eden.le-Fay.ORG (iris.eden.le-fay.org [IPv6:2001:8b0:aab5:106:3::6]) by fuchsia.eden.le-Fay.ORG (Postfix) with ESMTP id A761F2C3C4 for ; Wed, 22 May 2024 07:02:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=le-fay.org; s=fuchsia; t=1716361372; bh=Qv04Hcy9UFw4UAkDURE113KdlP9mqmUW7LyTyI1fUBw=; h=Date:From:To:Subject; b=m//eLDXsgvJlGfpayeWZ7yrF8GgTHurk9IncNxk9+jMQ56zY8m3KNEy90/53FJHTm tuCJLYxM0L6IjmLvascJnZWDznujobOXz1v7kri1DP8UtaZrJGsIhSzMb0c3hodfCN /z+nbJEAESoupcYEZejMqweZj2C9p7I8JdYQQv40= Received: from ilythia.eden.le-fay.org (ilythia.eden.le-fay.org [IPv6:2001:8b0:aab5:106:3::10]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by iris.eden.le-Fay.ORG (Postfix) with ESMTPSA id BBE712C04D7 for ; Wed, 22 May 2024 08:02:52 +0100 (BST) Date: Wed, 22 May 2024 08:02:52 +0100 From: Lexi Winter To: arm@freebsd.org Subject: vmm (bhyve) on GICv2 Message-ID: List-Id: Porting FreeBSD to ARM processors List-Archive: https://lists.freebsd.org/archives/freebsd-arm List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-arm@FreeBSD.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="gA49Zs3G5cArE4qy" Content-Disposition: inline X-Spamd-Bar: ----- X-Spamd-Result: default: False [-5.50 / 15.00]; SIGNED_PGP(-2.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.997]; R_DKIM_ALLOW(-0.20)[le-fay.org:s=fuchsia]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; R_SPF_ALLOW(-0.20)[+ip4:81.187.47.195]; RCVD_NO_TLS_LAST(0.10)[]; DKIM_TRACE(0.00)[le-fay.org:+]; FROM_HAS_DN(0.00)[]; DMARC_NA(0.00)[le-fay.org]; TO_MATCH_ENVRCPT_ALL(0.00)[]; ARC_NA(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; MISSING_XM_UA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; ASN(0.00)[asn:20712, ipnet:81.187.0.0/16, country:GB]; TO_DN_NONE(0.00)[]; MID_RHS_MATCH_FROMTLD(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[arm@freebsd.org]; MLMMJ_DEST(0.00)[arm@freebsd.org]; DWL_DNSWL_NONE(0.00)[le-fay.org:dkim] X-Rspamd-Queue-Id: 4Vkj1W68QMz4TG2 --gA49Zs3G5cArE4qy Content-Type: text/plain; charset=us-ascii Content-Disposition: inline hello, i was pleased to see ARM64 vmm has been merged to main recently. i have several use-cases to run bhyve on RPi4, but unfortunately this hardware only supports GICv2 while vmm requires GICv3. does anyone have an idea if GICv2 is likely to be supported in the future? --gA49Zs3G5cArE4qy Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCAAdFiEEuwt6MaPcv/+Mo+ftDHqbqZ41x5kFAmZNmJgACgkQDHqbqZ41 x5m5bAv9EaLkjxGrXnCWWVRoLsABTUdHWtilYYBWFlI+ELViFB1J+BTy9lVjuyAi ooYNQUvvJyW+CdqOqeDcSwJVKY+xjozaa39VoHvMRf1h544rKhSAL2+6FDlMWRPi qW2In78DfoDSCSAtDQ0VuMuRU2P01bKRkGFYgfudiHGT6Ag4ReHFIBTJWawZCrxh X+TOftzwjF8DYgGUCyMqohluS6F0FZc42XhyZ3sjFJI+36r8mMexYLVQY2RPYtFH 5+RJ2nT/343TNuNA8X9+zjjTscblNiaMCIV82s4qKSO3M964v1Ltx2oyDNCx+gJV fvyjkNsIAZj/txrp1lCiQEA2fDZ5sRhCcuX78upxf+koHWF4PwnzFrI1qgFZT3FM XxKOkBjZCZ7UU8J5ZsVPRvPMDspNzaf6su5JSwcVHTkK5K3qc8Xwzat2n3Oszmaw uXumvTQaKAixp1SMfYQTnOH5dtGlFKIaAnq7LuZFKQ/vO+py22Y/pRCFyrcchOYs H0rCEzmU =/N4t -----END PGP SIGNATURE----- --gA49Zs3G5cArE4qy-- From nobody Wed May 22 07:04:46 2024 X-Original-To: freebsd-arm@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Vkj3m25zlz5L4Mf for ; Wed, 22 May 2024 07:04:52 +0000 (UTC) (envelope-from SRS0=yEIV=MZ=klop.ws=ronald-lists@realworks.nl) Received: from smtp-relay-int.realworks.nl (smtp-relay-int.realworks.nl [194.109.157.24]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4Vkj3k3QWQz4TqS for ; Wed, 22 May 2024 07:04:50 +0000 (UTC) (envelope-from SRS0=yEIV=MZ=klop.ws=ronald-lists@realworks.nl) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=klop.ws header.s=rw2 header.b=nKBFOA41; dmarc=pass (policy=quarantine) header.from=klop.ws; spf=pass (mx1.freebsd.org: domain of "SRS0=yEIV=MZ=klop.ws=ronald-lists@realworks.nl" designates 194.109.157.24 as permitted sender) smtp.mailfrom="SRS0=yEIV=MZ=klop.ws=ronald-lists@realworks.nl" Date: Wed, 22 May 2024 09:04:46 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=klop.ws; s=rw2; t=1716361487; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=3ZA4zkFgwr/bT4kQQLNJmninSveNbUsMW5Ht57kVndA=; b=nKBFOA41swWzAgpOSjjeRCanjg1cwy9qISFzrUb9YVQ2nl7wGupwhXXyZs6/iF7Z2YBwT4 72hBL5QPTROCbsEGuuF3vf4JqslbqOfcvseB5iFDOwUI3LpT7x8K15Wy5txzRyybsVDxtM 7xOUFQO7KWfgvsQ+ZflX6f0DZWpOHXHXGHQZz2OPKtJPZKd+LD7VYebSsgJOtPsYjKHqlR R8UNeFGEHDyGfuNGvLCpX7vIRGuHOnCeQcQWZFZOoBjkNOmd/kmFzi04YaTTCf196TzJX1 9yEAyPV6pi8jxhmiL5STaphsgOJsIRHNrwoXFluHqcTjk7C9rf/+dOXlq6f0NA== From: Ronald Klop To: bob prohaska Cc: freebsd-arm@freebsd.org, Marcin Cieslak Message-ID: <273895437.2398.1716361486889@localhost> In-Reply-To: References: <4r4s62r0-84r0-4s00-nrp4-r27qn218s54s@fncre.vasb> Subject: Re: Git error with armv7 on RPi2 v1.1 List-Id: Porting FreeBSD to ARM processors List-Archive: https://lists.freebsd.org/archives/freebsd-arm List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-arm@FreeBSD.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_2397_1333744785.1716361486859" X-Mailer: Realworks (702.58) Importance: Normal X-Priority: 3 (Normal) X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.40 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.999]; MID_RHS_NOT_FQDN(0.50)[]; DMARC_POLICY_ALLOW(-0.50)[klop.ws,quarantine]; FORGED_SENDER(0.30)[ronald-lists@klop.ws,SRS0=yEIV=MZ=klop.ws=ronald-lists@realworks.nl]; R_SPF_ALLOW(-0.20)[+ip4:194.109.157.0/24]; R_DKIM_ALLOW(-0.20)[klop.ws:s=rw2]; RWL_MAILSPIKE_VERYGOOD(-0.20)[194.109.157.24:from]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; ARC_NA(0.00)[]; MLMMJ_DEST(0.00)[freebsd-arm@freebsd.org]; ASN(0.00)[asn:3265, ipnet:194.109.0.0/16, country:NL]; HAS_X_PRIO_THREE(0.00)[3]; RCPT_COUNT_THREE(0.00)[3]; FROM_NEQ_ENVFROM(0.00)[ronald-lists@klop.ws,SRS0=yEIV=MZ=klop.ws=ronald-lists@realworks.nl]; RCVD_COUNT_ZERO(0.00)[0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[klop.ws:+] X-Rspamd-Queue-Id: 4Vkj3k3QWQz4TqS ------=_Part_2397_1333744785.1716361486859 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Hi, I would deinstall git, perl5 and perl5.34. Run pkg autoremove -y. And then pkg install git-tiny. Does that keep this error away? NB: the default version of perl has been switched to 5.36 in October 2023. Ronald. Van: bob prohaska Datum: zaterdag, 18 mei 2024 18:52 Aan: Marcin Cieslak CC: freebsd-arm@freebsd.org Onderwerp: Re: Git error with armv7 on RPi2 v1.1 > > On Sat, May 18, 2024 at 03:28:30PM +0000, Marcin Cieslak wrote: > > > > Which git version? > > # git -v > git version 2.42.0 > > After running pkg upgrade the system moved to git 2.44 but the error persists > > During the upgrade a conflict which makes no sense was reported: > ... > Checking integrity... done (1 conflicting) > - perl5.34-5.34.3_3 conflicts with perl5-5.34.3_3 on /usr/local/bin/perl5.34.3 > Checking integrity... done (0 conflicting) > Conflicts with the existing packages have been found. > One more solver iteration is needed to resolve them. > ... > > Any idea if that's related? It looks like a naming mixup. > > Thanks for writing! > > bob prohaska > > > > > ------=_Part_2397_1333744785.1716361486859 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit Hi,

I would deinstall git, perl5 and perl5.34.
Run pkg autoremove -y.
And then pkg install git-tiny.

Does that keep this error away?

NB: the default version of perl has been switched to 5.36 in October 2023.

Ronald.

 

Van: bob prohaska <fbsd@www.zefox.net>
Datum: zaterdag, 18 mei 2024 18:52
Aan: Marcin Cieslak <saper@saper.info>
CC: freebsd-arm@freebsd.org
Onderwerp: Re: Git error with armv7 on RPi2 v1.1

On Sat, May 18, 2024 at 03:28:30PM +0000, Marcin Cieslak wrote:
>
> Which git version?

# git -v
git version 2.42.0

After running pkg upgrade the system moved to git 2.44 but the error persists

During the upgrade a conflict which makes no sense was reported:
...
Checking integrity... done (1 conflicting)
  - perl5.34-5.34.3_3 conflicts with perl5-5.34.3_3 on /usr/local/bin/perl5.34.3
Checking integrity... done (0 conflicting)
Conflicts with the existing packages have been found.
One more solver iteration is needed to resolve them.
...

Any idea if that's related? It looks like a naming mixup.

Thanks for writing!

bob prohaska

 


  ------=_Part_2397_1333744785.1716361486859-- From nobody Wed May 22 07:13:46 2024 X-Original-To: arm@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4VkjGn2M5Yz5L4T0 for ; Wed, 22 May 2024 07:14:25 +0000 (UTC) (envelope-from marietto2008@gmail.com) Received: from mail-pg1-x52c.google.com (mail-pg1-x52c.google.com [IPv6:2607:f8b0:4864:20::52c]) (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 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VkjGn0CWmz4WWy for ; Wed, 22 May 2024 07:14:25 +0000 (UTC) (envelope-from marietto2008@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-pg1-x52c.google.com with SMTP id 41be03b00d2f7-66629f45359so881448a12.3 for ; Wed, 22 May 2024 00:14:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1716362063; x=1716966863; darn=freebsd.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=shf/6GsNz3cK+9fbUKc5XSoJW/P3Tybxr6iBqRBK7XY=; b=Uf3BX3RnVLCXoHfvtCdd0ep7b/0xOaXbDKdqsCvIjTi6ew/QoBDmCEfAdPwZkarS7Z nIExk3Br8o2KgMWnlgSx9NIr5fsQPp7zD1FwCOKlqjOOmTA2n/vJlhdH+8owlq4+FHi3 KZEBtqh3wmLPUHG1L0aleLohb4rgU5ur4GhX6JxxWbv+aI54u39ikWUPANS44OUxGBb+ 7nzRVJotZmj94YH20sQz+pBrk6NvmobnIE09s1fvB+YtpvHlkS8SIoo+jvy4GVQKeMvT jHyS/J7oAilroOSz42TuzCXSXgQ3PxY8x+03oTYAsZgo1tqWNbjqmdVmLTwAqiGg2RSS sWRg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716362063; x=1716966863; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=shf/6GsNz3cK+9fbUKc5XSoJW/P3Tybxr6iBqRBK7XY=; b=NQq4FmYCV/l7204S4AhonHAPmm0fdwwMQbnYFsJT7UDEQUpT4oRS6EZa1kUmZnGTgq yvwvRI5DPMc/Xa/JLd9/0j/KLvzVDwtRKRKQI3/COQaJi6u/0uC0RzcB718CJBD/jJWl Ixn+OF4s0FwtyFaXgnmYHF2WQjzHueuVwFSVrVn/mCWeX4+6RNw+ufaQuXS8DeFh77LU W9rUrNR4Dm71JqKrSMGTu9yakzcAbuQqcV+XFQMunSmBU3Yi6vW/xjCHjiJpH4kPHuWS 8PI8rIhKwaYq6qxsyS2C3b334WpMgIa4R+zXYCw+oRvlpl1CSN/1G7iBg43ADBZsxLUc a7WA== X-Gm-Message-State: AOJu0YxrnyOBo6r5z11MlK2Qn5RxdeWYSJt3Nr+XhKJZ6pBdsw2V3P5r qzNdD2jJ/t+BhO428m2Nh56alrQLhRTK4ESI0388zTZ6aOrQ0+y8dYlBFSFCUHb5SpPV8ROG7OB BljLPX5Kpcg1900leUpPYvxGeNQy3nqhCWRFfwA== X-Google-Smtp-Source: AGHT+IGt1yjQonFCpedIRUa/6BBrOCSx1DziesSzLJezBwcieJJKDDfm1qCpBllt/zNrFE2d1NX7WLV1UteFE8WTRNI= X-Received: by 2002:a17:90a:5982:b0:2bd:8aed:740a with SMTP id 98e67ed59e1d1-2bd9f483e65mr1223633a91.23.1716362063182; Wed, 22 May 2024 00:14:23 -0700 (PDT) List-Id: Porting FreeBSD to ARM processors List-Archive: https://lists.freebsd.org/archives/freebsd-arm List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-arm@FreeBSD.org MIME-Version: 1.0 References: In-Reply-To: From: Mario Marietto Date: Wed, 22 May 2024 09:13:46 +0200 Message-ID: Subject: Re: vmm (bhyve) on GICv2 To: Lexi Winter Cc: arm@freebsd.org Content-Type: multipart/alternative; boundary="000000000000151298061905af50" X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US] X-Rspamd-Queue-Id: 4VkjGn0CWmz4WWy --000000000000151298061905af50 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Does RPi5 support GICv3 ? I would like to know which kind of relatively cheap arm hardware can run bhyve. On Wed, May 22, 2024 at 9:03=E2=80=AFAM Lexi Winter wrote= : > hello, > > i was pleased to see ARM64 vmm has been merged to main recently. > > i have several use-cases to run bhyve on RPi4, but unfortunately this > hardware only supports GICv2 while vmm requires GICv3. > > does anyone have an idea if GICv2 is likely to be supported in the > future? > --=20 Mario. --000000000000151298061905af50 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Does RPi5 support GICv3 ? I would like to know which kind = of relatively cheap arm hardware can run bhyve.

On Wed, May 22, 2024 at = 9:03=E2=80=AFAM Lexi Winter <lexi@le-= fay.org> wrote:
hello,

i was pleased to see ARM64 vmm has been merged to main recently.

i have several use-cases to run bhyve on RPi4, but unfortunately this
hardware only supports GICv2 while vmm requires GICv3.

does anyone have an idea if GICv2 is likely to be supported in the
future?


--
Mario.
--000000000000151298061905af50-- From nobody Wed May 22 07:25:38 2024 X-Original-To: arm@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4VkjWp28F3z5L69x for ; Wed, 22 May 2024 07:25:42 +0000 (UTC) (envelope-from lexi@le-fay.org) Received: from fuchsia.eden.le-Fay.ORG (fuchsia.eden.le-fay.org [IPv6:2001:8b0:aab5:107::11]) by mx1.freebsd.org (Postfix) with ESMTP id 4VkjWp044Hz4XVn for ; Wed, 22 May 2024 07:25:42 +0000 (UTC) (envelope-from lexi@le-fay.org) Authentication-Results: mx1.freebsd.org; none Received: from iris.eden.le-Fay.ORG (iris.eden.le-fay.org [IPv6:2001:8b0:aab5:106:3::6]) by fuchsia.eden.le-Fay.ORG (Postfix) with ESMTP id 6B1F52C376; Wed, 22 May 2024 07:25:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=le-fay.org; s=fuchsia; t=1716362739; bh=UDf5EoHz3KZ0Pn0+4ikkUtm1Iqj1n0xHx/JaJbupRvw=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=QpUsGqui4vi0c3V5rMRHc4goaTv1NHct4JAWg+uvHYtkFZ5xN1OnipD6FSux8Y1PC u459fsZHvw28YN2o204nXR8jjMhVZM+1vUxZ6h9ax2VIdSf31aPmMagFe1F0Z3YUJc YIZcyYY5edJ0WiUxcirV2VlmA68KlAFL0W4Z5K9o= Received: from ilythia.eden.le-fay.org (ilythia.eden.le-fay.org [IPv6:2001:8b0:aab5:106:3::10]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by iris.eden.le-Fay.ORG (Postfix) with ESMTPSA id 711472C04D7; Wed, 22 May 2024 08:25:39 +0100 (BST) Date: Wed, 22 May 2024 08:25:38 +0100 From: Lexi Winter To: Mario Marietto Cc: arm@freebsd.org Subject: Re: vmm (bhyve) on GICv2 Message-ID: References: List-Id: Porting FreeBSD to ARM processors List-Archive: https://lists.freebsd.org/archives/freebsd-arm List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-arm@FreeBSD.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="EBx5lnm9AwV2u9fw" Content-Disposition: inline In-Reply-To: X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:20712, ipnet:2001:8b0::/32, country:GB] X-Rspamd-Queue-Id: 4VkjWp044Hz4XVn --EBx5lnm9AwV2u9fw Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Mario Marietto: > On Wed, May 22, 2024 at 9:03=E2=80=AFAM Lexi Winter wro= te: > > i was pleased to see ARM64 vmm has been merged to main recently. > > > > i have several use-cases to run bhyve on RPi4, but unfortunately this > > hardware only supports GICv2 while vmm requires GICv3. > > > > does anyone have an idea if GICv2 is likely to be supported in the > > future? > > Does RPi5 support GICv3 ? I would like to know which kind of relatively > cheap arm hardware can run bhyve. i don't know off hand, but i do know FreeBSD doesn't support RPi5 at all right now, so this is not an immediate solution :-) --EBx5lnm9AwV2u9fw Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCAAdFiEEuwt6MaPcv/+Mo+ftDHqbqZ41x5kFAmZNnfAACgkQDHqbqZ41 x5m/XQv/aiIE2jjT2WpCQdrjMwRqzxbdq719ibWp6UkuKNCocgVoIWXPlKyul/4U zOtptNvwewiy7SeKYQyhhw8v0vcsU95NJ/VVWB1ozV+3kYEfg5+WNO6ca6aeJ0tJ Z9qX6Btxy5xnZA8jH4i2EKK/dON6Evl4YhuqUWLRxmW38SrlUwvQiyekiJSbSYti oO4/w+ORvX359pthoV6f+HkzJIFGa9PKLk1DLrDBklrXHahfkKrsvyVLQN73OPay 4JUcpEVrXD8HBtW+UA0ltAScijjMXOonH+5qDvmkdOpNbcHgB4VmmO1lKLp89F3y J/Iitk+1INfbHbkEewOKKnoyrwo0F7F245x+ndv+ThG0UL2nJo7kMbCZmNdwT2yV cbVng2H82neS8vg3Fzim6DUVJc6EY7RSNyRokpii0jk4Wfc4Y9NG+nIo/5VY6xqk jAbRPBENg48joj50g79IDeV2MfBsmWbiX5ML+3d3aORSESg9fRRHLSqOsCU/37ym uR94PKWM =Jdy/ -----END PGP SIGNATURE----- --EBx5lnm9AwV2u9fw-- From nobody Wed May 22 07:27:47 2024 X-Original-To: arm@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4VkjZy6Mgrz5L6BB for ; Wed, 22 May 2024 07:28:26 +0000 (UTC) (envelope-from marietto2008@gmail.com) Received: from mail-pg1-x52b.google.com (mail-pg1-x52b.google.com [IPv6:2607:f8b0:4864:20::52b]) (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 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VkjZy4TyVz4Y04 for ; Wed, 22 May 2024 07:28:26 +0000 (UTC) (envelope-from marietto2008@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-pg1-x52b.google.com with SMTP id 41be03b00d2f7-5e8470c1cb7so1871480a12.2 for ; Wed, 22 May 2024 00:28:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1716362905; x=1716967705; darn=freebsd.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=06EASP5iJu4ITkd+qqyNZYX9Wlx6Lsb2IEWRlQN7LYg=; b=gWG8KwshHVdBIwc2xMYPsB9RV/4FTEAA1TnWTV8p4T9WNie+yKCsmdVm70CQ/lARWs kjqE3AJ5HPzOh+NXECTV97fGJ0fgX2Bd+ylWbKPdGgKleXInCARmeiS5kgDlcgNrpsWo EzUAnoIYlcjQ3PFcwxWwTpWi8CWe8zPpgiQ10YPL32j0EjBZpxagocKJjJMACM8xV2Lb jbC3RqPtSmj9wdA0QWcEEmx17gdJ6d2b4NuShr2ljvm/zdWNAOP1SpA6wH2WJhDhKb69 dBwNZt3dAPI1KTpZo5xQqVNN4goYbVtwad1RbZ2XZ5m56p8GXPvm7eBEfi97+j6/mIZa 2DVg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716362905; x=1716967705; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=06EASP5iJu4ITkd+qqyNZYX9Wlx6Lsb2IEWRlQN7LYg=; b=O1pdqMtDcn4YoymdWE6CHZE/BmbN2CJLpBshG5lfySd2c3fwQUtfe1Y1JPvLQoD16O y14nRE6PEzHd9z8yDSGHMh1OhMZXpa9PNPLShINdXslvB9/ibpOlFOvnaMvYqVy2HKX/ auHRSlQjR2aDGpDS0CXZaYMKHJjNpp9L17JEfH9QmaSLAVEbumi+PowrOQx9mBC98Cqf 3gbiXf76IRWkOFBb+E3EXzsdApOxb/YBs8yRtxB0Zk7mqaAeMRBYPqq437Qfcd26O4xu Ag5b55d/eX5GG/uMs59ICn8r8DzFAq5ZO9rN8W6ML5vtjYFY8gKRGxLaoYXViaGOt7bu 08ig== X-Gm-Message-State: AOJu0Yx+/WjRAE7aUHDVwvnJIQ/PNUuaGNlXzzxAAKILh0QSa2H1f9xl /2dCCUsRl8391RxgiTpbMGSfUpqKgJfl4ozeRIvkKbkiQLzF5k+F3Xk/UcBYDTRLArESaBqYbi3 rkFrgKvbMqjRIaiQB1ZXvh34CiCKfFCcw4x8= X-Google-Smtp-Source: AGHT+IEY0ya4h/95P/xlAMiqIFf6X4GMLpYzZDNUnOEY2pGY6+Q4P2/GGQXWbgOuCVeEwonWg5CxlrimF4HiuaaNi3M= X-Received: by 2002:a17:90b:4b0b:b0:2bd:82c9:bd40 with SMTP id 98e67ed59e1d1-2bd9f5f1730mr1202904a91.48.1716362905108; Wed, 22 May 2024 00:28:25 -0700 (PDT) List-Id: Porting FreeBSD to ARM processors List-Archive: https://lists.freebsd.org/archives/freebsd-arm List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-arm@FreeBSD.org MIME-Version: 1.0 References: In-Reply-To: From: Mario Marietto Date: Wed, 22 May 2024 09:27:47 +0200 Message-ID: Subject: Re: vmm (bhyve) on GICv2 To: Lexi Winter Cc: arm@freebsd.org Content-Type: multipart/alternative; boundary="00000000000043c907061905e1fd" X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US] X-Rspamd-Queue-Id: 4VkjZy4TyVz4Y04 --00000000000043c907061905e1fd Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable My impression is that bhyve for ARM is available only for very expensive socs. So,common mortals like me can't test it. On Wed, May 22, 2024 at 9:25=E2=80=AFAM Lexi Winter wrote= : > Mario Marietto: > > On Wed, May 22, 2024 at 9:03=E2=80=AFAM Lexi Winter w= rote: > > > i was pleased to see ARM64 vmm has been merged to main recently. > > > > > > i have several use-cases to run bhyve on RPi4, but unfortunately this > > > hardware only supports GICv2 while vmm requires GICv3. > > > > > > does anyone have an idea if GICv2 is likely to be supported in the > > > future? > > > > Does RPi5 support GICv3 ? I would like to know which kind of relatively > > cheap arm hardware can run bhyve. > > i don't know off hand, but i do know FreeBSD doesn't support RPi5 at > all right now, so this is not an immediate solution :-) > --=20 Mario. --00000000000043c907061905e1fd Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
My impression is that bhyve for ARM is available only for = very expensive socs. So,common mortals like me can't test it.
=
On Wed= , May 22, 2024 at 9:25=E2=80=AFAM Lexi Winter <lexi@le-fay.org> wrote:
Mario Marietto:
> On Wed, May 22, 2024 at 9:03=E2=80=AFAM Lexi Winter <lexi@le-fay.org> wrote:
> > i was pleased to see ARM64 vmm has been merged to main recently.<= br> > >
> > i have several use-cases to run bhyve on RPi4, but unfortunately = this
> > hardware only supports GICv2 while vmm requires GICv3.
> >
> > does anyone have an idea if GICv2 is likely to be supported in th= e
> > future?
>
> Does RPi5 support GICv3 ? I would like to know which kind of relativel= y
> cheap arm hardware can run bhyve.

i don't know off hand, but i do know FreeBSD doesn't support RPi5 a= t
all right now, so this is not an immediate solution :-)


--
Mario.
--00000000000043c907061905e1fd-- From nobody Wed May 22 07:54:35 2024 X-Original-To: freebsd-arm@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Vkk9H14C3z5L8wG for ; Wed, 22 May 2024 07:54:43 +0000 (UTC) (envelope-from saper@saper.info) Received: from q.saper.info (q.saper.info [IPv6:2605:2700:0:2:a800:ff:fec7:5c61]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature ECDSA (P-384) client-digest SHA384) (Client CN "q.saper.info", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Vkk9G5V1Bz4cdt for ; Wed, 22 May 2024 07:54:42 +0000 (UTC) (envelope-from saper@saper.info) Authentication-Results: mx1.freebsd.org; none Received: from q.saper.info (localhost [127.0.0.1]) by q.saper.info (8.18.1/8.18.1) with ESMTPS id 44M7sZQh022261 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Wed, 22 May 2024 07:54:35 GMT (envelope-from saper@saper.info) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=saper.info; s=Sep2014; t=1716364475; bh=D3zf1Q8+qESHO6sVcCxY8XEq6u8j4nqOSWufkCBPSto=; h=Date:From:To:cc:Subject:In-Reply-To:References; b=avWZXvwBzIgbDfW3gxL2Ev9Zqbetpk7JBI9XvhR1Uz4a8hvZikRehapbO/5lQC9fE pf7gPanoQkxG0xaBWGtvKQgJH+2UBatRqRl7X2uEq/OxXePIK0m4zKK1tgtQ0B/2sv cOyrHGV8LEHc/r/MEYArar07JVb9wOhBc4L93S74= Received: from localhost (saper@localhost) by q.saper.info (8.18.1/8.18.1/Submit) with ESMTP id 44M7sZ0k022258; Wed, 22 May 2024 07:54:35 GMT (envelope-from saper@saper.info) X-Authentication-Warning: q.saper.info: saper owned process doing -bs Date: Wed, 22 May 2024 07:54:35 +0000 From: Marcin Cieslak To: "Bjoern A. Zeeb" cc: freebsd-arm@freebsd.org Subject: Re: snapdragon developer kit? In-Reply-To: <44qp7sq7-p339-944p-4400-5862358550n9@yvfgf.mnoonqbm.arg> Message-ID: References: <44qp7sq7-p339-944p-4400-5862358550n9@yvfgf.mnoonqbm.arg> List-Id: Porting FreeBSD to ARM processors List-Archive: https://lists.freebsd.org/archives/freebsd-arm List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-arm@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:47066, ipnet:2605:2700::/32, country:US] X-Rspamd-Queue-Id: 4Vkk9G5V1Bz4cdt On Tue, 21 May 2024, Bjoern A. Zeeb wrote: > Hi, > > what aer the chances that FreeBSD will ever run on such a thing? > > https://www.qualcomm.com/support/contact/forms/snapdragon-developer-kit Do they mean software or hardware there? It looks like https://wiki.freebsd.org/arm64/DragonBoard410c should be able to boot FreeBSD I have a similar but not the same Inforce 6309 board with APQ8016. It currently runs oldish Android. But the amount of NDAs they all want to get the basic docs has put me off to do any serious examination of the platform... Marcin From nobody Wed May 22 12:43:54 2024 X-Original-To: arm@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Vkrb16x3Qz5Ldtj for ; Wed, 22 May 2024 12:43:57 +0000 (UTC) (envelope-from jfc@mit.edu) Received: from NAM11-DM6-obe.outbound.protection.outlook.com (mail-dm6nam11on2112.outbound.protection.outlook.com [40.107.223.112]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "DigiCert Cloud Services CA-1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Vkrb145LJz3xMS for ; Wed, 22 May 2024 12:43:57 +0000 (UTC) (envelope-from jfc@mit.edu) Authentication-Results: mx1.freebsd.org; none ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=D9xPrnvTq/zIm+/HovOzauaSw+DgwMzTj5Wlq9Ls55KlSe1pC4irdV4xextMzz8PBlAZKQb3KNMeeJBkGz+zd7GUzaoptr/tKVg4T4f6J0RsfN3qQMTxBJ/D/RDjSJfVp9OgFp2hGv9HynaqV7+5181vANoSjOG7qMVfK6OA5Uj/+f7R02Rr1DNWI1eMJqdRXAATXBChf62IVak3qZyzLZPw55rAfKkWpxN9B1NeNaO6hk0t7mS+hk6GWAx4NqFj400UlOlKcan4ebrouIr8l6sJRIRD6qOQixZ37EpthYVQRJpyRz9PIdk4/Ic5CiwU5NWgWjeJ8eiXXw2eOOC4TA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=eH7kIrRWvgpTd6mH1FnqTuqATjhnczrCJV5aMzsu4Tk=; b=gPPibfyHH1nl6B+61hu/rc2Dxg+sOO+aKfj+9YsdHSyIbMTl/T2ZNSt5vrH34pBHFKtJJBkpeMGwZEx/gkfY+aW16lGCgoELhmcO9S7Qm+QmiIHAmxq66d2R016mL4+ljGdv5e+v1t3Rp3COdL560yy/h1CnkifZWImGYbPmUIwrwemOCpKV48C9JerZUW9YWwUkP5e/djZ6IeCU4aS56mjzn2+ObMoLSog7zEKKXbN3PhkMtyP90oIXqd1V54LgvSPGeaIqco9MJFTjAMKv1LCwVCIR3uNywYbrhkIDLlJSrUNhnUCjsQJZwgyJu1QbL9UsjNVgYkP/iMrX52JR9w== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=mit.edu; dmarc=pass action=none header.from=mit.edu; dkim=pass header.d=mit.edu; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mit.edu; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=eH7kIrRWvgpTd6mH1FnqTuqATjhnczrCJV5aMzsu4Tk=; b=H4/Zl1MxXjLkUTooyxRInYQc13jWPNfu6KNx1lHyfTIY+f79AYSPJFaPmjZ8wt1Zy9cxqTHxOb48snURVjF3kH8wdKpWLUkDxvWe+WEQZ/vq60ngTuhUb5/2ToYe/P5nKhrYo4lTeaVt5m88a98hAGe46y+I0Vr3iLr16NxJKY8= Received: from SA3PR01MB8450.prod.exchangelabs.com (2603:10b6:806:382::17) by BL3PR01MB6804.prod.exchangelabs.com (2603:10b6:208:33f::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7611.20; Wed, 22 May 2024 12:43:54 +0000 Received: from SA3PR01MB8450.prod.exchangelabs.com ([fe80::bb39:d8c:f575:6b9d]) by SA3PR01MB8450.prod.exchangelabs.com ([fe80::bb39:d8c:f575:6b9d%5]) with mapi id 15.20.7611.016; Wed, 22 May 2024 12:43:54 +0000 From: John F Carr To: Mario Marietto CC: Lexi Winter , "arm@freebsd.org" Subject: Re: vmm (bhyve) on GICv2 Thread-Topic: vmm (bhyve) on GICv2 Thread-Index: AQHarBYYCQeAyN3/IUiOCh/1k52a5bGi1v8AgAADUQCAAACagIAAWEYA Date: Wed, 22 May 2024 12:43:54 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-traffictypediagnostic: SA3PR01MB8450:EE_|BL3PR01MB6804:EE_ x-ms-office365-filtering-correlation-id: 09a6ed8c-837f-494d-ceab-08dc7a5cd74b x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0;ARA:13230031|376005|1800799015|366007|38070700009; x-microsoft-antispam-message-info: =?us-ascii?Q?yBFYvW3wTly8prugz7UKLEEDonsbznVqXpIRRxywyst7Pt62nDF5Bvk2HnhC?= =?us-ascii?Q?4UV+1FOy6KrbWNB7uWw82cJpd/Q/xD3mFt0PG3eFweScy12+vR1xG7CoOqDt?= =?us-ascii?Q?3+rMWX9jXF/p0XiL3tMophmCAVjI3ptrwxGpGoZN1vyJnDDuYXeo15ZFKc0R?= =?us-ascii?Q?eBc7VQYe6FjPXEm2GXPzqA1S3uyfq62GMejfaN1AMNV6WuicqOS/gQ070nFR?= =?us-ascii?Q?u33SB6uJ+BUGO4LYOAI4Motytp+HfUpkZjfdwnW3DEkExGHQScaUCi8utg8j?= =?us-ascii?Q?3yATZJEcV1iYTa4nQbeVFJ3D4SWpe6jfLNh0gWKXKGzyhauCZja1KGdPc/6W?= =?us-ascii?Q?ZdihkztzwRucr+469fZIUKqWOObehy0q69h3B3BoK5ivj9h4g87t3qY2Kc5v?= =?us-ascii?Q?zQDbIrcgIZn8ZdPWJRFG6h5zgdA4r606fMHhb/8OajFyUN1piAUy1W23RRKu?= =?us-ascii?Q?un9+/EIZZa60kVkYTVmIjo9SzyZ0HPNRe0yh7VAxMuGikd5iquyOrLO1WXXR?= =?us-ascii?Q?TtbZlr/6nR4taEKV602+dcnmDpxG2OC5O94NYQplaX5u90t3UP4ELdR1F1sq?= =?us-ascii?Q?1efYeUn+qGyN40ZrQZB0M61y3OZdPVr6w1ebXz8wyZOkARBS0c6EOd/o+y94?= =?us-ascii?Q?E5w+K0wYAXkak+SHkUpWETlj1Qyo0Oe7x1iwvQgrxPnV3Ugq/im6uCZ1xfKB?= =?us-ascii?Q?08X3pTCB740u0Ci9eMnOW0V0AIe2xO/2kYntRMfPE34MPKjmBxk+COUQgQpn?= =?us-ascii?Q?nSIdv00piW2cPElIJrLTsvWWBibOFNwIO+hLyzGgczJNQrp0Mcbes1lmoLUr?= =?us-ascii?Q?EliQ8g+4I2IxtzY06hBW5CttWgoBBH+lkgBbfgCARrp2IfO/krQ+hXx0kRy4?= =?us-ascii?Q?5AqFmDAreBgbAxDCsVaWdIIqy6gzGREaL8VSBa4VFdDx3fGMU1r6LwrsUeuO?= =?us-ascii?Q?e+YHmfPBdL6p9ny0hETnAhzamRrCGr97CXv+AvbLQKS6pMD4OOkLhbJm6MzV?= =?us-ascii?Q?jugSs/VdGI80veswKbZjYjRUeTidl9LaMQNHzznIHySuGepfCyqiC2T65GvF?= =?us-ascii?Q?RoOuZvmOu0vdGCRtLcQoNAv2cH5a+WYBWby12aVdNji+7ZW6IizMlDn+zdoq?= =?us-ascii?Q?bmCpyAC/ILRWGPAdNQVUvdLJTm9hmZpxxCkax0vlHP2pKtwZlC5GHdKTlKzU?= =?us-ascii?Q?zcKvg0Ov3JjKL9ndNdpJMOAtOsEEa8z7KwwdMUd5c+B+Is4OcnLW7C3ed4on?= =?us-ascii?Q?dEkthkj9JkjFCIx4K2tVFD6ka8NXT5CM6HBPGZY4bQ=3D=3D?= x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:SA3PR01MB8450.prod.exchangelabs.com;PTR:;CAT:NONE;SFS:(13230031)(376005)(1800799015)(366007)(38070700009);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?+zA9zPpWGbuRX4/W7NCjC1J0RAPU5TOEt0s7Bquy8rAzCRn0eUDp8tyXCqYT?= =?us-ascii?Q?UH6E/+/crK0R6t7kPTfFQuV0brXM0YOmQn70m0XLDA9p/vUkeEgPunmDnod1?= =?us-ascii?Q?ZBbW6f1tnukk805HqUKrsCDyBLa+MGjv53avIrGF1UM1/KfLKd3pQ5BMly2L?= =?us-ascii?Q?/dJopUm471SNbbFzVqCGmMfaToo8rzecqwRIguWD/MMqVc095NOeEob0/26/?= =?us-ascii?Q?+zmOCk/fWpR+FmxPIQ2tMPouwAfnTUB3DZw/2Y3/rkidct7fCCawdWojHeZD?= =?us-ascii?Q?hthrN8gUUYSVWO3mEVTLqOOHDP0Da5cRee3oiTVtYNy/1jrlU97QjRdrY3PS?= =?us-ascii?Q?GFS06/OnJjKNHJy022cVh4DXMi7NVz5JoDeXwHU2ll4b3rCzsdwpcu8R7Ox1?= =?us-ascii?Q?PwgukV6Pc3pr4XZA+5MdNqvz1ix3baFpL4Bgq/EvfWayXrXr8r6OzPCPsJvQ?= =?us-ascii?Q?/lcSxz9EpxfbpPcNaqRbwVFUTVp3eIUgDe3/5sus9uvD2fdnXL1E8qawa53y?= =?us-ascii?Q?9Zu2n8Tennx7ljMh+5R0UunqRHOKzMzkswomhw8TzJ0qBg2D3NBHSkz/e772?= =?us-ascii?Q?24CKRe+ehZyuv/JQJotvRIEGG9Fl1Fx35n2C7u3bqOeted4sMhdlv70i9NoT?= =?us-ascii?Q?S22kUD5EK5pM4LpT16iQUfEiknGV8XyR/lUlHmAVOK75TwlWgcd9sYwZgYOp?= =?us-ascii?Q?L1USaIfGGktLoZW2dchekw5kmf5947GGvORUPTW9n5hBDtLfrv2ZdqIROKcg?= =?us-ascii?Q?0gkdf4HrQfgb+xgfSAU+3lxtVStLrUVsD0tehirL/Bv3NL/qH5A5liWOiuLj?= =?us-ascii?Q?am/SyY4RmKj/gCzo+KLmyNILGT4Lm+MnR9yDIHUOZSu30JpBBYt3Ke4kRKqO?= =?us-ascii?Q?nd6CFHyjI1uzj/AzVyE+LViDtDHclnqOwcq6p+qpMt5EZadIBdwH/RFNrek6?= =?us-ascii?Q?hYVGPYwJXTtNri6TXMeUMA/9ZC5YEX/z3+o3gEdc24hlTJzF/GlonfNq/wea?= =?us-ascii?Q?LG/pWgXRjMM5cQ4G+QbaUlx8JD6iNjbNJj15EZleQ+WnAaeQwqEMoQKPqkff?= =?us-ascii?Q?4E9k4R/FKb900RSgELBl5yXxVu2c2n+48Zn4J/kDtsNMTNXRHpF4xjOb8TyI?= =?us-ascii?Q?Fc3rT9NuVESc+UA23jTi8li/KUGyEIGjB908E/2YiC3iufeD/gY0I52eGBRM?= =?us-ascii?Q?idb/E4yB0XYjc2EtBWAkyiR1HHVXSNZgG5phNQ7NOkzu5H1gpbeQms/t87HW?= =?us-ascii?Q?cKKjjP3DnFZmTFC8+Ewj2YuQTzYJ+aZC8AnmQxtVLCUe2P56wrTGSy1NJOV8?= =?us-ascii?Q?pyh1wYL0WTypYW0V55zz0CnzoDLbEAhiTE0nyZdOzq/16wj48dGJcpd8y8qn?= =?us-ascii?Q?DqP+eGLSGp5YvhMKZTAvRw02BG9DahFchmUpQkXTdMCTR3lX54GMFv8JrwY6?= =?us-ascii?Q?TlBdoXWE0v767Yr32/fEuG3+PunLgya/ZoYf2lZkCubZoLWMZ4PWMLhfjiOe?= =?us-ascii?Q?//FvLCSazkT8xFyULXTjFc2X4bpY38DNvDeY+wf9B2xB0MDSwPz+1VgPFP7c?= =?us-ascii?Q?cPVQmHPBq27/l9UxXOyreMuo33qOp071VcsjQfp5VgPwYm08kndExrEc5+rC?= =?us-ascii?Q?burWImGj2NB8Zqhca/jVojgvWVJcEuLsAeuzTtiWSWaR?= Content-Type: text/plain; charset="us-ascii" Content-ID: <04ACFE81E4B1FC40B076DC636575EBA4@prod.exchangelabs.com> Content-Transfer-Encoding: quoted-printable List-Id: Porting FreeBSD to ARM processors List-Archive: https://lists.freebsd.org/archives/freebsd-arm List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-arm@FreeBSD.org MIME-Version: 1.0 X-OriginatorOrg: mit.edu X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: SA3PR01MB8450.prod.exchangelabs.com X-MS-Exchange-CrossTenant-Network-Message-Id: 09a6ed8c-837f-494d-ceab-08dc7a5cd74b X-MS-Exchange-CrossTenant-originalarrivaltime: 22 May 2024 12:43:54.7393 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 64afd9ba-0ecf-4acf-bc36-935f6235ba8b X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: Xv/J0a6X+QeOjyLpA7xveEK5+FJNyPjsW8WJ3NT7ZB8ILlIAcCsuUw7lHHcNKZuW X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL3PR01MB6804 X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:8075, ipnet:40.104.0.0/14, country:US] X-Rspamd-Queue-Id: 4Vkrb145LJz3xMS > On May 22, 2024, at 03:27, Mario Marietto wrote: >=20 > My impression is that bhyve for ARM is available only for very expensive = socs. So,common mortals like me can't test it. >=20 The RockPro64 (RK3399) has the right hardware but see bug 277559. https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D277559 John Carr From nobody Wed May 22 12:56:04 2024 X-Original-To: arm@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Vkrsk5KVXz5LgM2 for ; Wed, 22 May 2024 12:56:42 +0000 (UTC) (envelope-from marietto2008@gmail.com) Received: from mail-pj1-x1032.google.com (mail-pj1-x1032.google.com [IPv6:2607:f8b0:4864:20::1032]) (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 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Vkrsk13znz40Kl for ; Wed, 22 May 2024 12:56:42 +0000 (UTC) (envelope-from marietto2008@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-pj1-x1032.google.com with SMTP id 98e67ed59e1d1-2bdb57f496eso54925a91.2 for ; Wed, 22 May 2024 05:56:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1716382600; x=1716987400; darn=freebsd.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=gqoAQqLiIKFLuD/orN9EJtLATfArITH304WEVOJ+4I8=; b=hY8c9Y5YbXzg3yylQRMya+/Shq0UQi5nozv/MZ4aF4Mgo8otn7vNTo5DBsT+hJu07p Sa99IwdFftTZNRicvJ1qNlPem58umRJWWuoT24EXLacoTGFjafWJ6GphAazF/HKteipQ sgDNGxyv6RD6GUIt+Gy+9bRfwTe8WUyjNpaiOsHjlVpGM4DEhjmnsQVEMWz+VhSPaDbm 26+Fo3/7/N8VRbzz5EwNuw3mQ0mc2lj9SClwDC/sMDoQU3KvS6Mh8lM9o1TH01nZDsuO GORNum12PXj5onz8XcTz3hhXksTAnrGvr8ejtJFev2ymxukW+lO5PeHnvB0KE6BXStQd TXdQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716382600; x=1716987400; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=gqoAQqLiIKFLuD/orN9EJtLATfArITH304WEVOJ+4I8=; b=hF5WeGyGP+tiBFZmOHjhkFs2rXj3ZlTYDSHixNaCIv52rvHVy5blvsQk8U+ak1IAMf DCmw5fsy1fxmo9iBCELiK7IWVR1um+r6OvRhMhXMWmPa3Od9VVNA3uzxbqPfcTVH68S6 5CQb0KiFeO740nq3k5voNHejXdBFtx5GuP+4iRdyY63fAMCi2TBG9eLj4Ylm1XocCzml YX0HglWQgWFk6Z7y/K/uZtRvri069rklIlmVDrR4+s4UrHzOZeXNOuiGLnIZbWl4Cias NsIUT242TCqWBLgUbdWQogPIboqDHrERbZykjGrIKPvdfVH+WHY6kQ5bILEaGQzeO22w Lyog== X-Forwarded-Encrypted: i=1; AJvYcCXUsNC68Vz84MOn6PIwmf6warH7LaXJs5mYaD048xNt+MeiktavGb3x9+8ku/sGAL+Td0IjNEEq1j02EgBPr2k= X-Gm-Message-State: AOJu0Yy0F2x8nM02+ijU1kK+XWfcXoZsMFE2HiDNctuEbIitdpc2+ZLG qrLYOKrvWnImb1J5oq7fvKsai1SFK1k98a6jmm2Kyc2a/vITjO00gkgtOKvMB72IMRfLQ6X8Plu hgv4a+xbzWsycRHqNB4qTVGB5eoNG0s/X22Yfrg== X-Google-Smtp-Source: AGHT+IGI5DSd0870ttMnrYqo7ELng4pND77g0we4ESUnn/nqsUSgURcf7/jv71RyOfovroMSJS0eYqX1mxV7aOzAlB0= X-Received: by 2002:a17:90a:dc0a:b0:2b2:4c3f:cf08 with SMTP id 98e67ed59e1d1-2bd9efdc164mr3002577a91.0.1716382600373; Wed, 22 May 2024 05:56:40 -0700 (PDT) List-Id: Porting FreeBSD to ARM processors List-Archive: https://lists.freebsd.org/archives/freebsd-arm List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-arm@FreeBSD.org MIME-Version: 1.0 References: In-Reply-To: From: Mario Marietto Date: Wed, 22 May 2024 14:56:04 +0200 Message-ID: Subject: Re: vmm (bhyve) on GICv2 To: John F Carr Cc: Lexi Winter , "arm@freebsd.org" Content-Type: multipart/alternative; boundary="00000000000031af5b06190a7797" X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US] X-Rspamd-Queue-Id: 4Vkrsk13znz40Kl --00000000000031af5b06190a7797 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Thanks. It talks about 2 bugs that the RockPro64 was affected with. But I don't understand if they have been fixed. If they have been fixed,maybe I will buy this soc : https://pine64.com/product/rockpro64-4gb-single-board-computer/ if you also confirm that it is the same soc that we are talking about. On Wed, May 22, 2024 at 2:43=E2=80=AFPM John F Carr wrote: > > > On May 22, 2024, at 03:27, Mario Marietto > wrote: > > > > My impression is that bhyve for ARM is available only for very expensiv= e > socs. So,common mortals like me can't test it. > > > > The RockPro64 (RK3399) has the right hardware but see bug 277559. > > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D277559 > > John Carr > > --=20 Mario. --00000000000031af5b06190a7797 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Thanks.

It talks about = 2 bugs that the RockPro64 was affected with. But I don't understand if = they have been fixed. If they have been fixed,maybe I will buy this soc := =C2=A0


if you also confirm that= it is the same soc that we are talking about.

On Wed, May 22, 2024 at= 2:43=E2=80=AFPM John F Carr <jfc@mit.edu= > wrote:
=
> On May 22, 2024, at 03:27, Mario Marietto <marietto2008@gmail.com> wrote: >
> My impression is that bhyve for ARM is available only for very expensi= ve socs. So,common mortals like me can't test it.
>

The RockPro64 (RK3399) has the right hardware but see bug 277559.

https://bugs.freebsd.org/bugzilla/show_bu= g.cgi?id=3D277559

John Carr



--
Mario.
--00000000000031af5b06190a7797-- From nobody Wed May 22 15:34:46 2024 X-Original-To: arm@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4VkwNR0xRjz5LvD1 for ; Wed, 22 May 2024 15:35:03 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic312-23.consmr.mail.gq1.yahoo.com (sonic312-23.consmr.mail.gq1.yahoo.com [98.137.69.204]) (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 did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4VkwNQ5CY5z4QB3 for ; Wed, 22 May 2024 15:35:02 +0000 (UTC) (envelope-from marklmi@yahoo.com) Authentication-Results: mx1.freebsd.org; none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1716392100; bh=XiZQalma+PplYas/Q+kJBe9FxTwUHZOCG7RLSbnEDzc=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From:Subject:Reply-To; b=VhZ6Jc8J9JIBwalLIvcFfCfcdyYnxmu0hWQAJPYGDUNyXjPSoz3Bj6hsH8I00BKAgAES0t59e4YVOmLTUFaEyf3Fwt8kRhCRC9zxNTbmiqYSM1MNO+J/d3WSxm3ITI/U6aAZz/8QIYvCFo2sFriVTKBdXyxob3vpFre5r1gFxnHoCWLgGb1U81SCTz4d0G27SihbFEFSr3M4u5E97u7gc7+SjHR5bpiO4lEulxCgOvlMDYVQKNyYVKZt0LX09zbdrZep59/PuPH3RlwIC8qjezHVsR6HYl3283kjo3eoYJbfOPXCxfN9gmo17IjFbj3VCoQah0Tuz/PQmVQbUWF6jA== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1716392100; bh=SyGt3NYHPrpIa6s2aeh2FtzZtmcg1vgaM8UsIkuF+Bt=; h=X-Sonic-MF:Subject:From:Date:To:From:Subject; b=pObOnPQY6K8T1GfV5cK0a2cu0Yt+pPcyTQaJegOc2vCqqjbzbFVPR3g8P/96nJIl5+rBgwRnJAGdLz0jRI6syaLVBog9aYfIIgziOzZnT7XIWKqj7faxeKIKYfpKmhwjI+NNsuqya0fnHc2yPofCtqkffa3hS7basn5t2lNfD/QCbDcOxVa3kxwe6CH781sxkxz/CFADPIHzmbhjzs4NnflaPIGO01vZLylKlUN4aiTuqPVZccngJ+gJdI2qBLYux/Qd+qrUNQ2snHaiVvO1nnCI8ukKfbTVn2AIzBWQuaT33Z/C4ngogygLykjlre8UpZcMGJG8bEs8mV16I9iTLA== X-YMail-OSG: b9Hva_UVM1mjBuoUC2ODyvilitUX2GhYxqmfBHN2auJcZwoee16WYs8wO8nUXDa VPzsBK7387rpwdOWFNZbhMDu0hU8DW7a3LLfO_wIDjaht17.dBFOOnN.Zj3uPxKGWD_ds.uNNqUG YSLYNIbggYHfRWcby5HODPNxZWquZunyPQcn8JfXBlvAz5rxd2bLxt2cvOqz8MRLx6zaEW4dESk_ WmB4u1kN93UumEbf08kDIO6JLmuVZnWuyrwGrmbaW7h7ulb4MIxMpJ_mWXvWP5VhkGRVWbyE_Cew AUMQXpLyMeyrXgsBr67rm86cc8OHsRxZ1A6pK6QIhHSL76wtuuBjneZY7PHNz42_TwwDWbVyX_Ie HQPzi_sdtLBk14d22OPB0hqY5SwahUw5wFS1Nx89IwPIm3g5H3P08DZgGZYEiVKNVBkfwe406FCk I.SOhC5XrMt0arlYtFcQN9WxdCmVJRRfHVGIqniqdyrhnzi2BteF2FPoqpwaaRL4uE8JR76bWoP0 xpvEjzZf3BXhEFrwNZ9NwxTjh3WwgdfCfRU866w.VzXFLLbEGfkYmMxGOX8n5H1o2ezNo_GYXSea GIkGnGdmOLsEXXmCP4jGUl6c2q1HSitbXkwWboklSR7FhEBaoL40Jjawsrr8FVI9R0Tt_ME7.1zS Bq23p_T0ov25WDTjy.D5SBzp_3D6UwiPowHcm.CafTMgt6c7XZKqNvFEmXBz7.xYEqEWXsNEuxV. lUOmI_x4qEe4.v9_6_JOhusOddWRk7V2c4Qbp0m4ft87.snaCp8T3cZMb7e9p0SWdbHpCO3ifwVX ..ZjlU2nL2QO_jDhA4MXXICHLgt6UtUcCSfpuadGZ6pPw1bDaN2NQRuZMZMdZqhP1M5G_U_kWsDk 2OjKYQR2jpAVRhEb_P79bIkFbmuN._P1BHUjYqBZlY8lN1YGWJKFRQLDvO6lHB6zb_ydlIftHzLQ XXJHxmQc5HnwG8cn2ArWckWqj._Ivv0wtNsO68.a8OHR_gfCR0HrKW8ILI5LGuoe01WrT7hvS3oU vGWr_g_wM1kYSwnM_yfd49HlmJz0AON19VgR3JOZZUpwFwGGOGd5S1f1WGuwpZkNMGEa8zfTz7Pq MFK8EVEjFMS3HD7cY7FD4OcoIN8XtLfsr9dWlGENR8igxdRfj0FW7kRaptV1h5H93JZ.vCig27k6 a9MoQxSM9QgNwo4LA8oJ5vM8kXzxsGjDnxP8LEHmR6JTDLgmuJDxIeBuSIbveiP21QCj7czCm9zT CJdiTAgVwGMKlJDrUvgwJwMwPPXdPQ5gIzuc5W6UIPQvDCzgnWFJNqQqhkk6284FCs0QtWZFp1PF k5xwDQfEHtdbza_sIHvi_3qjg3ZSAZmFza7QGGZjecnW8tR6c8AoWyvmUGSfLAiT1frSzz7AOMEP Ynvribz4EO8.I8WgVMIPVuH5KjU4z7B3vh8MXOCXj0ribf8OG59AHAzgBEMg2qEmlfASJuSGPO4c 6odzV7vPSM7Xjm.Zte_cJkIc6HK7BCedn0tHJOoDQu9L1YUdapWqASymTrUbLQUNJHf_2txbvHOv vnDl8QHE_Ap9zxgTkBgIAJ4fHZUQ2lhOYygBcQpCv3s9FVS3ejWByMNQ_LN9Nn4QvLgLbXKoAI4c FPS5yetnQkTtT2nliuTFpVBB9zByd2DPtFpnVyrpvD3bNDadpPKkn4Zrrd72DbJIyYwCF1Xn54zH Z7EWGRygsXwryfGmF.6hIMQD_HxOxcQITwKXQFJf6iGVrQej2l4DPXotXWR3doNJ48Hg3ATECU7o R.1oTfHlHlZOxrrfwkk_FCSzK3CxA6USB3ywaarJmisJ4AT44KmAR9qPa83qilOcT7ykIg7_O9Pm yQeonUk.inm3jBGJl9tBu8DhwCfCPH7OgBGFEPhXtODNGmC_cNOjAIBnu_dnk0zK4s3F82m5iMgf tj2neK44t9zgqqyPN01BSL7i_4R6BK7GZIASCWMoCzzNkc1kn7C0qR2mFyNpox3_sXz_ucRZOZTg NjAL2nkDKUpjc9W8aW84lwAqFA53UWN2PqGMS4Qz2RoqLXCWKMRdhe0GxqaJrYo_UASD65uLjmCG O7ZQuV93X3mWOBhm7P6zfA9rbnmUrn8ZDTYU8VqzC8Xf4eQTfIW3.mk59fwIqdXQ2NYf_STfoXKY zwJvt9azxHkXvXZwHgNGYvxQFDUviYsSK4HoPFxqU8TusqL2KF_xq3TkUU7_uS8pBILWKATw8NyP j8080YM40TiQgDz9pvD.SKzsWUkNVhYSozlbqqyWAMFmCj6AJRKYMvxj3.BKkURWznbUWWGZr X-Sonic-MF: X-Sonic-ID: b18a7d5a-07c7-4880-aadc-7a104b21e9a7 Received: from sonic.gate.mail.ne1.yahoo.com by sonic312.consmr.mail.gq1.yahoo.com with HTTP; Wed, 22 May 2024 15:35:00 +0000 Received: by hermes--production-gq1-59c575df44-78ldj (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID a7fd95404de4f8cf40ac0d0494649480; Wed, 22 May 2024 15:34:57 +0000 (UTC) Content-Type: text/plain; charset=utf-8 List-Id: Porting FreeBSD to ARM processors List-Archive: https://lists.freebsd.org/archives/freebsd-arm List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-arm@FreeBSD.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3774.600.62\)) Subject: Re: vmm (bhyve) on GICv2 From: Mark Millard In-Reply-To: Date: Wed, 22 May 2024 08:34:46 -0700 Cc: Mario Marietto , arm@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <18B789E4-5891-4F3E-BAB6-05FD45949438@yahoo.com> References: To: Lexi Winter X-Mailer: Apple Mail (2.3774.600.62) X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US] X-Rspamd-Queue-Id: 4VkwNQ5CY5z4QB3 On May 22, 2024, at 00:25, Lexi Winter wrote: > Mario Marietto: >> On Wed, May 22, 2024 at 9:03=E2=80=AFAM Lexi Winter = wrote: >>> i was pleased to see ARM64 vmm has been merged to main recently. >>>=20 >>> i have several use-cases to run bhyve on RPi4, but unfortunately = this >>> hardware only supports GICv2 while vmm requires GICv3. >>>=20 >>> does anyone have an idea if GICv2 is likely to be supported in the >>> future? >>=20 >> Does RPi5 support GICv3 ? I would like to know which kind of = relatively >> cheap arm hardware can run bhyve. >=20 > i don't know off hand, but i do know FreeBSD doesn't support RPi5 at > all right now, so this is not an immediate solution :-) I boot and run a RPi5 via EDK2 in the microsd card slot and a USB3 UFS system media (that has lots of different swap partition sizes for use on various machines with widely varying amounts of RAM): # gpart show -pl =3D> 40 249737136 mmcsd0 GPT (119G) 40 2008 - free - (1.0M) 2048 249733120 mmcsd0p1 RPi5-edk2 (119G) 249735168 2008 - free - (1.0M) =3D> 34 1875384941 da0 GPT (894G) 34 32734 - free - (16M) 32768 501760 da0p1 PkgBaseEFI (245M) 534528 20971520 da0p2 PkgBaseSwp10 (10G) 21506048 29360128 da0p3 PkgBaseSwp14 (14G) 50866176 33554432 da0p4 PkgBaseSwp16 (16G) 84420608 67108864 da0p5 PkgBaseSwp32 (32G) 151529472 96468992 da0p6 PkgBaseSwp46 (46G) 247998464 268435456 da0p7 PkgBaseSwp128 (128G) 516433920 7340032 da0p8 PkgBaseSwp3p5 (3.5G) 523773952 13631488 da0p10 PkgBaseSwp6p5 (6.5G) 537405440 1337979528 da0p9 PkgBaseUFS (638G) 1875384968 7 - free - (3.5K) See: https://github.com/worproject/rpi5-uefi # uname -apKU FreeBSD aarch64-main-pkgs 15.0-CURRENT FreeBSD 15.0-CURRENT #5 = main-n269589-9dcf39575efb-dirty: Sun Apr 21 01:42:00 PDT 2024 = root@aarch64-main-pbase:/usr/obj/BUILDs/main-CA76-nodbg-clang/usr/main-src= /arm64.aarch64/sys/GENERIC-NODBG-CA76 arm64 aarch64 1500018 1500018 That kernel is at: /boot/kernel.CA76-NODBG/kernel in my context. But I also have kernels that I got from: https://pkg.freebsd.org/FreeBSD:15:aarch64/base_latest/ that boot it as well: # strings /boot/kernel.GENERIC-NODEBUG/kernel | grep 15.0- @(#)FreeBSD 15.0-CURRENT main-n269581-dfa39133b333 GENERIC-NODEBUG FreeBSD 15.0-CURRENT main-n269581-dfa39133b333 GENERIC-NODEBUG 15.0-CURRENT And the debug version (witness and such): # strings /boot/kernel/kernel | grep 15.0- @(#)FreeBSD 15.0-CURRENT main-n269581-dfa39133b333 GENERIC FreeBSD 15.0-CURRENT main-n269581-dfa39133b333 GENERIC 15.0-CURRENT (It has beem a while since I updated.) All these kernels boot a world that I got from the same: https://pkg.freebsd.org/FreeBSD:15:aarch64/base_latest/ I do have another world in a directory tree that I built that I can chroot to. =3D=3D=3D Mark Millard marklmi at yahoo.com From nobody Wed May 22 15:43:19 2024 X-Original-To: arm@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4VkwZ821hrz5LwKd for ; Wed, 22 May 2024 15:43:28 +0000 (UTC) (envelope-from SRS0=yEIV=MZ=klop.ws=ronald-lists@realworks.nl) Received: from smtp-relay-int.realworks.nl (smtp-relay-int.realworks.nl [194.109.157.24]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4VkwZ765hwz4R5G for ; Wed, 22 May 2024 15:43:27 +0000 (UTC) (envelope-from SRS0=yEIV=MZ=klop.ws=ronald-lists@realworks.nl) Authentication-Results: mx1.freebsd.org; none Date: Wed, 22 May 2024 17:43:19 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=klop.ws; s=rw2; t=1716392600; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=9CIAHy/b9da2thl719Sy2ZIU1Kvr1yj5TG2h1NUtBsU=; b=PYWlcd1f3rUHFXDpEG0fwNJXUgFRi00EuLznwXgvjkID0o16rBzWdst9ICQHdKKvjmFqQM gREARIeM63j2qQntro+pCZzr3k9zORhwUYM4gncyAMq+xKQlgv7I99NR0J0HW3bHl63MMo sNPQMOC2GWk2ft5palS+sIUR7pyvlbt/hUh9U1R/VRi5THpKRTimOTWzGQKDwvpcWY9+4h 9H7b4kOctrOgWFYugKMN2iKFLjXzGwZ3PWLJGtU424JJXAxJB9341Dbw1cIxCEcYDxsry7 SNRmp5Ys6KqGqhGe2g12RXzoLGDhz1C23pdxhnxWvBNDyxgezqa5kAaiiUyGrQ== From: Ronald Klop To: Mark Millard Cc: Mario Marietto , arm@freebsd.org, Lexi Winter Message-ID: <1923834610.13708.1716392599662@localhost> In-Reply-To: <18B789E4-5891-4F3E-BAB6-05FD45949438@yahoo.com> References: <18B789E4-5891-4F3E-BAB6-05FD45949438@yahoo.com> Subject: Re: vmm (bhyve) on GICv2 List-Id: Porting FreeBSD to ARM processors List-Archive: https://lists.freebsd.org/archives/freebsd-arm List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-arm@FreeBSD.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_13707_978624373.1716392599595" X-Mailer: Realworks (702.58) Importance: Normal X-Priority: 3 (Normal) X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:3265, ipnet:194.109.0.0/16, country:NL] X-Rspamd-Queue-Id: 4VkwZ765hwz4R5G ------=_Part_13707_978624373.1716392599595 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Van: Mark Millard Datum: woensdag, 22 mei 2024 17:34 Aan: Lexi Winter CC: Mario Marietto , arm@freebsd.org Onderwerp: Re: vmm (bhyve) on GICv2 > > On May 22, 2024, at 00:25, Lexi Winter wrote: > > > Mario Marietto: > >> On Wed, May 22, 2024 at 9:03AM Lexi Winter wrote: > >>> i was pleased to see ARM64 vmm has been merged to main recently. > >>> > >>> i have several use-cases to run bhyve on RPi4, but unfortunately this > >>> hardware only supports GICv2 while vmm requires GICv3. > >>> > >>> does anyone have an idea if GICv2 is likely to be supported in the > >>> future? > >> > >> Does RPi5 support GICv3 ? I would like to know which kind of relatively > >> cheap arm hardware can run bhyve. > > > > i don't know off hand, but i do know FreeBSD doesn't support RPi5 at > > all right now, so this is not an immediate solution :-) > > I boot and run a RPi5 via EDK2 in the microsd card slot and a USB3 > UFS system media (that has lots of different swap partition sizes > for use on various machines with widely varying amounts of RAM): > > # gpart show -pl > => 40 249737136 mmcsd0 GPT (119G) > 40 2008 - free - (1.0M) > 2048 249733120 mmcsd0p1 RPi5-edk2 (119G) > 249735168 2008 - free - (1.0M) > > => 34 1875384941 da0 GPT (894G) > 34 32734 - free - (16M) > 32768 501760 da0p1 PkgBaseEFI (245M) > 534528 20971520 da0p2 PkgBaseSwp10 (10G) > 21506048 29360128 da0p3 PkgBaseSwp14 (14G) > 50866176 33554432 da0p4 PkgBaseSwp16 (16G) > 84420608 67108864 da0p5 PkgBaseSwp32 (32G) > 151529472 96468992 da0p6 PkgBaseSwp46 (46G) > 247998464 268435456 da0p7 PkgBaseSwp128 (128G) > 516433920 7340032 da0p8 PkgBaseSwp3p5 (3.5G) > 523773952 13631488 da0p10 PkgBaseSwp6p5 (6.5G) > 537405440 1337979528 da0p9 PkgBaseUFS (638G) > 1875384968 7 - free - (3.5K) > > See: https://github.com/worproject/rpi5-uefi > > # uname -apKU > FreeBSD aarch64-main-pkgs 15.0-CURRENT FreeBSD 15.0-CURRENT #5 main-n269589-9dcf39575efb-dirty: Sun Apr 21 01:42:00 PDT 2024 root@aarch64-main-pbase:/usr/obj/BUILDs/main-CA76-nodbg-clang/usr/main-src/arm64.aarch64/sys/GENERIC-NODBG-CA76 arm64 aarch64 1500018 1500018 > > That kernel is at: /boot/kernel.CA76-NODBG/kernel in my context. > > But I also have kernels that I got from: > > https://pkg.freebsd.org/FreeBSD:15:aarch64/base_latest/ > > that boot it as well: > > # strings /boot/kernel.GENERIC-NODEBUG/kernel | grep 15.0- > @(#)FreeBSD 15.0-CURRENT main-n269581-dfa39133b333 GENERIC-NODEBUG > FreeBSD 15.0-CURRENT main-n269581-dfa39133b333 GENERIC-NODEBUG > 15.0-CURRENT > > And the debug version (witness and such): > > # strings /boot/kernel/kernel | grep 15.0- > @(#)FreeBSD 15.0-CURRENT main-n269581-dfa39133b333 GENERIC > FreeBSD 15.0-CURRENT main-n269581-dfa39133b333 GENERIC > 15.0-CURRENT > > (It has beem a while since I updated.) > > All these kernels boot a world that I got from the same: > > https://pkg.freebsd.org/FreeBSD:15:aarch64/base_latest/ > > I do have another world in a directory tree that I built that I > can chroot to. > > === > Mark Millard > marklmi at yahoo.com > > > > > Hi, This looks nice. Are there any FreeBSD patches needed to boot a RPI5? Or only an up-to-date EDK2? And if it works well can we collaborate in documenting the RPI5 on https://wiki.freebsd.org/arm/Raspberry%20Pi? Regards, Ronald. ------=_Part_13707_978624373.1716392599595 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit

Van: Mark Millard <marklmi@yahoo.com>
Datum: woensdag, 22 mei 2024 17:34
Aan: Lexi Winter <lexi@le-fay.org>
CC: Mario Marietto <marietto2008@gmail.com>, arm@freebsd.org
Onderwerp: Re: vmm (bhyve) on GICv2

On May 22, 2024, at 00:25, Lexi Winter <lexi@le-fay.org> wrote:

> Mario Marietto:
>> On Wed, May 22, 2024 at 9:03AM Lexi Winter <lexi@le-fay.org> wrote:
>>> i was pleased to see ARM64 vmm has been merged to main recently.
>>>
>>> i have several use-cases to run bhyve on RPi4, but unfortunately this
>>> hardware only supports GICv2 while vmm requires GICv3.
>>>
>>> does anyone have an idea if GICv2 is likely to be supported in the
>>> future?
>>
>> Does RPi5 support GICv3 ? I would like to know which kind of relatively
>> cheap arm hardware can run bhyve.
>
> i don't know off hand, but i do know FreeBSD doesn't support RPi5 at
> all right now, so this is not an immediate solution :-)

I boot and run a RPi5 via EDK2 in the microsd card slot and a USB3
UFS system media (that has lots of different swap partition sizes
for use on various machines with widely varying amounts of RAM):

# gpart show -pl
=>       40  249737136    mmcsd0  GPT  (119G)
         40       2008            - free -  (1.0M)
       2048  249733120  mmcsd0p1  RPi5-edk2  (119G)
  249735168       2008            - free -  (1.0M)

=>        34  1875384941     da0  GPT  (894G)
          34       32734          - free -  (16M)
       32768      501760   da0p1  PkgBaseEFI  (245M)
      534528    20971520   da0p2  PkgBaseSwp10  (10G)
    21506048    29360128   da0p3  PkgBaseSwp14  (14G)
    50866176    33554432   da0p4  PkgBaseSwp16  (16G)
    84420608    67108864   da0p5  PkgBaseSwp32  (32G)
   151529472    96468992   da0p6  PkgBaseSwp46  (46G)
   247998464   268435456   da0p7  PkgBaseSwp128  (128G)
   516433920     7340032   da0p8  PkgBaseSwp3p5  (3.5G)
   523773952    13631488  da0p10  PkgBaseSwp6p5  (6.5G)
   537405440  1337979528   da0p9  PkgBaseUFS  (638G)
  1875384968           7          - free -  (3.5K)

See: https://github.com/worproject/rpi5-uefi

# uname -apKU
FreeBSD aarch64-main-pkgs 15.0-CURRENT FreeBSD 15.0-CURRENT #5 main-n269589-9dcf39575efb-dirty: Sun Apr 21 01:42:00 PDT 2024     root@aarch64-main-pbase:/usr/obj/BUILDs/main-CA76-nodbg-clang/usr/main-src/arm64.aarch64/sys/GENERIC-NODBG-CA76 arm64 aarch64 1500018 1500018

That kernel is at: /boot/kernel.CA76-NODBG/kernel in my context.

But I also have kernels that I got from:

https://pkg.freebsd.org/FreeBSD:15:aarch64/base_latest/

that boot it as well:

# strings /boot/kernel.GENERIC-NODEBUG/kernel | grep 15.0-
@(#)FreeBSD 15.0-CURRENT main-n269581-dfa39133b333 GENERIC-NODEBUG
FreeBSD 15.0-CURRENT main-n269581-dfa39133b333 GENERIC-NODEBUG
15.0-CURRENT

And the debug version (witness and such):

# strings /boot/kernel/kernel | grep 15.0-
@(#)FreeBSD 15.0-CURRENT main-n269581-dfa39133b333 GENERIC
FreeBSD 15.0-CURRENT main-n269581-dfa39133b333 GENERIC
15.0-CURRENT

(It has beem a while since I updated.)

All these kernels boot a world that I got from the same:

https://pkg.freebsd.org/FreeBSD:15:aarch64/base_latest/

I do have another world in a directory tree that I built that I
can chroot to.

===
Mark Millard
marklmi at yahoo.com

 



Hi,

This looks nice. Are there any FreeBSD patches needed to boot a RPI5? Or only an up-to-date EDK2?

And if it works well can we collaborate in documenting the RPI5 on https://wiki.freebsd.org/arm/Raspberry%20Pi?

Regards,
Ronald.
  ------=_Part_13707_978624373.1716392599595-- From nobody Wed May 22 15:48:34 2024 X-Original-To: arm@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4VkwhH3T6xz5LwRt for ; Wed, 22 May 2024 15:48:47 +0000 (UTC) (envelope-from dfr@rabson.org) Received: from mail-yb1-xb31.google.com (mail-yb1-xb31.google.com [IPv6:2607:f8b0:4864:20::b31]) (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 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VkwhH08SJz4RT1 for ; Wed, 22 May 2024 15:48:46 +0000 (UTC) (envelope-from dfr@rabson.org) Authentication-Results: mx1.freebsd.org; none Received: by mail-yb1-xb31.google.com with SMTP id 3f1490d57ef6-dcd7c526cc0so5982919276.1 for ; Wed, 22 May 2024 08:48:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rabson-org.20230601.gappssmtp.com; s=20230601; t=1716392925; x=1716997725; darn=freebsd.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=If1YOzxoGEmcp8F50AD3RjgVFOEDoWKX5CTvOdJYIa0=; b=mfcFAmX1pWcMcwfF8+oCLLHhczVvxpDQUWzITHSfe2Olr/tf7YWHaDZ9BWSzOrZMjd nhQzKgNVtQ6f+NmsVIWvHB4G6YwmHfDlFvuCWexkR9JBJiXgUe3+h2PbRtKFdET4TMbT uf4pQkIZMH1BkhqvoHg7kqZ9+FCDJrQXQCehA9mjC4t7/S9VJErgdrzPM3RfWPMG5FZE ZBlft84zu4NG7QMhyTUjuecdATL/ItSKwjaZ8toShcWyaFldUz0dCT7sRUCG7RVLQNaL tjaYwsaSNRvIyZHrGi1ZKUtv7gAni//tv4NZXPNX6ZnWBkgusMNubSa0/MhQeCg896+u W0zA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716392925; x=1716997725; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=If1YOzxoGEmcp8F50AD3RjgVFOEDoWKX5CTvOdJYIa0=; b=ZY5BmbMbIaCWAw3Gbc3sWlK2JiD5LF9ebgoZ35IXWkXBw2bElezRl3+c1pmWGkZCFl C5ieP8HCt/bSd1pn8jtQZ29+l3VMbhb1adFenzrV6Qm0RaznQaq+Nx4KHwY6P+7fss2C UlLY2agQG1cAl/iXvrIbJeU2e94Cwm8UBRdVyYybBQJ2m7qQOZ0SRq4aFuHk3+tTn+ze BydJFXJuQf4DAEF3XXyNvP1jYE5oqvDkaJlCoCH4OAWf1v8F2aXl09SnvPuC74zz7K9z EvIriqT60aC6wSfWFx1arddcsXNLjhpxXxBi6UKV3BcaNNMZLAoJ01/L5BUDfKb/r23a hC/w== X-Forwarded-Encrypted: i=1; AJvYcCUNvd37KZ7sJQIN6YalMH7q/WpxvgkcsRDk4f7G4jQcy9y6trK4ajw4jhFiU/i1ahaAZbHMOAnc1/maz8Adjms= X-Gm-Message-State: AOJu0Yw3AHXE6IEuwU8OcIR7ktFyJqTKWdi4B86xIa+R/iLxk9lbWhp5 Zxm3jCfdIAMfv4HABYu5EICgRAZycb5yEReYGHBcmtIhMAt9qSOOiR1dfhZL1SEAIoA3xpDXsEB zRvFySOOZVu10/HsJZ9NPiyHfF6vJeIqQrBm7Hg== X-Google-Smtp-Source: AGHT+IGsnFmSVh4kTfAJfuEXSvWGPVtqAdXSleIcC5mNfW001bhBHn8BzocCLq/XVeNgC040kguFhvwH/j8JpBoPrUo= X-Received: by 2002:a25:5f48:0:b0:df4:d65e:f519 with SMTP id 3f1490d57ef6-df4e0dde829mr2157041276.59.1716392925050; Wed, 22 May 2024 08:48:45 -0700 (PDT) List-Id: Porting FreeBSD to ARM processors List-Archive: https://lists.freebsd.org/archives/freebsd-arm List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-arm@FreeBSD.org MIME-Version: 1.0 References: <18B789E4-5891-4F3E-BAB6-05FD45949438@yahoo.com> <1923834610.13708.1716392599662@localhost> In-Reply-To: <1923834610.13708.1716392599662@localhost> From: Doug Rabson Date: Wed, 22 May 2024 16:48:34 +0100 Message-ID: Subject: Re: vmm (bhyve) on GICv2 To: Ronald Klop Cc: Mark Millard , Mario Marietto , arm@freebsd.org, Lexi Winter Content-Type: multipart/alternative; boundary="00000000000097d47f06190cdeeb" X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US] X-Rspamd-Queue-Id: 4VkwhH08SJz4RT1 --00000000000097d47f06190cdeeb Content-Type: text/plain; charset="UTF-8" I have some unfinished patches, currently stuck trying to figure out how MSI works on the platform. Sadly, this part is not documented publicly and I have no access to NDA documentation. The Linux driver is my only reference which is far from optimal. Mike Karels is also interested in getting this working. Doug. On Wed, 22 May 2024 at 16:43, Ronald Klop wrote: > > *Van:* Mark Millard > *Datum:* woensdag, 22 mei 2024 17:34 > *Aan:* Lexi Winter > *CC:* Mario Marietto , arm@freebsd.org > *Onderwerp:* Re: vmm (bhyve) on GICv2 > > On May 22, 2024, at 00:25, Lexi Winter wrote: > > > Mario Marietto: > >> On Wed, May 22, 2024 at 9:03AM Lexi Winter wrote: > >>> i was pleased to see ARM64 vmm has been merged to main recently. > >>> > >>> i have several use-cases to run bhyve on RPi4, but unfortunately this > >>> hardware only supports GICv2 while vmm requires GICv3. > >>> > >>> does anyone have an idea if GICv2 is likely to be supported in the > >>> future? > >> > >> Does RPi5 support GICv3 ? I would like to know which kind of relatively > >> cheap arm hardware can run bhyve. > > > > i don't know off hand, but i do know FreeBSD doesn't support RPi5 at > > all right now, so this is not an immediate solution :-) > > I boot and run a RPi5 via EDK2 in the microsd card slot and a USB3 > UFS system media (that has lots of different swap partition sizes > for use on various machines with widely varying amounts of RAM): > > # gpart show -pl > => 40 249737136 mmcsd0 GPT (119G) > 40 2008 - free - (1.0M) > 2048 249733120 mmcsd0p1 RPi5-edk2 (119G) > 249735168 2008 - free - (1.0M) > > => 34 1875384941 da0 GPT (894G) > 34 32734 - free - (16M) > 32768 501760 da0p1 PkgBaseEFI (245M) > 534528 20971520 da0p2 PkgBaseSwp10 (10G) > 21506048 29360128 da0p3 PkgBaseSwp14 (14G) > 50866176 33554432 da0p4 PkgBaseSwp16 (16G) > 84420608 67108864 da0p5 PkgBaseSwp32 (32G) > 151529472 96468992 da0p6 PkgBaseSwp46 (46G) > 247998464 268435456 da0p7 PkgBaseSwp128 (128G) > 516433920 7340032 da0p8 PkgBaseSwp3p5 (3.5G) > 523773952 13631488 da0p10 PkgBaseSwp6p5 (6.5G) > 537405440 1337979528 da0p9 PkgBaseUFS (638G) > 1875384968 7 - free - (3.5K) > > See: https://github.com/worproject/rpi5-uefi > > # uname -apKU > FreeBSD aarch64-main-pkgs 15.0-CURRENT FreeBSD 15.0-CURRENT #5 > main-n269589-9dcf39575efb-dirty: Sun Apr 21 01:42:00 PDT 2024 > root@aarch64-main-pbase:/usr/obj/BUILDs/main-CA76-nodbg-clang/usr/main-src/arm64.aarch64/sys/GENERIC-NODBG-CA76 > arm64 aarch64 1500018 1500018 > > That kernel is at: /boot/kernel.CA76-NODBG/kernel in my context. > > But I also have kernels that I got from: > > https://pkg.freebsd.org/FreeBSD:15:aarch64/base_latest/ > > that boot it as well: > > # strings /boot/kernel.GENERIC-NODEBUG/kernel | grep 15.0- > @(#)FreeBSD 15.0-CURRENT main-n269581-dfa39133b333 GENERIC-NODEBUG > FreeBSD 15.0-CURRENT main-n269581-dfa39133b333 GENERIC-NODEBUG > 15.0-CURRENT > > And the debug version (witness and such): > > # strings /boot/kernel/kernel | grep 15.0- > @(#)FreeBSD 15.0-CURRENT main-n269581-dfa39133b333 GENERIC > FreeBSD 15.0-CURRENT main-n269581-dfa39133b333 GENERIC > 15.0-CURRENT > > (It has beem a while since I updated.) > > All these kernels boot a world that I got from the same: > > https://pkg.freebsd.org/FreeBSD:15:aarch64/base_latest/ > > I do have another world in a directory tree that I built that I > can chroot to. > > === > Mark Millard > marklmi at yahoo.com > > > ------------------------------ > > > > Hi, > > This looks nice. Are there any FreeBSD patches needed to boot a RPI5? Or > only an up-to-date EDK2? > > And if it works well can we collaborate in documenting the RPI5 on > https://wiki.freebsd.org/arm/Raspberry%20Pi? > > Regards, > Ronald. > > --00000000000097d47f06190cdeeb Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I have some unfinished patches, currently stuck trying=C2= =A0to figure out how MSI works on the platform. Sadly, this part is not doc= umented publicly and I have no access to NDA documentation. The Linux drive= r is my only reference which is far from optimal. Mike Karels is also inter= ested in getting this working.

Doug.


On Wed, 22 May 2024 at 16:43, Ronald Klop <ronald-lists@klop.ws> wrote:
=

Van: Mark Millard <marklmi@yahoo.com>
Datum: woensdag, 22 mei 2024 17:34
Aan: Lexi Winter <lexi@le-fay.org>
CC: Mario Marietto <marietto2008@gmail.com>, arm@freebsd.org
Onderwerp: Re: vmm (bhyve) on GICv2

On May 22, 2024, at 00:25, Lexi Winter = <lexi@le-fay.org> wrote:

> Mario Marietto:
>> On Wed, May 22, 2024 at 9:03AM Lexi Winter <
lexi@le-fay.org> wrote:
>>> i was pleased to see ARM64 vmm has been merged to main recentl= y.
>>>
>>> i have several use-cases to run bhyve on RPi4, but unfortunate= ly this
>>> hardware only supports GICv2 while vmm requires GICv3.
>>>
>>> does anyone have an idea if GICv2 is likely to be supported in= the
>>> future?
>>
>> Does RPi5 support GICv3 ? I would like to know which kind of relat= ively
>> cheap arm hardware can run bhyve.
>
> i don't know off hand, but i do know FreeBSD doesn't support R= Pi5 at
> all right now, so this is not an immediate solution :-)

I boot and run a RPi5 via EDK2 in the microsd card slot and a USB3
UFS system media (that has lots of different swap partition sizes
for use on various machines with widely varying amounts of RAM):

# gpart show -pl
=3D> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A040 =C2=A0249737136 =C2=A0=C2=A0= =C2=A0mmcsd0 =C2=A0GPT =C2=A0(119G)
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A040 =C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A02008 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0- free - =C2=A0(1.0M)
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A02048 =C2=A0249733120 =C2=A0mmcsd0= p1 =C2=A0RPi5-edk2 =C2=A0(119G)
=C2=A0=C2=A0249735168 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A02008 =C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0- free - =C2=A0(1.0M)=

=3D> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A034 =C2=A01875384941 =C2= =A0=C2=A0=C2=A0=C2=A0da0 =C2=A0GPT =C2=A0(894G)
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A034 =C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A032734 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0- free - =C2=A0(16M)
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A032768 =C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0501760 =C2=A0=C2=A0da0p1 =C2=A0PkgBaseEFI =C2=A0(245M)
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0534528 =C2=A0=C2=A0=C2=A020971520 =C2= =A0=C2=A0da0p2 =C2=A0PkgBaseSwp10 =C2=A0(10G)
=C2=A0=C2=A0=C2=A0=C2=A021506048 =C2=A0=C2=A0=C2=A029360128 =C2=A0=C2=A0da0= p3 =C2=A0PkgBaseSwp14 =C2=A0(14G)
=C2=A0=C2=A0=C2=A0=C2=A050866176 =C2=A0=C2=A0=C2=A033554432 =C2=A0=C2=A0da0= p4 =C2=A0PkgBaseSwp16 =C2=A0(16G)
=C2=A0=C2=A0=C2=A0=C2=A084420608 =C2=A0=C2=A0=C2=A067108864 =C2=A0=C2=A0da0= p5 =C2=A0PkgBaseSwp32 =C2=A0(32G)
=C2=A0=C2=A0=C2=A0151529472 =C2=A0=C2=A0=C2=A096468992 =C2=A0=C2=A0da0p6 = =C2=A0PkgBaseSwp46 =C2=A0(46G)
=C2=A0=C2=A0=C2=A0247998464 =C2=A0=C2=A0268435456 =C2=A0=C2=A0da0p7 =C2=A0P= kgBaseSwp128 =C2=A0(128G)
=C2=A0=C2=A0=C2=A0516433920 =C2=A0=C2=A0=C2=A0=C2=A07340032 =C2=A0=C2=A0da0= p8 =C2=A0PkgBaseSwp3p5 =C2=A0(3.5G)
=C2=A0=C2=A0=C2=A0523773952 =C2=A0=C2=A0=C2=A013631488 =C2=A0da0p10 =C2=A0P= kgBaseSwp6p5 =C2=A0(6.5G)
=C2=A0=C2=A0=C2=A0537405440 =C2=A01337979528 =C2=A0=C2=A0da0p9 =C2=A0PkgBas= eUFS =C2=A0(638G)
=C2=A0=C2=A01875384968 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A07 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0- free - = =C2=A0(3.5K)

See: = https://github.com/worproject/rpi5-uefi

# uname -apKU
FreeBSD aarch64-main-pkgs 15.0-CURRENT FreeBSD 15.0-CURRENT #5 main-n269589= -9dcf39575efb-dirty: Sun Apr 21 01:42:00 PDT 2024 =C2=A0=C2=A0=C2=A0=C2=A0r= oot@aarch64-main-pbase:/usr/obj/BUILDs/main-CA76-nodbg-clang/usr/main-src/a= rm64.aarch64/sys/GENERIC-NODBG-CA76 arm64 aarch64 1500018 1500018

That kernel is at: /boot/kernel.CA76-NODBG/kernel in my context.

But I also have kernels that I got from:

https://pkg.freebsd.org/FreeBSD:15:aarch64/base_latest/

that boot it as well:

# strings /boot/kernel.GENERIC-NODEBUG/kernel | grep 15.0-
@(#)FreeBSD 15.0-CURRENT main-n269581-dfa39133b333 GENERIC-NODEBUG
FreeBSD 15.0-CURRENT main-n269581-dfa39133b333 GENERIC-NODEBUG
15.0-CURRENT

And the debug version (witness and such):

# strings /boot/kernel/kernel | grep 15.0-
@(#)FreeBSD 15.0-CURRENT main-n269581-dfa39133b333 GENERIC
FreeBSD 15.0-CURRENT main-n269581-dfa39133b333 GENERIC
15.0-CURRENT

(It has beem a while since I updated.)

All these kernels boot a world that I got from the same:

https://pkg.freebsd.org/FreeBSD:15:aarch64/base_latest/

I do have another world in a directory tree that I built that I
can chroot to.

=3D=3D=3D
Mark Millard
marklmi at yahoo.com

=C2=A0



Hi,

This looks nice. Are there any FreeBSD patches needed to boot a RPI5? Or on= ly an up-to-date EDK2?

And if it works well can we collaborate in documenting the RPI5 on https://= wiki.freebsd.org/arm/Raspberry%20Pi?

Regards,
Ronald.
=C2=A0
--00000000000097d47f06190cdeeb-- From nobody Wed May 22 16:50:23 2024 X-Original-To: arm@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Vky3f2HZTz5M2Cc for ; Wed, 22 May 2024 16:50:38 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic304-24.consmr.mail.gq1.yahoo.com (sonic304-24.consmr.mail.gq1.yahoo.com [98.137.68.205]) (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 did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4Vky3d6PFXz4bs5 for ; Wed, 22 May 2024 16:50:37 +0000 (UTC) (envelope-from marklmi@yahoo.com) Authentication-Results: mx1.freebsd.org; none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1716396635; bh=QOXWWAsJpciT5xxCWyP5MYtz4q+Gf5zrHd+cWmKOMrM=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From:Subject:Reply-To; b=OgVTdqt55B3aJJZ7Ra9iaSrN84UsSUrryHvSml8tvw2UfPR0iPD3nWdM1kg5MvwwW6k4ZdD2QO/B0VKxc4Yhxh8rvHtb5eZF7R7vqjnw34zBgqFoHYh3WiDuCUM7dBJtCXumpeoVy51WzJHQuRw89vMf9E7jOG0931ALVeBBxFSgbSEmf0KnkcHTgH0+31Pm1yjSBdQ3Uvq7sKf4D9owqqO6w/FKwqkvc3IhYNPl8+03/hqV8tJgT+QXIwpSfiUU96TvIbJPgMxL78hP8v8A95Z5++pbdJfigpJzY8OQZc1AV5Dm+PWj5Z/PfVAEK8JI5iJzXUZXbCtbL1ntHehy4A== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1716396635; bh=DnhGSr5aQkIPLL5hM92hP5e9uY1KSbbsD/zPLbQyfTz=; h=X-Sonic-MF:Subject:From:Date:To:From:Subject; b=puwwwms8ipS/ImDQfEuZtXzE0GYjkBGTtAJbEcLpcv/Y7CJRMENeKZUVKnEWhbDsJiie70D4VevbCxT40DEPBP8OA6+iqyiqjUA1O67kld1udD4epsUu/jyWjiva/N0MOZD9f2L/EzX3YhxmTDj47LZyu6ebqeWuwVCe+N6AFgPvu7UZhdY0IoYXlwBtl5ZOft9t52zO5+p6RiEIjXkBIHS3LaRlBVJnSp5IxRJXurJ3ob2Wh5w2TudACDuibmH/8xTc4aCijLVjfKqDgn+6F0AzrMNh0LbJ5rg6yfdmT8ke5ROs0We2u6NOaydD8mzkMhsMzUkknrVcfqW1n0dgrg== X-YMail-OSG: nZZcf0IVM1nR4SX6t7ozW2q5HxegWpZgNp2u7OgSn2yBkxqj.d6mzTPVGHnA40q 2kcAahh6GCBE_8CcP0GV.rJdq.sgOUPWzrfvMVB7o9LyGAGkPjyp4gL4ymTowy7Ug_o5UzpNGj8Z MMjB1zmy7t67HOQdOWrYdAm4Cjl.5RF04KJfRsuJQd1mYoV7gzzEZ6XExdR7qILNLCvCCd7xlyDt RxRQcAT1WMGcOjZC7gBAy2QAZps4NMw_qCrt8Thjb4olIArmA88bgMuKog5f5DFJZsqKEIscx6xa Sc3UbxILd9VXAOpHA5st74s5FqHAL0LD_ZwChP7VEpyg2wb5JMdgzHfDklUgNZYIclcQ0J7WXadF AXmJGW0MsVj5ZS7oBa6sfIskCRJ7P000bVON2O6oCWLW9zHyb2YIPDdoxnTHfzuWWMJEOCZuvlOv Nac966vFlWeYiZcvF8H5xdlXMDAdRG7iSLkq2bwUZBYKsYRF_jxlYmKttY6_YxI3dYD.G5JTt2YT EX_fVJ7uH3VuUFRgVJZJQwh2AC3CvniV.wCGqcPtvTl0wz_3PeAnEDa79s71B88HUPjvzzdCtjQX cxj8e1lPvCQB6NIKqxZjwTyofo1adpxUJnd1GO2f3FNCUz2LyNrkTh7D1P78FxJ2ixye0ZY.OLrc 5M.RS0D37eNyBwb25K_sflaGm3kfCo2t1fI89dslO0OCq2ORiHswxqaeaJodpR9MXT9RwbJ37hCQ EWiMEoAtc5RwK_tx93YfMQBLoNL6X.NMlxWDkWA4LALJHtHhJAs.4gXOYtVIVKdDFrPA4O2OD1l2 mrli6shrAPASDgLIlwP7J2LqOBfJadLtREZVA.HgN_QNOlqooVL75ZCa2jTRAqM2PB6vH_vBj.5S WR9PzOU8wBcN9Dz3rdLvUG7YdkAawp43VIhjWvk3z67_OGby_yO3im07fGtdZExxrYzHBtu87fC. gaY9hZiw4Qrim6sXDk4bPQHmLpJ7jgUsyP9Ai8cAo87cNeBxsw9XZi7rAxYB4.jgbjuBmBF5UGs5 d.SU098l52Z_VBEUIcnvUoTbYC3U6hqChVhqT9RcH0ezxOefpOBzEJWimy0tEb_lKQzC.7O0gI.B MmAGKV4fIlzm0ADY9XzdK0qL_lTyX7Qo9v_ECT4W_YO.J_VMM41B855FqUhIi3_lsMl0oUgm6aRv d1_3RjwIag1yq2RTLlDNB.SpPOE4_WYd.dVdVqIbSyEvglm5mg5COP3bFsOgboBNpobgExnu_Dee dsuNU_8EHXYiUuPkNRyc_OvxrzYMPStEFS5ELT3nu6QZnU96uQCGvVuEQg9HEwElOhi2InfAbOg0 a8FQMdF8dzmBQiVtrNaoPPNGOIv7Odg15A7F9i93kTlIhowPjTrDLTh3rhqnPGwsFXZmKZopd2w9 C6jogZ_LDfjYoBTVnAuKL7fHL2LTStpe5329Rc1E893t5BLk3Cp0xVWtLHI9uA._TNqEDwyivFTw sP77iE2bJYbUYVxJJn.Y8htsMjGtV_96hcnGObAhSIHkr0bpvUqDzh.WHpEFekPo46gcJQKhYouY Qh4JbICkQnWpxds0dzzrD4GmTzD9P7f.BO1olDQbw.dfkNMetHc1CGdX9l02yds0j_dYiHhyCdDL XsxHFdYpZk6voENQjR9pMl8aHRa6CflDKOhAANSerurlEa.f29hEanlHdhpf5j55k3po5hD6J45E EE.G43OsI9g8vfDwpxuAhT9_S6QNn19JrgxtgG9xRt7drzQxX9FEMXRtZ4iVif4n51YnjAqVdjr2 o8nDt4yIma3X4eTTwvvZuI4OG817AJgE9RoOM9ecmoEqA_t8glNAFgzod99l1IfeO2NiWLEEFFxm tBKbE.GobxcJXgd1UV5axPo6t6Gux6g103vlOBkqgE3i7wGM3UD7wPdTp56l2S.AD4byaE7WW9Pw t8PbgnJGuTV1obwzhsMkHczLFKeyj9Af_AHJL.rSWu.JtgKXgaS2bVKQiBb4B3vNvQzuvvkfFWL8 yynQGlG3YMDblzjIaV4ByS78kf0Ie4RGqq.TUZZa7Zv8TUeRB.du8yyNbZSWyO23Sm.6QNxHgkNH se30La106j4dTQZx3YtUBVPQ4G6DPDR4FtrZFxzGvpu3etX2B7JU.niKg3W41dKpPfQgSgL.2ibZ nxsVOs39_sHsZHGAlKq7zv7tFNDNBq2WS2zFY.9OmAYyHPPMNqzGJO5b3YtZVg44O6rzQwq3QRxo q2pCFZe6DjktP5YUNyb6biqqlIB2w0_pgU.fw5canTcUOuyIa4j5RBWhaEP0N7S3Jvh3Hz0yOgD. mpGdN X-Sonic-MF: X-Sonic-ID: d048bcd7-b90c-41f8-99f8-c4c949511345 Received: from sonic.gate.mail.ne1.yahoo.com by sonic304.consmr.mail.gq1.yahoo.com with HTTP; Wed, 22 May 2024 16:50:35 +0000 Received: by hermes--production-gq1-59c575df44-cc288 (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 6a72f9b7342eac815d4c81a282a5b99d; Wed, 22 May 2024 16:50:34 +0000 (UTC) Content-Type: text/plain; charset=us-ascii List-Id: Porting FreeBSD to ARM processors List-Archive: https://lists.freebsd.org/archives/freebsd-arm List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-arm@FreeBSD.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3774.600.62\)) Subject: Re: vmm (bhyve) on GICv2 From: Mark Millard X-Priority: 3 (Normal) In-Reply-To: <1923834610.13708.1716392599662@localhost> Date: Wed, 22 May 2024 09:50:23 -0700 Cc: Mario Marietto , arm@freebsd.org, Lexi Winter Content-Transfer-Encoding: quoted-printable Message-Id: <6117F301-D584-40F7-9022-F90103FF5468@yahoo.com> References: <18B789E4-5891-4F3E-BAB6-05FD45949438@yahoo.com> <1923834610.13708.1716392599662@localhost> To: Ronald Klop X-Mailer: Apple Mail (2.3774.600.62) X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US] X-Rspamd-Queue-Id: 4Vky3d6PFXz4bs5 On May 22, 2024, at 08:43, Ronald Klop wrote: >> Van: Mark Millard >> Datum: woensdag, 22 mei 2024 17:34 >> Aan: Lexi Winter >> CC: Mario Marietto , arm@freebsd.org >> Onderwerp: Re: vmm (bhyve) on GICv2 >> On May 22, 2024, at 00:25, Lexi Winter wrote: >>=20 >> > Mario Marietto: >> >> On Wed, May 22, 2024 at 9:03AM Lexi Winter = wrote: >> >>> i was pleased to see ARM64 vmm has been merged to main recently. >> >>> >> >>> i have several use-cases to run bhyve on RPi4, but unfortunately = this >> >>> hardware only supports GICv2 while vmm requires GICv3. >> >>> >> >>> does anyone have an idea if GICv2 is likely to be supported in = the >> >>> future? >> >> >> >> Does RPi5 support GICv3 ? I would like to know which kind of = relatively >> >> cheap arm hardware can run bhyve. >> > >> > i don't know off hand, but i do know FreeBSD doesn't support RPi5 = at >> > all right now, so this is not an immediate solution :-) >>=20 >> I boot and run a RPi5 via EDK2 in the microsd card slot and a USB3 >> UFS system media (that has lots of different swap partition sizes >> for use on various machines with widely varying amounts of RAM): >>=20 >> # gpart show -pl >> =3D> 40 249737136 mmcsd0 GPT (119G) >> 40 2008 - free - (1.0M) >> 2048 249733120 mmcsd0p1 RPi5-edk2 (119G) >> 249735168 2008 - free - (1.0M) >>=20 >> =3D> 34 1875384941 da0 GPT (894G) >> 34 32734 - free - (16M) >> 32768 501760 da0p1 PkgBaseEFI (245M) >> 534528 20971520 da0p2 PkgBaseSwp10 (10G) >> 21506048 29360128 da0p3 PkgBaseSwp14 (14G) >> 50866176 33554432 da0p4 PkgBaseSwp16 (16G) >> 84420608 67108864 da0p5 PkgBaseSwp32 (32G) >> 151529472 96468992 da0p6 PkgBaseSwp46 (46G) >> 247998464 268435456 da0p7 PkgBaseSwp128 (128G) >> 516433920 7340032 da0p8 PkgBaseSwp3p5 (3.5G) >> 523773952 13631488 da0p10 PkgBaseSwp6p5 (6.5G) >> 537405440 1337979528 da0p9 PkgBaseUFS (638G) >> 1875384968 7 - free - (3.5K) >>=20 >> See: https://github.com/worproject/rpi5-uefi >>=20 >> # uname -apKU >> FreeBSD aarch64-main-pkgs 15.0-CURRENT FreeBSD 15.0-CURRENT #5 = main-n269589-9dcf39575efb-dirty: Sun Apr 21 01:42:00 PDT 2024 = root@aarch64-main-pbase:/usr/obj/BUILDs/main-CA76-nodbg-clang/usr/main-src= /arm64.aarch64/sys/GENERIC-NODBG-CA76 arm64 aarch64 1500018 1500018 >>=20 >> That kernel is at: /boot/kernel.CA76-NODBG/kernel in my context. >>=20 >> But I also have kernels that I got from: >>=20 >> https://pkg.freebsd.org/FreeBSD:15:aarch64/base_latest/ >>=20 >> that boot it as well: >>=20 >> # strings /boot/kernel.GENERIC-NODEBUG/kernel | grep 15.0- >> @(#)FreeBSD 15.0-CURRENT main-n269581-dfa39133b333 GENERIC-NODEBUG >> FreeBSD 15.0-CURRENT main-n269581-dfa39133b333 GENERIC-NODEBUG >> 15.0-CURRENT >>=20 >> And the debug version (witness and such): >>=20 >> # strings /boot/kernel/kernel | grep 15.0- >> @(#)FreeBSD 15.0-CURRENT main-n269581-dfa39133b333 GENERIC >> FreeBSD 15.0-CURRENT main-n269581-dfa39133b333 GENERIC >> 15.0-CURRENT >>=20 >> (It has beem a while since I updated.) >>=20 >> All these kernels boot a world that I got from the same: >>=20 >> https://pkg.freebsd.org/FreeBSD:15:aarch64/base_latest/ >>=20 >> I do have another world in a directory tree that I built that I >> can chroot to. >>=20 >> =3D=3D=3D >> Mark Millard >> marklmi at yahoo.com >>=20 > =20 >=20 > Hi, >=20 > This looks nice. Are there any FreeBSD patches needed to boot a RPI5? = Or only an up-to-date EDK2? The kernels and world installed via use of: https://pkg.freebsd.org/FreeBSD:15:aarch64/base_latest/ that I referenced were/are used unmodified. Those materials are as built by the FreeBSD project, not built by me. I build my other kernels and the world that I can chroot to in order to experiment with builds that explicitly target Cortext-A76 instruction set compatible aarch64 contexts. Such is not required. The same Cortex-A76 kernels and world can be used on the Windows DevKit 2023's combination of Cortex-X1C's and Cortex-A78C's. I have only tried EDK2 as distributed via: https://github.com/worproject/rpi5-uefi/ I have not built it myself. > And if it works well can we collaborate in documenting the RPI5 on = https://wiki.freebsd.org/arm/Raspberry%20Pi? I'll note that my normal use is headless: serial console and ssh-over-ethernet. The EtherNet use is via a USB3 dongle: the built-in EtherNet is not supported via EDK2. Also, I leave the microsd card that has EDK2 on it in the microsd card slot and do not normally have it mounted. But the /etc/fstab that I use has a line: /dev/gpt/RPi5-edk2 /RPi5-edk2 msdosfs = rw,noatime,noauto 0 0 to mount it when desired. Presuming the /RPi5-edk2/ was created previously: # mount /RPi5-edk2 # ls -loaT /RPi5-edk2 total 2180 drwxr-xr-x 1 root wheel - 32768 Dec 31 23:00:00 1979 . drwxr-xr-x 26 root wheel - 512 May 22 09:29:16 2024 .. -rwxr-xr-x 1 root wheel uarch 2031616 Mar 16 03:43:48 2024 RPI_EFI.fd -rwxr-xr-x 1 root wheel - 76038 Mar 15 20:46:12 2024 = bcm2712-rpi-5-b.dtb -rwxr-xr-x 1 root wheel uarch 474 Apr 19 18:38:24 2024 config.txt -rwxr-xr-x 1 root wheel uarch 474 Apr 19 18:38:24 2024 = config.txt.m_m_edk2_rpi5 # cat /RPi5-edk2/config.txt armstub=3DRPI_EFI.fd device_tree_address=3D0x1f0000 device_tree_end=3D0x210000 # Force 32 bpp framebuffer allocation. framebuffer_depth=3D32 # Disable compensation for displays with overscan. disable_overscan=3D1 # Force maximum USB power regardless of the power supply. usb_max_current_enable=3D1 # Force maximum CPU speed. force_turbo=3D1 # # Local additions: enable_uart=3D1 uart_2ndstage=3D1 dtdebug=3D1 disable_commandline_tags=3D1 # [pi5] over_voltage_delta=3D100000 arm_freq=3D2600 [all] The local additions are not required. I'll note that: https://github.com/worproject/rpi5-uefi/blob/master/README.md documents ACPI mode as supporting (extracted from a table): OS: FreeBSD Version: 13.2 Tested/supported hardware: Display, UART, USB, SD, PCIe Notes: * SD is limited to HS. DeviceTree mode is documented with just: QUOTE The included DTB is meant for the RPi downstream 6.1.y kernel. END QUOTE And, so, FreeBSD is likely not a useful match to DeviceTree mode at this time. =3D=3D=3D Mark Millard marklmi at yahoo.com From nobody Wed May 22 17:20:11 2024 X-Original-To: arm@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4VkykX1xq1z5M55v for ; Wed, 22 May 2024 17:20:52 +0000 (UTC) (envelope-from marietto2008@gmail.com) Received: from mail-pj1-x1030.google.com (mail-pj1-x1030.google.com [IPv6:2607:f8b0:4864:20::1030]) (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 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VkykW6xQpz4gbh for ; Wed, 22 May 2024 17:20:51 +0000 (UTC) (envelope-from marietto2008@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-pj1-x1030.google.com with SMTP id 98e67ed59e1d1-2b432be5cc9so1455642a91.3 for ; Wed, 22 May 2024 10:20:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1716398448; x=1717003248; darn=freebsd.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=ljScmBrc+OU/KcqOq5rYXbsfWey+FWtv83yq2Y9Hb7g=; b=AbSClAY0/O1C2ERJd+0C7v/9KUdxpmAGo+Xq4CXX2RZB/D4fg8wU9A4SchrNdh7sxy mGO0/lulCB3QGORNvaFwmtWVdnjnrPAqxoq+P2b+XreCgqBOyIf2nJdfAUuoIfDWgE7t RZyYeqKveuszSYDYJoO+l6zj6e79BW5Pq2Pcp14O5gWfaHOD6N6RbWSL3gfgI6AoN7LE aoVqnvtIqXsMdZukMyJJ0qh3HPOJlGNH7T3mjYjIdX4KBYucIiV67KSWqk31LFUltpK4 xuQ46gZU1kIhGUQpd8QkSAVELp4umehHvZkkvWWjd3dlmJDHyf0cZeKRnSL0e9j8basH 0BtQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716398448; x=1717003248; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=ljScmBrc+OU/KcqOq5rYXbsfWey+FWtv83yq2Y9Hb7g=; b=MPiZPfJuRYf/syD5IDuTs5gh4TbYjWDEZhs6nnV+oigMMFUClMIaRfJEbKcjMvXztN ekZXBFmSrfuaervkfnPGB9K4oJnFTJL8At6G4tBbS059YA7K6X4n9aBaEPINdB/C67n9 9H3VCc6yw3Ht8n3niHmh2qpmDpeFcKbSR0/0TA3QcNzY8GjVCuBPgYNbUK9hwd0T5mqE 70nm8uJ8qlaG/3njN6P8yHHjvH47MuaD75bRBpDnJevPCAZeSONTI5Vzd23X+ipRfSOO gytDCLp2V14YIjuXUZt6DSKOypUXYKPUwJCktBBuHOUnkcbKap5a93UwQJFg3z4AdHBX siWg== X-Forwarded-Encrypted: i=1; AJvYcCXDEK8Z5EKPzGYucdsM4ifT3DQAfd5ll1+cI06BSKqvenFxs6HOumuExWAsSN5syO48yqR8HRDsetI8kiSY2TA= X-Gm-Message-State: AOJu0YwWbyB5PNcLokIF1XkBAI1VnKuA9nKR84qgv5DpuBE2weJIC56F QdyCUS+nw67+vaDef93eaaIWEThxazMmo7P3tUmSuBRMjJV+SFMLL93BzZzl988U/I/7fXUGREF Kb4P+/8J/c5WpORoFuXiz13Y8Fs2U2F5cdTg= X-Google-Smtp-Source: AGHT+IEus+BOKV6a6GD+h76/ay7FWSEMHczk1u2fTtt6J+6CIR6be+Z2zQOYnLjpBwU6hDx53w5haCdPaF1qyBvhcpw= X-Received: by 2002:a17:90a:1788:b0:2ae:6e16:da91 with SMTP id 98e67ed59e1d1-2bd9f461d5fmr2772559a91.29.1716398447509; Wed, 22 May 2024 10:20:47 -0700 (PDT) List-Id: Porting FreeBSD to ARM processors List-Archive: https://lists.freebsd.org/archives/freebsd-arm List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-arm@FreeBSD.org MIME-Version: 1.0 References: <18B789E4-5891-4F3E-BAB6-05FD45949438@yahoo.com> <1923834610.13708.1716392599662@localhost> <6117F301-D584-40F7-9022-F90103FF5468@yahoo.com> In-Reply-To: <6117F301-D584-40F7-9022-F90103FF5468@yahoo.com> From: Mario Marietto Date: Wed, 22 May 2024 19:20:11 +0200 Message-ID: Subject: Re: vmm (bhyve) on GICv2 To: Mark Millard Cc: Ronald Klop , arm@freebsd.org, Lexi Winter Content-Type: multipart/alternative; boundary="000000000000c1ce3406190e278c" X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US] X-Rspamd-Queue-Id: 4VkykW6xQpz4gbh --000000000000c1ce3406190e278c Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Can someone confirm that bhyve works ok on the RockPro64 (RK3399) ? Has bhyve been patched in relation to this bug : https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D277559 ? I read that there is a huge amount of work to do on the RPI5 before it works with FreeBSD. And anyway,it does not support bhyve. So if I will buy a soc,it will be the RockPro64.... On Wed, May 22, 2024 at 6:50=E2=80=AFPM Mark Millard wr= ote: > On May 22, 2024, at 08:43, Ronald Klop wrote: > > > >> Van: Mark Millard > >> Datum: woensdag, 22 mei 2024 17:34 > >> Aan: Lexi Winter > >> CC: Mario Marietto , arm@freebsd.org > >> Onderwerp: Re: vmm (bhyve) on GICv2 > >> On May 22, 2024, at 00:25, Lexi Winter wrote: > >> > >> > Mario Marietto: > >> >> On Wed, May 22, 2024 at 9:03AM Lexi Winter wrote: > >> >>> i was pleased to see ARM64 vmm has been merged to main recently. > >> >>> > >> >>> i have several use-cases to run bhyve on RPi4, but unfortunately > this > >> >>> hardware only supports GICv2 while vmm requires GICv3. > >> >>> > >> >>> does anyone have an idea if GICv2 is likely to be supported in the > >> >>> future? > >> >> > >> >> Does RPi5 support GICv3 ? I would like to know which kind of > relatively > >> >> cheap arm hardware can run bhyve. > >> > > >> > i don't know off hand, but i do know FreeBSD doesn't support RPi5 at > >> > all right now, so this is not an immediate solution :-) > >> > >> I boot and run a RPi5 via EDK2 in the microsd card slot and a USB3 > >> UFS system media (that has lots of different swap partition sizes > >> for use on various machines with widely varying amounts of RAM): > >> > >> # gpart show -pl > >> =3D> 40 249737136 mmcsd0 GPT (119G) > >> 40 2008 - free - (1.0M) > >> 2048 249733120 mmcsd0p1 RPi5-edk2 (119G) > >> 249735168 2008 - free - (1.0M) > >> > >> =3D> 34 1875384941 da0 GPT (894G) > >> 34 32734 - free - (16M) > >> 32768 501760 da0p1 PkgBaseEFI (245M) > >> 534528 20971520 da0p2 PkgBaseSwp10 (10G) > >> 21506048 29360128 da0p3 PkgBaseSwp14 (14G) > >> 50866176 33554432 da0p4 PkgBaseSwp16 (16G) > >> 84420608 67108864 da0p5 PkgBaseSwp32 (32G) > >> 151529472 96468992 da0p6 PkgBaseSwp46 (46G) > >> 247998464 268435456 da0p7 PkgBaseSwp128 (128G) > >> 516433920 7340032 da0p8 PkgBaseSwp3p5 (3.5G) > >> 523773952 13631488 da0p10 PkgBaseSwp6p5 (6.5G) > >> 537405440 1337979528 da0p9 PkgBaseUFS (638G) > >> 1875384968 7 - free - (3.5K) > >> > >> See: https://github.com/worproject/rpi5-uefi > >> > >> # uname -apKU > >> FreeBSD aarch64-main-pkgs 15.0-CURRENT FreeBSD 15.0-CURRENT #5 > main-n269589-9dcf39575efb-dirty: Sun Apr 21 01:42:00 PDT 2024 > root@aarch64-main-pbase:/usr/obj/BUILDs/main-CA76-nodbg-clang/usr/main-s= rc/arm64.aarch64/sys/GENERIC-NODBG-CA76 > arm64 aarch64 1500018 1500018 > >> > >> That kernel is at: /boot/kernel.CA76-NODBG/kernel in my context. > >> > >> But I also have kernels that I got from: > >> > >> https://pkg.freebsd.org/FreeBSD:15:aarch64/base_latest/ > >> > >> that boot it as well: > >> > >> # strings /boot/kernel.GENERIC-NODEBUG/kernel | grep 15.0- > >> @(#)FreeBSD 15.0-CURRENT main-n269581-dfa39133b333 GENERIC-NODEBUG > >> FreeBSD 15.0-CURRENT main-n269581-dfa39133b333 GENERIC-NODEBUG > >> 15.0-CURRENT > >> > >> And the debug version (witness and such): > >> > >> # strings /boot/kernel/kernel | grep 15.0- > >> @(#)FreeBSD 15.0-CURRENT main-n269581-dfa39133b333 GENERIC > >> FreeBSD 15.0-CURRENT main-n269581-dfa39133b333 GENERIC > >> 15.0-CURRENT > >> > >> (It has beem a while since I updated.) > >> > >> All these kernels boot a world that I got from the same: > >> > >> https://pkg.freebsd.org/FreeBSD:15:aarch64/base_latest/ > >> > >> I do have another world in a directory tree that I built that I > >> can chroot to. > >> > >> =3D=3D=3D > >> Mark Millard > >> marklmi at yahoo.com > >> > > > > > > Hi, > > > > This looks nice. Are there any FreeBSD patches needed to boot a RPI5? O= r > only an up-to-date EDK2? > > The kernels and world installed via use of: > > https://pkg.freebsd.org/FreeBSD:15:aarch64/base_latest/ > > that I referenced were/are used unmodified. Those materials are > as built by the FreeBSD project, not built by me. > > I build my other kernels and the world that I can chroot to > in order to experiment with builds that explicitly target > Cortext-A76 instruction set compatible aarch64 contexts. Such > is not required. The same Cortex-A76 kernels and world can be > used on the Windows DevKit 2023's combination of Cortex-X1C's > and Cortex-A78C's. > > I have only tried EDK2 as distributed via: > > https://github.com/worproject/rpi5-uefi/ > > I have not built it myself. > > > And if it works well can we collaborate in documenting the RPI5 on > https://wiki.freebsd.org/arm/Raspberry%20Pi? > > I'll note that my normal use is headless: serial console and > ssh-over-ethernet. The EtherNet use is via a USB3 dongle: the > built-in EtherNet is not supported via EDK2. > > Also, I leave the microsd card that has EDK2 on it in the > microsd card slot and do not normally have it mounted. But > the /etc/fstab that I use has a line: > > /dev/gpt/RPi5-edk2 /RPi5-edk2 msdosfs rw,noatime,noauto > 0 0 > > to mount it when desired. Presuming the /RPi5-edk2/ was > created previously: > > # mount /RPi5-edk2 > > # ls -loaT /RPi5-edk2 > total 2180 > drwxr-xr-x 1 root wheel - 32768 Dec 31 23:00:00 1979 . > drwxr-xr-x 26 root wheel - 512 May 22 09:29:16 2024 .. > -rwxr-xr-x 1 root wheel uarch 2031616 Mar 16 03:43:48 2024 RPI_EFI.fd > -rwxr-xr-x 1 root wheel - 76038 Mar 15 20:46:12 2024 > bcm2712-rpi-5-b.dtb > -rwxr-xr-x 1 root wheel uarch 474 Apr 19 18:38:24 2024 config.txt > -rwxr-xr-x 1 root wheel uarch 474 Apr 19 18:38:24 2024 > config.txt.m_m_edk2_rpi5 > > # cat /RPi5-edk2/config.txt > armstub=3DRPI_EFI.fd > device_tree_address=3D0x1f0000 > device_tree_end=3D0x210000 > > # Force 32 bpp framebuffer allocation. > framebuffer_depth=3D32 > > # Disable compensation for displays with overscan. > disable_overscan=3D1 > > # Force maximum USB power regardless of the power supply. > usb_max_current_enable=3D1 > > # Force maximum CPU speed. > force_turbo=3D1 > > # > # Local additions: > enable_uart=3D1 > uart_2ndstage=3D1 > dtdebug=3D1 > disable_commandline_tags=3D1 > # > [pi5] > over_voltage_delta=3D100000 > arm_freq=3D2600 > [all] > > The local additions are not required. > > I'll note that: > > https://github.com/worproject/rpi5-uefi/blob/master/README.md > > documents ACPI mode as supporting (extracted from a table): > > OS: FreeBSD > Version: 13.2 > Tested/supported hardware: Display, UART, USB, SD, PCIe > Notes: * SD is limited to HS. > > DeviceTree mode is documented with just: > > QUOTE > The included DTB is meant for the RPi downstream 6.1.y kernel. > END QUOTE > > And, so, FreeBSD is likely not a useful match to DeviceTree > mode at this time. > > =3D=3D=3D > Mark Millard > marklmi at yahoo.com > > --=20 Mario. --000000000000c1ce3406190e278c Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Can someone confirm that bhyve works ok on the RockPr= o64 (RK3399) ? Has bhyve been patched in relation to this bug :
<= br>

?

I read= that there is a huge amount of work to do on the RPI5 before it works with= FreeBSD. And anyway,it does not support bhyve. So if I will buy a soc,it w= ill be the RockPro64....



<= div class=3D"gmail_quote">
On Wed, May= 22, 2024 at 6:50=E2=80=AFPM Mark Millard <marklmi@yahoo.com> wrote:
On May 22, 2024, at 08:43, Ronal= d Klop <ronald= -lists@klop.ws> wrote:


>> Van: Mark Millard <marklmi@yahoo.com>
>> Datum: woensdag, 22 mei 2024 17:34
>> Aan: Lexi Winter <lexi@le-fay.org>
>> CC: Mario Marietto <marietto2008@gmail.com>, arm@freebsd.org
>> Onderwerp: Re: vmm (bhyve) on GICv2
>> On May 22, 2024, at 00:25, Lexi Winter <lexi@le-fay.org> wrote:
>>
>> > Mario Marietto:
>> >> On Wed, May 22, 2024 at 9:03AM Lexi Winter <lexi@le-fay.org> wrote: >> >>> i was pleased to see ARM64 vmm has been merged to mai= n recently.
>> >>>
>> >>> i have several use-cases to run bhyve on RPi4, but un= fortunately this
>> >>> hardware only supports GICv2 while vmm requires GICv3= .
>> >>>
>> >>> does anyone have an idea if GICv2 is likely to be sup= ported in the
>> >>> future?
>> >>
>> >> Does RPi5 support GICv3 ? I would like to know which kind= of relatively
>> >> cheap arm hardware can run bhyve.
>> >
>> > i don't know off hand, but i do know FreeBSD doesn't = support RPi5 at
>> > all right now, so this is not an immediate solution :-)
>>
>> I boot and run a RPi5 via EDK2 in the microsd card slot and a USB3=
>> UFS system media (that has lots of different swap partition sizes<= br> >> for use on various machines with widely varying amounts of RAM): >>
>> # gpart show -pl
>> =3D>=C2=A0 =C2=A0 =C2=A0 =C2=A040=C2=A0 249737136=C2=A0 =C2=A0 = mmcsd0=C2=A0 GPT=C2=A0 (119G)
>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 40=C2=A0 =C2=A0 =C2=A0 =C2=A0200= 8=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 - free -=C2=A0 (1.0M)
>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 2048=C2=A0 249733120=C2=A0 mmcsd0p1=C2= =A0 RPi5-edk2=C2=A0 (119G)
>>=C2=A0 =C2=A0249735168=C2=A0 =C2=A0 =C2=A0 =C2=A02008=C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 - free -=C2=A0 (1.0M)
>>
>> =3D>=C2=A0 =C2=A0 =C2=A0 =C2=A0 34=C2=A0 1875384941=C2=A0 =C2= =A0 =C2=A0da0=C2=A0 GPT=C2=A0 (894G)
>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A034=C2=A0 =C2=A0 =C2=A0 =C2= =A032734=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 - free -=C2=A0 (16M)
>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 32768=C2=A0 =C2=A0 =C2=A0 501760=C2=A0 = =C2=A0da0p1=C2=A0 PkgBaseEFI=C2=A0 (245M)
>>=C2=A0 =C2=A0 =C2=A0 =C2=A0534528=C2=A0 =C2=A0 20971520=C2=A0 =C2= =A0da0p2=C2=A0 PkgBaseSwp10=C2=A0 (10G)
>>=C2=A0 =C2=A0 =C2=A021506048=C2=A0 =C2=A0 29360128=C2=A0 =C2=A0da0p= 3=C2=A0 PkgBaseSwp14=C2=A0 (14G)
>>=C2=A0 =C2=A0 =C2=A050866176=C2=A0 =C2=A0 33554432=C2=A0 =C2=A0da0p= 4=C2=A0 PkgBaseSwp16=C2=A0 (16G)
>>=C2=A0 =C2=A0 =C2=A084420608=C2=A0 =C2=A0 67108864=C2=A0 =C2=A0da0p= 5=C2=A0 PkgBaseSwp32=C2=A0 (32G)
>>=C2=A0 =C2=A0 151529472=C2=A0 =C2=A0 96468992=C2=A0 =C2=A0da0p6=C2= =A0 PkgBaseSwp46=C2=A0 (46G)
>>=C2=A0 =C2=A0 247998464=C2=A0 =C2=A0268435456=C2=A0 =C2=A0da0p7=C2= =A0 PkgBaseSwp128=C2=A0 (128G)
>>=C2=A0 =C2=A0 516433920=C2=A0 =C2=A0 =C2=A07340032=C2=A0 =C2=A0da0p= 8=C2=A0 PkgBaseSwp3p5=C2=A0 (3.5G)
>>=C2=A0 =C2=A0 523773952=C2=A0 =C2=A0 13631488=C2=A0 da0p10=C2=A0 Pk= gBaseSwp6p5=C2=A0 (6.5G)
>>=C2=A0 =C2=A0 537405440=C2=A0 1337979528=C2=A0 =C2=A0da0p9=C2=A0 Pk= gBaseUFS=C2=A0 (638G)
>>=C2=A0 =C2=A01875384968=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A07= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 - free -=C2=A0 (3.5K)
>>
>> See: https://github.com/worproject/rpi5-uefi
>>
>> # uname -apKU
>> FreeBSD aarch64-main-pkgs 15.0-CURRENT FreeBSD 15.0-CURRENT #5 mai= n-n269589-9dcf39575efb-dirty: Sun Apr 21 01:42:00 PDT 2024=C2=A0 =C2=A0 =C2= =A0root@aarch64-main-pbase:/usr/obj/BUILDs/main-CA76-nodbg-clang/usr/main-s= rc/arm64.aarch64/sys/GENERIC-NODBG-CA76 arm64 aarch64 1500018 1500018
>>
>> That kernel is at: /boot/kernel.CA76-NODBG/kernel in my context. >>
>> But I also have kernels that I got from:
>>
>> https://pkg.freebsd.org/FreeBSD:15:a= arch64/base_latest/
>>
>> that boot it as well:
>>
>> # strings /boot/kernel.GENERIC-NODEBUG/kernel | grep 15.0-
>> @(#)FreeBSD 15.0-CURRENT main-n269581-dfa39133b333 GENERIC-NODEBUG=
>> FreeBSD 15.0-CURRENT main-n269581-dfa39133b333 GENERIC-NODEBUG
>> 15.0-CURRENT
>>
>> And the debug version (witness and such):
>>
>> # strings /boot/kernel/kernel | grep 15.0-
>> @(#)FreeBSD 15.0-CURRENT main-n269581-dfa39133b333 GENERIC
>> FreeBSD 15.0-CURRENT main-n269581-dfa39133b333 GENERIC
>> 15.0-CURRENT
>>
>> (It has beem a while since I updated.)
>>
>> All these kernels boot a world that I got from the same:
>>
>> https://pkg.freebsd.org/FreeBSD:15:a= arch64/base_latest/
>>
>> I do have another world in a directory tree that I built that I >> can chroot to.
>>
>> =3D=3D=3D
>> Mark Millard
>> marklmi at yahoo.com
>>
>=C2=A0 =C2=A0
>
> Hi,
>
> This looks nice. Are there any FreeBSD patches needed to boot a RPI5? = Or only an up-to-date EDK2?

The kernels and world installed via use of:

https://pkg.freebsd.org/FreeBSD:15:aarch64/ba= se_latest/

that I referenced were/are used unmodified. Those materials are
as built by the FreeBSD project, not built by me.

I build my other kernels and the world that I can chroot to
in order to experiment with builds that explicitly target
Cortext-A76 instruction set compatible aarch64 contexts. Such
is not required. The same Cortex-A76 kernels and world can be
used on the Windows DevKit 2023's combination of Cortex-X1C's
and Cortex-A78C's.

I have only tried EDK2 as distributed via:

https://github.com/worproject/rpi5-uefi/

I have not built it myself.

> And if it works well can we collaborate in documenting the RPI5 on https://wiki.freebsd.org/arm/Raspberry%20Pi?

I'll note that my normal use is headless: serial console and
ssh-over-ethernet. The EtherNet use is via a USB3 dongle: the
built-in EtherNet is not supported via EDK2.

Also, I leave the microsd card that has EDK2 on it in the
microsd card slot and do not normally have it mounted. But
the /etc/fstab that I use has a line:

/dev/gpt/RPi5-edk2=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 /RPi5-ed= k2=C2=A0 =C2=A0 =C2=A0 msdosfs rw,noatime,noauto=C2=A0 =C2=A0 =C2=A0 =C2=A0= 0=C2=A0 =C2=A0 =C2=A0 =C2=A00

to mount it when desired. Presuming the /RPi5-edk2/ was
created previously:

# mount /RPi5-edk2

# ls -loaT /RPi5-edk2
total 2180
drwxr-xr-x=C2=A0 =C2=A01 root wheel -=C2=A0 =C2=A0 =C2=A0 =C2=A032768 Dec 3= 1 23:00:00 1979 .
drwxr-xr-x=C2=A0 26 root wheel -=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0512 May 2= 2 09:29:16 2024 ..
-rwxr-xr-x=C2=A0 =C2=A01 root wheel uarch 2031616 Mar 16 03:43:48 2024 RPI_= EFI.fd
-rwxr-xr-x=C2=A0 =C2=A01 root wheel -=C2=A0 =C2=A0 =C2=A0 =C2=A076038 Mar 1= 5 20:46:12 2024 bcm2712-rpi-5-b.dtb
-rwxr-xr-x=C2=A0 =C2=A01 root wheel uarch=C2=A0 =C2=A0 =C2=A0474 Apr 19 18:= 38:24 2024 config.txt
-rwxr-xr-x=C2=A0 =C2=A01 root wheel uarch=C2=A0 =C2=A0 =C2=A0474 Apr 19 18:= 38:24 2024 config.txt.m_m_edk2_rpi5

# cat /RPi5-edk2/config.txt
armstub=3DRPI_EFI.fd
device_tree_address=3D0x1f0000
device_tree_end=3D0x210000

# Force 32 bpp framebuffer allocation.
framebuffer_depth=3D32

# Disable compensation for displays with overscan.
disable_overscan=3D1

# Force maximum USB power regardless of the power supply.
usb_max_current_enable=3D1

# Force maximum CPU speed.
force_turbo=3D1

#
# Local additions:
enable_uart=3D1
uart_2ndstage=3D1
dtdebug=3D1
disable_commandline_tags=3D1
#
[pi5]
over_voltage_delta=3D100000
arm_freq=3D2600
[all]

The local additions are not required.

I'll note that:

https://github.com/worproject/rpi5-uefi= /blob/master/README.md

documents ACPI mode as supporting (extracted from a table):

OS:=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 FreeBSD
Version:=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A013.2
Tested/supported hardware: Display, UART, USB, SD, PCIe
Notes:=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0* SD is limited to HS.

DeviceTree mode is documented with just:

QUOTE
The included DTB is meant for the RPi downstream 6.1.y kernel.
END QUOTE

And, so, FreeBSD is likely not a useful match to DeviceTree
mode at this time.

=3D=3D=3D
Mark Millard
marklmi at yahoo.com



--
Mario.
--000000000000c1ce3406190e278c-- From nobody Wed May 22 18:49:57 2024 X-Original-To: freebsd-arm@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Vl0j531xZz5KThS for ; Wed, 22 May 2024 18:49:45 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Received: from www.zefox.net (www.zefox.net [50.1.20.27]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "generic", Issuer "generic" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Vl0j44MhCz4sfl for ; Wed, 22 May 2024 18:49:44 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of fbsd@www.zefox.net has no SPF policy when checking 50.1.20.27) smtp.mailfrom=fbsd@www.zefox.net Received: from www.zefox.net (localhost [127.0.0.1]) by www.zefox.net (8.17.1/8.17.1) with ESMTPS id 44MInvYO034085 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Wed, 22 May 2024 11:49:58 -0700 (PDT) (envelope-from fbsd@www.zefox.net) Received: (from fbsd@localhost) by www.zefox.net (8.17.1/8.17.1/Submit) id 44MInvho034084; Wed, 22 May 2024 11:49:57 -0700 (PDT) (envelope-from fbsd) Date: Wed, 22 May 2024 11:49:57 -0700 From: bob prohaska To: freebsd-arm@freebsd.org Cc: bob prohaska Subject: error: merge died of signal 1115) Message-ID: List-Id: Porting FreeBSD to ARM processors List-Archive: https://lists.freebsd.org/archives/freebsd-arm List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-arm@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Spamd-Bar: - X-Spamd-Result: default: False [-1.10 / 15.00]; AUTH_NA(1.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; WWW_DOT_DOMAIN(0.50)[]; MID_RHS_WWW(0.50)[]; MIME_GOOD(-0.10)[text/plain]; TO_DN_SOME(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:7065, ipnet:50.1.16.0/20, country:US]; RCVD_TLS_LAST(0.00)[]; MISSING_XM_UA(0.00)[]; ARC_NA(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; MLMMJ_DEST(0.00)[freebsd-arm@freebsd.org]; RCPT_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; R_DKIM_NA(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; DMARC_NA(0.00)[zefox.net]; TO_MATCH_ENVRCPT_SOME(0.00)[]; R_SPF_NA(0.00)[no SPF record] X-Rspamd-Queue-Id: 4Vl0j44MhCz4sfl [aside, the trailing ) in the subject isn't a typo] A Pi2 v1.1 running FreeBSD www.zefox.com 14.0-RELEASE-p6 FreeBSD 14.0-RELEASE-p6 #51 +releng/14.0-n265417-d338712beb16: Sat Apr 6 23:48:20 PDT 2024 +bob@www.zefox.com:/usr/obj/usr/src/arm.armv7/sys/GENERIC arm reported error: merge died of signal 1115) while running git pull. Any ideas what it means? Re-running git pull elicted: error: Unable to create '/usr/src/.git/index.lock': File exists. Deleting the errant lock file has resulted in error: Your local changes to the following files would be overwritten by merge: ....[long list of files] Perhaps more important, how does one recover? So far attempts at git reset didn't help. There are no local changes to preserve, but re-cloning is a slow and sometimes difficult process. Thanks for reading, and any guidance! bob prohaska From nobody Wed May 22 19:20:35 2024 X-Original-To: arm@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Vl1Nk1CBtz5KXmK for ; Wed, 22 May 2024 19:20:38 +0000 (UTC) (envelope-from jfc@mit.edu) Received: from NAM11-DM6-obe.outbound.protection.outlook.com (mail-dm6nam11on2105.outbound.protection.outlook.com [40.107.223.105]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "DigiCert Cloud Services CA-1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Vl1Nj59sjz3y53 for ; Wed, 22 May 2024 19:20:37 +0000 (UTC) (envelope-from jfc@mit.edu) Authentication-Results: mx1.freebsd.org; none ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=TweqtHHdItz4bRVIrTgIVqwfWK/rY38WZ2nnRXBdV2837lJIyYWvo5fuLBNCzMVV4l/xKKqdt4TnxHwO35axn5jpoyEbw2QUwAX2lfbLMxM0zcuBLm7bXqYpftV91goxAvPJBLkn0ZwqRe+ZCBp8EvWo6Kdl5UDUHHWwWTx/QdfToos0lGRyst2YnMO7ROBFayiTC0i3fnlWvAqlBRKrRlhvdtJ8qNiw5NqlOkigSpo9aO6FSQVapo0MVVqkLnjAI8WFylYnzQ+abB7SwDI/Nw4X2yeDKjZIuf4PcKI8h5jJ3VIu2HCnaevhOF/w4jL3VRYAJ62Qs3aK6csOXK9rsw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=tYjKkxrU+2z2Vs0eCNRAt6LuQ4PpWbKolvfVLcrtxxA=; b=dfA38W6r6KOfpGXhrG2cB+S+u8e13kivsA23FFiRWbaqV2JzcGf2rWcuspz91Tz/jV8vK9c5yeIkH6BrkA96hseZqlASgcBRh8toT2x0n7zpMaAtCTiJTZrN3gAiN4BMsCZdcblRHpmRxkXiTUbgIOmz4CDe/mjB7+PGcu4TAlYX3thY/AHfYkNgWK17wXl7vuDupU+QBtkWubs+Jiep6/QL5oRy/lWVzNkfNOagmPmPu0yuhfs/KQjteHR60E5iUCYv7PKe/9Q0D5VZN5ACvP1yYuVIxg9Afxn39l5/qds80KpDLvwWSw3uDSKRagh1+zLAdqJ9SACiSM9lKYMSSA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=mit.edu; dmarc=pass action=none header.from=mit.edu; dkim=pass header.d=mit.edu; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mit.edu; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=tYjKkxrU+2z2Vs0eCNRAt6LuQ4PpWbKolvfVLcrtxxA=; b=rUWG2qCiSorFapx6oFYHELSZ0nZD0EtQWUJe+KpbtIspV2Qbe+P3PhNRMZS6xu/yzrGWIF18I04m7B0neZtGt6t2PFCUgL4n6owX4my2TZ3EoCXtB5qbtKOZzR8tvr+IOcnx2rSr1D8SlnY6MhlITgwEqKq5Kdu1Nmz/Xr1X+yo= Received: from SA3PR01MB8450.prod.exchangelabs.com (2603:10b6:806:382::17) by DS7PR01MB7855.prod.exchangelabs.com (2603:10b6:8:82::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7587.35; Wed, 22 May 2024 19:20:35 +0000 Received: from SA3PR01MB8450.prod.exchangelabs.com ([fe80::bb39:d8c:f575:6b9d]) by SA3PR01MB8450.prod.exchangelabs.com ([fe80::bb39:d8c:f575:6b9d%5]) with mapi id 15.20.7611.016; Wed, 22 May 2024 19:20:35 +0000 From: John F Carr To: Mario Marietto CC: Mark Millard , Ronald Klop , "arm@freebsd.org" , Lexi Winter Subject: Re: vmm (bhyve) on GICv2 Thread-Topic: vmm (bhyve) on GICv2 Thread-Index: AQHarBYYCQeAyN3/IUiOCh/1k52a5bGi1v8AgAADUQCAAIipAIAAAmSAgAASvYCAAAhTgIAAIZcA Date: Wed, 22 May 2024 19:20:35 +0000 Message-ID: <71FB8C8C-DA84-469B-8742-1C3DD5F3E773@mit.edu> References: <18B789E4-5891-4F3E-BAB6-05FD45949438@yahoo.com> <1923834610.13708.1716392599662@localhost> <6117F301-D584-40F7-9022-F90103FF5468@yahoo.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-traffictypediagnostic: SA3PR01MB8450:EE_|DS7PR01MB7855:EE_ x-ms-office365-filtering-correlation-id: 8cd54e48-0630-4db1-948a-08dc7a944166 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0;ARA:13230031|376005|1800799015|366007|38070700009; x-microsoft-antispam-message-info: =?us-ascii?Q?agGAuJPikE+207r8um6/zSJ/sO4j7G7JMzyM6oaPJu7VWcPqKvu0XuSiQ+es?= =?us-ascii?Q?PD954oJgMiHsnESBv6CNSK3ZD/QHPES80fRMpby9BZEAjTF24GSMco3IKO4i?= =?us-ascii?Q?ECbqvoiEStHeRClDV4Pvrdk3P7A6nX74NDha9h5SIw0r3vZ1tx2PhcWuh4Xc?= =?us-ascii?Q?7O+rabmjxRAq1Px/Thu+3PO1Jsy52fafVguVQzaJxFQPbA7mBB8QKx2oiP/m?= =?us-ascii?Q?zu4BqHQU2Q6KV4vEbEpznznrjeMlNaswbK5MIgKgj7GCIhE7XLW5z329tlH4?= =?us-ascii?Q?sPFAsuXsTa62yDAGPN6ukstwDMaOxqRwqahB7YOd/jOCyJ1lq0U8VtYEtGv0?= =?us-ascii?Q?dxiSvAjuUn2NqhIS2byZONG1wqReSxFiQm7yqWe9jcJwCDBdGa6YFkFX578i?= =?us-ascii?Q?XspOkjyR7J+xErKrmudHJXFlVL8gXym7/o/TYoUaUPtpa66zP7TwydWifvam?= =?us-ascii?Q?NzNjy2dQL3l6ycso24xnc3CEWF0MGRYE4sTUDI1vPqG9ilYtjAo3FtC98Daq?= =?us-ascii?Q?oOvf3ZcvPool3Mp7kmiLIIlRtmnyJxqpukt38dEStjfsXRzou4SypZE8qHre?= =?us-ascii?Q?OoSHa5CY4Tghm/dZsRgLjCyVP/PgTmNe56DX2kQsH55dcLjazW3qMx+Nsuiw?= =?us-ascii?Q?damIL2ryd6MhJG7NWr/StIOeYh0mGUUM15RxIGzh6NzQRkDPQE5v+vfHWDIW?= =?us-ascii?Q?1dRvdNsEBMjXtK3QfFR94Y96X+R0uh3nvAExtHkv1dx62piBmtyRdOWJtxMr?= =?us-ascii?Q?TOWlZ8MCyCwrPCPLcwZhCWPv5vhg0peW6YK658ffBYRNnu72TFVEEGcwiIXr?= =?us-ascii?Q?FvFb3TS5uAWx1hwAA/DhHnjPCOPrvqhfpRIfUS5DGf9PuAON07MWE9zGVhjU?= =?us-ascii?Q?lYjtQBwIdLkHAIz+ajCZ8mgP0+1e6qSyvUsVghMJjDkxmwhgNPD8TylIrYG5?= =?us-ascii?Q?EPezXMLicQhXPCRAe+847BCMMLhccJr5LcFEUMRJt02Nr5/eX/vspa24d2Au?= =?us-ascii?Q?DuPDuWYVLxeL9ddg2eCCjw6V7roJarwj1NS7szeBhSST8jk3ytjzVNW3sYEE?= =?us-ascii?Q?teuA6hZj1qGmNJdfCL6YKl9nILJc0w/Fv06SfVS4yw96TuaIlBWDKn09Hs1l?= =?us-ascii?Q?f6dziPD6K9uzbJAs6bdgSQOHSw21Hn7tjsV8qgsp3MVAZTjG4g294FnHIa68?= =?us-ascii?Q?w+4uTQCbPHNJkR6qcnsN611S3144TW4D5KIru6GNEnJIOG6UOZVN1W4Yx9gn?= =?us-ascii?Q?agVrgaDcNwPeswM2TD1Rf7fVppHGSFA34/cFEp/fGA=3D=3D?= x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:SA3PR01MB8450.prod.exchangelabs.com;PTR:;CAT:NONE;SFS:(13230031)(376005)(1800799015)(366007)(38070700009);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?1+Cbr03LrsaUB1dqOGxSCjcFZYFZoBjP0lRk48sEDG5kEGga2IlfQuytFUM2?= =?us-ascii?Q?pE4c81AyaegGbrWDHgUOQV1jZNj5bCZBQu9yBYJPu+iniV3gBT0H1/PSleCT?= =?us-ascii?Q?DaxcpyATb+tkCTZQNwwiEtcdDpwXYRqfta/r+XJdTwkw8LXa5LPjFkdWqPbi?= =?us-ascii?Q?ELGWgmrwHZ9o3tN4/yDLaucHgD+sSRaJIDMVo1ZmiEc3m7qXWvuob7KdjrSy?= =?us-ascii?Q?esLHht3VG2Xwh3CrZrJusXx6IkS4tnix2J+QHAmDIVR+0ulky6ft9UMxS4tc?= =?us-ascii?Q?bBWz6DX5ZoepquTxCwvH7ZB9vtQIksFm0odUXbJ7MUJKt0gn3+wQ7X8gldaj?= =?us-ascii?Q?M+Iz2BvOKd5WcCHFtWhOmZY22rVUog+VSXFoCcYia84zEf6/72Q+7KLOpgcD?= =?us-ascii?Q?s+UoqjdHyItCm3KQwPwMQ0PfbUihZBGc/gwo+/UdkTx+N+A68qbGi9Ug4qVS?= =?us-ascii?Q?kqnHJHHwGV81JZsE949q6ZhOHQt7WTJCJoYiM3EEyLJaT5uVbjAKMXTm+BkX?= =?us-ascii?Q?L4p59WAl5UHZWCzfnVpsdfWWR8QCz9F79GN6iCn3DBczrLG0OXUmg/pYyFDa?= =?us-ascii?Q?AhTZTc8PNBQP006OsJpWNSgrk3WPL3Wd/QZ7bk4gE+U5vqh7a1N/H4Pv9NdP?= =?us-ascii?Q?HC7jB3noe28p5k4uiNYMGaj1ZRteGNQOT1lwuPBhMGRhen8mdN/cKDFv1Hfh?= =?us-ascii?Q?Mb1wYYMzybHVLy7PMRLG/4s9fD9W3fjFSTHdtAv47FGcmfiis2kN+DO3s01i?= =?us-ascii?Q?feAR6kAXE10qUiCOK80gF6fhfClJYAU7lFK9o/bpCruvoq8hSh+ptZd10PwT?= =?us-ascii?Q?mNNOfdkz74fq9Rt9NvKx45biSQ92ps6sv0w7BfNSxpGyhyT2qrxjtCsPAZ2p?= =?us-ascii?Q?1NJusAgCPNh68ldXASRUUIHW/5zF6oi9MnYSY+Om7d0d5NgiPHCUHdHLxxkp?= =?us-ascii?Q?sMQRrilq3fUXSEdcbSTielvCaGH2L8FIcrkI7QK36z2f6yPC42pl4IODg8O5?= =?us-ascii?Q?ksRJMdFKGYj31HdmQOn+5+/+MGztsBrgVZMw5T16C7df4mdqsYbQk8h7cZ1I?= =?us-ascii?Q?UETXjQylj/MssWpj6Aut82M3H6sdcafPNdIH3oYPJ84UMWujik9+SS36DgMX?= =?us-ascii?Q?nkcR/KcDYsgYVjK7iOdBfbxRUbeH7kgQdW8wnw5qmOCjh655ShYAozCtuY/r?= =?us-ascii?Q?3yTkpdeR6fWISeWGj37E8Lu6EB92DCJDuxh3BD2DW8NoufdGPwxJJL+cz6qw?= =?us-ascii?Q?sfu1qilpAjVgHCuwGTALOGE0iI8MfY51u6GX9Esj93+IxnRwSyMzE9kiV6pb?= =?us-ascii?Q?WtYXPSSNwIlLFrjgbeBtunvHQncaw6eTWA7u9YUjLRbCZLwTUD2f1IOPM+7p?= =?us-ascii?Q?3gmAeRSFTTMyLKNsfYH/DFPnb52j6RuUhbG8BNVUTCFK5Dr+YIANjRckUGsx?= =?us-ascii?Q?8R3xw6BAbOFDUW7ol08d8m23NlmXXoTpYmKZb6YGDJ0+x5Jv7O0XB8stCsWD?= =?us-ascii?Q?kLNwIyMRpTHu0Jzr5kk/KWpxIRP4nYqJo4qbU34Colcz7dk4Gopyzsv4pUzx?= =?us-ascii?Q?I6HgmImFJTgU0g9jzfaMk11a3iC9S1LsV42UZFm4uGlatd6kK3he7yg93gjJ?= =?us-ascii?Q?K/GX/lOTON2ipMwPwxZugpTwI28t1J+I9XqBXSaAeEo8?= Content-Type: text/plain; charset="us-ascii" Content-ID: Content-Transfer-Encoding: quoted-printable List-Id: Porting FreeBSD to ARM processors List-Archive: https://lists.freebsd.org/archives/freebsd-arm List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-arm@FreeBSD.org MIME-Version: 1.0 X-OriginatorOrg: mit.edu X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: SA3PR01MB8450.prod.exchangelabs.com X-MS-Exchange-CrossTenant-Network-Message-Id: 8cd54e48-0630-4db1-948a-08dc7a944166 X-MS-Exchange-CrossTenant-originalarrivaltime: 22 May 2024 19:20:35.0209 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 64afd9ba-0ecf-4acf-bc36-935f6235ba8b X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 9RCQ2pJEjsoYfc472CvtfhVjJFHDg/G1WkYxOr3RvuKghOw+9XjlE9Qc5/9ev1GP X-MS-Exchange-Transport-CrossTenantHeadersStamped: DS7PR01MB7855 X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:8075, ipnet:40.104.0.0/14, country:US] X-Rspamd-Queue-Id: 4Vl1Nj59sjz3y53 > On May 22, 2024, at 13:20, Mario Marietto wrote: >=20 > Can someone confirm that bhyve works ok on the RockPro64 (RK3399) ? Has b= hyve been patched in relation to this bug : >=20 > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D277559 >=20 > ? >=20 > I read that there is a huge amount of work to do on the RPI5 before it wo= rks with FreeBSD. And anyway,it does not support bhyve. So if I will buy a = soc,it will be the RockPro64.... The RockPro64 should be usable for development, not production use of virtual machines. The kernel sometimes locks up the first time the vmm module is loaded. Once the module loads it can be unloaded and reloaded without risk. I was able to boot FreeBSD-13.3-RELEASE-arm64-aarch64.raw in bhyve on my RockPro64 with this script: NCPU=3D1 MEM=3D384m DISK0=3D/dev/nda0s4 VMNAME=3Dthirteen bhyve -c "${NCPU:?}" -m "${MEM:?}" \ -s 0:0,hostbridge \ -s 1:0,virtio-blk,"${DISK0:?}" \ -o bootrom=3D/usr/local/share/u-boot/u-boot-bhyve-arm64/u-boot.bin \ -o rtc.use_localtime=3Dfalse \ -o console=3Dstdio \ -o config.dump=3Dfalse \ -o acpi_tables=3Dtrue \ "${VMNAME:?}" I had copied the image to /dev/nda0s4. It should work just as well with th= e regular file after "virtio-blk". Some observations: 1. There is no clock visible to the guest OS: Warning: no time-of-day clock registered, system time will not be set accur= ately 2. The RockPro system has two types of cores. One has a physically indexed= I-cache, the other virtually indexed. The virtual CPU reports a virtually indexed c= ache. CPU 0: ARM Foundation-Model r0p0 affinity: 0 Cache Type =3D <64 byte D-cacheline,64 byte I-cacheline,= VIPT ICache,64 byte ERG,64 byte CWG> I think this will cause correct behavior despite being technically wrong. I have a Quartz64, a newer Pine64 SBC, but I have not yet tried to install = BSD on it. John Carr From nobody Wed May 22 19:39:51 2024 X-Original-To: arm@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Vl1qd6YQ8z5KZhn for ; Wed, 22 May 2024 19:40:29 +0000 (UTC) (envelope-from marietto2008@gmail.com) Received: from mail-pj1-x102b.google.com (mail-pj1-x102b.google.com [IPv6:2607:f8b0:4864:20::102b]) (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 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Vl1qd3RkHz41nF for ; Wed, 22 May 2024 19:40:29 +0000 (UTC) (envelope-from marietto2008@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-pj1-x102b.google.com with SMTP id 98e67ed59e1d1-2b12b52fbe0so1547151a91.0 for ; Wed, 22 May 2024 12:40:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1716406828; x=1717011628; darn=freebsd.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=OYWvk/AnXT2Ftr8+0vi8cGvjn6w7kBMm7on2Nxv8AQ4=; b=ErZioIdaoJqjvlQpWcG7EKkYG/0Ua58D9wRV2r2PwojIfedUgxsB3CIpR0mYQ8iAsN 49rU77qMxlcvSPbz++YDJy0XoAQi+kENKC/gEIiSED9AWpvXqPrYTwySHRT0ZhEpoRHu cfw7Yl/+vaaUzBTUxn/8mGSzFZKM3K/+elu834EN+jRHq6L3KR1ajXING7LOGFFFrYpT QDkVsRd/AUig5kL2EC2ZYEZqpwaSzXaOoJSbAxmWHtixCn6c2u77tzvkhCuT3KYX6ojP adM3SdBdVQO2RfIi2UmyMiM10Bstys9LhtkE6TqT4EOSRx5LeD8baW1zxrjLyYrpVzPI SBYA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716406828; x=1717011628; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=OYWvk/AnXT2Ftr8+0vi8cGvjn6w7kBMm7on2Nxv8AQ4=; b=Cdxmd8IeBfbgObc6107QNhXRsxSmm4n6qKSCoWNwF4vk2VVOPveEnbHzLses7wuKdW P987PPR6gRNZ6DUA4eVfIFDOhRx+VIQTCG/gOr4tS5tqzoioodwtHFIena6905d2ghrZ zMlvmCDv59fj24GMQVdj5Ktnw5lM5MP7tdFVaQkk1eEuNTEdTwWekbotLZ6pBkcM06xx ZI8VbnV+ymSdVdx9wbM3rVK2UldzPmkF0xjxxpZ5GYKWUGY0PBjFdpjBd7QWmY0+dVK6 Rqymdm7/q2hG/JzABRCo30r9Dt9dz/WKDI30oiuV9MGEBf1VFnneBkAJjOYMw9mKxUwu qvFg== X-Forwarded-Encrypted: i=1; AJvYcCVrXsLUv6RFg0lU/UzdqSvMDFiY6CJEmf2N8jVmCKVOjlcbUSBS4MZz2IYA+2YaZRPMynZeatQNp/KMpMQHaUU= X-Gm-Message-State: AOJu0Yyq4iH51kRc6wKV31V3YNlnBAfT1lRZZX5Y1Nl2UmxLaBQ++SUO cKHjSq14AoYup3lDk1na9zTZOgyZ7syc49skel2UyaOdpMIWbk8LDb6tZhNCKyua3VsrnYsJSU2 1HqqYiiCyucvKxaoWdtf7pIfB84TLUBS0UL/UOA== X-Google-Smtp-Source: AGHT+IHxO89GVZ6a1+VPtJz+T24M8EvYKPZvFagFgk8+gKSuwp8oLnt/UOvRvLKMeu5aPAToOd+/9n28aAuRdO3BYxQ= X-Received: by 2002:a17:90a:2ca1:b0:2b6:c4d7:fc31 with SMTP id 98e67ed59e1d1-2bd9f5bc52emr3694647a91.40.1716406828066; Wed, 22 May 2024 12:40:28 -0700 (PDT) List-Id: Porting FreeBSD to ARM processors List-Archive: https://lists.freebsd.org/archives/freebsd-arm List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-arm@FreeBSD.org MIME-Version: 1.0 References: <18B789E4-5891-4F3E-BAB6-05FD45949438@yahoo.com> <1923834610.13708.1716392599662@localhost> <6117F301-D584-40F7-9022-F90103FF5468@yahoo.com> <71FB8C8C-DA84-469B-8742-1C3DD5F3E773@mit.edu> In-Reply-To: <71FB8C8C-DA84-469B-8742-1C3DD5F3E773@mit.edu> From: Mario Marietto Date: Wed, 22 May 2024 21:39:51 +0200 Message-ID: Subject: Re: vmm (bhyve) on GICv2 To: John F Carr Cc: Mark Millard , Ronald Klop , "arm@freebsd.org" , Lexi Winter Content-Type: multipart/alternative; boundary="00000000000046f2fc0619101b27" X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US] X-Rspamd-Queue-Id: 4Vl1qd3RkHz41nF --00000000000046f2fc0619101b27 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable This ? https://pine64.com/product/quartz64-model-a-8gb-single-board-computer/ On Wed, May 22, 2024 at 9:20=E2=80=AFPM John F Carr wrote: > > On May 22, 2024, at 13:20, Mario Marietto > wrote: > > > > Can someone confirm that bhyve works ok on the RockPro64 (RK3399) ? Has > bhyve been patched in relation to this bug : > > > > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D277559 > > > > ? > > > > I read that there is a huge amount of work to do on the RPI5 before it > works with FreeBSD. And anyway,it does not support bhyve. So if I will bu= y > a soc,it will be the RockPro64.... > > The RockPro64 should be usable for development, not production use > of virtual machines. The kernel sometimes locks up the first time the > vmm module is loaded. Once the module loads it can be unloaded > and reloaded without risk. > > I was able to boot FreeBSD-13.3-RELEASE-arm64-aarch64.raw in bhyve > on my RockPro64 with this script: > > NCPU=3D1 > MEM=3D384m > DISK0=3D/dev/nda0s4 > VMNAME=3Dthirteen > bhyve -c "${NCPU:?}" -m "${MEM:?}" \ > -s 0:0,hostbridge \ > -s 1:0,virtio-blk,"${DISK0:?}" \ > -o bootrom=3D/usr/local/share/u-boot/u-boot-bhyve-arm64/u-boot.bin \ > -o rtc.use_localtime=3Dfalse \ > -o console=3Dstdio \ > -o config.dump=3Dfalse \ > -o acpi_tables=3Dtrue \ > "${VMNAME:?}" > > I had copied the image to /dev/nda0s4. It should work just as well with > the > regular file after "virtio-blk". > > Some observations: > > 1. There is no clock visible to the guest OS: > > Warning: no time-of-day clock registered, system time will not be set > accurately > > 2. The RockPro system has two types of cores. One has a physically > indexed I-cache, > the other virtually indexed. The virtual CPU reports a virtually indexed > cache. > > CPU 0: ARM Foundation-Model r0p0 affinity: 0 > Cache Type =3D <64 byte D-cacheline,64 byte > I-cacheline,VIPT ICache,64 byte ERG,64 byte CWG> > > I think this will cause correct behavior despite being technically wrong. > > I have a Quartz64, a newer Pine64 SBC, but I have not yet tried to instal= l > BSD on it. > > John Carr > > --=20 Mario. --00000000000046f2fc0619101b27 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
This ?=C2=A0


On= Wed, May 22, 2024 at 9:20=E2=80=AFPM John F Carr <jfc@mit.edu> wrote:
> On May 22, 2024, at 13:20, Mario Marietto <marietto2008@gmail= .com> wrote:
>
> Can someone confirm that bhyve works ok on the RockPro64 (RK3399) ? Ha= s bhyve been patched in relation to this bug :
>
> https://bugs.freebsd.org/bugzilla/sho= w_bug.cgi?id=3D277559
>
> ?
>
> I read that there is a huge amount of work to do on the RPI5 before it= works with FreeBSD. And anyway,it does not support bhyve. So if I will buy= a soc,it will be the RockPro64....

The RockPro64 should be usable for development, not production use
of virtual machines.=C2=A0 The kernel sometimes locks up the first time the=
vmm module is loaded.=C2=A0 Once the module loads it can be unloaded
and reloaded without risk.

I was able to boot FreeBSD-13.3-RELEASE-arm64-aarch64.raw in bhyve
on my RockPro64 with this script:

NCPU=3D1
MEM=3D384m
DISK0=3D/dev/nda0s4
VMNAME=3Dthirteen
bhyve -c "${NCPU:?}" -m "${MEM:?}" \
-s 0:0,hostbridge \
-s 1:0,virtio-blk,"${DISK0:?}" \
-o bootrom=3D/usr/local/share/u-boot/u-boot-bhyve-arm64/u-boot.bin \
-o rtc.use_localtime=3Dfalse \
-o console=3Dstdio \
-o config.dump=3Dfalse \
-o acpi_tables=3Dtrue \
"${VMNAME:?}"

I had copied the image to /dev/nda0s4.=C2=A0 It should work just as well wi= th the
regular file after "virtio-blk".

Some observations:

1. There is no clock visible to the guest OS:

Warning: no time-of-day clock registered, system time will not be set accur= ately

2. The RockPro system has two types of cores.=C2=A0 One has a physically in= dexed I-cache,
the other virtually indexed.=C2=A0 The virtual CPU reports a virtually inde= xed cache.

CPU=C2=A0 0: ARM Foundation-Model r0p0 affinity:=C2=A0 0
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Cache = Type =3D <64 byte D-cacheline,64 byte I-cacheline,VIPT ICache,64 byte ER= G,64 byte CWG>

I think this will cause correct behavior despite being technically wrong.
I have a Quartz64, a newer Pine64 SBC, but I have not yet tried to install = BSD on it.

John Carr



--
Mario.
--00000000000046f2fc0619101b27-- From nobody Wed May 22 20:29:48 2024 X-Original-To: arm@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Vl2xJ1Ydvz5Kg3n for ; Wed, 22 May 2024 20:30:28 +0000 (UTC) (envelope-from marietto2008@gmail.com) Received: from mail-pf1-x432.google.com (mail-pf1-x432.google.com [IPv6:2607:f8b0:4864:20::432]) (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 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Vl2xH1cy9z461g for ; Wed, 22 May 2024 20:30:27 +0000 (UTC) (envelope-from marietto2008@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20230601 header.b=i0RWpvPC; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of marietto2008@gmail.com designates 2607:f8b0:4864:20::432 as permitted sender) smtp.mailfrom=marietto2008@gmail.com Received: by mail-pf1-x432.google.com with SMTP id d2e1a72fcca58-6f4d6b7168eso2082157b3a.2 for ; Wed, 22 May 2024 13:30:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1716409825; x=1717014625; darn=freebsd.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=SvFuq9ITy+DI2BZRY+Rwdoa890Aw2Z3Q22GkJWb2SfU=; b=i0RWpvPCLD+ugDYLZ6fGyEOr9WJ4awBEzMzn2DWhuOJRStioyZZHN5ag6ynKYE0scd U6ntK5g1OVRt9HM/6E4TWASYYTLIKcFf8fcKayrn3WcNdEF+kypWjcA4jbvQbVCKu+nd Qq9a0KFyiijrTGXJZ9nxxNH9pcOje04FnHSOYTzv0ZKa+9tpvk7tyvny2e9b+0w1vGsU 5Uqa36qG0pdc6zZ3BUtKCi1zLyEKsd67cygg7jKT0xZNLgUZhmSt86wLgFA2mqBTNVEp QPadPVORXgEj3Y7PZS9n2/6wRsNaXwz9vYTKxKl4Ja2Kj56sbaf4pZ587qQAMUSr0/pO rghw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716409825; x=1717014625; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=SvFuq9ITy+DI2BZRY+Rwdoa890Aw2Z3Q22GkJWb2SfU=; b=KjB/l2Xj6kaaOpbmA17K20UYbEnpZ54IEH2DJi7wREkLfTBaMvUo6N0ipNXRC0De+G jIt4lV9dNX7qT8IVmeg17YFs18Yl2oLpdoIiVv14uHN3S4vFx7AySs6hhyeuh3rpQdIq nxeSFheFT98zDdo9xs2qRjx7eMF8pVaAzD30o5O1SNOxNerqG1G8OLFD/K2l5ccs9Kfg ka5xfcB7LXjuUNqiEk9wNk3zFdNpXYLataULR4pAlseqHcJ6foefbFRM5TRy34RDovGC lZcqD9yDV83ihf2HelqxXIQMNZ8cL52g0GUQjj50/PfMKP6uiqBq1nQ7bNDmdS2PrLYq SAug== X-Forwarded-Encrypted: i=1; AJvYcCU+FiDDF2y2F2avFOgyWW69L/BKKLqnSh2/kHZhA9332abUQmTrswwB/2ZUHQd5EbWqCQbFmVy4jULE7zE/t24= X-Gm-Message-State: AOJu0Ywet/e7715zW7X8sTWE57fm/SSRHf7kDrIjmN2z8mLFWIn+vzlf MpXb+KTr6K+zrwix693ZnEl0MmwwS9BN3NDl6sgssbXhiMrH/708QrSmcMmlkyIjqGgwDBXB0fk pboy5EJswjCug3teGpPpsNcVlMGc= X-Google-Smtp-Source: AGHT+IF3b9J2pQfY6NLgW+YTeaKYUt/xpBGIAeG9yTTMiFQel3oFc/49C9lHeL50y3VGVB/dfFXVgZ+DANgWV4svsEA= X-Received: by 2002:a05:6a20:d045:b0:1af:a617:86ac with SMTP id adf61e73a8af0-1b1f8a8bad2mr3498903637.53.1716409824873; Wed, 22 May 2024 13:30:24 -0700 (PDT) List-Id: Porting FreeBSD to ARM processors List-Archive: https://lists.freebsd.org/archives/freebsd-arm List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-arm@FreeBSD.org MIME-Version: 1.0 References: <18B789E4-5891-4F3E-BAB6-05FD45949438@yahoo.com> <1923834610.13708.1716392599662@localhost> <6117F301-D584-40F7-9022-F90103FF5468@yahoo.com> <71FB8C8C-DA84-469B-8742-1C3DD5F3E773@mit.edu> In-Reply-To: From: Mario Marietto Date: Wed, 22 May 2024 22:29:48 +0200 Message-ID: Subject: Re: vmm (bhyve) on GICv2 To: John F Carr Cc: Mark Millard , Ronald Klop , "arm@freebsd.org" , Lexi Winter Content-Type: multipart/alternative; boundary="000000000000e69533061910cd7d" X-Spamd-Bar: --- X-Spamd-Result: default: False [-4.00 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20230601]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; RCVD_TLS_LAST(0.00)[]; FREEMAIL_CC(0.00)[yahoo.com,klop.ws,freebsd.org,le-fay.org]; ARC_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; TO_DN_EQ_ADDR_SOME(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; TO_DN_SOME(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::432:from]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; TO_MATCH_ENVRCPT_SOME(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; MISSING_XM_UA(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[arm@freebsd.org]; MLMMJ_DEST(0.00)[arm@freebsd.org]; MID_RHS_MATCH_FROMTLD(0.00)[]; RCVD_COUNT_ONE(0.00)[1]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCPT_COUNT_FIVE(0.00)[5] X-Rspamd-Queue-Id: 4Vl2xH1cy9z461g --000000000000e69533061910cd7d Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Is there another cheap alternative to the RockPro64 / Quartz64 that works well on FreeBSD if one wants to test bhyve ? On Wed, May 22, 2024 at 9:39=E2=80=AFPM Mario Marietto wrote: > This ? > > https://pine64.com/product/quartz64-model-a-8gb-single-board-computer/ > > On Wed, May 22, 2024 at 9:20=E2=80=AFPM John F Carr wrote: > >> > On May 22, 2024, at 13:20, Mario Marietto >> wrote: >> > >> > Can someone confirm that bhyve works ok on the RockPro64 (RK3399) ? Ha= s >> bhyve been patched in relation to this bug : >> > >> > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D277559 >> > >> > ? >> > >> > I read that there is a huge amount of work to do on the RPI5 before it >> works with FreeBSD. And anyway,it does not support bhyve. So if I will b= uy >> a soc,it will be the RockPro64.... >> >> The RockPro64 should be usable for development, not production use >> of virtual machines. The kernel sometimes locks up the first time the >> vmm module is loaded. Once the module loads it can be unloaded >> and reloaded without risk. >> >> I was able to boot FreeBSD-13.3-RELEASE-arm64-aarch64.raw in bhyve >> on my RockPro64 with this script: >> >> NCPU=3D1 >> MEM=3D384m >> DISK0=3D/dev/nda0s4 >> VMNAME=3Dthirteen >> bhyve -c "${NCPU:?}" -m "${MEM:?}" \ >> -s 0:0,hostbridge \ >> -s 1:0,virtio-blk,"${DISK0:?}" \ >> -o bootrom=3D/usr/local/share/u-boot/u-boot-bhyve-arm64/u-boot.bin \ >> -o rtc.use_localtime=3Dfalse \ >> -o console=3Dstdio \ >> -o config.dump=3Dfalse \ >> -o acpi_tables=3Dtrue \ >> "${VMNAME:?}" >> >> I had copied the image to /dev/nda0s4. It should work just as well with >> the >> regular file after "virtio-blk". >> >> Some observations: >> >> 1. There is no clock visible to the guest OS: >> >> Warning: no time-of-day clock registered, system time will not be set >> accurately >> >> 2. The RockPro system has two types of cores. One has a physically >> indexed I-cache, >> the other virtually indexed. The virtual CPU reports a virtually indexe= d >> cache. >> >> CPU 0: ARM Foundation-Model r0p0 affinity: 0 >> Cache Type =3D <64 byte D-cacheline,64 byte >> I-cacheline,VIPT ICache,64 byte ERG,64 byte CWG> >> >> I think this will cause correct behavior despite being technically wrong= . >> >> I have a Quartz64, a newer Pine64 SBC, but I have not yet tried to >> install BSD on it. >> >> John Carr >> >> > > -- > Mario. > --=20 Mario. --000000000000e69533061910cd7d Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Is there another cheap alternative to the RockPro64 / Quar= tz64 that works well on FreeBSD if one wants to test bhyve ?

=
On Wed, Ma= y 22, 2024 at 9:39=E2=80=AFPM Mario Marietto <marietto2008@gmail.com> wrote:

On Wed, May 22, 2024= at 9:20=E2=80=AFPM John F Carr <jfc@mit.edu> wrote:
> On May 22, 2024, at 13:20, Mario Marietto <<= a href=3D"mailto:marietto2008@gmail.com" target=3D"_blank">marietto2008@gma= il.com> wrote:
>
> Can someone confirm that bhyve works ok on the RockPro64 (RK3399) ? Ha= s bhyve been patched in relation to this bug :
>
> https://bugs.freebsd.org/bugzilla/sho= w_bug.cgi?id=3D277559
>
> ?
>
> I read that there is a huge amount of work to do on the RPI5 before it= works with FreeBSD. And anyway,it does not support bhyve. So if I will buy= a soc,it will be the RockPro64....

The RockPro64 should be usable for development, not production use
of virtual machines.=C2=A0 The kernel sometimes locks up the first time the=
vmm module is loaded.=C2=A0 Once the module loads it can be unloaded
and reloaded without risk.

I was able to boot FreeBSD-13.3-RELEASE-arm64-aarch64.raw in bhyve
on my RockPro64 with this script:

NCPU=3D1
MEM=3D384m
DISK0=3D/dev/nda0s4
VMNAME=3Dthirteen
bhyve -c "${NCPU:?}" -m "${MEM:?}" \
-s 0:0,hostbridge \
-s 1:0,virtio-blk,"${DISK0:?}" \
-o bootrom=3D/usr/local/share/u-boot/u-boot-bhyve-arm64/u-boot.bin \
-o rtc.use_localtime=3Dfalse \
-o console=3Dstdio \
-o config.dump=3Dfalse \
-o acpi_tables=3Dtrue \
"${VMNAME:?}"

I had copied the image to /dev/nda0s4.=C2=A0 It should work just as well wi= th the
regular file after "virtio-blk".

Some observations:

1. There is no clock visible to the guest OS:

Warning: no time-of-day clock registered, system time will not be set accur= ately

2. The RockPro system has two types of cores.=C2=A0 One has a physically in= dexed I-cache,
the other virtually indexed.=C2=A0 The virtual CPU reports a virtually inde= xed cache.

CPU=C2=A0 0: ARM Foundation-Model r0p0 affinity:=C2=A0 0
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Cache = Type =3D <64 byte D-cacheline,64 byte I-cacheline,VIPT ICache,64 byte ER= G,64 byte CWG>

I think this will cause correct behavior despite being technically wrong.
I have a Quartz64, a newer Pine64 SBC, but I have not yet tried to install = BSD on it.

John Carr



--
Mario.


--
Mario.
--000000000000e69533061910cd7d--