[yocto] arm-none-eabi toolchain

Khem Raj raj.khem at gmail.com
Thu Aug 6 23:27:09 PDT 2015


On Thu, Jul 30, 2015 at 10:25 PM, Lukas Weiss <lukas.weiss at janitza.de> wrote:
> Hello,
>
> i need a arm-none-eabi toolchain on my yocto host/build system. Ive tried to
> use the arm-poky-linux-gnueabi, but it does not support the arm version +
> format i need:
>
> arm-poky-linux-gnueabi-ld: unrecognised emulation mode: thumb
> | Supported emulations: armelf_linux_eabi armelfb_linux_eabi
>
> My Linux runs on a ARM9 (armv5e, elf), I need cortex-m3 (armv7m, thumb).
> Where do I get that? I do not find any documentation about additional
> toolchains to generate code like peripheral-firmware in my yocto
> environment.
>
> a) How do I get the toolchain in by yocto host?
> b) How to i tell the bitbake-tool to use that toolchain on a certain receipe
> (PACKAGE_ARCH, TARGET_SYS, ... )?
>
> Do you have any hints?

this is not supported usecase but there was some talk about such a
usecase. you could change ld to support additional emulations
so you can then keep using same toolchain to link it but then the c
runtime etc wont match. So far we dont support non-hosted(bare-metal)
environments
>
> Regards,
> Lukas
>
> --
> _______________________________________________
> yocto mailing list
> yocto at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>



More information about the yocto mailing list