From: Wolfgang Denk Date: Wed, 12 Jul 2006 15:54:32 +0200 Subject: [U-Boot-Users] CramFS endianness In-Reply-To: Your message of "Wed, 12 Jul 2006 15:31:03 +0200." <200607121531.03551.laurent.pinchart@tbox.biz> Message-ID: <20060712135432.A0DA7353B04@atlas.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 In message <200607121531.03551.laurent.pinchart@tbox.biz> you wrote: > > However, even though Linux doesn't do any byte swapping, U-Boot assumes > little-endian byte order and swap bytes on big-endian architectures. Why is > that ? U-Boot and Linux are clearly not compatible on big-endian > architectures, and I'd like to fix the problem in the right place. Can you please point out which specific parts of the code you are talking of, and which specific prolems you see with this? AFAIK cramfs has been working fine on PPC systems for a long time. [I have to admit that I didn't test it recently, but I am not aware of changes in that area either.] Best regards, Wolfgang Denk -- Software Engineering: Embedded and Realtime Systems, Embedded Linux Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de Success in marriage is not so much finding the right person as it is being the right person.