From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lauri Hintsala Date: Tue, 17 Apr 2012 11:38:56 +0300 Subject: [U-Boot] MXS NAND: DMA read error In-Reply-To: <201204171029.43751.marex@denx.de> References: <4F8D24C0.9090106@bluegiga.com> <201204171017.37983.marex@denx.de> <4F8D288F.8050206@bluegiga.com> <201204171029.43751.marex@denx.de> Message-ID: <4F8D2C20.5000900@bluegiga.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 04/17/2012 11:29 AM, Marek Vasut wrote: >> On 04/17/2012 11:17 AM, Marek Vasut wrote: >>>> I'm trying to compile latest U-Boot to mx28evk (rev D) with NAND >>>> support. U-Boot boots up but NAND chip is not detected and DMA read >>>> error is popped up. >>> >>> MX28 EVK has no NAND, right? >> >> MX28 EVK has NAND slot and I have installed NAND chip on it. I'm using >> same chip with older pached U-Boot and Linux and chip is working fine >> with them. >> >>> Otherwise, check if you have APBH DMA enabled in your >>> include/configs/mx28evk.h >> >> Config file include/configs/mx28evk.h has following line. >> >> #define CONFIG_APBH_DMA >> > > And you have dcache and icache disabled ? Yes, they seem to be disabled: #define CONFIG_SYS_ICACHE_OFF #define CONFIG_SYS_DCACHE_OFF I'm using latest U-Boot and default mx28evk.h config: http://git.denx.de/?p=u-boot.git;a=blob;f=include/configs/mx28evk.h;h=02f3366ed263ff66fe3b9b2089ec95ef461a92c0;hb=HEAD I have added only NAND related lines I sent in first message. BR, Lauri