Hi,
I have a "test_fun1()" function call to a inline ASM "test_fun2()". I found that the caller, "test_fun1()" did not keep the R3 before jump to "test_fun2()", which cause the result of the "test_fun1()" is not correct…
Hi,
I have a "test_fun1()" function call to a inline ASM "test_fun2()". I found that the caller, "test_fun1()" did not keep the R3 before jump to "test_fun2()", which cause the result of the "test_fun1()" is not correct…
This year's GNU Compiler Collection (GCC) release not only contains a plethora of new Architecture features, but is also the most performant GCC release to date.
Arm, together with various partners and the GCC community, have been hard at work on…
Hi,
I just recently downloaded the gnu toolchain
when i invoke the openmp flag, it fails
$ aarch64-none-elf-gfortran -c -o mod_constants.fppized.o -fopenmp -O3 -march=native mod_constants.fppized.f90 aarch64-none-elf-gfortran: error: unrecognized…
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…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…
Here is a minimal C implementation of a spinlock "lock" operation using GCC's built-in atomics:
#include <stdbool.h>
void spin_lock(bool *l) {
while (__atomic_test_and_set(l, __ATOMIC_ACQUIRE))
;
}
I am concerned…
Hi everyone, as I wrote in the title, I'm coming from AVR 8-bit MCUs programming and in the last year I learnt a lot about AVR 8-bit architecture,CPU,registers and so on.
I've done a few projects coding primarily in C and something in Assembly (serial…
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…
Dear all,
Most mobile phones contain an ARM-like application processor AP for general user applications and a base band processor for the radio software stack, could you please elaborate on the following:
1. Do the AP and the baseband processor communicate…
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…
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…
How does a developer prevent an attacker from taking control of a program when the developer is providing the tools to the attacker? What are code reuse attacks and how can the Arm Architecture remove the vulnerabilities? How can someone use these architectural…
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…
Does anyone know if there will be a release of the GNU-A tools for MacOS anytime soon?
GNU Tools for ARM Embedded Processors (arm-none-eabi-gcc) , i need a tool chain of ebi like GNU Tools for ARM Embedded Processors (arm-eabi-gcc) , please any suggestions
need with eabi ....any other tool chain is available?
Hello,
I have been using CMSIS library for implementation of DSP functions in ARM, however, CMSIS have very limited DSP functions. Although GNU has many DSP functions which CMSIS do not, It only have floating point implementation. I am trying…
dear All,
i started an arm cortex m3 project using eclipse+gnu.
i want to size boundary of the structure alignment.
where and how i can do it?
thanks and regards,
Ras
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…
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…
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…
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…
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:
This…