问题
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:
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.
来源:https://stackoverflow.com/questions/63127165/porting-linux-for-a-custom-risc-v-imafd-soc