From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-out.m-online.net (mail-out.m-online.net [212.18.0.9]) by ozlabs.org (Postfix) with ESMTP id 6FE6767B77 for ; Sun, 19 Nov 2006 11:48:04 +1100 (EST) To: "Lei Sun" From: Wolfgang Denk Subject: Re: memory corruption after MMU turned on Mime-version: 1.0 Content-type: text/plain; charset=ISO-8859-1 In-reply-to: Your message of "Sat, 18 Nov 2006 16:53:02 EST." Date: Sun, 19 Nov 2006 01:48:01 +0100 Sender: wd@denx.de Message-Id: <20061119004801.A57B3353B9C@atlas.denx.de> Cc: Dave Liu , linuxppc-embedded@ozlabs.org List-Id: Linux on Embedded PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , In message you wrote: > I tried enable i-cache, but it looks fine, however if i enable > d-cache, u-boot corrupted right away, debugger showed some garbage > memory instead of valid instruction. Did you read the U-Boot README? It explains why this cannot work. > > > > > The kernel hangs after uncompressing is done, further debug shows > > > > > that it hangs right after "rfi " instruction of the turn_on_mmu: > > > > > function in head.S Did you read the FAQ, like http://www.ultsol.com/faq_p305.htm ? Best regards, Wolfgang Denk -- Software Engineering: Embedded and Realtime Systems, Embedded Linux Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de "Everything should be made as simple as possible, but not simpler." - Albert Einstein