移植linux以定制RISC-V imafd SOC [英] Porting linux for a custom RISC-V imafd SOC

查看:87
本文介绍了移植linux以定制RISC-V imafd SOC的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试为我的自定义risc-v SOC构建yocto demo-coreip-cli 映像,该映像仅支持 imafd 指令.对于Bitbake使用的交叉工具链的编译,我尝试通过在开放嵌入核心层中添加" –with-arch = rv64imafd "来更改cross-binutils.inc配方和cross-gcc.inc配方.在" EXTRA_OECONF "中多变的.还有其他我想念或做错的事情吗?谢谢.

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.

推荐答案

我能够成功将映像移植到RV64-imafd.您可以按照以下链接我遵循的步骤.最后,我将所有更改编译到单独的图层和.bbappend文件中.让我知道是否可以提供进一步的帮助.

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.

这篇关于移植linux以定制RISC-V imafd SOC的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆