
On Mon, 23 Aug 2004 20:10:12 +0200, Wolfgang Denk wd@denx.de wrote:
In message 877aabc404082310482a315b4d@mail.gmail.com you wrote:
Did you actually use 4 MB (400000) or did you use some other address by accident? What is your exact boot comand, and which output do you get?
Oh.. right! I used 0x4.0000 instead of 0x40.0000. Damn.
[Tip: type the '0's in three pairs of two; this is easy to remember and easy to type - i. e. "4...00...00...00".]
.. you meant 5 zeroes there, right?
Okay, so CRC, gunzip are now working. Thanks Michael and WD.
Fine.
But the post-Linux problem still remains: my BDI has gone for a replacement, so I have to use some early putchars with the UART that was initialized by u-boot. I place two putchars in early_init in arch/ppc/kernel/setup.c, but I just see one. So does that mean my stack's getting corrupted?
Probably your second putchar is after the MMU has been turned on and it the cause for the crash. Remove this code, and use post-morthem dumps of the logbuf buffer. See the FAQ section in the DULG.
Yep, that's the next step. Thanks.
Best regards,
Wolfgang Denk
Amit.