So I've tried all the toolchains available at sourceforge and none will produce a binary that will run on my platform (D8000 T-GAP8AKUC armv7). I've just been testing with a simple hello world.c and getting seg faults that have something to do with memory mapping
strace -Tt ./hello
00:44:23 execve("./hello", ["./hello"], [/* 47 vars */]) = 0 <0.001105>
00:44:23 brk(0) = 0x11000 <0.000028>
00:44:23 --- {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0x40fa6968} (Segmentation fault) ---
00:44:23 +++ killed by SIGSEGV +++
Segmentation fault
So I figure I have to compile my own toolchain with sources for my platform, but I haven't been able to follow the
B-series wiki example because there isn't a clear correspondence between that example and my sources. The distribution package (11_UNxxD7xx0) for my platform includes:
bcm_usbshim.tgz
binutils-2010q1.tgz
busybox-1.14.3-vdlinux.tgz
DPA_S_RT3572_LinuxSTA_V2.4.0.4.tgz
ffmpeg_0.5.tgz
GenoaP_VDLinux_OpenSource.tgz
glibc-2.11-2010q1.tgz
gloox-0.9.9.12.tar.bz2
iptables-1.4.8.tgz
LGPL_glib.tgz
LGPL_mms.tgz
libgphoto2.3.1.tar.gz
libiconv_1_9_1.tar.tar
libthai-0.1.6.tar.gz
libusb1.0.tar.gz
readme
RT3572_LinuxAP_V2.5.0.3.tgz
SDL.zip
wireless_tools.29.tgz
xfsprogs-3.0.5.tgz
I have successfully compiled the GenoaP kernel but really don't know where to go next to build the toolchain. Has anyone built a toolchain from this source distro? Any tips would be greatly appreciated. thx