[Arm-netbook] meta-allwinner

Enrico ebutera at users.sourceforge.net
Sun Jun 10 01:08:53 BST 2012


On Fri, Jun 8, 2012 at 11:01 PM, Henrik Nordström
<henrik at henriknordstrom.net> wrote:
> fre 2012-06-08 klockan 19:31 +0200 skrev Henrik Nordström:
>> ons 2012-06-06 klockan 11:07 +0200 skrev Enrico:
>>
>> > Did someone try it? Does it boot/run?
>>
>> Tested.. and neither u-boot SPL or kernel seems to work.
>
> This is odd... exact same version of u-boot SPL git source works fine
> here.
>
> What arm toolchain are you using in the build?
>
> Any special compiler flags? (CFLAGS etc)

gcc version 4.7.1 20120421 (prerelease) (GCC)

built from: gcc-4.7.0+svnr186651

i didn't check if there are additional patches applied.

One random line from compiler output to have a look at CFLAGS:

arm-oe-linux-gnueabi-gcc  -g  -O2  -fno-common -ffixed-r8 -msoft-float
 -D__KERNEL__ -ffunction-sections -fdata-sections
-DCONFIG_SYS_TEXT_BASE=0x4A000000 -DCONFIG_SPL_TEXT_BASE=0x0
-DCONFIG_SPL_BUILD
-I/mnt/data100/oe-core/build/tmp-eglibc/work/armv7a-vfp-neon-oe-linux-gnueabi/u-boot-git-r2/git/include
-fno-builtin -ffreestanding -nostdinc -isystem
/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
-pipe  -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux
-mno-thumb-interwork -march=armv5 -Wall -Wstrict-prototypes
-fno-stack-protector -Wno-format-nonliteral -Wno-format-security
-fstack-usage     -o
/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
board.c -c

One thing that looked strange was march=armv5 but it seems it's
something set in u-boot (i don't know why).


> can you provide an "objdump -S spl/u-boot-spl" using the objdump from
> your arm toolchain?

I uploaded it to https://github.com/ebutera/meta-allwinner/downloads


> What I can see is that your spl build is noticeably bigger than what I
> get here. Need to identify why, and also how they differ that may cause
> yours to hang.
>
> It's also worth trying to build the v2011.09-sun4i tag. SPL is more
> stable in that version.

I will try that too, thanks.

Enrico



More information about the arm-netbook mailing list