From: "Andreas Bießmann" <andreas.devel@googlemail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] Data abort in omap_gpio
Date: Thu, 10 Apr 2014 09:22:53 +0200 [thread overview]
Message-ID: <534646CD.3000709@gmail.com> (raw)
In-Reply-To: <20140409153712.GU23803@bill-the-cat>
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
next prev parent reply other threads:[~2014-04-10 7:22 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-04-09 15:22 [U-Boot] Data abort in omap_gpio Andreas Bießmann
2014-04-09 15:37 ` Tom Rini
2014-04-10 7:22 ` Andreas Bießmann [this message]
2014-04-10 7:47 ` Andreas Bießmann
-- strict thread matches above, loose matches on Subject: below --
2014-04-09 15:16 [U-Boot] data " Andreas Bießmann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=534646CD.3000709@gmail.com \
--to=andreas.devel@googlemail.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox