memory corruption after MMU turned on

Wolfgang Denk wd at denx.de
Sun Nov 19 11:48:01 EST 2006


In message <f9a7e7a80611181353p21dce384m21f30bc9d8935a8d at mail.gmail.com> 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 at denx.de
"Everything should be made as simple as possible, but not simpler."
                                                    - Albert Einstein



More information about the Linuxppc-embedded mailing list