You are not logged in.

#1 2018-05-24 08:49:48

pmatos
Member
Registered: 2017-09-03
Posts: 50

RISC-V Port

Hi,

I have discussed this earlier in the arch reddit. I want to have a go at starting a RISC-V port. However, I am out of my depth when it comes to doing something like this for arch. I know there's an arm port, however where does it live? Is there a github repo for the required files?

Is there anyone who knows the details that is eager in helping me bootstrap the effort?

Kind regards,

Paulo Matos

Offline

#2 2018-05-24 11:02:41

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,422
Website

Re: RISC-V Port

If you want information about how ArchARM was made and is managed, wouldn't it be better to ask them?  You may also want to see archlinux32.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#3 2018-05-24 11:42:42

pmatos
Member
Registered: 2017-09-03
Posts: 50

Re: RISC-V Port

Trilby wrote:

If you want information about how ArchARM was made and is managed, wouldn't it be better to ask them?  You may also want to see archlinux32.

Apologies, I thought here I would find more information on how to port arch to other cpus. I don't care specifically about arm. It was just an example that I know exists.

Offline

#4 2018-05-24 12:15:24

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,422
Website

Re: RISC-V Port

I wasn't suggesting it was inappropriate to ask here - but simply that if you want hints on porting arch to other architectures, who better to ask than people who have done precisely that?


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#5 2018-05-24 12:18:31

pmatos
Member
Registered: 2017-09-03
Posts: 50

Re: RISC-V Port

Trilby wrote:

I wasn't suggesting it was inappropriate to ask here - but simply that if you want hints on porting arch to other architectures, who better to ask than people who have done precisely that?

*thumbsup*

Did just that! smile

Offline

#6 2018-06-10 06:44:02

andreas_baumann
Member
Registered: 2011-05-04
Posts: 25

Re: RISC-V Port

There is a port ongoing for RISC-V of GNU/Parabola, have a look at https://github.com/oaken-source/parabol … -bootstrap.
A GNU approach may be better suited for something as open as RISC-V instead of an Archlinux port which is also open to closed/commercial
software.

Last edited by andreas_baumann (2018-06-10 06:45:22)

Offline

#7 2019-10-02 19:13:17

andreas_baumann
Member
Registered: 2011-05-04
Posts: 25

Re: RISC-V Port

Offline

#8 2021-02-06 14:48:37

Popolon
Member
Registered: 2020-09-28
Posts: 18

Re: RISC-V Port

There is now a RISC-V packages group in ArchLinux, that can help to cross compile or test. It includes tinyemu (command line temu) a system emulator.

https://archlinux.org/groups/x86_64/risc-v/

Qemu already have RISC-V system (and commands) emulation for years now. I used it in May 2018 to run BusyBear Linux (BusyBox based) on Arch Linux ARM, but this tutorial is even back from 2017.

https://github.com/michaeljclark/busybe … x/releases

Some Debian work could be reused:
https://wiki.debian.org/RISC-V

To adapt to Archliunx, riscv64 chroot part is interesting: 
https://wiki.debian.org/RISC-V#Creating … v64_chroot

Other debian doc:
https://github.com/janvrany/riscv-debian

I'm also really interested by a RISC-V port of ArchLinux

I have an MaiDuino (~20$ dualcore RV64GC board with AI+FPU+FFT cores and a bonus ESP32 SoC included) it is able to run Linux kernel, but this is mainly a microcontroler, so I'm note sure there is enough space, even for a basic arch Linux system

http://dl.sipeed.com/shareURL/MAIX/K210_Linux/Firmware

Last edited by Popolon (2021-02-06 15:33:19)

Offline

#9 2021-03-06 00:10:50

Comrade_Stalin
Member
From: Moscow, USSR.
Registered: 2021-03-05
Posts: 8
Website

Re: RISC-V Port

I'm really interested in aquiring one of those new (relatively) cheap RISC-V SBCs and if this project took off it would surely push me over the edge! Good luck in your endevours!


☭ Long live the immortal science of Marxism- Leninism! ☭

Offline

#10 2022-03-29 11:50:02

kth5
Member
Registered: 2004-04-29
Posts: 657
Website

Re: RISC-V Port

The Starfive Visionfive V1 isn't so bad actually, 8GB RAM and a (relatively) speedy dual-core 64bit CPU compared to other offerings such as the Nezha.

I've produced an image for it and there's a (semi-well) mainteined repo for it with links here:
https://archlinuxpower.org


I recognize that while theory and practice are, in theory, the same, they are, in practice, different. -Mark Mitchell

Offline

Board footer

Powered by FluxBB