From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anatolij Gustschin Date: Tue, 3 Feb 2015 20:17:36 +0100 Subject: [U-Boot] Hang when enabling DCache on a iMX6 board In-Reply-To: <20150203193916.5e287194@bbrezillon> References: <20150203193916.5e287194@bbrezillon> Message-ID: <20150203201736.2e2bc0d7@crub> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hello Boris, On Tue, 3 Feb 2015 19:39:16 +0100 Boris Brezillon wrote: > Hello, > > I'm currently porting the SECO iMX6 uQ7 board to mainline, but I'm > facing a hang when enabling DCache (CONFIG_SYS_DCACHE_OFF undefined). > Last week I asked on the #u-boot chan if anybody already encountered > such a bug, and someone (named malik) suggested to check my DDR timings. > > After a few more tests and checks I decided to port my changes to an > older version (2014.04), and it apparently works. > I haven't bisected to find the exact commit that makes it fails yet, > but before doing that I'd like to know if anyone else already > experienced this kind of problem, or has any idea of what could cause > this. I've seen similar problem when porting to v2014.04. The problem disappeared after including the mx6_common.h in the board config file. This header file contains some errata configs, so please try with #include "mx6_common.h" in your board config file. HTH, Anatolij