You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First of all, I'll have to admit that I am not a very experienced RISC-V developer. I have ported a fair share of x86 libraries to ARM, with hiccups here and there of course, but nothing to the extents when it comes to this RISC-V board.
I was going to build the qdevice package for NanoKVM to give a quorum vote for Proxmox cluster. However, when using the provided toolchains over at LicheeRV Nano repo and setting the $SYSROOT to the Linux image there, it is absolutely bare with not even the most standard libraries.
It goes like this:
In order to build qdevice, I need to build corosync and nss. nss being a Mozilla library for numerous Internet related functionalities, including browers, is missing. Sure, let's build that. Then, I need to build nspr and zlib which nss depends on, all from source with musl.
Then corosync needs libqb and kronosnet, which require sctp, nss(which I just built), gcrpyt, zlib(again I built it myself), lz4, lzo2, lzma, bzip2, zstd and couple other more, which are all STANDARD for any Linux distribution.
I'm won't be trying for any porting attempts with a 10-ft pole anymore. Just use a normal RISC-V Linux distribution with standard libraries and package managers - TF cards are not that expensive, we can afford to have the image bigger in size.
My wording might be strong, but that's my frustration with how difficult it is to port anything to this kit.
The text was updated successfully, but these errors were encountered:
First of all, I'll have to admit that I am not a very experienced RISC-V developer. I have ported a fair share of x86 libraries to ARM, with hiccups here and there of course, but nothing to the extents when it comes to this RISC-V board.
I was going to build the
qdevice
package for NanoKVM to give a quorum vote for Proxmox cluster. However, when using the provided toolchains over atLicheeRV Nano
repo and setting the$SYSROOT
to the Linux image there, it is absolutely bare with not even the most standard libraries.It goes like this:
In order to build
qdevice
, I need to buildcorosync
andnss
.nss
being a Mozilla library for numerous Internet related functionalities, including browers, is missing. Sure, let's build that. Then, I need to buildnspr
andzlib
whichnss
depends on, all from source withmusl
.Then
corosync
needslibqb
andkronosnet
, which requiresctp
,nss
(which I just built),gcrpyt
,zlib
(again I built it myself),lz4
,lzo2
,lzma
,bzip2
,zstd
and couple other more, which are all STANDARD for any Linux distribution.I'm won't be trying for any porting attempts with a 10-ft pole anymore. Just use a normal RISC-V Linux distribution with standard libraries and package managers - TF cards are not that expensive, we can afford to have the image bigger in size.
My wording might be strong, but that's my frustration with how difficult it is to port anything to this kit.
The text was updated successfully, but these errors were encountered: