unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Efraim Flashner <efraim@flashner.co.il>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: guix-devel@gnu.org
Subject: Re: RISCV porting effort
Date: Thu, 10 Jun 2021 16:20:42 +0300	[thread overview]
Message-ID: <YMIRqvNSP/NzehWs@3900XT> (raw)
In-Reply-To: <877dj4fp4f.fsf@gnu.org>

[-- Attachment #1: Type: text/plain, Size: 3412 bytes --]

On Tue, Jun 08, 2021 at 03:43:44PM +0200, Ludovic Courtès wrote:
> Hello!
> 
> Efraim Flashner <efraim@flashner.co.il> skribis:
> 
> > Porting Guix comes with two parts: building the bootstrap-tarballs and
> > adding support for the new architecture in (gnu packages bootstrap).
> > Support for riscv was added to GCC with 7.1.0 so I had to bump the
> > bootstrap GCC to 7 (and adjust some inputs), and guile-2.0.14 didn't
> > known the endianness of riscv64 so instead of patching it I bumped the
> > bootstrap guile to 3.0. I uploaded my bootstrap-tarballs to my regular
> > spot after signing them and switched over to the riscv machine.
> >
> > Building Guix from sources is much easier thanks to the work of Vagrant,
> > I was able to apt install most of the dependencies on riscv. The
> > packaged version of guile-zlib was too old in 21.04 so I built that from
> > source (0.1.0 is available in Debian experimental), and I also had to
> > build gnutls from source for the guile-3.0 bindings. I added the riscv
> > binaries to (gnu packages bootstrap) and temporarily switched the
> > raw-build function to look for 3.0 guile libraries instead of 2.0.
> >
> > Where I'm at right now:
> > Downloading using the daemon (builtin:download) fails currently, it says
> > it doesn't have permissions to open-file to write downloaded files to
> > the store.
> > I haven't built anything using the bootstrap binaries to see if they
> > actually work yet.
> 
> Exciting news!  I saw discussions about this ‘guix perform-download’
> issue on IRC.  Did you eventually find what the problem is?

Right now it seems to be some sort of permissions error with writing to
the store. I haven't been able to figure out what's causing it yet.

> If the HiFive works fine, let me remind you that we have budget to buy
> hardware, so we could just as well order a couple of these right away
> (maybe you’ll have Guix System running by the time we receive them ;-)).

On one hand they seem similar to some of our aarch64 boards (but with
16GB of RAM), on the other hand it'd be a coup to announce serious
support for the platform so quickly.

> What we need is someone to order the machine(s) and to host it
> afterwards, with stable connectivity.  This must be agreed upon by the
> Spending Committee (currently Tobias, Ricardo, and myself; email
> guix-finance@gnu.org).  You’ll then be reimbursed by the FSF, our
> current fiscal sponsor.
> 
> Any takers?  Or should we wait until you have more experience with
> yours, Efraim?
> 
> Thanks,
> Ludo’.
> 

I had to pay import tax when I received mine, and I assume those in
Europe did too, so I'd recommend they be hosted in the US since IIRC
they're shipping from Texas. It might be nice to wait until we have it
working for sure, but the lead time is still expected to be 6 months
between ordering and shipping dates.

I suppose if something else comes along that's faster we could always
cancel an order and switch to that.

I have mine sitting in a mini-ITX case, using a libre-respecting NVIDIA
card. Definitely a more serious board than the aarch64 boards I've
bought in the past.

-- 
Efraim Flashner   <efraim@flashner.co.il>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

  parent reply	other threads:[~2021-06-10 13:22 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-07  7:09 RISCV porting effort Efraim Flashner
2021-06-07 15:37 ` Christopher Lemmer Webber
2021-06-08 13:43 ` Ludovic Courtès
2021-06-08 22:28   ` Gabriel Wicki
2021-06-10 13:22     ` Efraim Flashner
2021-06-11 21:07     ` Ludovic Courtès
2021-06-10 13:20   ` Efraim Flashner [this message]
2021-06-11 22:07     ` Ludovic Courtès
2021-06-18 13:05     ` RISCV porting effort (now in stock @mouser) Gabriel Wicki
2021-06-11 11:16 ` RISCV porting effort Efraim Flashner
2021-06-13 17:24 ` Vagrant Cascadian
2021-06-14  7:27   ` Efraim Flashner
2021-06-15  1:00     ` Vagrant Cascadian
2021-06-15 12:37       ` Efraim Flashner
2021-06-13 21:21 ` Christopher Baines
2021-06-20 15:37   ` Ludovic Courtès
2022-06-16  1:46     ` Pjotr Prins
2022-06-16 18:12       ` Maxim Cournoyer
2022-06-17 16:08       ` Ludovic Courtès
2022-06-17 22:52         ` Pjotr Prins
2022-06-20  7:45           ` Pjotr Prins
2022-06-22 13:37             ` Ludovic Courtès
2022-06-22 15:19               ` Ekaitz Zarraga
2022-06-28  8:54                 ` Efraim Flashner
2022-06-30 12:01                   ` Ludovic Courtès
2022-07-03  9:07                     ` Efraim Flashner
2022-06-24  6:37               ` Pjotr Prins

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=YMIRqvNSP/NzehWs@3900XT \
    --to=efraim@flashner.co.il \
    --cc=guix-devel@gnu.org \
    --cc=ludo@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).