• Strange behaviour of ld saving vma and lma infos into elf

    mastupristi
    mastupristi

    The question concerns the vma and lma that can be expressed in the linker script with the keyword AT.

    let’s take the following linker script:

    /* Entry Point */
    ENTRY(main)
    
    /* Specify the memory areas */
    MEMORY
    {
      FLASH (rx)      : ORIGIN…

    • 6 months ago
    • Open Source Software and Platforms
    • GNU Toolchain forum
  • printf retargetting for nano-specs Cortex M0

    eugch
    eugch

    With nano-specs I can't get printf statements like this to work where it needs to take in values from a variable.

    printf ("Data1 %d\n", data1);

    A simpler printf with just characters work ok.

    printf ("abc\n");

    Per the standard CMSDK…

    • over 1 year ago
    • Open Source Software and Platforms
    • GNU Toolchain forum
  • Invalid assembly instruction MOV PC, R13 Cortex M3

    Umut Umut
    Umut Umut
    Note: This was originally posted on 24th March 2009 at http://forums.arm.com

    Hi,

    I am trying to compile linux kernel 2.27 with CodeSourcery GNU toolchain 4.3.2 and somehow I am getting assembler error for instruction

    MOV PC, R13

    Well, for some reason ARM…
    • over 7 years ago
    • Open Source Software and Platforms
    • GNU Toolchain forum
  • How to clean the L1 cache from Linux user space?

    ann
    ann

    There is a requirment for me to clean the L1 cache from Linux user space.

    There is a DMAC in my SoC platform and this DMAC should read its mirco-code from L2 cache all the time.

    When I need to update the DMA mirco-code located in a main-memory, I have two…

    • Answered
    • over 4 years ago
    • Open Source Software and Platforms
    • GNU Toolchain forum
  • ARM 7 TDMI

    Jagath
    Jagath

    Hello I am  new to this forum and new to Arm 7 programming.

    My question is - I have a programming (I think it is a Flash) file in hex ,which I downloaded to Arm 7 MCU through Rlink usb tool to run the programme.

    If I need to modify this programme how…

    • Answered
    • over 5 years ago
    • Open Source Software and Platforms
    • GNU Toolchain forum
  • Is there a maximum length of compile path ?

    Micheal Kang
    Micheal Kang

    Hi, I have a problem something weird.

    I made some cpp files in my project folder and made a Makefile to compile easier.

    The problem is that if compile path is longer than specific length, the compile error was occured.

    Only difference between success and…

    • Answered
    • over 5 years ago
    • Open Source Software and Platforms
    • GNU Toolchain forum
  • multiple definition of `__stack_chk_fail'

    Alexandre Gonzalo
    Alexandre Gonzalo

    Hi,
    I am trying to migrate GCC from 7.2.1 to 8.3.
    To do so, I took the prebuilt binaries from your website
    developer.arm.com/.../downloads

    I used to take the packages from Linaro in the past.
    I am using the bare metal binaries for AArch64.
    I have the following…

    • over 1 year ago
    • Open Source Software and Platforms
    • GNU Toolchain forum
  • Compiling Xen for Juno

    armdev
    armdev

    Hi,

    I am trying to run Xen on Juno r0 board and while compiling the Xen code getting following error -

    make xen XEN_ARCH_TARGET=arm64 debug=y CONFIG_EARLY_PRINTK=juno

    make -C xen install

    make[1]: Entering directory `/home/nishaj/Xen/xen/xen'

    make -f Rules…

    • Answered
    • over 5 years ago
    • Open Source Software and Platforms
    • Arm Development Platforms forum
  • Xen/dom0 on Juno

    Justin
    Justin

    Hey all,

    I have been playing around with Xen and Dom0 on a Juno r0 board. Currently dom0 is failing to initailize USB. This is an issue because the rootfs depends on the usb.

    usb 1-1: new high-speed USB device number 2 using ehci-platform

    usb 1-1: device…

    • Answered
    • over 4 years ago
    • Open Source Software and Platforms
    • Arm Development Platforms forum
  • Exception running Bare metal code on JUNO r0 platform

    Amit
    Amit

    Hi,
    I am using Juno platform to run example Baremetal codes provided by DS-5 software examples. I have followed the steps as suggested in www.community.arm.com/.../tutorial-baremetal-development-on-the-juno. I have used precompiled Image copied on MMC…

    • Answered
    • over 3 years ago
    • Open Source Software and Platforms
    • Arm Development Platforms forum
  • Why GNU ARM Toolchain objcopy didn't redefine and strip symbols, what a possible workaround?

    Fgi
    Fgi

    I have Android shared library with armeabi-v7 architecture, and I need to rename some functions inside this.

    Firstly, I tried ARM toolchain v4.9 of Android NDK.

    I tried:

    objcopy --redefine-sym _Z3foo1v=_Z3foo2v libTest.so libTestResult.so

    It throws no…

    • Answered
    • over 3 years ago
    • Open Source Software and Platforms
    • Arm Development Platforms forum
  • Issue while building the OpenEmbedded filesysytem from source (ARM Versatile Express Juno r2 Development Platform)

    luismartins
    luismartins

    Similar to this thread, i'm having some hard time building the openembedded filesystem.

    So far I have managed to follow this tutoriall until the "Booting the board" section. After running the board some errors appear during the execution:

    Execution of the PuTTY shell (Part 1)

    Execution of the PuTTY shell (Part 2)

    This…

    • Answered
    • over 2 years ago
    • Open Source Software and Platforms
    • Arm Development Platforms forum
  • Simple question about cross-compilation

    luismartins
    luismartins

    Hi, I'm trying to cross-compile a program to run on arm versatile juno r2 development platform. 

    The system where I'm compilling is:
    Linux lfpm1993-virtual-machine 4.13.0-43-generic #48~16.04.1-Ubuntu SMP Thu May 17 12:56:46 UTC 2018 x86_64 x86_64…

    • Answered
    • over 2 years ago
    • Open Source Software and Platforms
    • Arm Development Platforms forum
  • OpenCL T860MP4 on RK3399 soc with Ubuntu 18.04 "clBuildProgram is missing.."

    blark
    blark

    Hi folks,

    I'm trying to use OpenCL the above mentioned platform and am getting the following error message: 

    clBuildProgram is missing from OpenCL shared library.

    The OS is Ubuntu 18.04 LTS, and the package providing the OpenCL library is:

    libmali-rk…

    • over 2 years ago
    • Open Source Software and Platforms
    • Arm Development Platforms forum
  • Help configuring PMU's

    luismartins
    luismartins

    Hi,

    I'm trying to enable PMU's on arm versatile juno r2 development board.

    I've already read this manuals from arm:
    ARM ® Cortex ® -A72 MPCore Processor
    ARM® Cortex ® -A53 MPCore Processor
    Juno r2 ARM® Development Platform SoC…

    • Answered
    • over 2 years ago
    • Open Source Software and Platforms
    • Arm Development Platforms forum
  • Need help in understanding ARM code

    Engr. Sajjad Ahmad
    Engr. Sajjad Ahmad

    Hello every one, I am newbie in ARM development. Currently I saw an open source project with the name TREZOR (A bitcoin  wallet) and the processor they used is ARM Cortex M3 based processor. All its detail related  to hardware and uploading firmware and…

    • over 2 years ago
    • Open Source Software and Platforms
    • Arm Development Platforms forum
  • Crosscompiling C++ Ubuntu / Raspberry Pi

    anneranch
    anneranch

    I am using Eclipse IDE to crosscomplie C++ code.

    When I croosscompile Linux / Ubuntu C++ code for Raspberry Pi 3B (ARM7) I have no issues with actually running the code  on the target.  It all works as expected. I am using just plain "hello word " as test…

    • over 1 year ago
    • Open Source Software and Platforms
    • Arm Development Platforms forum
  • aarch64 Cross compilation error (GLIBCXX_3.4)

    FendtC
    FendtC

    Hi,

    I've a software successfully cross compiled with the ARMHF cross compilation toolchain and i try to port it on AARCH64...

    Compilation works, but link failed with some "undefined reference ...@GLIBCXX_3.4"

    i try the command " strings…

    • over 1 year ago
    • Open Source Software and Platforms
    • Arm Development Platforms forum
  • Why TUI mode is not supported in arm-none-eabi-gdb?

    Ismail
    Ismail

    I downloaded and used toolchains from the following page, and noticed that TUI is not supported in version 7-2018-q2 at Linux. What is the reason to not support TUI in arm-none-eabi-gdb? 

    https://developer.arm.com/open-source/gnu-toolchain/gnu-rm/downl…

    • over 2 years ago
    • Open Source Software and Platforms
    • GNU Toolchain forum
  • Support for inline functions in C mode

    Regus Pregus
    Regus Pregus

    When trying to compile the following file using arm-none-eabi-gcc-7.3.1 I get a linker error.

    inline int test()
    {
    	return 0;
    }
    
    int main(int argc, char* argv[])
    {
    	test();
    	return 0;
    }
    

    Command line: arm-none-eabi-gcc.exe test.c --specs=nosys…

    • over 2 years ago
    • Open Source Software and Platforms
    • GNU Toolchain forum
  • GNU8 cross-toolchain 8.2-2018.08: compile from source

    Andrej Gantvorg
    Andrej Gantvorg

    Hello,

    I would like to build the aforementioned toolchain from source. Previous releases by Linaro contained a framework called ABE that allowed to do it in a rather convenient way.

    The source tarball currently published here contains only raw sources…

    • Answered
    • over 2 years ago
    • Open Source Software and Platforms
    • GNU Toolchain forum
  • GNU Arm Embedded ld with LTO support

    mastupristi
    mastupristi

    The current version 7-2018-q2-update of GNU Arm Embedded Toolchain contains arm-none-eabi-ld.bfd, so it does not support Link Time Optimization (LTO).
    Is there a problem if I try to compile the LTO version? Is the new linker lto hoping to work? Why wasn…

    • over 2 years ago
    • Open Source Software and Platforms
    • GNU Toolchain forum
  • GCC 7.2.1 on Cortex-M4 - C++ exceptions not being caught

    David R.
    David R.

    Hi all, first post.  I've posted about this issue in the NXP forums, and it was suggested I post here, since this may be a GCC toolchain issue (if it's not somehow my own fault).  If there's a better place to post this, let me know.  (I didn…

    • Answered
    • over 1 year ago
    • Open Source Software and Platforms
    • GNU Toolchain forum
  • Problems with pre-built GNU8 in Windows

    Jyrki K.
    Jyrki K.

    Hi,

    I tried to use gcc from gcc-arm-8.2-2018.08-i686-mingw32-aarch64-elf.tar.xz in Windows 10 but encountered the following problems:

    1. I was not able to extract the files from the above tar successfully in Windows because the tar contains symbolic and…
    • Answered
    • over 2 years ago
    • Open Source Software and Platforms
    • GNU Toolchain forum
  • "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 1 year ago
    • Open Source Software and Platforms
    • GNU Toolchain forum
  • View related content from anywhere
  • More
  • Cancel
>