[U-Boot-Users] How can I add an interrupt handler in the 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/...

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

--- 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@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/...

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@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

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@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.

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
participants (3)
-
Roc Wu
-
Stephen Williams
-
Wolfgang Denk