Live data from Hacker News

Haiku OS ported and running on RISC-V

discuss.haiku-os.org

1–10 of 89 posts

Re: Haiku OS ported and running on RISC-V

#6
Down thread folks were asking to run BeOS binaries on it, sounds like a great opportunity for a couple fun hacks.

* ppc -> risc-v binary translator, much more tractable with fixed width 32 bit instructions

* running this on an FPGA that already includes a RISC-V core like PolarFire and then instantiate a softcore PPC. hack Haiku to run the PPC processes on that core. Extra bonus points to dynamically instantiate PPC cores to meet load, make fast ones, wide ones, slow ones.

What a time to be alive!

https://github.com/antonblanchard/microwatt

Re: Haiku OS ported and running on RISC-V

#7
It doesn't look like there is an obvious download link (or I'm too dumb to locate it). b̶u̶t̶ ̶y̶o̶u̶ ̶c̶a̶n̶ ̶g̶r̶a̶b̶ ̶a̶n̶ ̶i̶m̶a̶g̶e̶ ̶f̶r̶o̶m̶ ̶h̶e̶r̶e̶:̶ ̶h̶t̶t̶p̶s̶:̶/̶/̶d̶o̶w̶n̶l̶o̶a̶d̶.̶h̶a̶i̶k̶u̶-̶o̶s̶.̶o̶r̶g̶/̶n̶i̶g̶h̶t̶l̶y̶-̶i̶m̶a̶g̶e̶s̶/̶r̶i̶s̶c̶v̶6̶4̶/̶ Please refer to waddlesplash's reply.

I guess you can try it on Qemu. Might test it later. UTM offers "Risc-V Spike board" among others.

Re: Haiku OS ported and running on RISC-V

#8
post #7

It doesn't look like there is an obvious download link (or I'm too dumb to locate it). b̶u̶t̶ ̶y̶o̶u̶ ̶c̶a̶n̶ ̶g̶r̶a̶b̶ ̶a̶n̶ ̶i̶m̶a̶g̶e̶ ̶f̶r̶o̶m̶ ̶h̶e̶r̶e̶:̶ ̶h̶t̶t̶p̶s̶:̶/̶/̶d̶o̶w̶n̶l̶o̶a̶d̶.̶h̶a̶i̶k̶u̶-̶o̶s̶.̶o̶r̶g̶/̶n̶i̶g̶h̶t̶l̶y̶-̶i̶m̶a̶g̶e̶s̶/̶r̶i̶s̶c̶v̶6̶4̶/̶ Please refer to waddlesplash's reply. I guess you can try it on Qemu. Might test it later. UTM offers "Risc-V Spike board" among others.

The screenshots in the linked thread come from an out-of-tree development branch; the "official" nightly builds do not contain any of this work yet.

There is a download link in the thread for one of the test builds. It probably will not work on anything besides a VM, though.

Re: Haiku OS ported and running on RISC-V

#9
post #6

Down thread folks were asking to run BeOS binaries on it, sounds like a great opportunity for a couple fun hacks. * ppc -> risc-v binary translator, much more tractable with fixed width 32 bit instructions * running this on an FPGA that already includes a RISC-V core like PolarFire and then instantiate a softcore PPC. hack Haiku to run the PPC processes on that core. Extra bonus points to dynamically instantiate PPC…

> hack Haiku to run the PPC processes on that core

That sounds like the Amiga PowerUp cards with extra steps. :D

Re: Haiku OS ported and running on RISC-V

#10
post #9
post #6

Down thread folks were asking to run BeOS binaries on it, sounds like a great opportunity for a couple fun hacks. * ppc -> risc-v binary translator, much more tractable with fixed width 32 bit instructions * running this on an FPGA that already includes a RISC-V core like PolarFire and then instantiate a softcore PPC. hack Haiku to run the PPC processes on that core. Extra bonus points to dynamically instantiate PPC…

> hack Haiku to run the PPC processes on that core That sounds like the Amiga PowerUp cards with extra steps. :D

The extra steps are what ensures an invariant.
Post reply on HN