From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from metis.ext.pengutronix.de ([2001:6f8:1178:4:290:27ff:fe1d:cc33]) by canuck.infradead.org with esmtps (Exim 4.72 #1 (Red Hat Linux)) id 1QBiu1-0000KQ-1d for barebox@lists.infradead.org; Mon, 18 Apr 2011 07:29:50 +0000 Date: Mon, 18 Apr 2011 09:29:41 +0200 From: Sascha Hauer Message-ID: <20110418072941.GH14770@pengutronix.de> References: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: barebox-bounces@lists.infradead.org Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: Re: Imx51 processor hangs when we do an md 0xf0000000 (memory display) in u-boot To: Greg Topmiller Cc: "barebox@lists.infradead.org" On Sat, Apr 16, 2011 at 11:14:13AM -0700, Greg Topmiller wrote: > We're are using the Freescale release L2.6.31_MX51_SDK_0912_Image and > it will do this on a Freescale Babbage board and our design. It also > does the same thing in Linux when we mmap the address 0xf0000000 and > try to read from it. It does not hang on the Redboot.bin image > supplied with the Freescale SDK. The Redboot dump command displays > some data. On the Freescale 3Stack board we get an illegal address > error in Redboot, but it will hang in u-boot. We realize this is a > reserved physical address but would hope that an error of some kind > would occur rather than locking up the CPU. Could it be some sort of > MMU initialization difference between Redboot and u-boot? I have no idea how redboot maps the memory in the mmu, but barebox and u-boot use a 1:1 mapping which results in the behaviour you see. Accessing reserved memory can result in a abort. Sascha -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox