coreos / coreos-assembler

Tooling container to assemble CoreOS-like systems
https://coreos.github.io/coreos-assembler/
Apache License 2.0
336 stars 165 forks source link

RISCV64 arch support #3460

Open nirousseau opened 1 year ago

nirousseau commented 1 year ago

Desired Feature

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

PR

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

jlebon commented 1 year ago

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/?

nirousseau commented 1 year ago

Hi ! :-)

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

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 :

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.