<html><head>
<meta content="text/html; charset=windows-1252" 
http-equiv="Content-Type">
</head><body bgcolor="#FFFFFF" text="#000000">Hi All,<br>
<br>
I decided to give this a shot, but I already get stuck at doing the 
u-boot part...<br>
Looks like some toolchain issue, so before I dig into it more let me see
 if some one here has ran into something similar.<br>
<br>
This is my config:<br>
<br>
BR2_armeb=y<br>
BR2_cortex_a7=y<br>
BR2_ARM_EABI=y<br>
BR2_ARM_FPU_NEON_VFPV4=y<br>
BR2_TARGET_UBOOT=y<br>
BR2_TARGET_UBOOT_BOARDNAME="orangepi_pc"<br>
BR2_TARGET_UBOOT_CUSTOM_GIT=y<br>
BR2_TARGET_UBOOT_CUSTOM_REPO_URL=<a class="moz-txt-link-rfc2396E" href="http://git.denx.de/u-boot.git">"http://git.denx.de/u-boot.git"</a><br>
BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION="4832e17787acb29734d895751bc7a594908aecc6"<br>
BR2_TARGET_UBOOT_SPL=y<br>
<br>
It all goes wrong when linking u-boot. Here are some snippets from the 
output:<br>
  LD      u-boot<br>
/home/echaudron/buildroot_opi/output/host/usr/bin/armeb-buildroot-linux-uclibcgnueabi-ld.bfd:
 Warning: size of symbol `invalidate_dcache_range' changed from 168 in 
arch/arm/cpu/armv7/built-in.o to 4 in arch/arm/lib/built-in.o<br>
/home/echaudron/buildroot_opi/output/host/usr/bin/armeb-buildroot-linux-uclibcgnueabi-ld.bfd:
 Warning: size of symbol `enable_caches' changed from 4 in 
arch/arm/cpu/armv7/built-in.o to 12 in arch/arm/lib/built-in.o<br>
/home/echaudron/buildroot_opi/output/host/usr/bin/armeb-buildroot-linux-uclibcgnueabi-ld.bfd:
 Warning: size of symbol `arm_init_before_mmu' changed from 40 in 
arch/arm/cpu/armv7/built-in.o to 4 in arch/arm/lib/built-in.o<br>
...<br>
...<br>
/home/echaudron/buildroot_opi/output/host/usr/bin/armeb-buildroot-linux-uclibcgnueabi-ld.bfd:
 
/home/echaudron/buildroot_opi/output/host/usr/lib/gcc/armeb-buildroot-linux-uclibcgnueabi/4.9.3/libgcc.a(_dvmd_lnx.o):
 compiled for a big endian system and target is little endian<br>
/home/echaudron/buildroot_opi/output/host/usr/bin/armeb-buildroot-linux-uclibcgnueabi-ld.bfd:
 failed to merge target specific data of file 
/home/echaudron/buildroot_opi/output/host/usr/lib/gcc/armeb-buildroot-linux-uclibcgnueabi/4.9.3/libgcc.a(_dvmd_lnx.o)<br>
/home/echaudron/buildroot_opi/output/host/usr/bin/armeb-buildroot-linux-uclibcgnueabi-ld.bfd:
 BFD (GNU Binutils) 2.24 assertion fail elf32-arm.c:12387<br>
...<br>
...<br>
/home/echaudron/buildroot_opi/output/host/usr/bin/armeb-buildroot-linux-uclibcgnueabi-ld.bfd:
 BFD (GNU Binutils) 2.24 assertion fail elf32-arm.c:12387<br>
/home/echaudron/buildroot_opi/output/host/usr/bin/armeb-buildroot-linux-uclibcgnueabi-ld.bfd:
 BFD (GNU Binutils) 2.24 assertion fail elf32-arm.c:12387<br>
Segmentation fault (core dumped)<br>
Makefile:1193: recipe for target 'u-boot' failed<br>
make[2]: *** [u-boot] Error 139<br>
<br>
When I build the same u-boot version using the ubuntu provided 
"arm-linux-gnueabihf-" toolchain it works fine.<br>
I'm using the following to build it;<br>
<br>
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- orangepi_pc_defconfig<br>
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf-<br>
<br>
Any ideas?<br>
<br>
//Eelco<br>
<br>
<span>

</span><br>
<blockquote style="border: 0px none;" 
cite="mid:56748758.7040908@mind.be" type="cite">
  <div style="margin:30px 25px 10px 25px;" class="__pbConvHr"><div 
style="width:100%;border-top:1px solid #EDEEF0;padding-top:5px">   <div 
style="display:inline-block;white-space:nowrap;vertical-align:middle;width:49%;">
        <a moz-do-not-send="true" href="mailto:arnout@mind.be" 
style="color:#737F92 
!important;padding-right:6px;font-weight:bold;text-decoration:none 
!important;">Arnout Vandecappelle</a></div>   <div 
style="display:inline-block;white-space:nowrap;vertical-align:middle;width:48%;text-align:
 right;">     <font color="#9FA2A5"><span style="padding-left:6px">December
 18, 2015 at 23:23</span></font></div>    </div></div>
  <div style="color:#888888;margin-left:24px;margin-right:24px;" 
__pbrmquotes="true" class="__pbConvBody"><div><!----><br> Not that I 
know of. But it should be quite similar to the cubieboard I think.<br><br>
 If you make a defconfig for it, consider using genimage rather than a 
custom<br>script like mkcubiecard.<br><br> Regards,<br> Arnout<br><br><br></div></div>
</blockquote>
<br>
</body></html>