U-Boot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Reinhard Meyer <reinhard.meyer@emk-elektronik.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] How can i add intterrupt for AT91SAM9260EK board
Date: Thu, 29 Jul 2010 08:25:53 +0200	[thread overview]
Message-ID: <4C511EF1.3070108@emk-elektronik.de> (raw)
In-Reply-To: <AANLkTin3sh3NUGVpd86+7-yyU=oOHYUNMY_OqUHHhfm2@mail.gmail.com>

zhou yu wrote:
> Hi all,
>   
Hi Zhou Yu,
>     I want to add a interrupt for AT91SAM9260EK board. When I define
> CONFIG_USE_IRQ in at91sam9260ek.h,
> then compile, I got error message "error: CONFIG_USE_IRQ not supported". I
> don't know why put this message here so I commented out.
>   
It is there BECAUSE the current source for AT91 does NOT support 
interrupts...
> Then I define CONFIG_STACKSIZE_IRQ, CONFIG_STACKSIZE_FIQ like this, and
> compile complete.
>     #define CONFIG_STACKSIZE_IRQ  4096
>     #define CONFIG_STACKSIZE_FIQ  4096
>
> Download u-boot.bin to my board with sam-ba.exe, and reset. When u-boot run
> to enable_interrupts() in board.c, the board halt.
>
> What should I do?  Thank you!
>   
It requires more than commenting the message out :)

You have add interrupt handling (write source) to AT91 in general and 
provide a patch for that.

But first you have to define why you need interrupts (in the u-boot 
phase) in the first place.

Best Regards
Reinhard

  reply	other threads:[~2010-07-29  6:25 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-29  6:19 [U-Boot] How can i add intterrupt for AT91SAM9260EK board zhou yu
2010-07-29  6:25 ` Reinhard Meyer [this message]
2010-07-29  6:38   ` Alexander Stein
2010-07-29  7:19     ` Reinhard Meyer

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=4C511EF1.3070108@emk-elektronik.de \
    --to=reinhard.meyer@emk-elektronik.de \
    --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