Live data from Hacker News

Debian riscv64

blog.aurel32.net

41–50 of 155 posts

Re: Debian riscv64

#43
post #12

Any promising riscv64 computers on the market I should know about? Raspberry pi level or otherwise? What computers could I use this distro on?

I would look at JH7110, released earlier this year, used in VisionFive 2, Star64, as well as PineTab-V, and with an excellent official effort towards upstreaming software support[0]. I own a VisionFive 2 and can recommend it. There's also the TH1520, a newer chip that's a bit faster and has pre-spec V extension. This is available in the Sipeed Lichee Pi4A, but the support for this chip is very green still. CPU-wise,…

TH1520 is definitely not faster than a RPi4, not for normal programs compiled with normal compilers or binaries that will come from your distribution. And no, Bruce, vendor benchmarkering doesn't count.

ADD: TH1520 is about twice as fast as JH7110, but as best I can tell, StarFive (JH7110) is more proactive about upstreaming support.

Re: Debian riscv64

#44
post #17

Earlier quoted context omitted.

Would anything prevent compilers from approaching it like SSE on Intel? Check for feature presence and enable the appropriate path (if using compiler-generated code).

> Check for feature presence That is the hard part. On Intel you can use CPUID, but it is ARM policy to not expose such instructions. You can read /proc/cpuinfo, but that is Linux-specific. Edit: there is a reason for ARM policy: CPUID is a well known virtualization hazard. In fact, KVM immediately traps if you execute CPUID on guest. ARM made a good decision here. Still, it means things can't work exactly like it wo…

But specific instructions should be testable anyway, right? Try to execute with an exception handler and you'll know.

Re: Debian riscv64

#46
post #32

a true milestone! hope it is also the beginning of the end - ISA shouldn't be some tightly controlled assets managed by some lawyers and CXOs, companies shouldn't be sued for just trying to invest into certain ecosystems.

why?

Re: Debian riscv64

#47
post #12

Any promising riscv64 computers on the market I should know about? Raspberry pi level or otherwise? What computers could I use this distro on?

I would look at JH7110, released earlier this year, used in VisionFive 2, Star64, as well as PineTab-V, and with an excellent official effort towards upstreaming software support[0]. I own a VisionFive 2 and can recommend it. There's also the TH1520, a newer chip that's a bit faster and has pre-spec V extension. This is available in the Sipeed Lichee Pi4A, but the support for this chip is very green still. CPU-wise,…

> CPU-wise, JH7110 performs between rpi3 and rpi4. TH1520 is faster than rpi4.

In reality closer to a rpi3

> Else (GPU, I/O, cryptographic acceleration, hardware video codec acceleration and other peripherals), they are both significantly faster than rpi4.

if you can the GPU working, right now on Vision2 it's only usable in very few applications

Re: Debian riscv64

#48
post #39

Earlier quoted context omitted.

Still a step in the right direction.

A path already trailed by OpenSPARC and PowerPC.

SPARC is dead and Power was only recently opened (probably in response to RISC-V).

Neither of them originated from a neutral source.

Re: Debian riscv64

#49
post #47
post #12

Earlier quoted context omitted.

I would look at JH7110, released earlier this year, used in VisionFive 2, Star64, as well as PineTab-V, and with an excellent official effort towards upstreaming software support[0]. I own a VisionFive 2 and can recommend it. There's also the TH1520, a newer chip that's a bit faster and has pre-spec V extension. This is available in the Sipeed Lichee Pi4A, but the support for this chip is very green still. CPU-wise,…

> CPU-wise, JH7110 performs between rpi3 and rpi4. TH1520 is faster than rpi4. In reality closer to a rpi3 > Else (GPU, I/O, cryptographic acceleration, hardware video codec acceleration and other peripherals), they are both significantly faster than rpi4. if you can the GPU working, right now on Vision2 it's only usable in very few applications

>In reality closer to a rpi3

Not true even with generic rv64gc code[0].

0. https://cdn.cnx-software.com/wp-content/uploads/2022/12/Dhry...

Re: Debian riscv64

#50
post #39

Earlier quoted context omitted.

A path already trailed by OpenSPARC and PowerPC.

SPARC is dead and Power was only recently opened (probably in response to RISC-V). Neither of them originated from a neutral source.

OpenPOWER Foundation exists since 2013.

SPARC is quite alive for Solaris customers, and there are still plenty of them.

Regardless, it doesn't change the fact that they were there first.

Anyone that thinks basic ISA being open source, will prevent extensions, proprietary boards or boot firmware are fooling themselves.

Sure, it may do for a couple of maker community projects, Arduino style, and that is about it.

Post reply on HN