Hello all!
I’ve tried to use a ready-to-use image for my StarFive 2 with 8Gb of RAM but it can’t recognize that my board has 8Gb, it only sees half of it.
I used this image from Microsoft OneDrive
This build also doesn’t have dm_thin_pool module and a docker engine as the official documentation says. I’ve installed docker from the apt - but the docker service failed to start because of an issue with missed dm_thin_pool.
Then I write the Ubuntu 24.04 from ubuntu com/download/risc-v and try to test it. I can confirm that Ubuntu 24.04 sees all 8Gb of RAM and works well. I didn’t try to install docker but I can confirm that Ubuntu works with Ubuntu repositories and can upgrade from it.
Sorry, as I see this is a known issue but the fresh builds don’t contain a fix.
I know that debian builds are in development but still can’t understand why it is not fixed yet for 1.5 year 0_o ?
Nope. As I said before I opened the wiki and used a link to onedrive for the image.
Folks, I understand that it is a development board and a Debian development build, but I don’t understand why this small bug is present and needs to be fixed on the user side. As an example I shared that Ubuntu just works, so I suppose to think that the official build which is mentioned in the documentation or release notes will have a guide on how to fix this issue. Instead, I need to spend a few days just to google it and forum to find that it is a known issue.
Is it difficult to update documentation in time and make it more attractive and understandable for users?
This is indeed an annoying problem. The issue is not with the dtb file itself, but rather somewhere in the boot process. The same dtb is used in all flavors of the board with different memory sizes. It’s the job of u-boot to fixup the dtb before handling off to Linux.
starfive version:
upstream version:
Thus, all boot stages are tightly coupled (among other things). If you are using starfive2 image, then use their bootloader. If ubuntu, then ubuntu image+bootloader. Don’t mix-and-match u-boot/opensbi/kernel+dtb binaries from upstream/starfive/ubuntu. starfive’s image is debian based, but it seems that there’s no upstream official image (Ref: InstallingDebianOn/StarFive/VisionFiveV2 - Debian Wiki)
My take on jh7110/vf2: the support is slowly getting there, but still there are drivers not yet upstreamed, and there’re potentially hw bugs involving PCIe: (Ref: Re: [PATCH v15,RESEND 22/23] PCI: starfive: Offload the NVMe timeout workaround to host drivers. - Kevin Xie) The starfive debian image is absolutely not production ready, as it’s known to break after an apt upgrade Ubuntu official image is probably more promising, but the lack of upstream GPU driver is still a big problem. To me this board is really for someone who’s deeply rooting for risc-v. If not, the ARM side of things are better candidates for you. Things might get better after framework’s new jh7110-based board: Framework | Introducing a new RISC-V Mainboard from DeepComputing I hope by that time Ubuntu/Fedora will have a reasonably usable image with GPU drivers, etc.