From mboxrd@z Thu Jan 1 00:00:00 1970 From: Amit Shah Date: Tue, 24 Aug 2004 00:19:21 +0530 Subject: [U-Boot-Users] Uncompressing uImage: inflate() returned -3 In-Reply-To: <20040823181017.22A41C109F@atlas.denx.de> References: <20040823181017.22A41C109F@atlas.denx.de> Message-ID: <877aabc404082311494d4fe931@mail.gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Mon, 23 Aug 2004 20:10:12 +0200, Wolfgang Denk 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. -- Amit Shah http://amitshah.nav.to/