From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from nz-out-0506.google.com (nz-out-0506.google.com [64.233.162.233]) by ozlabs.org (Postfix) with ESMTP id ACF3CDDF96 for ; Tue, 27 Nov 2007 04:41:39 +1100 (EST) Received: by nz-out-0506.google.com with SMTP id i1so405049nzh for ; Mon, 26 Nov 2007 09:41:38 -0800 (PST) Message-ID: Date: Mon, 26 Nov 2007 12:41:37 -0500 From: "robert lazarski" Subject: Re: 85xx software reset problems from paulus.git Cc: linuxppc-embedded@ozlabs.org In-Reply-To: <7C2ED552-6644-4FB3-A97B-05FC3E2141FF@kernel.crashing.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 References: <473DB6DF.9010804@anagramm.de> <0B4C1069-9D89-44E8-89F7-9E7CE07B03DF@kernel.crashing.org> <7C2ED552-6644-4FB3-A97B-05FC3E2141FF@kernel.crashing.org> List-Id: Linux on Embedded PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Hi Kumar, I finally got time to get back to this: On Nov 17, 2007 2:52 PM, Kumar Gala wrote: > > > On Nov 16, 2007, at 4:01 PM, robert lazarski wrote: > > >>> > >>> Sorry for replying to myself, but thought I'd mention SRESET works > >>> fine on 85xx 2.6.23 , ie, the board resets after kernel panic. It > >>> doesn't work for me on 2.6.24rc2 . > >> > >> What actual 85xx are you using? > >> > >> - k > >> > > > > Custom 8548 board. I'm using the cds 85xx code for a reference and I > > calling the same reset functions. > > > 1. do you have the following in your dts: > > global-utilities@e0000 { //global utilities reg > compatible = "fsl,mpc8548-guts"; > reg = ; > fsl,has-rstcr; > }; > Yes. > > 2. in your platform code are you using fsl_rstcr_restart in > define_machine() > > - k > Yes. The symptoms in 2.6.24RC2 are that during a kernel panic or when calling 'reboot' in the shell, it just hangs. Using the same dts and resets in 2.6.23.1 reboots fine. I don't have a cds reference, but someone who does should be able to confirm whether the issue exists or not by just attempting to reboot via bash. Robert