* [U-Boot-Users] How can I add an interrupt handler in the U-boot?
@ 2004-06-30 6:13 Roc Wu
2004-06-30 7:08 ` Wolfgang Denk
0 siblings, 1 reply; 6+ messages in thread
From: Roc Wu @ 2004-06-30 6:13 UTC (permalink / raw)
To: u-boot
Hi folks:
I found that the U-boot is not supporting the
Interrupt multiplexing. right? So I can't add an
interrupt handler for my specific device.
Is there any mechanism to inplement the same
function?Using polling method and make a fake
interrupt?
Thanks a lot
Best Regards
Bryan Wu in China
_________________________________________________________
Do You Yahoo!?
100?????????????????
http://cn.rd.yahoo.com/mail_cn/tag/100m/*http://cn.promo.yahoo.com/minisite/100m/
^ permalink raw reply [flat|nested] 6+ messages in thread
* [U-Boot-Users] How can I add an interrupt handler in the U-boot?
2004-06-30 6:13 [U-Boot-Users] How can I add an interrupt handler in the U-boot? Roc Wu
@ 2004-06-30 7:08 ` Wolfgang Denk
2004-06-30 11:27 ` Roc Wu
0 siblings, 1 reply; 6+ messages in thread
From: Wolfgang Denk @ 2004-06-30 7:08 UTC (permalink / raw)
To: u-boot
In message <20040630061328.83297.qmail@web15205.mail.bjs.yahoo.com> you wrote:
>
> I found that the U-boot is not supporting the
> Interrupt multiplexing. right? So I can't add an
What exactly do you mean by interrupt multiplexing?
> interrupt handler for my specific device.
Why not? What's wrong with using install_hdlr() / free_hdlr() ?
Having said this, I should ask: why do you think you must use
interrupts in the first place?
> Is there any mechanism to inplement the same
> function?Using polling method and make a fake
> interrupt?
Normally you don't need interrupts in U-Boot. U-Boot is strictly
single-tasking by nature and design. So you can just use polling in
your device driver.
Best regards,
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd at denx.de
O Staat! Wie tief dir alle Besten fluchen! Du bist kein Ziel. Der
Mensch mu? weiter suchen. - Christian Morgenstern
^ permalink raw reply [flat|nested] 6+ messages in thread
* [U-Boot-Users] How can I add an interrupt handler in the U-boot?
2004-06-30 7:08 ` Wolfgang Denk
@ 2004-06-30 11:27 ` Roc Wu
2004-06-30 14:35 ` Wolfgang Denk
2004-06-30 16:11 ` Stephen Williams
0 siblings, 2 replies; 6+ messages in thread
From: Roc Wu @ 2004-06-30 11:27 UTC (permalink / raw)
To: u-boot
--- Wolfgang Denk <wd@denx.de> ????> In message
>
<20040630061328.83297.qmail@web15205.mail.bjs.yahoo.com>
> you wrote:
> >
> > I found that the U-boot is not supporting the
> > Interrupt multiplexing. right? So I can't add an
>
> What exactly do you mean by interrupt multiplexing?
Oh, It is mean u-boot providing an interrupt
management to manage lots of interrupts from the
device. Like linux kernel. So forgive me for asking
such unclearly question make you confused.
> > interrupt handler for my specific device.
>
> Why not? What's wrong with using install_hdlr() /
> free_hdlr() ?
>
> Having said this, I should ask: why do you
> think you must use
> interrupts in the first place?
Actually, I usually using interrupts for device
driver. As in u-boot, I am not realize interrupt is
not necessary.
> > Is there any mechanism to inplement the same
> > function?Using polling method and make a fake
> > interrupt?
>
> Normally you don't need interrupts in U-Boot.
> U-Boot is strictly
> single-tasking by nature and design. So you can
> just use polling in
> your device driver.
Ok, Thanks for you help. I will try to using the
polling method to inplement the device driver.
Best Regards.
Thanks a lot
Bryan Wu in China
P.S. I can't use my company's email to subscribe the
mailist. please check the address pwu at jadechip.com, is
it been blocked by the mailist system?
_________________________________________________________
Do You Yahoo!?
100?????????????????
http://cn.rd.yahoo.com/mail_cn/tag/100m/*http://cn.promo.yahoo.com/minisite/100m/
^ permalink raw reply [flat|nested] 6+ messages in thread
* [U-Boot-Users] How can I add an interrupt handler in the U-boot?
2004-06-30 11:27 ` Roc Wu
@ 2004-06-30 14:35 ` Wolfgang Denk
2004-06-30 16:11 ` Stephen Williams
1 sibling, 0 replies; 6+ messages in thread
From: Wolfgang Denk @ 2004-06-30 14:35 UTC (permalink / raw)
To: u-boot
In message <20040630112705.43937.qmail@web15213.mail.bjs.yahoo.com> you wrote:
>
> > What exactly do you mean by interrupt multiplexing?
>
> Oh, It is mean u-boot providing an interrupt
> management to manage lots of interrupts from the
> device. Like linux kernel. So forgive me for asking
> such unclearly question make you confused.
U-Boot is probably not the optimal environment to process "lots of
interrupts". If you need to do more complicated stuff, boot an
operating system. U-Boot is just a boot loader.
> Ok, Thanks for you help. I will try to using the
> polling method to inplement the device driver.
OK.
> P.S. I can't use my company's email to subscribe the
> mailist. please check the address pwu at jadechip.com, is
> it been blocked by the mailist system?
Maybe SourceForge is blocking it, I don't know. Ther eis no special
setup in the mailing list configuration itself to block any
addresses. But SF is really fastidious with there requirements.
Best regards,
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd at denx.de
We are drowning in information but starved for knowledge.
-- John Naisbitt, Megatrends
^ permalink raw reply [flat|nested] 6+ messages in thread
* [U-Boot-Users] How can I add an interrupt handler in the U-boot?
2004-06-30 11:27 ` Roc Wu
2004-06-30 14:35 ` Wolfgang Denk
@ 2004-06-30 16:11 ` Stephen Williams
2004-06-30 16:39 ` Wolfgang Denk
1 sibling, 1 reply; 6+ messages in thread
From: Stephen Williams @ 2004-06-30 16:11 UTC (permalink / raw)
To: u-boot
Roc Wu cooloney-at-yahoo.com.cn |u-boot-users| wrote:
> P.S. I can't use my company's email to subscribe the
> mailist. please check the address pwu at jadechip.com, is
> it been blocked by the mailist system?
It appears that jadechip.com is in China, using a chinese ISP for
mail service. A great many system administrators reject all mail
from chinese hosts as a spam prevention measure, as great oceans
of spam have historically come from China. Korea usually gets
similar treatment. I cannot say if that is what sourceforge.net
is doing, but it looks like it might be the case, and you are caught
up in the broad block.
I suggest you either (or both) take up this matter with your ISP,
or switch to an ISP outside China for e-mail service.
--
Steve Williams "The woods are lovely, dark and deep.
steve at icarus.com But I have promises to keep,
http://www.icarus.com and lines to code before I sleep,
http://www.picturel.com And lines to code before I sleep."
^ permalink raw reply [flat|nested] 6+ messages in thread
* [U-Boot-Users] How can I add an interrupt handler in the U-boot?
2004-06-30 16:11 ` Stephen Williams
@ 2004-06-30 16:39 ` Wolfgang Denk
0 siblings, 0 replies; 6+ messages in thread
From: Wolfgang Denk @ 2004-06-30 16:39 UTC (permalink / raw)
To: u-boot
In message <40E2E626.4000209@icarus.com> you wrote:
>
> It appears that jadechip.com is in China, using a chinese ISP for
> mail service. A great many system administrators reject all mail
> from chinese hosts as a spam prevention measure, as great oceans
> of spam have historically come from China. Korea usually gets
> similar treatment. I cannot say if that is what sourceforge.net
> is doing, but it looks like it might be the case, and you are caught
> up in the broad block.
I don't think that SF is blocking email on this level, and at least
they claim that they send bounces in case of rejects; but there is at
least one case of configuration problems where no such bounces seem
to be sent - when your ISP does not accept bounce messages to the
postmaster address.
To test:
-> telnet mail.domain.tld smtp
Trying AAA.BBB.CCC.DDD...
Connected to mail.domain.tld (AAA.BBB.CCC.DDD).
Escape character is '^]'.
220 mail.domain.tld ESMTP
HELO mail.denx.de
250 mail.domain.tld
MAIL FROM:<>
250 ok
RCPT TO:<postmaster@domain.tld>
553 sorry, we do not accept bounces to <postmaster@domain.tld> (#5.7.1)
QUIT
221 mail.domain.tld
Connection closed by foreign host.
->
If you have such a situation, your messages will be rejected by SF,
and may or may not receive bounces.
Best regards,
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd at denx.de
The use of COBOL cripples the mind; its teaching should, therefore,
be regarded as a criminal offence.
-- Edsger W. Dijkstra, SIGPLAN Notices, Volume 17, Number 5
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2004-06-30 16:39 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-06-30 6:13 [U-Boot-Users] How can I add an interrupt handler in the U-boot? Roc Wu
2004-06-30 7:08 ` Wolfgang Denk
2004-06-30 11:27 ` Roc Wu
2004-06-30 14:35 ` Wolfgang Denk
2004-06-30 16:11 ` Stephen Williams
2004-06-30 16:39 ` Wolfgang Denk
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.