I have tried compiling the copter 3.5 branch on my own for the pxfmini and it compiles fine however the resulting binary when run gives no output and just dies. I have tried the firmware that you guys build and offer for the pxfmini but it doesnt run as well. I have been having an issue with the dys f20a esc and my diy pxfmini using an mpu9250+ms5611 and a pca9685. I have a prior version that i compiled working.
pi@raspberrypi:~ $ strace ./arducopter
execve(“./arducopter”, [“./arducopter”], [/* 15 vars /]) = 0
brk(0) = 0x1558000
uname({sys=“Linux”, node=“raspberrypi”, …}) = 0
access(“/etc/ld.so.nohwcap”, F_OK) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6ff3000
access(“/etc/ld.so.preload”, R_OK) = 0
open(“/etc/ld.so.preload”, O_RDONLY|O_CLOEXEC) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=42, …}) = 0
mmap2(NULL, 42, PROT_READ|PROT_WRITE, MAP_PRIVATE, 3, 0) = 0xb6ff2000
close(3) = 0
open(“/usr/lib/arm-linux-gnueabihf/libarmmem.so”, O_RDONLY|O_CLOEXEC) = 3
read(3, “\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0h\5\0\0004\0\0\0”…, 512) = 512
lseek(3, 17960, SEEK_SET) = 17960
read(3, “\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0”…, 960) = 960
lseek(3, 17696, SEEK_SET) = 17696
read(3, “A.\0\0\0aeabi\0\1$\0\0\0\0056\0\6\6\10\1\t\1\n\3\f\1\22\4\24”…, 47) = 47
fstat64(3, {st_mode=S_IFREG|0644, st_size=18920, …}) = 0
mmap2(NULL, 83236, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb6fb0000
mprotect(0xb6fb5000, 61440, PROT_NONE) = 0
mmap2(0xb6fc4000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x4000) = 0xb6fc4000
mprotect(0xbeba8000, 4096, PROT_READ|PROT_WRITE|PROT_EXEC|PROT_GROWSDOWN) = 0
close(3) = 0
munmap(0xb6ff2000, 42) = 0
open(“/etc/ld.so.cache”, O_RDONLY|O_CLOEXEC) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=25436, …}) = 0
mmap2(NULL, 25436, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb6fec000
close(3) = 0
access(“/etc/ld.so.nohwcap”, F_OK) = 0
open(“/lib/arm-linux-gnueabihf/libdl.so.2”, O_RDONLY|O_CLOEXEC) = 3
read(3, “\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0\220\t\0\0004\0\0\0”…, 512) = 512
lseek(3, 8660, SEEK_SET) = 8660
read(3, “\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0”…, 1160) = 1160
lseek(3, 8328, SEEK_SET) = 8328
read(3, “A0\0\0\0aeabi\0\1&\0\0\0\0056\0\6\6\10\1\t\1\n\2\22\4\23\1\24”…, 49) = 49
fstat64(3, {st_mode=S_IFREG|0644, st_size=9820, …}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6feb000
mmap2(NULL, 73912, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb6f9d000
mprotect(0xb6f9f000, 61440, PROT_NONE) = 0
mmap2(0xb6fae000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1000) = 0xb6fae000
close(3) = 0
access(“/etc/ld.so.nohwcap”, F_OK) = 0
open(“/usr/lib/arm-linux-gnueabihf/libstdc++.so.6”, O_RDONLY|O_CLOEXEC) = 3
read(3, “\177ELF\1\1\1\3\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0xk\4\0004\0\0\0”…, 512) = 512
lseek(3, 808332, SEEK_SET) = 808332
read(3, “\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0”…, 1280) = 1280
lseek(3, 807760, SEEK_SET) = 807760
read(3, “A.\0\0\0aeabi\0\1$\0\0\0\0056\0\6\6\10\1\t\1\n\2\22\4\24\1\25”…, 47) = 47
fstat64(3, {st_mode=S_IFREG|0644, st_size=809612, …}) = 0
mmap2(NULL, 900808, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb6ec1000
mprotect(0xb6f82000, 61440, PROT_NONE) = 0
mmap2(0xb6f91000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xc0000) = 0xb6f91000
mmap2(0xb6f97000, 24264, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb6f97000
close(3) = 0
access(“/etc/ld.so.nohwcap”, F_OK) = 0
open(“/lib/arm-linux-gnueabihf/libm.so.6”, O_RDONLY|O_CLOEXEC) = 3
read(3, “\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0p<\0\0004\0\0\0”…, 512) = 512
lseek(3, 434644, SEEK_SET) = 434644
read(3, “\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0”…, 1160) = 1160
lseek(3, 434312, SEEK_SET) = 434312
read(3, “A0\0\0\0aeabi\0\1&\0\0\0\0056\0\6\6\10\1\t\1\n\2\22\4\23\1\24”…, 49) = 49
fstat64(3, {st_mode=S_IFREG|0644, st_size=435804, …}) = 0
mmap2(NULL, 499856, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb6e46000
mprotect(0xb6eaf000, 65536, PROT_NONE) = 0
mmap2(0xb6ebf000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x69000) = 0xb6ebf000
close(3) = 0
access(“/etc/ld.so.nohwcap”, F_OK) = 0
open(“/lib/arm-linux-gnueabihf/libgcc_s.so.1”, O_RDONLY|O_CLOEXEC) = 3
read(3, “\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0`\321\0\0004\0\0\0”…, 512) = 512
lseek(3, 116400, SEEK_SET) = 116400
read(3, “\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0”…, 1120) = 1120
lseek(3, 116072, SEEK_SET) = 116072
read(3, “A.\0\0\0aeabi\0\1$\0\0\0\0056\0\6\6\10\1\t\1\n\2\22\4\24\1\25”…, 47) = 47
fstat64(3, {st_mode=S_IFREG|0644, st_size=117520, …}) = 0
mmap2(NULL, 181664, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb6e19000
mprotect(0xb6e36000, 61440, PROT_NONE) = 0
mmap2(0xb6e45000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1c000) = 0xb6e45000
close(3) = 0
access(“/etc/ld.so.nohwcap”, F_OK) = 0
open(“/lib/arm-linux-gnueabihf/libpthread.so.0”, O_RDONLY|O_CLOEXEC) = 3
read(3, “\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0lY\0\0004\0\0\0”…, 512) = 512
lseek(3, 120788, SEEK_SET) = 120788
read(3, “\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0”…, 1520) = 1520
lseek(3, 86420, SEEK_SET) = 86420
read(3, “A0\0\0\0aeabi\0\1&\0\0\0\0056\0\6\6\10\1\t\1\n\2\22\4\23\1\24”…, 49) = 49
fstat64(3, {st_mode=S_IFREG|0755, st_size=122308, …}) = 0
mmap2(NULL, 160316, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb6df1000
mprotect(0xb6e05000, 65536, PROT_NONE) = 0
mmap2(0xb6e15000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x14000) = 0xb6e15000
mmap2(0xb6e17000, 4668, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb6e17000
close(3) = 0
access(“/etc/ld.so.nohwcap”, F_OK) = 0
open(“/lib/arm-linux-gnueabihf/libc.so.6”, O_RDONLY|O_CLOEXEC) = 3
read(3, “\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0L\204\1\0004\0\0\0”…, 512) = 512
lseek(3, 1239936, SEEK_SET) = 1239936
read(3, “\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0”…, 2840) = 2840
lseek(3, 1236500, SEEK_SET) = 1236500
read(3, “A.\0\0\0aeabi\0\1$\0\0\0\0056\0\6\6\10\1\t\1\n\2\22\4\23\1\24”…, 47) = 47
fstat64(3, {st_mode=S_IFREG|0755, st_size=1242776, …}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6fea000
mmap2(NULL, 1312152, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb6cb0000
mprotect(0xb6ddb000, 65536, PROT_NONE) = 0
mmap2(0xb6deb000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x12b000) = 0xb6deb000
mmap2(0xb6dee000, 9624, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb6dee000
close(3) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6fe9000
set_tls(0xb6fe94c0, 0xb6fe9bb8, 0xb6ff5050, 0xb6fe94c0, 0xb6ff5050) = 0
mprotect(0xb6deb000, 8192, PROT_READ) = 0
mprotect(0xb6e15000, 4096, PROT_READ) = 0
mprotect(0xb6ebf000, 4096, PROT_READ) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6fe8000
mprotect(0xb6f91000, 16384, PROT_READ) = 0
mprotect(0xb6fae000, 4096, PROT_READ) = 0
mprotect(0xb6fb0000, 20480, PROT_READ|PROT_WRITE) = 0
mprotect(0xb6fb0000, 20480, PROT_READ|PROT_EXEC) = 0
cacheflush(0xb6fb0000, 0xb6fb5000, 0, 0x15, 0xbeba8370) = 0
mprotect(0xf7000, 4096, PROT_READ) = 0
mprotect(0xb6ff4000, 4096, PROT_READ) = 0
munmap(0xb6fec000, 25436) = 0
set_tid_address(0xb6fe9068) = 894
set_robust_list(0xb6fe9070, 12) = 0
rt_sigaction(SIGRTMIN, {0xb6df6434, [], SA_RESTORER|SA_SIGINFO, 0xb6cdf1a0}, NULL, 8) = 0
rt_sigaction(SIGRT_1, {0xb6df62d8, [], SA_RESTORER|SA_RESTART|SA_SIGINFO, 0xb6cdf1a0}, NULL, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0
getrlimit(RLIMIT_STACK, {rlim_cur=81921024, rlim_max=RLIM_INFINITY}) = 0
— SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0x2} —
+++ killed by SIGSEGV +++
Segmentation fault