On 7/27/20 10:09 PM, [email protected] wrote:
Hi,
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.

I think you could start by defining new tune files for this look into
meta/conf/machine/include/riscv/arch-riscv.inc and also tune-riscv.inc to understand the underlying mechanism, we currently have lp64 and ilp32 options available, its not clear what particular ABI you are looking for ( is it rv32 ? ) but you can encode it there and then use the right tunes in your machine to use it.




-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#50135): https://lists.yoctoproject.org/g/yocto/message/50135
Mute This Topic: https://lists.yoctoproject.org/mt/75838691/21656
Mute #yocto: https://lists.yoctoproject.org/g/yocto+yocto/mutehashtag/yocto
Mute #toolchain: 
https://lists.yoctoproject.org/g/yocto+yocto/mutehashtag/toolchain
Mute #linux: https://lists.yoctoproject.org/g/yocto+yocto/mutehashtag/linux
Mute #devtool: https://lists.yoctoproject.org/g/yocto+yocto/mutehashtag/devtool
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to