this post was submitted on 09 Apr 2024
1 points (100.0% liked)

Linux

47900 readers
889 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

(also posted on @selfhost)

RISC-V is a non-proprietary instruction set that is an alternative to ARM. I had thought that we were still waiting for a stable Linux distribution on RISC-V devices, but it turns out many RISC-V machines can run Debian already.

Does anyone have a RISC-V device that they use regularly? How has it been working?

top 5 comments
sorted by: hot top controversial new old
[–] aarroyoc@lemuria.es 0 points 6 months ago (1 children)

Yes, I have a VisionFive 2 and I use it to host some websites. I have am Arch Linux image compiled by a user in a forum, but the userspace packages are from a RISC-V repository from a other people working in Arch in general.

I could run my websites but it wasn't easy at first, because, yes I have Docker but there are almost no images for riscv64, so I had to do some compiling and build images in a local registry. Bu now it works pretty well.

[–] tuckerm@supermeter.social 1 points 6 months ago

It sounds like the answer to "can I run this application on RISC-V" is very dependent on what the backend for that application is. What's the backend stack for your websites? Are they static HTML sites, or do they have other components? Someone else mentioned that they built postgres and mariadb Docker images for RISC-V, but I don't even know which programming languages can be compiled for RISC-V right now.

[–] RegalPotoo@lemmy.world 0 points 6 months ago (2 children)

Definitely interested - is the mainline situation any better than with ARM?

I've been bitten before with a device that "supports" a major distribution, but only if you install our custom pre-built image (good luck auditing what we've tweaked) and only with our special pre-built kernel that isn't even an LTS version, and has a bunch of patches applied to support whatever weird peripherals we decided to throw on the board, and will get exactly 0 updates after the initial release.

Raspberry Pi gets around this by being big enough to get buy in from vendors (Ubuntu distributes a special kernel + firmware bundle), but support for all the other smaller knock offs seem shaky at best

[–] tuckerm@supermeter.social 1 points 6 months ago

is the mainline situation any better than with ARM?

Unfortunately, sounds like "no" currently. The ones that let you install Debian usually provide some kind of custom Debian image for that specific SBC. Like you, I'm not really a fan of that. But apparently there are some desktop motherboards with RISC-V CPUs coming out. Hopefully that will increase the chance of things getting supported in mainline distros.

[–] agressivelyPassive@feddit.de 0 points 6 months ago

I think the """support""" situation you described is still pretty prevalent with risc v.