Openembedded Devel Discussions
 help / color / mirror / Atom feed
From: "Priit Laes" <plaes@plaes.org>
To: openembedded-devel@lists.openembedded.org
Subject: Re: [meta-handheld] Troubles building kernel for h2200
Date: Sun, 06 May 2012 10:14:10 +0300	[thread overview]
Message-ID: <1336288450.2971.4.camel@localhost.localdomain> (raw)
In-Reply-To: <CAMKF1so7oUWmrYROtvk-1x9o6cfNJhgNUgibnc+YpwAv+tDm6g@mail.gmail.com>

Ü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@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]




  reply	other threads:[~2012-05-06  7:24 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-05 16:57 [meta-handheld] Troubles building kernel for h2200 Priit Laes
2012-05-05 19:36 ` Khem Raj
2012-05-05 20:05   ` Priit Laes
2012-05-05 23:32     ` Khem Raj
2012-05-06  7:14       ` Priit Laes [this message]
2012-12-22 18:36         ` Christoph Sobotka

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1336288450.2971.4.camel@localhost.localdomain \
    --to=plaes@plaes.org \
    --cc=openembedded-devel@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox