[U-Boot-Users] sprintf in standalone

Martin Krause Martin.Krause at tqs.de
Wed Jan 30 16:32:49 CET 2008


Hi,

u-boot-users-bounces at lists.sourceforge.net wrote on Wednesday, January
30, 2008 2:56 PM: 
> Hi!
> Having problem with the sprintf function, I did the exporting and
> updating 
> of the files accordantly to the README.standalone. The standalone
> application seems to compile without error. But once I do the go
> 40004 I get 
> Alignment Exception and the board resets. If I remove the sprintf line
> everything works fine.
> The reason I'm using the sprintf is to modify the setenv which
> includes a 
> variable.
> I'm using an MPC83xx.
> What does the Alignment Exception means?

Maybe 40004 is not the correct entry point. The entry point may
change after modifying the standalone application, see:

http://www.denx.de/wiki/view/DULG/MyStandaloneProgramDoesNotWork

Best Regards,
Martin Krause

--
TQ-Systems GmbH
Muehlstrasse 2, Gut Delling, D-82229 Seefeld
Amtsgericht Muenchen, HRB 105 018, UST-IdNr. DE 811 607 913
Geschaeftsfuehrer: Dipl.-Ing. (FH) Detlef Schneider, Dipl.-Ing. (FH) Ruediger Stahl
http://www.tq-group.com




More information about the U-Boot mailing list