Skip to contentSkip to conversation

Changing endianness of at91sam926x causes u-boot to crash

U-Boot dibacco at libero.it 2 participants 2 messages Jan 15, 2009

lore
Share & tools
lore
#0 lore raw

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?

#1 lore raw

tor 2009-01-15 klockan 19:17 +0100 skrev dibacco at libero.it:

Quoted 7 lines

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

Quoted 6 lines

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.

Quoted 6 lines

_______________________________________________
U-Boot mailing list
U-Boot at lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Signature · 2 lines
Ulf Samuelsson <[email protected]>
Atmel Nordic AB