public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] Changing endianness of at91sam926x causes u-boot to crash
@ 2009-01-15 18:17 dibacco at libero.it
  2009-01-15 19:47 ` Ulf Samuelsson
  0 siblings, 1 reply; 2+ messages in thread
From: dibacco at libero.it @ 2009-01-15 18:17 UTC (permalink / raw)
  To: u-boot

Hi all,

I have a board with at91sam9260 configured as little endian (via strap 
pin). The u-boot is working quite well.
On the board there is a chip whose 
driver was written for PowerPC that is big endian. Unfortunately the driver was

written in a bad way and it is difficult to fix endiannes dependencies. I 
thought to change the endianness of the processor
to big endian. I recompiled 
everything with a big endian compiler but the u-boot is crashing. Should I 
change something
on my hardware?

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [U-Boot] Changing endianness of at91sam926x causes u-boot to crash
  2009-01-15 18:17 [U-Boot] Changing endianness of at91sam926x causes u-boot to crash dibacco at libero.it
@ 2009-01-15 19:47 ` Ulf Samuelsson
  0 siblings, 0 replies; 2+ messages in thread
From: Ulf Samuelsson @ 2009-01-15 19:47 UTC (permalink / raw)
  To: u-boot

tor 2009-01-15 klockan 19:17 +0100 skrev dibacco at libero.it:
> Hi all,
> 
> I have a board with at91sam9260 configured as little endian (via strap 
> pin). The u-boot is working quite well.
> On the board there is a chip whose 
> driver was written for PowerPC that is big endian. Unfortunately the driver was
> 
> written in a bad way and it is difficult to fix endiannes dependencies. I 
> thought to change the endianness of the processor
> to big endian. I recompiled 
> everything with a big endian compiler but the u-boot is crashing. Should I 
> change something
> on my hardware?

The AT91 series is strictly small endian.

Before there is an argument, I'd like to point
out people came to the conclusion that 
"the only good endian is a dead endian"
years ago.


> 
> 
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> http://lists.denx.de/mailman/listinfo/u-boot
-- 
Ulf Samuelsson <ulf.samuelsson@atmel.com>
Atmel Nordic AB

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-01-15 19:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-15 18:17 [U-Boot] Changing endianness of at91sam926x causes u-boot to crash dibacco at libero.it
2009-01-15 19:47 ` Ulf Samuelsson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox