From nobody Wed May 17 15:31:38 2023 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 4QLxtR3tMfz4BGQQ for ; Wed, 17 May 2023 15:32:15 +0000 (UTC) (envelope-from marietto2008@gmail.com) Received: from mail-yb1-xb36.google.com (mail-yb1-xb36.google.com [IPv6:2607:f8b0:4864:20::b36]) (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 4QLxtR1rY8z3pCP for ; Wed, 17 May 2023 15:32:15 +0000 (UTC) (envelope-from marietto2008@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-yb1-xb36.google.com with SMTP id 3f1490d57ef6-ba82059ef0bso754629276.1 for ; Wed, 17 May 2023 08:32:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1684337534; x=1686929534; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=wkoHzQkWKkDVmrYBwXANxR3DxdDvTK5PRsK+ibn8Kg0=; b=gA57DSfEyNJ7DqoGpgnFK42C0mquDbq1hXf7cZM8/h+jmERyEmpkJJNyaw/k9RdOHY wjl0QPmYUX2Bd1R5i89N3Z78/3Jmj1jdoudQsf87FvBiLzTLSPYzy/rbMKKVGl3EKC0q v4fDo3iOloNyhlXwqkOtOIUzqo1Zc1yddZbfguelmSywJJ3wJZcbHh66eeGhglnwZ0pX SUg1kKDziQvrhWOAC6V23jwjf1TiCgr8Guj0HA5uzN0nMKQDk7On5wC8+iD3axg0VyNG RGcgVavOr3l3DALNWO1GRMCv7zR7zBymlwk7RuC6QKiCwn17pVVVDkVfrQxhr14wmhr+ NFPQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684337534; x=1686929534; 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=wkoHzQkWKkDVmrYBwXANxR3DxdDvTK5PRsK+ibn8Kg0=; b=OYZWD8oo67nRCU2+N8GV82lLTQT0jY/gNYLc+5nbBupp3o1zUhMjHQWdebeb0VQJyU 55kJL/6DriAQp4NdNQ7YSwexUzjlayfRi2xwFixBRQZORQgtEHZB9l/MHtIUBHQBGgIL IBBAqrXUeZW0pZrj271707YgjOxY1JPeQ1uttu4+AIPh5u5bpDTOhi0vpwrqpD86RVPP 61g6/0IqYWrJbW/9tMrdSCETizHFbugFq4uc0Fe4cSPEgm3UyP8e6642xz6uuAqsPOCb O9Tf6zX60/wcVGHtA3TU9e3UI01KoLnh9uZ9FOwZSyXwoKY7Obu9Pdq7UumHjrRIQOzb Weow== X-Gm-Message-State: AC+VfDy8arm1YX/IwmX/99MpiS8qnxssz4re3Jt0pLtaXCPDo2oaOAzA Njpxz2Gb1jbZ9px2KG0CFoq4hn67iBU8dVUcTJo= X-Google-Smtp-Source: ACHHUZ7PAvFphfFoKb+P0O+UDh75Y8HpDXF6MWz1MV6/N1ssRfe8uIVuSIrEo+tGGl3QK/x+1GUOClxtOUP0E0aeFoI= X-Received: by 2002:a25:aaef:0:b0:b9e:6d2c:ce2 with SMTP id t102-20020a25aaef000000b00b9e6d2c0ce2mr37072020ybi.46.1684337534137; Wed, 17 May 2023 08:32:14 -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: <7CCEC16E-41A1-4318-B953-EF61D17EEE3C@mit.edu> <2f69f9a1-e976-65d6-c0be-74404640d1c1@shrew.net> <08360ee6-6829-5362-8188-cdbd2c20e59b@bsdio.com> <9aacad10-01c1-a0b5-a2de-32abf670feec@bsdio.com> <59668841-6006-51e4-dcfa-efe75542e064@bsdio.com> In-Reply-To: <59668841-6006-51e4-dcfa-efe75542e064@bsdio.com> From: Mario Marietto Date: Wed, 17 May 2023 17:31:38 +0200 Message-ID: Subject: Re: ARM64 virtualization? To: Rebecca Cran Cc: Matthew Grooms , freebsd-arm@freebsd.org, Elena Mihailescu , Mihai Carabas Content-Type: multipart/alternative; boundary="0000000000006781e705fbe564c5" X-Rspamd-Queue-Id: 4QLxtR1rY8z3pCP X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; TAGGED_RCPT(0.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N --0000000000006781e705fbe564c5 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sure. I've been (and I'm) one the most active users of the Jetson nano in the last years. I've enabled kvm again recently on my Jetson nano. I don't live without virtualization. I play every day with qemu,kvm,bhyve and every tool that can be used to virtualize an os. If kvm can be enabled on the jetson nano,why should it not work on the jetson orin ? I'm also very interested to install FreeBSD on the nano and on the orin. Unfortunately I haven't found someone who wants to help me. I can't handle this project alone. I'm not experienced enough. On Wed, May 17, 2023 at 4:21=E2=80=AFPM Rebecca Cran wr= ote: > Hmm, the Jetson Orin does appear to support virtualization and > apparently people have had success with KVM under Linux. > > I'm wondering how well-supported FreeBSD would be on it since it still > uses FDT, and trying to boot Linux using ACPI instead didn't go well. > > I have an Orin Development Kit here I could try. If FreeBSD boots on it, > then I can start working on bhyve before my Ampere system gets here. > > > -- > Rebecca Cran > > > On 5/17/23 05:33, Mario Marietto wrote: > > oh my god. That's such a nice toy to play with. Too much expensive for > > my pockets. I'm making experiences with cheaper socs like the tegra > > ones,jetson nano and maybe in the next future,the jetson orin. Do you > > think that if I buy the jetson orin,I could be able to help you,anyway = ? > > > > On Wed, May 17, 2023 at 2:11=E2=80=AFPM Rebecca Cran wrote: > > > > I'm getting the Ampere Developer Kit from > > https://www.ipi.wiki/products/com-hpc-ampere-altra . > > > > > > -- > > > > Rebecca Cran > > > > > > On 5/16/23 10:14, Mario Marietto wrote: > > > Hello Rebecca, > > > > > > i will be happy to help you. what system you will buy ? i want to > > > evaluate the cost. If it is affordable for me I will also buy > > the same > > > and i could test your code or something else task that you need. > > i ve > > > been always interested in the bhyve development. > > > > > > Il mar 16 mag 2023, 17:41 Rebecca Cran ha > > scritto: > > > > > > On 5/15/23 13:58, Matthew Grooms wrote: > > > > > > > On 5/15/2023 2:39 PM, John F Carr wrote: > > > >> Is there any active work on getting bhyve virtualization > > > working on > > > >> 64 bit ARM? I see some work was started a few years ago > > (e.g. > > > >> https://reviews.freebsd.org/D26976, > > > >> https://bhyvecon.org/bhyvecon2016-Mihai.pdf). It seems to > > have > > > been > > > >> abandoned or at least stalled. > > > >> > > > >> I may be able to help. It's not a project I can take on > > myself. > > > > > > > > Porting bhyve to arm has been one of the longest running UP= B > > > projects. > > > > You can find more info on the history here ... > > > > > > > > > > > > > > https://wiki.freebsd.org/DevSummit/202303?action=3DAttachFile&do=3Dview&t= arget=3DPresentation+-+bhyvecon.pdf > > < > https://wiki.freebsd.org/DevSummit/202303?action=3DAttachFile&do=3Dview&t= arget=3DPresentation+-+bhyvecon.pdf > > > > > > > < > https://wiki.freebsd.org/DevSummit/202303?action=3DAttachFile&do=3Dview&t= arget=3DPresentation+-+bhyvecon.pdf > > < > https://wiki.freebsd.org/DevSummit/202303?action=3DAttachFile&do=3Dview&t= arget=3DPresentation+-+bhyvecon.pdf > >> > > > > > > > > > > > > > > > Your best bet is probably to take a look a the following > > review > > > opened > > > > by Andrew Turner late last year. His work is based on the > > original > > > > port by the UPB team ... > > > > > > > > https://reviews.freebsd.org/D37428 > > > > > > > > I can't speak to the current state of this work. From what = I > > > recall, > > > > there were several attempts made by UPB to collaborate, > > but they > > > > failed to get a response. Perhaps he/they can chime in > > here with > > > more > > > > detail. > > > > > > I'll be getting an Ampere system in the next few weeks and > > hope to be > > > able to work on the Aarch64 bhyve code. > > > > > > > > > -- > > > > > > Rebecca Cran > > > > > > > > > > > > > > -- > > Mario. > --=20 Mario. --0000000000006781e705fbe564c5 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Sure. I've been (and I'm) one the most active user= s of the Jetson nano in the last years. I've enabled kvm again recently= on my Jetson nano. I don't live without virtualization. I play every d= ay with qemu,kvm,bhyve and every tool that can be used to virtualize an os.= If kvm can be enabled on the jetson nano,why should it not work on the jet= son orin ? I'm also very interested to install FreeBSD on the nano and = on the orin. Unfortunately I haven't found someone who wants to help me= . I can't handle this project alone. I'm not experienced enough.

On Wed, May 17, 2023 at 4:21=E2=80=AFPM Rebecca Cran <rebecca@bsdio.com> wrote:
Hmm, the Jetson Orin does appear to su= pport virtualization and
apparently people have had success with KVM under Linux.

I'm wondering how well-supported FreeBSD would be on it since it still =
uses FDT, and trying to boot Linux using ACPI instead didn't go well.
I have an Orin Development Kit here I could try. If FreeBSD boots on it, then I can start working on bhyve before my Ampere system gets here.


--
Rebecca Cran


On 5/17/23 05:33, Mario Marietto wrote:
> oh my god. That's such a nice toy to play with. Too much expensive= for
> my pockets. I'm making experiences with cheaper socs like the tegr= a
> ones,jetson nano and maybe in the next future,the jetson orin. Do you =
> think that if I buy the jetson orin,I could be able to help you,anyway= ?
>
> On Wed, May 17, 2023 at 2:11=E2=80=AFPM Rebecca Cran <rebecca@bsdio.com> wrote:<= br> >
>=C2=A0 =C2=A0 =C2=A0I'm getting the Ampere Developer Kit from
>=C2=A0 =C2=A0 =C2=A0https://www.ipi.wiki/produ= cts/com-hpc-ampere-altra .
>
>
>=C2=A0 =C2=A0 =C2=A0--
>
>=C2=A0 =C2=A0 =C2=A0Rebecca Cran
>
>
>=C2=A0 =C2=A0 =C2=A0On 5/16/23 10:14, Mario Marietto wrote:
>=C2=A0 =C2=A0 =C2=A0> Hello Rebecca,
>=C2=A0 =C2=A0 =C2=A0>
>=C2=A0 =C2=A0 =C2=A0> i will be happy to help you. what system you w= ill buy ? i want to
>=C2=A0 =C2=A0 =C2=A0> evaluate the cost. If it is affordable for me = I will also buy
>=C2=A0 =C2=A0 =C2=A0the same
>=C2=A0 =C2=A0 =C2=A0> and i could test your code or something else t= ask that you need.
>=C2=A0 =C2=A0 =C2=A0i ve
>=C2=A0 =C2=A0 =C2=A0> been always interested in the bhyve developmen= t.
>=C2=A0 =C2=A0 =C2=A0>
>=C2=A0 =C2=A0 =C2=A0> Il mar 16 mag 2023, 17:41 Rebecca Cran <rebecca@bsdio.com&g= t; ha
>=C2=A0 =C2=A0 =C2=A0scritto:
>=C2=A0 =C2=A0 =C2=A0>
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0On 5/15/23 13:58, Matthew G= rooms wrote:
>=C2=A0 =C2=A0 =C2=A0>
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0> On 5/15/2023 2:39 PM, = John F Carr wrote:
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0>> Is there any activ= e work on getting bhyve virtualization
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0working on
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0>> 64 bit ARM?=C2=A0 = I see some work was started a few years ago
>=C2=A0 =C2=A0 =C2=A0(e.g.
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0>> https://r= eviews.freebsd.org/D26976,
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0>> = https://bhyvecon.org/bhyvecon2016-Mihai.pdf). It seems to
>=C2=A0 =C2=A0 =C2=A0have
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0been
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0>> abandoned or at le= ast stalled.
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0>>
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0>> I may be able to h= elp.=C2=A0 It's not a project I can take on
>=C2=A0 =C2=A0 =C2=A0myself.
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0>
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0> Porting bhyve to arm h= as been one of the longest running UPB
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0projects.
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0> You can find more info= on the history here ...
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0>
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0>
>=C2=A0 =C2=A0 =C2=A0>
>=C2=A0 =C2=A0 =C2=A0https://wiki.freebsd.org/DevSummit/= 202303?action=3DAttachFile&do=3Dview&target=3DPresentation+-+bhyvec= on.pdf
>=C2=A0 =C2=A0 =C2=A0<https://wiki.freebsd.org/DevSum= mit/202303?action=3DAttachFile&do=3Dview&target=3DPresentation+-+bh= yvecon.pdf>
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0
>=C2=A0 =C2=A0 =C2=A0=C2=A0<https://wiki.freebsd.org/= DevSummit/202303?action=3DAttachFile&do=3Dview&target=3DPresentatio= n+-+bhyvecon.pdf
>=C2=A0 =C2=A0 =C2=A0<https://wiki.freebsd.org/DevSum= mit/202303?action=3DAttachFile&do=3Dview&target=3DPresentation+-+bh= yvecon.pdf>>
>=C2=A0 =C2=A0 =C2=A0>
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0>
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0>
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0> Your best bet is proba= bly to take a look a the following
>=C2=A0 =C2=A0 =C2=A0review
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0opened
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0> by Andrew Turner late = last year. His work is based on the
>=C2=A0 =C2=A0 =C2=A0original
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0> port by the UPB team .= ..
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0>
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0> https://revie= ws.freebsd.org/D37428
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0>
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0> I can't speak to t= he current state of this work. From what I
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0recall,
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0> there were several att= empts made by UPB to collaborate,
>=C2=A0 =C2=A0 =C2=A0but they
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0> failed to get a respon= se. Perhaps he/they can chime in
>=C2=A0 =C2=A0 =C2=A0here with
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0more
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0> detail.
>=C2=A0 =C2=A0 =C2=A0>
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0I'll be getting an Ampe= re system in the next few weeks and
>=C2=A0 =C2=A0 =C2=A0hope to be
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0able to work on the Aarch64= bhyve code.
>=C2=A0 =C2=A0 =C2=A0>
>=C2=A0 =C2=A0 =C2=A0>
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0--
>=C2=A0 =C2=A0 =C2=A0>
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0Rebecca Cran
>=C2=A0 =C2=A0 =C2=A0>
>=C2=A0 =C2=A0 =C2=A0>
>
>
>
> --
> Mario.


--
Mario.
--0000000000006781e705fbe564c5--