From: prathika <prathika@deeopl.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] Interrupt handlers in u-boot
Date: Thu, 09 Apr 2009 10:14:31 +0530 [thread overview]
Message-ID: <49DD7D2F.8050603@deeopl.com> (raw)
In-Reply-To: <200904081442.01543.sr@denx.de>
hi,
Thanks for that reply.........I am right away checking those functions
install_hdlr() and free_hdlr()..will get back about the results in few
minutes..
Thanks & Regards,
Prathika R
Stefan Roese wrote:
> On Wednesday 08 April 2009, prathika wrote:
>> I am working on u-boot 1.1.6 version for PowerPC 440.
>
> First of all. v1.1.6 is really old. I suggest that you use the current
> (latest) version instead.
>
>> I am using the
>> hello world application from the examples folder.
>> I had no issues in loading and executing it.
>> Now I have enabled SPI interrupt in the application. I have written for
>> SPI loopback.
>> My issue is, as there is no interrupt handler defined for the SPI in
>> uboot, whenever i execute my application,
>> it says "Masking bogus interrupt for Vector 0x08". I am calling
>> "install_irq_handler" function for assigning my own interrupt handler
>> for SPI as part of my application itself.
>> I can understand that, there is no exclusive handler for SPI in uboot,
>> so it is disabling the SPI interrupt and printing the BOGUS INTERRUPT
>> message.
>> Now how do I get rid of this and have my own interrupt handler??
>
> You just need to install you "own" interrupt handler. This is done via
> install_hdlr(). See examples/interrupt.c.
>
> Best regards,
> Stefan
>
> =====================================================================
> DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
> HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
> Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de
> =====================================================================
next prev parent reply other threads:[~2009-04-09 4:44 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-04-08 11:02 [U-Boot] Interrupt handlers in u-boot prathika
2009-04-08 12:42 ` Stefan Roese
2009-04-09 4:44 ` prathika [this message]
2009-04-09 6:22 ` prathika
2009-04-09 7:06 ` Stefan Roese
2009-04-09 8:22 ` prathika
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=49DD7D2F.8050603@deeopl.com \
--to=prathika@deeopl.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