[oe] [meta-handheld] Troubles building kernel for h2200
Priit Laes
plaes at plaes.org
Sun May 6 07:14:10 UTC 2012
Ühel kenal päeval, L, 05.05.2012 kell 16:32, kirjutas Khem Raj:
> On Sat, May 5, 2012 at 1:05 PM, Priit Laes <plaes at plaes.org> wrote:
> > Ühel kenal päeval, L, 05.05.2012 kell 12:36, kirjutas Khem Raj:
> >> On 05/05/2012 09:57 AM, Priit Laes wrote:
> >> > include/asm/arch/uncompress.h:20:20: warning: conflicting types for
> >> > built-in function 'putc'
> >>
> >> what version of binutils+gcc is in play and which version of kernel is
> >> it ?
> > binutils-2.20.1-r9
> > gcc-4.5-r49+svnr184907
> >
> > And kernel is linux-handhelds-2.6-2.6.21-hh20-r27
> >
> > It's quite possible that I'm posting to the wrong place because I've set
> > up the system using Angstrom's setup-scripts
> > ( https://github.com/angstrom-distribution/setup-scripts )
> > using the following tutorial:
> > http://www.angstrom-distribution.org/building-angstrom
> >
> >
>
> OK what does arch/arm/boot/compressed/head-h2200.s looks like ?
> it could be a linker problem. If you have option of chosing a
> different version of binutils then please try that to confirm
I've yet to figure out the proper steps to change the toolchain (which I
assume is the culprit), though head-h2200.s looks like this, after I
removed the header comments:
[snip]
#include <asm/mach-types.h>
.section ".start", "ax"
b 0x1000
.org 0x40
.ascii "ECEC"
.org 0x1000
mov r0, #0
mov r1, #(MACH_TYPE_H2200 & 0xff)
orr r1, r1, #(MACH_TYPE_H2200 & 0xff00)
mov r2, #0
#include "head.S"
[/snip]
More information about the Openembedded-devel
mailing list