From: Junita Ajith Date: Fri, 3 Dec 2004 17:49:03 -0800 (PST) Subject: [U-Boot-Users] Help needed to compile u-boot-1.1.1 for 8540 with ELDK-3.1 In-Reply-To: <20041202213547.0D833C1430@atlas.denx.de> Message-ID: <20041204014903.21358.qmail@web53704.mail.yahoo.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 all, I've installed ELDK-3.1 and compiled my u-boot-1.1.1 for PowerPC - 8540, setting CROSS_COMPILE=ppc_82xx- . and compiled it for e-500. I didnt see the serial output until I changed the cpu/mpc85xx/config.mk . I added -mabi=no-spe, (as its recommened by Motorola for 8540/8560) in PLATFORM_RELFLAGS and -mno-string for PLATFORM_CPPFLAGS. Now I could see the serial output and it hangs where the code uses 'sprintf' . This happens only with ELDK-3.1 but also with a toolchain built with gcc-3.3.2 & binutils -2.14. I dont think its a board problem , as I eliminated the sprintf , the problem is solved at that point and then it hangs at another point where 'sprintf' is used. I did step through BDI2000 and it crashes at that place. Do I need to change the compiler flags ..or am I going wrong somewhere. Any help would be appreciated as it would save a lot of my time . Thanks Junita __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com