Received: from mail-ej1-f41.google.com (mail-ej1-f41.google.com [209.85.218.41]) by nld3-dev1.alpinelinux.org (Postfix) with ESMTPS id AC5C5781F03 for <~alpine/devel@lists.alpinelinux.org>; Mon, 28 Jun 2021 18:23:01 +0000 (UTC) Received: by mail-ej1-f41.google.com with SMTP id c17so5607298ejk.13 for <~alpine/devel@lists.alpinelinux.org>; Mon, 28 Jun 2021 11:23:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zededa-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=h9r6bKo2ehzMmvwXh1RSWKL9zmuVU4MjSLoQbcbsmjw=; b=jZlnIPG09N0d+Nu5U2gmHexpGquR2BA6ArvJ1yUOiR5M/BdwSY+l9revNouO9nIybo YC7tj/0SlVgV/+Uq7sIHHA3M40KjWbFyvpLBIskFMVuUBZY+/O4iuapqNWYrPoZa5nu1 WRbUvkLe4m9YzLNGGtudFWZ7HcvbF4C3Sl+jllO5KaBE4nXB247C12OYScBsmXs2Wu5o P4xeqpkb1ptKXHz5JQ2LIPJ8BMnMwU4Qaq7fXwfecEqhNg1oPeirrdbw45e1UdbqATpg Ogy7rMFrzEeHC2LLeeyirECzzni+CEXZavDEVcsHuQa7VQwXyBsRCFmHtxn1PYDbEHQv Xlfw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=h9r6bKo2ehzMmvwXh1RSWKL9zmuVU4MjSLoQbcbsmjw=; b=Bm7QmgpAHUWxw1B/OeWAiemg931JfW48m2WNdIxrY18FpjdjPr+ldYlc/yUqFZqJN/ YQM+//O3aqRLMIrKChWhPTGmtB+E+4Zz5C2ekYfe11cdlmtP11xwjJRnaxZFDuQ7yN3M hIHqSx6DG89KYB1f0t2Xog6tUYpyd1Om0spOEbjjcTieYvx5SACURcZ4fjpYE/3o6Xpp ql5p8qMWFqkQFtJl6/koE13TU10eGI4dRzMNpb/t4b3xdGL2LsRB0GEZ/N7JgT2tgz/G QYOI63r7JGiU06O6rPSdtVP5lJ54/vfqNta1K/1saToqPDn/pRvKFKR7IFWukWuhpT1I VSjg== X-Gm-Message-State: AOAM532EcGhMLQR4EjeTuw+9O/loY8zBIQrXO7/8mwnYoXGrNX0jeMEZ rnyRJ/qYOIIcRWhUHbjMXRtjAlLk+xxjyLWUJ2opWovSCsbgOw== X-Google-Smtp-Source: ABdhPJwpeIcfvOEDXpiwhFkjO8d+vplcdO8hrZSbEAZSJYdopAvfFj20FqVfC+gzcsFBqX3B+mBclg4wvubc2qtEHck= X-Received: by 2002:a17:906:a20b:: with SMTP id r11mr25359359ejy.221.1624904581114; Mon, 28 Jun 2021 11:23:01 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Roman Shaposhnik Date: Mon, 28 Jun 2021 11:22:50 -0700 Message-ID: Subject: Re: Plan for RISCV64 in Alpine 3.15 To: Ariadne Conill Cc: ~alpine/devel@lists.alpinelinux.org Content-Type: text/plain; charset="UTF-8" On Mon, Jun 28, 2021 at 7:36 AM Ariadne Conill wrote: > > Hi, > > On Sun, 27 Jun 2021, Roman Shaposhnik wrote: > > > Hi! > > > > so first of all -- thank you all for taking RISCV forward > > while I was traveling -- much appreciated! I see that > > we now have a builder that produces packages and they > > are actually getting deposited at the usual places. E.g.: > > https://dl-cdn.alpinelinux.org/alpine/edge/main/riscv64/ > > > > Given that, here's my first few infrastructure related questions: > > 1. what does it take for edge packages to show up on: > > https://pkgs.alpinelinux.org/packages ? > > 2. in general, do we produce the final consumable aritfacts > > for the Edge builds? Things like: > > https://alpinelinux.org/downloads/ > > > > With that out of the way, personally, I'm going to spend this > > coming week making sure that: > > * bootstrap.sh is back to functional > > * we get to produce at least the following artifacts: > > * MINI ROOT FILESYSTEM > > * VIRTUAL > > * see if we can get rid of !tests on builders and selectively > > disable tests in those packages that just need it. > > The problem is that building with tests enabled under qemu is really slow. > It would be nice if we can find some actually decent (at least 16 cores) > builder for riscv64. Agreed, although when I was building all of aports on 32-way Dell server I deliberately kept tests on. Aside from half a dozen or so packages (that yes -- those get REAL slow) everything else wasn't all that horrible frankly. Would it make sense to reconsider bulk !tests and instead just selectively turn it off on a few packages for riscv64? By my current count, it would be around 200 or so packages in all aports where we would have to do that. We can also do it slowly (as to not overwhelm the current builder). Will this work? > The chip made by Alibaba looks promising. I wonder if we can source a > board with it, somehow? Let me work on that -- but be warned, this maybe 2-3 months kind of an exercise (at best!). I'll talk to my peeps at RISCV foundation. > > Now, the last question I have is this: what would be the criteria > > for the # of packages or anything else to officially release RISCV64 > > as part of Alpine 3.15? > > I'm not comfortable having riscv64 as a release architecture until we are > building on real silicon, but if the qemu stuff proves to be otherwise > solid, then I guess that's fine too if we have real QA happening on real > boards. How about the middle ground? We build on qemu with most tests enabled for now and we test on these two SBCs: https://beagleboard.org/beaglev https://www.indiegogo.com/projects/nezha-your-first-64bit-risc-v-linux-sbc-for-iot/x/13053257#/ I can also pretty trivially add the bigger board: https://www.sifive.com/boards/hifive-unmatched but honestly I don't actually see much value in it over the above SBCs. Thanks, Roman.