From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?ISO-8859-1?Q?Andreas_Bie=DFmann?= Date: Thu, 10 Apr 2014 09:22:53 +0200 Subject: [U-Boot] Data abort in omap_gpio In-Reply-To: <20140409153712.GU23803@bill-the-cat> References: <534565D1.3050403@gmail.com> <20140409153712.GU23803@bill-the-cat> Message-ID: <534646CD.3000709@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Tom Rini, On 04/09/2014 05:37 PM, Tom Rini wrote: > On Wed, Apr 09, 2014 at 05:22:57PM +0200, Andreas Bie?mann wrote: >> (gdb) s >> 118 __raw_writel(l, reg); >> (gdb) print/s l >> $17 = 2048 >> (gdb) print/x l >> $18 = 0x800 >> (gdb) print/x reg >> $19 = 0x49050090 >> (gdb) s >> ^C >> Program received signal SIGSTOP, Stopped (signal). >> _start () at /home/abiessmann/src/u-boot/arch/arm/cpu/armv7/start.S:27 >> 27 ldr pc, _data_abort >> (gdb) >> --->8--- >> >> (Encounterd with tricorder board current ToT) >> >> I'll dive into that tomorrow. If anyone has some pointeres, please speak >> out loud ;) > > You need to add the relevant CONFIG_OMAP3_GPIO_n define to enable > clocks/etc for the gpios being used. > Well, it is GPIO 42/43 which is located in bank 1. These clocks are not enabled explicitly in 708cfb74b7c6df9c37d3c48988a154be79daefeb. I haven't followed the dsicussen but wonder why we do not switch the clocks on gpio_request(). So is it seems that 708cfb74b7c6df9c37d3c48988a154be79daefeb missed to enable clocks for bank 1. I'll try that. Best regards Best regards Andreas Bie?mann