From mboxrd@z Thu Jan 1 00:00:00 1970 From: patrick_ye at ulinkcom.com Date: Mon, 27 Jul 2009 09:38:38 +0800 Subject: [U-Boot] Question about big-endian for u-boot Message-ID: <1248658716$21135$30104770@patrick_ye@ulinkcom.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi?Dear Sir: I want to port u-boot to ARM4510 with big-endian, but I failed. The error shows like this: /root/usr/local/arm/3.3.2/bin/arm-linux-ld: common/libcommon.a(crc16.o)? compile with little-endian but the target is big-endian. I have modified CFLAGS and AFLAGS by adding option ?-mbig-endian? and u-boot.lds by modifying OUTPUT-FORMAT. Some C files and assambly files are passed but only some lib failed(just like above). Would you please give your suggestion? Thank you! Patrick