Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Nov 2024 11:49:37 -0700
From:      Alan Somers <asomers@freebsd.org>
To:        nenos <nenos@protonmail.com>
Cc:        "tuexen@freebsd.org" <tuexen@freebsd.org>, "thj@freebsd.org" <thj@freebsd.org>,  "freebsd-riscv@freebsd.org" <freebsd-riscv@freebsd.org>
Subject:   Re: Help wanted improving Rust support for RISC-V
Message-ID:  <CAOtMX2jgsUWuC4i_0RRajRKCsRQSzSODxiqK6EA7EMkdwrO_Yg@mail.gmail.com>
In-Reply-To: <RM0Rce4nVMermQhdVskqRd-vb-IVUGL1CYEKh5x3Rlvgk2PcroXRGSUe2ZjoCEvHHfqbPl-YJLu2FmNd-hqbhbFCyzvf-InncVRn9wwZxQs=@protonmail.com>
References:  <CAOtMX2iUfMktVkYrnc5ufQ460PpnqG2YP2DYmavAoDQz%2BOWk9g@mail.gmail.com> <fca8a77e-99b2-4615-a7d3-1dae4d2d3565@app.fastmail.com> <CAOtMX2g838YdPnfL2Jo31jHNTnoPC_RpxC6M2de5pvquO=cnCA@mail.gmail.com> <0408D5F2-C44C-4000-941C-244B3BBC6C2A@freebsd.org> <RM0Rce4nVMermQhdVskqRd-vb-IVUGL1CYEKh5x3Rlvgk2PcroXRGSUe2ZjoCEvHHfqbPl-YJLu2FmNd-hqbhbFCyzvf-InncVRn9wwZxQs=@protonmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
That's a very generous offer, and I'll take you up on it if I can't
find an option that doesn't involve moving actual stuff around the
planet.  I'm trying QEMU right now, but it's painfully slow.  And I've
inquired with Scaleway too.

-Alan

On Sat, Nov 16, 2024 at 8:11=E2=80=AFAM nenos <nenos@protonmail.com> wrote:
>
> I can loan you my VisionFive 2 SBC for an extended period if that would h=
elp. Just send me a good mailing address, and I can ship it on Monday.
>
> -Nate
>
>
> -------- Original Message --------
> On 11/16/24 9:44 AM,  <tuexen@freebsd.org> wrote:
>
> >  > On 16. Nov 2024, at 15:26, Alan Somers <asomers@freebsd.org> wrote:
> >  >
> >  >
> >  >
> >  > On Sat, Nov 16, 2024, 2:21=E2=80=AFAM Tom Jones <thj@freebsd.org> wr=
ote:
> >  >
> >  >
> >  > On Fri, Nov 15, 2024, at 23:47, Alan Somers wrote:
> >  >> I want to improve the state of Rust on FreeBSD in general, and RISC=
-V
> >  >> in particular.  My plan is:
> >  >>
> >  >> * Assemble a corpus of crates heavy on OS stuff (like Nix and Tokio=
)
> >  >> and ensure that their tests pass on Riscv FreeBSD.
> >  >> * Update libc's ABI to FreeBSD 12, finally eliminating the need for
> >  >> COMPAT_11 on riscv to run Rust programs.
> >  >> * Ensure that the corpus of crates still passes their tests.
> >  >> * Convince the libc maintainers to use the FreeBSD 12 ABI, for risc=
v only.
> >  >> * After a full Rust release cycle (at least 6 weeks), and maybe two=
,
> >  >> if there are no reports of breakage, and if Poudriere looks good, u=
se
> >  >> that as justification to raise libc's ABI for all architectures.
> >  >>
> >  >> But in order to do any of this, I need access to riscv hardware.  A
> >  >> virtual instance at Scaleway[^1][^2] would be ideal, but I don't kn=
ow
> >  >> if FreeBSD can run there.  Has anybody tried it?  Failing that, I
> >  >> would need to either acquire some hardware myself, or borrow access=
 to
> >  >> somebody else's.  Or, convince some other developer to do the work
> >  >> himself.  But I won't be able to help very much if I don't have dir=
ect
> >  >> access.
> >  >>
> >  >> Can anybody on this list help me get some access?
> >  >
> >  > I can=E2=80=99t help with scaleway, it sounds like an interesting ch=
oice.
> >  Hi Alan,
> >  neither can I... Depending on the resources you are willing to spend,
> >  https://eu.mouser.com/ProductDetail/SiFive/HF105-001?qs=3DImq1NPwxi75J=
Bw6ulD0quQ%3D%3D
> >  might be an option.
> >
> >  Best regards
> >  Michael
> >  >
> >  > I have no idea of the current state of easily and affordable availab=
le hardware. The visonfive 2 might be a good choice, there has been a lot o=
f work in the year since I last tried it.
> >  >
> >  > https://adventurist.me/posts/00315
> >  >
> >  > It=E2=80=99s probably still the easiest to get hold of if a little u=
nderwhelming.
> >  >
> >  > You don=E2=80=99t mention qemu, is there some reason you can=E2=80=
=99t start there?
> >  >
> >  > - Tom
> >  >
> >  > I haven't had good luck with using qemu-user-static to emulate armv7=
.
> >
> >
> >



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAOtMX2jgsUWuC4i_0RRajRKCsRQSzSODxiqK6EA7EMkdwrO_Yg>