[PATCH] fix root cause of NAND trouble

Ben Dooks ben-linux at fluff.org
Sat Nov 1 13:37:41 CET 2008


On Sat, Nov 01, 2008 at 03:19:03AM -0200, Werner Almesberger wrote:
> Andy Green wrote:
> > I never used big-endian ARM, but it seems neither of us are quite sure
> > what it'd do.
> 
> I haven't even found how you're supposed to switch to big-endian mode.
> They mention that there's a BIGEND signal to the core, but there's no
> indication of how you'd set it. Perhaps yet another feature that didn't
> work, so it was dropped halfway through the design.
> 
> Hmm, I wonder if it might be BWSCON[0] :-)
> 
> > It's the kind of thing you'll get jumped on for by the Lictors of Upstream.
> 
> Heh, at least for 2440, we should be safe - if you look at the register
> map, there's a lot of registers that change address if going big-endian.
> And of course, there's no provision in the kernel for easily switching
> those addresses.

As a note, is it really important to you to go big endian? I'm sure that
things like readb can be changed to correctly swap the lower bits of the
address, but we currently do not have any 'endianness' stuff for the
16 or 32bit registers. I've not tried any of the S3C series in anything
other than little endian.

-- 
Ben

Q:      What's a light-year?
A:      One-third less calories than a regular year.




More information about the openmoko-kernel mailing list