From: Wolfgang Denk Date: Tue, 02 Mar 2010 08:53:15 +0100 Subject: [U-Boot] U-boot compilation for little endian In-Reply-To: <143206.74847.qm@web46114.mail.sp1.yahoo.com> References: <143206.74847.qm@web46114.mail.sp1.yahoo.com> Message-ID: <20100302075315.8CB06E44CE6@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Ronny D, In message <143206.74847.qm@web46114.mail.sp1.yahoo.com> you wrote: > > I am using customized ppc440 based board. We need u-boot in little endian. > Will it possible to compile the u-boot source in little endian for ppc440? The natural byte order for the Power Architecture is Big Endian. We do not support Littel Endian mode on Power. I have to admit that I doubt if efforts to implement LE mode on Power make any sense - as mentioned, BE is the natural byte order, and usually it's much easier to explicitly convert date when accessing LE devices as we're doing for example when accessing the PCI bus. I recommend to reconsider your plans. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de Unix: Some say the learning curve is steep, but you only have to climb it once. - Karl Lehenbauer