This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.
See the CrossGCC FAQ for lots more information.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
Hi,
El Tue, Oct 21, 2008 at 11:33:29AM +0900 Jake Knickerbocker ha dit:
> Hi there. I'm a bit new to the cross compiling scene, and am trying to
> put together
> a compiler for the Atmel AT91SAM9260, and later for the 9263. I came across
> Crosstool-NG after working on my own set of scripts for a while, but I
> am hitting a
> hard stop on both fronts.
>
> Can anyone offer any advice for doing this? Preferably I'd like to be as
> up to date as
> possible. My own scripts are using kernel 2.6.26, glibc-2.7, gcc-4.3.2,
> eabi, nptl,
> but those are failing to compile properly at this point.
>
> The latest version of Crosstool-NG (a fantastic piece of work btw, and
> one I wish
> I'd come across sooner!) is compiling everything up just fine using a
> config based
> on one of the demo's, but my kernel fails to boot. As in:
>
> Starting kernel ...
>
> And then hangs. This is an image file produced by the mkimage utitlity for
> u-boot. I have used the Code Sourcery and Timesys compilers to build kernels
> for this hardware before, so the problem is most definitely my compiler,
> I must be getting a setting or a patch wrong somewhere.
i had a similar (or the same?) problem a while ago, the toolchain
generated code for armv5t, but my cpu was an armv4t.
martin guy kindly provided a patch that resolved the problem:
http://sourceware.org/ml/crossgcc/2008-05/msg00009.html
anyway i attach you a crosstool-ng .config using relativly up to date
components that is working for me. it uses OABI not EABI, but maybe it
can serve you as starting point.
--
Matthias Kaehlcke
Embedded Linux Engineer
Barcelona
Nothing is more despicable than respect based on fear
(Albert Camus)
.''`.
using free software / Debian GNU/Linux | http://debian.org : :' :
`. `'`
gpg --keyserver pgp.mit.edu --recv-keys 47D8E5D4 `-
Attachment:
.config
Description: Text document
-- For unsubscribe information see http://sourceware.org/lists.html#faq
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |