From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.176]) by ozlabs.org (Postfix) with ESMTP id 46D2DDE223 for ; Fri, 22 Feb 2008 04:50:02 +1100 (EST) Received: by py-out-1112.google.com with SMTP id z59so110866pyg.27 for ; Thu, 21 Feb 2008 09:50:01 -0800 (PST) Message-ID: <5ee408090802210950t498b9752meab2b91d2a13191c@mail.gmail.com> Date: Thu, 21 Feb 2008 15:50:01 -0200 From: "Ricardo Ayres Severo" To: "David Baird" Subject: Re: TLB Miss booting linux kernel on ppc 405 In-Reply-To: <440abda90802201347w3945c53dhf47ffd0380aa01aa@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 References: <5ee408090802130850w130ce09an507ca5c4d41cc5a8@mail.gmail.com> <5ee408090802130938u7d069636g42a496e489fe5b80@mail.gmail.com> <440abda90802130951h7a23743asc85454bf089c7e55@mail.gmail.com> <5ee408090802131003m4b8e632cu931769bc77f9b439@mail.gmail.com> <440abda90802131032l6e11eef7gbd7eb57352c2ce4@mail.gmail.com> <5ee408090802131049u652ef867wff034b4ccb1067f1@mail.gmail.com> <440abda90802131102q234e870fx2cbf12fb3119fd0a@mail.gmail.com> <1203542646.4812.38.camel@PisteOff> <5ee408090802201329hdb78359m3a60e987a799f06b@mail.gmail.com> <440abda90802201347w3945c53dhf47ffd0380aa01aa@mail.gmail.com> Cc: linuxppc-embedded@ozlabs.org List-Id: Linux on Embedded PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Hi David, I rebuilt the design in EDK 9.2i and problem persisted. The only difference is the registers are not zeroing anymore. No exception is thrown, and the system still hangs at memset_io. I'm running out of options. It is possible to boot Linux on Virtex-II, isn't? Thanks, On Wed, Feb 20, 2008 at 7:47 PM, David Baird wrote: > Hi Ricardo, > > > On Feb 20, 2008 2:29 PM, Ricardo Ayres Severo wrote: > > I didn't solve the problem yet. I'm having problems with the memset_io > > in early_init and am studying if the SDRAM is initializing right. > > Any progress I'll send to the list. > > It sounds suspiciously like you might be having this problem: > > http://www.nabble.com/Problem-booting-Linux-2.6-on-Virtex-4-td14795525.html > "Things start to go obviously wrong after early_init calls memset to > clear the .bss section." > > I don't know what the cause of the problem was, but the symptom is > that different memory regions were aliased onto each other (it was > like an address bit wasn't working or something funny was happening > with the cache ... but only in virtual mode). The problem was fixed > after rebuilding the design in EDK 9.2i. I don't know what caused the > problem originally though. > > Let us know if you get this resolved or have more questions... I > might not be able answer, but hopefully someone can help. > > -David > -- Ricardo Ayres Severo