<br><br>On Sunday, June 10, 2012, Enrico  wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Fri, Jun 8, 2012 at 11:01 PM, Henrik Nordström<br>
&lt;<a href="javascript:;" onclick="_e(event, &#39;cvml&#39;, &#39;henrik@henriknordstrom.net&#39;)">henrik@henriknordstrom.net</a>&gt; wrote:<br>
&gt; fre 2012-06-08 klockan 19:31 +0200 skrev Henrik Nordström:<br>
&gt;&gt; ons 2012-06-06 klockan 11:07 +0200 skrev Enrico:<br>
&gt;&gt;<br>
&gt;&gt; &gt; Did someone try it? Does it boot/run?<br>
&gt;&gt;<br>
&gt;&gt; Tested.. and neither u-boot SPL or kernel seems to work.<br>
&gt;<br>
&gt; This is odd... exact same version of u-boot SPL git source works fine<br>
&gt; here.<br>
&gt;<br>
&gt; What arm toolchain are you using in the build?<br>
&gt;<br>
&gt; Any special compiler flags? (CFLAGS etc)<br>
<br>
gcc version 4.7.1 20120421 (prerelease) (GCC)<br>
<br>
built from: gcc-4.7.0+svnr186651<br>
<br>
i didn&#39;t check if there are additional patches applied.<br>
<br>
One random line from compiler output to have a look at CFLAGS:<br>
<br>
arm-oe-linux-gnueabi-gcc  -g  -O2  -fno-common -ffixed-r8 -msoft-float<br>
 -D__KERNEL__ -ffunction-sections -fdata-sections<br>
-DCONFIG_SYS_TEXT_BASE=0x4A000000 -DCONFIG_SPL_TEXT_BASE=0x0<br>
-DCONFIG_SPL_BUILD<br>
-I/mnt/data100/oe-core/build/tmp-eglibc/work/armv7a-vfp-neon-oe-linux-gnueabi/u-boot-git-r2/git/include<br>
-fno-builtin -ffreestanding -nostdinc -isystem<br>
/mnt/data100/oe-core/build/tmp-eglibc/sysroots/i686-linux/usr/lib/armv7a-vfp-neon-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/4.7.1/include<br>
-pipe  -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux<br>
-mno-thumb-interwork -march=armv5 -Wall -Wstrict-prototypes<br>
-fno-stack-protector -Wno-format-nonliteral -Wno-format-security<br>
-fstack-usage     -o<br>
/mnt/data100/oe-core/build/tmp-eglibc/work/armv7a-vfp-neon-oe-linux-gnueabi/u-boot-git-r2/git/spl/arch/arm/cpu/armv7/sunxi/board.o<br>
board.c -c<br>
<br>
One thing that looked strange was march=armv5 but it seems it&#39;s<br>
something set in u-boot (i don&#39;t know why).</blockquote><div>Yes, in u-boot march is armv5 even for armv7, for working with older gcc. <span></span></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<br>
<br>
&gt; can you provide an &quot;objdump -S spl/u-boot-spl&quot; using the objdump from<br>
&gt; your arm toolchain?<br>
<br>
I uploaded it to <a href="https://github.com/ebutera/meta-allwinner/downloads" target="_blank">https://github.com/ebutera/meta-allwinner/downloads</a><br>
<br>
<br>
&gt; What I can see is that your spl build is noticeably bigger than what I<br>
&gt; get here. Need to identify why, and also how they differ that may cause<br>
&gt; yours to hang.<br>
&gt;<br>
&gt; It&#39;s also worth trying to build the v2011.09-sun4i tag. SPL is more<br>
&gt; stable in that version.<br>
<br>
I will try that too, thanks.<br>
<br>
Enrico<br>
<br>
_______________________________________________<br>
arm-netbook mailing list <a href="javascript:;" onclick="_e(event, &#39;cvml&#39;, &#39;arm-netbook@lists.phcomp.co.uk&#39;)">arm-netbook@lists.phcomp.co.uk</a><br>
<a href="http://lists.phcomp.co.uk/mailman/listinfo/arm-netbook" target="_blank">http://lists.phcomp.co.uk/mailman/listinfo/arm-netbook</a><br>
Send large attachments to <a href="javascript:;" onclick="_e(event, &#39;cvml&#39;, &#39;arm-netbook@files.phcomp.co.uk&#39;)">arm-netbook@files.phcomp.co.uk</a><br>
</blockquote><br><br>-- <br><font face="&#39;trebuchet ms&#39;, sans-serif">Keep simple, stay foolish.</font> 
<div> </div><br>