AnsweredAssumed Answered

Memory issues in i.MX287 with Linux 2.6.35.3

Question asked by Elias Knuutila on Mar 28, 2014

We need urgently anyone who can port/cross-compile Valgrind to ARM926EJ-S.

So far we have succeeded to confirm that Linux Mint 16 (Petra) packages: gcc-arm-linux-gnueabi and libc6-dev-armel-cross are able to crosscompile simple test:

 

$ cat test.c

#include <stdio.h>

 

int main(void){

    printf("hello arm");

    return 0;

}

$ arm-linux-gnueabi-gcc --static -marm -mtune=arm926ej-s test.c -o test

$ file test

test: ELF 32-bit LSB executable, ARM, version 1 (SYSV), statically linked, for GNU/Linux 2.6.32, BuildID[sha1]=0x0f65aa3beab2e919f7db271d2b8f095ce3b01ea3, not stripped

 

(running on device)

root@mx28evk:~# ./test

hello arm

Outcomes