Am Dienstag, 29. Dezember 2015 22:33:08 UTC+1 schrieb Piotr Król:
This image also cannot enter FEL mode. Have you got access to >4.7 GCC on
Gentoo ? Can you try it ?
I've recently updated my crossdev-toolchain - it doesn't change much.
Using
sunxi-tools # armv7a-hardfloat-linux-gnueabi-gcc -v
Using built-in specs.
COLLECT_GCC=/usr/i686-pc-linux-gnu/armv7a-hardfloat-linux-gnueabi/gcc-bin/4.9.3/armv7a-hardfloat-linux-gnueabi-gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/armv7a-hardfloat-linux-gnueabi/4.9.3/lto-wrapper
Target: armv7a-hardfloat-linux-gnueabi
Configured with:
/var/tmp/portage/cross-armv7a-hardfloat-linux-gnueabi/gcc-4.9.3/work/gcc-4.9.3/configure
--host=i686-pc-linux-gnu --target=armv7a-hardfloat-linux-gnueabi
--build=i686-pc-linux-gnu --prefix=/usr
--bindir=/usr/i686-pc-linux-gnu/armv7a-hardfloat-linux-gnueabi/gcc-bin/4.9.3
--includedir=/usr/lib/gcc/armv7a-hardfloat-linux-gnueabi/4.9.3/include
--datadir=/usr/share/gcc-data/armv7a-hardfloat-linux-gnueabi/4.9.3
--mandir=/usr/share/gcc-data/armv7a-hardfloat-linux-gnueabi/4.9.3/man
--infodir=/usr/share/gcc-data/armv7a-hardfloat-linux-gnueabi/4.9.3/info
--with-gxx-include-dir=/usr/lib/gcc/armv7a-hardfloat-linux-gnueabi/4.9.3/include/g++-v4
--with-python-dir=/share/gcc-data/armv7a-hardfloat-linux-gnueabi/4.9.3/python
--enable-languages=c,c++ --enable-obsolete --enable-secureplt
--disable-werror --with-system-zlib --disable-nls
--enable-checking=release --with-bugurl=https://bugs.gentoo.org/
--with-pkgversion='Gentoo 4.9.3 p1.4, pie-0.6.4' --enable-libstdcxx-time
--enable-poison-system-directories
--with-sysroot=/usr/armv7a-hardfloat-linux-gnueabi --disable-bootstrap
--enable-__cxa_atexit --enable-clocale=gnu --disable-multilib
--disable-altivec --disable-fixed-point --with-float=hard
--with-arch=armv7-a --with-float=hard --with-fpu=vfpv3-d16
--disable-libgcj --disable-libgomp --disable-libmudflap --disable-libssp
--disable-libcilkrts --disable-libquadmath --enable-lto --without-cloog
--enable-libsanitizer --with-cpu=cortex-a8 --with-float=hard
Thread model: posix
gcc version 4.9.3 (Gentoo 4.9.3 p1.4, pie-0.6.4)
and
CROSS_COMPILE=armv7a-hardfloat-linux-gnueabi- make fel-sdboot.sunxi
I get
sunxi-tools # armv7a-hardfloat-linux-gnueabi-objdump -d fel-sdboot.elf
fel-sdboot.elf: file format elf32-littlearm
Disassembly of section .text:
00000030 <_start>:
30: e59f3000 ldr r3, [pc] ; 38 <_start+0x8>
34: e12fff13 bx r3
38: ffff0020 .word 0xffff0020
Let's confirm it in radare:
sunxi-tools # r2 -a arm -b 32 -s 0x20 fel-sdboot.sunxi
WARN: Use '-e bin.rawstr=true' or 'rabin2 -zz' to find strings on
unknown file types
[0x00000020]> pd 8
0x00000020 00309fe5 ldr r3, [pc] ; 0x00000028 ;
0xffff0020 [0x2800000000]
0x00000024 13ff2fe1 bx r3
0x00000028 2000ffff ; <UNDEFINED> 0xffff0020
0x0000002c 00000000 andeq r0, r0, r0
0x00000030 00000000 andeq r0, r0, r0
0x00000034 00000000 andeq r0, r0, r0
0x00000038 00000000 andeq r0, r0, r0
0x0000003c 00000000 andeq r0, r0, r0
[0x00000020]> q
No surprises here.
Regards, B. Nortmann
--
You received this message because you are subscribed to the Google Groups
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to linux-sunxi+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.