Porting linux for a custom RISC-V imafd SOC

Viewed 160

I am trying to build a yocto demo-coreip-cli image for my custom risc-v SOC which only supports imafd instructions. For the compilation of cross toolchain that is used by Bitbake, I tried changing cross-binutils.inc recipe and cross-gcc.inc recipe in openembedded-core layer by including “–with-arch=rv64imafd” in "EXTRA_OECONF " variable. Is there anything else I am missing or doing wrong? Thank You.

1 Answers

I was able to successfully port the image to RV64-imafd. You can follow this link for the steps I followed. Atlast I compiled all the changes into a separate layer and .bbappend files. Let me know if I can help any further.

Related