New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[WIP] riscv64-musl port #13207
base: master
Are you sure you want to change the base?
[WIP] riscv64-musl port #13207
Conversation
ce4dd41
to
6481476
Compare
Know of any cheap RV64 hardware capable of running Linux? The HiFive Unleashed is rather expensive :/ |
Nope, I don't have any either. But qemu is reasonably fast actually. |
https://hackaday.com/2019/05/24/new-part-day-a-64-bit-risc-v-cpu-in-raspberry-pi-hat-form/ Maybe this is an alternative? |
Only issue with that is that the K210 only has 6MiB of general purpose memory - Linux would probably struggle. |
HiFive Rev B is 60$. https://www.crowdsupply.com/sifive/hifive1-rev-b#products-top |
But it only has 16KiB of memory. |
FTR I will pick up this project again in March when I get a SiFive Unmatched board. |
You'll probably benefit from the new cross build-helper. Fingers crossed the Unmatched will be shipped on time. |
I might be interested to test on Qemu |
I'm interested helping contribute to this as soon as I get my hands on some hardware as well. I've applied for the BeagleV and intend to pick up the HiFive Unmatched. I already the components for my Unmatched build ready other than the board on hand. |
Thought this might be interesing https://arstechnica.com/gadgets/2021/06/sifives-brand-new-p550-is-one-of-the-worlds-fastest-risc-v-cpus/ |
@leahneukirchen ooi, how did that go, is there an update here? |
WIP branch is https://github.com/leahneukirchen/void-packages/tree/riscv-glibc but the machine is really slow which killed my motivation to do large builds. Main blocker for upstreaming is leahneukirchen@178cead |
I'm interesting in helping out with this. I have a Sipeed Lichee RV to play with. It's currently running Debian and I'd love to "fix" that :). Looking to cross-compile, of course. |
The libatomic thing is still a blocker I think. |
And upstream isn't liking that hack? |
No, it's just a packaging decision we need to make. |
Pull Requests become stale 90 days after last activity and are closed 14 days after that. If this pull request is still relevant bump it or assign it. |
Pull Requests become stale 90 days after last activity and are closed 14 days after that. If this pull request is still relevant bump it or assign it. |
@leahneukirchen Are you planning to work on this still? I might get a VisionFive 2, so I'd indeed be rather interested in keeping this PR up-to-date and alive ^^ |
Long term, yes. Waiting for faster hardware though. |
Maybe someone has a PineTab2 V and can get Void Linux running? I would be buying the tablet if it runs Void. @leahneukirchen I am guessing you reopened this as you continue to work on this? |
Yes, I got a VisionFive 2. |
6481476
to
f77720d
Compare
Anybody heard of the https://sipeed.com/licheepi4a? I am thinking about either getting one or even the cluster.. |
I decided against getting one, but I have a $20 voucher I could pass on if you wanna get one (not sure I can transfer it...). |
it's also possible to apply for developer boards: https://riscv.org/risc-v-developer-boards/details/ |
I was waiting for the Milk-V Meles as it's based on the same SoC but is cheaper #99/$139 for 8/16GB, as opposed to $119/$179 for Lichee Pi. Meles does not have eMMC included so otherwise they seem pretty equivalent. Now that I rechecked it thanks to you and found that Meles is cheaper because it doesn't have eMMC, I'll probably go with Lichee Pi. But not now because today I'm buying a 2TB external HDD. Plus I'll also have time for stocks to arrive in my country because the shipping costs are about $100 on AliExpress. Edit: There's also the Beagle-V Ahead based on the TH1520. |
VisionFive V2 is based on JH7110 which is a bit slower than the TH1520 which also comes with an NPU and faster clocked C910 cores. Edit: But thanks @sug0 I'll apply for it since I'm also interested in trying out software support and usability with Void. |
Pull Requests become stale 90 days after last activity and are closed 14 days after that. If this pull request is still relevant bump it or assign it. |
@maciozo I have a mango pi, took it for around 30 euros, it's a raspberry pi zero equivalent in performance, you might wanna check it out. |
Today my VisionFive 2 Rev. 1.3B arrived and would like to participate. 🎉 Does anybody has some documentation on how to setup a basic void setup on this board with microSD? |
@dataCobra I found this: https://old.reddit.com/r/voidlinux/comments/zl6odc/void_on_riscv/j05fnic/ Instructions for Debian from https://wiki.debian.org/InstallingDebianOn/StarFive/VisionFiveV2:
So you'll be cross-compiling the kernel and base system with the RV64 toolchain and there maybe a bunch of patches here and there. Check out yuzibo's kernel and debian images to see if you can find anything. The image seems to be built with Docker Compose.. I haven't checked much into it, but hope this helps. |
Hey @blacklightpy, thank you for all the links. Currently trying out the yuzibo version. |
This is the beginning of a port of Void to riscv64-musl.
musl supports RISC-V as of 1.1.23.
Feel free to contribute! Having access to a bulk build would be very helpful (Debian has ~10% fallout).