
13 Jul
2005
13 Jul
'05
10:36 a.m.
Hi everybody!
I have a little problem with u-boot and I don't know if I am the reason for it. It's the following:
I want to add some extra output to the functions do_bootm and do_bootm_linux because I have problems with the kernel parameters. So i added a few printf's to the functions mentioned above. The things that happen now, I do not understand:
Parameters of called functions (e.g. like the "int argc" parameter) suddenly change to random values. How could that be caused? Has it something to do with the stack (overflow or undefined behaviour when using "printf")? Or should I use any other function for creating output? (instead of using the BDI2k)
Greetings, Sebastian