From mboxrd@z Thu Jan 1 00:00:00 1970 From: dibacco at libero.it Date: Fri, 16 Jan 2009 08:55:01 +0100 (CET) Subject: [U-Boot] R: Re: Changing endianness of at91sam926x causes u-boot to crash Message-ID: <6183713.1650291232092501908.JavaMail.defaultUser@defaultHost> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de >----Messaggio originale---- >Da: ulf.samuelsson at atmel.com >Data: 15/01/2009 20.47 >A: "dibacco at libero.it" >Cc: >Ogg: Re: [U-Boot] Changing endianness of at91sam926x causes u-boot to crash > >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. > > But my processor has a pin I can configure to change the endianness. Why are you saying it cannot support big endian?