This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: help! redboot console
- From: kneep <caozhiyuan at hotmail dot com>
- To: "Paul D. DeRocco" <pderocco at ix dot netcom dot com>
- Cc: ecos-discuss at sources dot redhat dot com
- Date: Mon, 10 May 2004 08:48:57 +0800
- Subject: Re: [ECOS] help! redboot console
- References: <20040509212737.BFB1.CAOZHIYUAN@hotmail.com> <NEBBKHCFDGIGIJEHDJFCEEOCJOAA.pderocco@ix.netcom.com>
Dear Paul D. DeRocco,
Thank you for your information.
I have some more questions:
Does endian affect the byte order of a STRING?
And I confirm that Redboot is compiled as big-endian and my machine is running big-endian because everything goes well except that problem.
So what will the point be?
Best Regards,
--
kneep <caozhiyuan@hotmail.com>
On Sun, 9 May 2004 12:30:12 -0700
"Paul D. DeRocco" <pderocco@ix.netcom.com> wrote:
> > From: kneep
> >
> > My Redboot prints its prompt as 'bdeR>too' other than
> > 'Redboot>' in console. That is, the string is reversed in every 4
> > chars. Also, if you want to input some commands such as 'help',
> > you must type 'pleh', and the output information is abnormal too.
> > Here is a rough description of my environment:
> > A board running Intel IXP422, big endian, ram version
> > Redboot, using UART1, console initialised as FIFO mode.
>
> I would say that either redboot was compiled little-endian, or the machine
> is really running little-endian.
>
> --
>
> Ciao, Paul D. DeRocco
> Paul mailto:pderocco@ix.netcom.com
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss