coreos-assembler icon indicating copy to clipboard operation
coreos-assembler copied to clipboard

RISCV64 arch support

Open nirousseau opened this issue 2 years ago • 2 comments
trafficstars

Desired Feature

Enable RISCV64 CPU architecture support in order to build coreos-assembler for native RISC-V boards.

PR

  • https://github.com/coreos/coreos-assembler/pull/3459

Example Usage

Port https://docs.fedoraproject.org/en-US/fedora-coreos/ to be compatible with SiFive Unmatched.

Other Information

I have a SiFive Unmatched for Q/A test campaign : https://www.sifive.com/boards/hifive-unmatched

nirousseau avatar May 08 '23 09:05 nirousseau

Cool, thanks for filing this! I don't think we're quite ready to do this (since Fedora itself doesn't officially build for RISC-V yet), but I'm also excited for it.

Have you been able to get a minimal FCOS compose built with e.g. the RPMs at http://fedora.riscv.rocks/koji/?

jlebon avatar May 08 '23 17:05 jlebon

Hi ! :-)

I have been able to build all the packages but two :

  • moby-engine
  • criu

I see however that http://fedora.riscv.rocks/koji/buildinfo?buildID=245364 passed a few weeks ago, so I guess I can continue to rebuild it.

About criu, the RISCV development is underway, but I wonder if we can skip this dependency.

The tests and experiments were reported here :

  • https://risc-v-machines.readthedocs.io/en/latest/
  • https://riscvera.com/

I have to present all my tests and packages to patch. I have to sync with https://twitter.com/dustymabe on IRC asap.

I have a base container of fedora for riscv64 that runs ! https://risc-v-machines.readthedocs.io/en/latest/linux/f33-scratch/

I can update it to the latest fedora 38/39.

nirousseau avatar May 10 '23 08:05 nirousseau