This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Compile Redboot for Coyote board (GRG board) failed
- From: Nick Garnett <nickg at ecoscentric dot com>
- To: "Aric Wang" <Aric_Wang at Jabil dot com>
- Cc: "'ecos-discuss at sources dot redhat dot com'" <ecos-discuss at sources dot redhat dot com>
- Date: 29 Jul 2004 08:59:02 +0100
- Subject: Re: [ECOS] Compile Redboot for Coyote board (GRG board) failed
- References: <2A5969FA1F2BAE48BA505A2BD83BD965020E5B62@shamsg10.corp.jabil.org>
"Aric Wang" <Aric_Wang@Jabil.com> writes:
> Hello,
>
> I have a Coyote (1.05) board. I downloaded redboot binary image from Intel
> website. It runs ok.
>
> I'm going to compile my own redboot from source code. I installed eCos 2.0
> under cygwin. There's no support of either GRG or IXDP425 board. So I
> downloaded the latest eCos version via CVS.
>
> I use "configtool" to configure and build eCos. I selected "Generic
> Resident Gateway" template and chose "redboot" package, then build libary.
> Error occured. It seems that the gcc libs came with eCos 2.0 is
> little-endian, but the configtool compiles in big-endian by default. Where
> can I get gnu tools for big-endian?
The distributed tools are little-endian only by default. If you need
big-endian tools than you will have to build them yourself. There are
instructions for doing that here:
http://ecos.sourceware.org/build-toolchain.html
>
> I changed the compile flags to compile little-endian image. It succeeded.
> But when I load the image to RAM, it died.
You may need to change some switches or jumpers to make the system run
little-endian. Alternatively, it may be fixed in big-endian mode
permanently.
--
Nick Garnett eCos Kernel Architect
http://www.ecoscentric.com/ The eCos and RedBoot experts
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss