Received: from mail-qt1-f179.google.com (mail-qt1-f179.google.com [209.85.160.179]) by nld3-dev1.alpinelinux.org (Postfix) with ESMTPS id F1339780FDC for <~alpine/devel@lists.alpinelinux.org>; Tue, 11 May 2021 01:45:26 +0000 (UTC) Received: by mail-qt1-f179.google.com with SMTP id v4so4732187qtp.1 for <~alpine/devel@lists.alpinelinux.org>; Mon, 10 May 2021 18:45:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zededa.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=yL0M9mjvmRKVBFlXR4gOvFI406rRHyv7RxeLq/I6xvI=; b=MaVeRZJh9RfRPBJXDsj1ZIqP3zBMvnJNuzpt/Hmgv1tE4kBRhthbw9cL6LiqU7Axo7 b1l6pQE5oP1UG64e/991jBfX5mUBKzDgh2jZ3XrIR3CFrbEBMQ4kWVUcxy7NTYvMaNLc CVEJY+utysG9CbYYvafnhaEHoe8A3ll6jQQqJo5rkg/TUu1+UA0EMQ3AndFTcupfS+HT VGpR5cPXMFdrR6qsgf68px/5GIWN6HzyaNNG3KpQANvVD628XAA9pUiUowl0JF/sni6l 5UJ4tbHpGnj8cRcgFjOxz5zk01EyUsNIlAVLtYfFPGaNxQalEEU0WdpKK2l8nsm0ldEp HSCQ== 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:content-transfer-encoding; bh=yL0M9mjvmRKVBFlXR4gOvFI406rRHyv7RxeLq/I6xvI=; b=pi3/F5holZvp6SiRwqKhVyXkFBLL4fQwNTJNgvNbNgbLKzS2nu/8YzaZkAjbRbxUz7 LY4+4KP08P14uq95IowUFyHPhzA8QVYGvAqLR74GP0OOcuJFvTmevHomM9kMcKaPPLh/ EQt09VzK/6kPQhUG0mXClStnqOP4CwNqahnI7KuLAsjxu9/uTeFoBZgUr7Q/n+98IEhI 4NL1kLXShUcXj/Dtajfv9Fsc38YnsSq7OGXPYjk/45RCVE9+Elg0UVedaIQbzEp38BUR DDhheaNeNP2okH/khw2n63kOZEwHw6juzDYg1oP6iiJRHQg+A0armygynZyt7Ru/G2w+ Gv2Q== X-Gm-Message-State: AOAM531+bu2NMYE5FJhR6+neUvleyRVbN2iMYFvw+8p0A7hdC399CGVL Q1PB7H88qIH2r9Yr+E9ocCeKBpkR9K5rOxQFhMQcYw== X-Google-Smtp-Source: ABdhPJw0kO8Te25dsLlDwFtk5syVSEWmFYEiIP6yNf+xmVkPatTHrOjQGNkCqJxb3g21EdPY4sB5H1lgnrjajBQdsf8= X-Received: by 2002:ac8:1093:: with SMTP id a19mr25768641qtj.365.1620697525482; Mon, 10 May 2021 18:45:25 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Roman Shaposhnik Date: Mon, 10 May 2021 18:45:12 -0700 Message-ID: Subject: Re: Progress on Alpine for RISC-V (and BeagleV) To: Ariadne Conill Cc: ~alpine/devel@lists.alpinelinux.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Sun, May 9, 2021 at 8:35 AM Ariadne Conill wr= ote: > > Hello, > > On Sat, 8 May 2021, Roman Shaposhnik wrote: > > > Hi! > > > > A few updates for anyone interested in Alpine bringup on the board: > > > > I=E2=80=99ve bootstrapped quite a bit of Alpine packages and published = updated > > aports here https://github.com/rvs/aports > > > > A growing collection of packages is now available under > > https://eve-alpine-packages.s3.amazonaws.com/edge/{main,community} > > > > It is enough to generate basic images, so for example, here=E2=80=99s a= minirootfs > > published that can be used to bootstrap your own containers > > https://eve-alpine-packages.s3.amazonaws.com/edge/images/alpine-minir= ootfs-210509-riscv64.tar.gz > > Very good! There's also binary install images available now: https://eve-alpine-packages.s3.amazonaws.com/edge/images/alpine-riscv-2= 10511-riscv64.tar.gz and https://eve-alpine-packages.s3.amazonaws.com/edge/images/alpine-netboot= -210511-riscv64.tar.gz > > I still need TONS of help to fix/bootstrap more packages =E2=80=94 and = for that > > I published a builder environment =E2=80=94 so if you (on a latest Dock= er for Mac > > or docker + qemu-user-riscv64) do: > > $ docker build -t alpine-riscv64 > > https://eve-alpine-packages.s3.amazonaws.com/edge/images/Dockerfile > > $ docker run -it --rm alpine-riscv64 > > builder$ cd aports > > You will end up in an environment that I=E2=80=99m using to build all o= f these > > packages and can help me with: > > cd > > hack APKBUILD (or not) > > abuild -r > > > > Now, for the most perplexing question of all: it is pretty clear that > > it may be a bit overwhelming for a single person (like me) to make > > sure that we do ALL of the packages at once to support RISC-V. > > When we first got mips64 bootstrapped, I just blocked packages on mips > that were non-essential that didn't build. Aha! Quick question: from that experience -- do you remember what were the packages that were deemed a MUST for the port? > Most maintainers want to see > their packages be portable across architectures and will work to fix them > when they notice arch=3D"all !riscv64" in their APKBUILDs. For sure! But are you saying that it would be acceptable to first bulk upda= te all the APKBUILD files with arch=3D"all !riscv64" (sans those that actually compile just fine)? > > So I'm wondering if there's any way to do it steps -- where we bring > > up progressively more and more packages into the release, but at > > least the ones that are already supported are not allowed to bitrot > > anymore on RISC-V. Is there any process around Alpine releases > > that would allow us to do that? > > Yes, please open MRs for packages which need modifications for the RISC-V > port. I plan to start doing it next week -- once I get a chance of running with A= lpine as my default distribution on this board for a few days more. > I'm willing to operate a qemu-user builder for riscv64 (I'm quite > convinced this is the only way we're going to make progress with the > current build system, but ncopa is planning a new one out). That's what I've been doing so far and I must say -- the performance was REALLY decent (I just used my beefy laptop). On top of that I've been thinking of trying to see how it flies on the biggest boxes available on Packet.net. Thanks, Roman.