From owner-freebsd-arm@FreeBSD.ORG Tue Dec 19 16:31:00 2006 Return-Path: X-Original-To: freebsd-arm@freebsd.org Delivered-To: freebsd-arm@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 31A4C16A403 for ; Tue, 19 Dec 2006 16:31:00 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (vc4-2-0-87.dsl.netrack.net [199.45.160.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4121843CA7 for ; Tue, 19 Dec 2006 16:30:57 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.13.4/8.13.4) with ESMTP id kBJGUE26053723; Tue, 19 Dec 2006 09:30:15 -0700 (MST) (envelope-from imp@bsdimp.com) Date: Tue, 19 Dec 2006 09:31:17 -0700 (MST) Message-Id: <20061219.093117.43007816.imp@bsdimp.com> To: neha.makhija@honeywell.com From: "M. Warner Losh" In-Reply-To: <20061219.091449.1973603691.imp@bsdimp.com> References: <7943626.post@talk.nabble.com> <20061219.091449.1973603691.imp@bsdimp.com> X-Mailer: Mew version 4.2 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0 (harmony.bsdimp.com [127.0.0.1]); Tue, 19 Dec 2006 09:30:15 -0700 (MST) Cc: freebsd-arm@freebsd.org Subject: Re: Application not working when Power OFF/ON is done while on reset its working X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Dec 2006 16:31:00 -0000 In message: <20061219.091449.1973603691.imp@bsdimp.com> "M. Warner Losh" writes: : In message: <7943626.post@talk.nabble.com> : neha_makhija writes: : : I am working on AT91RM9200 development board with ecos ported over it. I : : have burnt the flash with the redboot image. When i turn off the board and : : then turn it ON then the code doesnt work and doesnt show anything on the : : hyperterminal. But if i reset the board then the code is working fine. : : I'm guessing something is wrong with the power up sequence such that : the boot flash isn't quite right by the time the AT91RM9200 starts its : boot sequence. In my experience, however, I've seen weird things when not the entire flash is burned. I've never used redboot because I didn't want the hassles of GPL'd software on the embedded project I was working on (I hate keeping track of all the tarballs, and the company doesn't want the hassles). I'd make sure that the redboot image was good for this board. Maybe it is waiting for some other part that is marginal and needs a second reset to work. Maybe it is compiled for a different PHY, so the initial reset sequence doesn't quite work. Maybe you have a hardware problem in the components that the boot code touches. We had a mixup on the magnetics of our ethernet port that caused odd behavior during the early stages of bringing up our board. Warner