• "init (1): undefined instruction: pc=b6fce0a8" during mounting ARM BE Root file system

    Pankaj P
    Pankaj P

    Hi, 

    I am getting below  mentioned error when kernel is trying to mount Big endian NFS root filesystem.  

    [ 9.091012] devtmpfs: mounted
    [ 9.094985] Freeing unused kernel memory: 1024K
    [ 9.114876] init (1): undefined instruction: pc=b6fce0a8
    [ 9.120227] CPU…

    • over 2 years ago
    • Open Source Software and Platforms
    • GNU Toolchain forum
  • arm-none-eabi-ar: ../src/n1_main.o plugin needed to handle lto object

    HaleyXu
    HaleyXu

    Dear all,

    I use arm-none-eabi-gcc 7.2.1 in my project, when I want to use -flto option to optimize bin size, error shows:

    ../../../tools/gcc/linux/gcc-arm-none-eabi/bin/arm-none-eabi-ar: creating /proj/lib_m.a
    ../../../tools/gcc/linux/gcc-arm-none-eabi…

    • over 2 years ago
    • Open Source Software and Platforms
    • GNU Toolchain forum
  • Occurrence of a Data Abort exception in bare board application executing on i.MX6 based board

    teamrtos
    teamrtos

    We have developed a bare board software on NXP’s i.MX6 based platform.  The bare board software enables MMU after initializing a single ARM Cortex-A9 processor to execute a small application.

    Initial State

    1. All caches are disabled.
    2. L1 prefetch d…
    • over 2 years ago
    • Open Source Software and Platforms
    • GNU Toolchain forum
  • Any suggestion on the best way to include all the paths for header files using GCC and Eclipse plugin for GNU GCC ARM?

    Manoel De Souza
    Manoel De Souza

    Hello all..

    I've developed all my life using IAR and I was willing to give a try on GNU GCC for ARM.

    To start I have few folders and few files in a project which requires configuration to add the path for all header files using the -I key.

    Is there…

    • over 2 years ago
    • Open Source Software and Platforms
    • GNU Toolchain forum
  • __hardfp_xxx symbols not found by gcc linker

    fbcp
    fbcp

    I am working on a project where a static library is built with the ARM tool chain using the hard-float abi, and then is linked with other object files (generated with gcc). The linker is the gcc linker, and the linking stage takes place on a Raspberry…

    • Answered
    • over 2 years ago
    • Open Source Software and Platforms
    • GNU Toolchain forum
  • Introducing section within a section in WinARM GCC tools...

    dsphani
    dsphani

    Hi,

    This question is on using WinARM, GCC and mainly on loader (.ld).  Please pardon me if the post does not suit the thread.

    I am using WinARM GCC tools for compiling, linking the code for LPC2378 (NXP Controller). This worked great until recently. Now…

    • over 2 years ago
    • Open Source Software and Platforms
    • GNU Toolchain forum
  • Windows version of arm-linux-gnueabi and arm-linux-gnueabihf for gcc8

    Uban
    Uban

    Hello !

    It seems like the binaries for the windows version of arm-linux-gnueabi and arm-linux-gnueabihf has been removed in gcc8. Have the support for windows been removed or will it appear ?

    • over 2 years ago
    • Open Source Software and Platforms
    • GNU Toolchain forum
  • Prebuilt GNU8 - AArch64 GNU/Linux target (aarch64-linux-gnu)

    Nagaraju
    Nagaraju

    Hi,

    I have downloaded the new AArch64 GNU/Linux target (aarch64-linux-gnu) binaries and they are working fine.

    Can someone please let me know the the configurations flags used to build these toolchains.

    Earlier I have used ABE tool (from Linaro) to build…

    • over 2 years ago
    • Open Source Software and Platforms
    • GNU Toolchain forum
  • GCC and GDB for native compiling and debugging

    Lumin
    Lumin

    Hello,

    I 've a module with a Cortex-M4 Vybrid VF61 processor and an installed linux.

    The installed linux does not provide gcc and gdb for native compiling and debugging.

    Please, can anybody tell me, where I can download a prebuilt gcc and a prebuilt…

    • Answered
    • over 2 years ago
    • Open Source Software and Platforms
    • GNU Toolchain forum
  • cannot use LENGTH() in memory definition in linker file for arm gcc 8-2018-q4-major

    Susan Su
    Susan Su

    Recently we have updated the armgcc toolchain version to 8-2018-q4-major, and we found that our previous memory definition way in linker file is invalid.

    Previously, we are using below LENGTH() way to calculate the origin for a defined memory:

    IMAGE_START_ADDR…

    • over 2 years ago
    • Open Source Software and Platforms
    • GNU Toolchain forum
  • Cygwin compile of bare metal ARMv8 cross-compiler

    CosmicPi
    CosmicPi

    I am trying to get a cross-compiler built to run on my Windows box.  One route I'm trying is to use Cygwin to build the compiler.

    I've tried several attempts with the latest sources but hit upon some compile snags.  Has this been done before?  Google…

    • over 3 years ago
    • Open Source Software and Platforms
    • GNU Toolchain forum
  • Generating .elf files with ARM toolchain

    PMG100
    PMG100

    Hello.

    I'm fairly new to embedded software development, and could use some clarification on how to generate .elf files from .c files.

    I've recently downloaded the following toolchain installation:

    developer.arm.com/.../gcc-arm-none-eabi-7-2017…

    • Answered
    • over 3 years ago
    • Open Source Software and Platforms
    • GNU Toolchain forum
  • selected processor does not support `cpsid i' and `cpsie i' in arm mode.

    Nima
    Nima

    hi everyone,

    i'm new with ARMprocessor and dont know too much about DS-5. just alittle bit from my Softwares >>> SoC EDS 17.1 (from Altera)  - DS-5 5.28 and my OS is Windows 10. I am using DS-5 for my SoC FPGA (DE0_Nano_SoC) Altera, which…

    • over 3 years ago
    • Software Tools
    • Arm Development Studio forum
  • Incorrect Thumb operand strange behaviour

    Evgeniy Rahimov
    Evgeniy Rahimov

    Hello,

    I am trying to compile some asm code with operand unable to be used as immediate, but compiler does not generate error but produce strange binary code, hard to detect erroneous code.

    The source code

    int main(void)
    {

            asm volatile ( "mov r0, #0x1234…

    • Answered
    • over 2 years ago
    • Open Source Software and Platforms
    • GNU Toolchain forum
  • "mov" vs "adds ... #0" (cortex M0)

    Bill Westfeild
    Bill Westfeild

    I've noticed that arm gcc, when compiling code for Cortex-M0 (at least) seems to generate instructions:

       adds r0, r2, #0

    Where I'm pretty sure that it the same as:

       movs r0, r2

    In fact, I can disassemble a relatively substantial program and not…

    • over 2 years ago
    • Open Source Software and Platforms
    • GNU Toolchain forum
  • How about arm gcc optimze for if ( ptrToStruct && ptrToStruct ->member )

    xiaofeng.huang
    xiaofeng.huang

    hi,

    I'm using arm-none-eabi-gcc 5.4, I'm not sure if there's problem as followed:

    if ( ptr && ptr->member ) {

    // do some thing....

    }

    The question is that, when compiled with -O1 or -O2, CPU will execute the condition (ptr->member…

    • over 2 years ago
    • Open Source Software and Platforms
    • GNU Toolchain forum
  • Issue arm-none-eabi-gcc of gcc-arm-none-eabi-6-2017-q2-update need GLIBC_2.14 and GLIBC_2.11

    ele
    ele

    Dear All,

    To use 'arm-none-eabi-gcc' I've got a gcc-arm-none-eabi-6-2017-q2-update.ar.bz2 from ARM Toolchain.

    But I came across the following issue GLIBC_2.14 and GLIBC_2.11 need to use.

    u24c02:/home/nick/gcc/gcc-arm-none-eabi-6-2017-q2-update…

    • Answered
    • over 3 years ago
    • Open Source Software and Platforms
    • GNU Toolchain forum
  • Where is the code for __aeabi_fmul in gcc_eabi?

    vgkarthik_88
    vgkarthik_88

    Hi, I am trying to find out where exactly the soft floating point code used in eabi for a M0+ comes from. When i compile a program using floating point using gcc_eabi, it generates code to carry out this operation. ( code included).

    I downloaded the…

    • over 3 years ago
    • Open Source Software and Platforms
    • GNU Toolchain forum
  • the relationship between startup_ARMCM3.s and gcc_arm.ld from Cortex-M3 of MDK5.

    ele
    ele

    Dear All,
    Currently now I'm trying to undersatnd the relationship between startup_ARMCM3.s and gcc_arm.ld from Cortex-M3 of MDK5.
    the following codes are refered from Cortex-M3 of MDK5 example code.


    1 //---startup_ARMCM3.s----------//
    2
    3 __HeapLimit…

    • over 3 years ago
    • Software Tools
    • Keil forum
  • Eclipse not finding toolchain

    markwaldin
    markwaldin

    I've read everything I could put my hands on to figure this out but have had no luck.  I installed the win32 exe   gcc-arm-none-eabi-6-2017-q2-update-win32-sha2.exe  but it is not found by Eclipse.  I know it says to leave the environment variable blank…

    • over 3 years ago
    • Software Tools
    • Arm Development Studio forum
  • How to disable floating-point instruction generation with aarch64 GCC compiler

    ilchang
    ilchang

    Dear Sir,

      How to disable floating-point instruction generation with aarch64 GCC compiler ?

      We want to use software to do floating-point calculation.

      But always has error messages as below:

    aarch64-linux-gnu-gcc -mcpu=cortex-a53+nofp test.c
    test.c: In…

    • Answered
    • over 3 years ago
    • Open Source Software and Platforms
    • GNU Toolchain forum
  • Can we use GNU ARM Embedded Toolchain for compiling commercial products or closed source?

    Manohara HK
    Manohara HK

    I have a confusion regarding GNU compiler licesnce. I gone through GNU ARM Embedded Toolchain license and noticed it has built with "newlib" C standard library instead of glibc to avoid licensing issue. 

    But still i want to clarify my confusion…

    • over 4 years ago
    • Open Source Software and Platforms
    • GNU Toolchain forum
  • GNU ARM Embedded Toolchain for commercial, closed source products?

    J Mucha
    J Mucha

    Hello,
    I'm developing a commercial software for MCU which is built by GNU ARM Embedded Toolchain. I want to sell the programmed device (product) and I don't want the source code to be released.
    When I compile my code using a -Wl,--verbose I see…

    • over 3 years ago
    • Open Source Software and Platforms
    • GNU Toolchain forum
  • Beware of GNU-ARM compiler for Cortex-M0/M0+/M1

    Miro Samek
    Miro Samek
    The popular GNU-ARM toolset has had long-known issues for the Cortex-M0/M0+/M1 (ARMv6-M architecture). Specifically, people have reported very inefficient code generated, see "Cortex M0/M0+/M1/M23 BAD Optimisation in GCC" https://embdev…
    • over 3 years ago
    • Open Source Software and Platforms
    • GNU Toolchain forum
  • Cast uint32x4_t to uint8x8x2_t

    DorJo
    DorJo

    Is there a possibility to reinterpret cast an uint32x4_t into a uint8x8x2_t using intrinsics?

     

    Sincerely

    • Answered
    • over 4 years ago
    • Open Source Software and Platforms
    • GNU Toolchain forum
<>