openhwgroup / cva6-sdk

CVA6 SDK containing RISC-V tools and Buildroot
59 stars 64 forks source link

buildroot bump to 2021.05-rc1, kernel.org linux 5.10.7, port for cva6… #55

Closed eyssartk closed 2 years ago

eyssartk commented 2 years ago

This new version of cva6-sdk updates buildroot with the 2021.05-rc1 to support 32 bits RISC-V. I couldn't find the appropriate commit from the https://github.com/torvalds/linux so I used the kernel.org stable and use the patches at compile time.

The 32 or 64 bits configuration is set in the XLEN variable of the Makefile. It uses the 32 or 64 bits version of files in the configs folder.

Building with:

make all images

Tools and linux images will be located in install$(XLEN).

Status:

zarubaf commented 2 years ago

If possible I would like to make a new release of ariane and ariane-sdk, with both versions. Can you upload both binaries? 32 and 64-bit please?

Moschn commented 2 years ago

I have not touched this for a while tbh. From a quick look over the changes, it seems to be ok. But I have not tested this myself.

More recently I also experimented with Yocto to build some ARM images (which might be a better solution for the future). SiFive also switched to Yocto a while back.

eyssartk commented 2 years ago

Ok I will upload binaries generated by this commit. Indeed, yocto is a nice to have. I will also have a look at a u-boot + SBI implementation, replacing bbl + fesvr.

eyssartk commented 2 years ago

install32.zip install64.zip

zarubaf commented 2 years ago

@eyssartk I think we need to change the riscv-pk submodule to point to the merged commit. Otherwise we point to an unstable branch.

Could you also change ariane in the README.md to CVA6 please? That would be much appreciated.

zarubaf commented 2 years ago

Great work @eyssartk!