problem about cortex-a8-Collection of common programming errors


  • Jules
    linux arm cross-compiling cortex-a8 directfb
    Trying to get a working directfb for use in an embedded system based on an i.MX53 processor (which is an ARM Cortex-A8 core) running Linux 2.6.35.3 (as supplied by Freescale).I have installed a cross compiler on my i686 debian host system. The cross compiler came from the embedian.org archive, and is the gcc-4.3-arm-linux-gnueabi package (arm-linux-gnueabi-gcc (Debian 4.3.2-1.1) 4.3.2). This is supplied with glibc 2.7. This is a different version from the version on my target system, which is

  • Cinar
    linux-kernel arm android-ndk cortex-a8 lockdown
    I’m doing some experiments with a ARM Cortex A-8 device running Linux kernel.I can access and read the value of the L2 cache lockdown register without any problems:asm volatile (“mrc p15, 1, %0, c9, c0, 0” : “=r” (i));When I try to write the value back, the device immediately crashes:asm volatile (“mcr p15, 1, %0, c9, c0, 0” : : “r” (i));The code is running as a kernel module so there are no permission issues.I wonder if I’m missing anything special before writing that register value?

  • Alex
    c++ c neon cortex-a8 arm7
    There is a big (~100 000) array of floating point variables, and there is a threshold (also floating point).The problem is that I have to compare each one variable from the array with a threshold, but NEON flags transfer takes a really long time (~20 cycles in accordance to a profiler).Is there any efficient way to compare these values?NOTE: As rounding error doesn’t matter, I tried the following:float arr[10000]; float threshold; ….int a = arr[20]; // e.g. int t = threshold; if (t > a) {.

Web site is in building