<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>
<<a href="javascript:;" onclick="_e(event, 'cvml', 'henrik@henriknordstrom.net')">henrik@henriknordstrom.net</a>> wrote:<br>
> fre 2012-06-08 klockan 19:31 +0200 skrev Henrik Nordström:<br>
>> ons 2012-06-06 klockan 11:07 +0200 skrev Enrico:<br>
>><br>
>> > Did someone try it? Does it boot/run?<br>
>><br>
>> Tested.. and neither u-boot SPL or kernel seems to work.<br>
><br>
> This is odd... exact same version of u-boot SPL git source works fine<br>
> here.<br>
><br>
> What arm toolchain are you using in the build?<br>
><br>
> 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'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's<br>
something set in u-boot (i don'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>
> can you provide an "objdump -S spl/u-boot-spl" using the objdump from<br>
> 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>
> What I can see is that your spl build is noticeably bigger than what I<br>
> get here. Need to identify why, and also how they differ that may cause<br>
> yours to hang.<br>
><br>
> It's also worth trying to build the v2011.09-sun4i tag. SPL is more<br>
> 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, 'cvml', 'arm-netbook@lists.phcomp.co.uk')">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, 'cvml', 'arm-netbook@files.phcomp.co.uk')">arm-netbook@files.phcomp.co.uk</a><br>
</blockquote><br><br>-- <br><font face="'trebuchet ms', sans-serif">Keep simple, stay foolish.</font>
<div> </div><br>