openhwgroup / cva6-sdk

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

I get an error compiling openpiton version. Make bbl.bin #79

Open IgnacioFu opened 1 year ago

IgnacioFu commented 1 year ago

Hi, I am loading openpiton on a Genesys2 FPGA. I want to build my own Linux image. I am working on the openpiton branch of the cva6-sdk repository. I have followed all the steps indicated in the quickstart section. To generate the Linux image I run "make bbl.bin" and I get an error in the section:

>>> Generating root filesystem image rootfs.cpio

chmod a+x /home/ignacio/IFU/cva6-sdk/buildroot/output/build/buildroot-fs/cpio/fakeroot
PATH="/home/ignacio/IFU/cva6-sdk/buildroot/output/host/bin:/home/ignacio/IFU/cva6-sdk/buildroot/output/host/sbin:/opt/riscv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/snap/bin:/opt/riscv/bin" /home/ignacio/IFU/cva6-sdk/buildroot/output/host/bin/fakeroot -- /home/ignacio/IFU/cva6-sdk/buildroot/output/build/buildroot-fs/cpio/fakeroot
mknod: /home/ignacio/IFU/cva6-sdk/buildroot/output/build/buildroot-fs/cpio/target/dev/console: Operation not permitted
make[2]: *** [fs/cpio/[cpio.mk:55](http://cpio.mk:55/): /home/ignacio/IFU/cva6-sdk/buildroot/output/images/rootfs.cpio] Error 1
make[1]: *** [Makefile:79: _all] Error 2
make[1]: Leaving directory '/home/ignacio/IFU/cva6-sdk/buildroot'
make: *** [Makefile:104: vmlinux] Error 2

Thank you very much for your help. Regards

eyssartk commented 11 months ago

It looks like a filesystem error on your host. Have you fixed this issue ?

Regards