[ECOS] Problem with little-endian RedBoot for GRG board

Mark Salter msalter@redhat.com
Wed Sep 1 12:28:00 GMT 2004


>>>>> =?big5?B?V2lsbGlhbSBDaGVuICizr6n6rHUp?=  writes:

> Hi all,
> 	I'm trying to run the little-endian RedBoot on GRG board.
> I downloaded RedBoot 1.94 Pre-Built Binaries (includes NPE Ethernet support) from Intel, in that contains both big-endian and little-endian RedBoot binaries.
> It runs successfully when i update the big-endian RedBoot binary to my GRG board, but it's fail to run when i update the little-endian binary.
> I've tried to install the little-endian binary to GRG board by using flash programmer and updating from RedBoot and both case are failed.
> If any one has experience about running little-endian RedBoot on GRG board ?

If it is not running at all, then I suspect that you are programming
the flash with a reversed byte order image. The toolchain will produce
a little-endian image for a little-endian RedBoot. However, the GRG
(and IXDP425) require the image programmed into flash to be big-endian.
So, you need to take the little-endian redboot.bin and swap the byte
order of all the 32-bit words before programming into flash. Another
problem I have seen is that a number of GRG boards use A-step cpu
which does not fully support little-endian. In that case, everything
works except the NPE support.

BTW, look for the GRG and IXDP425 little-endian support to be merged
into CVS this week...

--Mark





-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss



More information about the Ecos-discuss mailing list