Dear Stephen,
BTW, one more question. Is the driver for xps_hwicap core or opb_hwicap? I
found in the Makefile, there is one comment "Makefile for the Xilinx OPB hwicap
driver". Is that specific only for opb_hwicap, or general-purpose for both?
Thanks for telling.
BR
Ming
Subject: RE: Linux driver for Xilinx ICAPDate: Wed, 8 Oct 2008 08:38:06
-0700From: [EMAIL PROTECTED]: [EMAIL PROTECTED]; [EMAIL PROTECTED];
linuxppc-embedded@ozlabs.org
Ming,That's correct, the current driver is not interrupt driven, but simply
polled. Interrupts don't really add much except overhead, unless the core can
DMA as well.What architecture and core version are you running?I believe there
is a DEBUG define, which will generate some logging messages. It would be
helpful if you can turn this on and then look at the resulting dmesg.There are
two things to be aware of:1) xps-hwicap1.00.a is huge.. It's much smaller to
use opb-hwicap + plb46-opb bridge. I don't think an updated version has been
released, however.2) I've had problems getting the ICAP interface to properly
SYNC, which may be the problem here.... based on your response, we can debug
further.Steve-----Original Message-----From: MingLiu [mailto:[EMAIL PROTECTED]:
Wed 10/8/2008 7:47 AMTo: John Linn; [EMAIL PROTECTED]: Stephen
NeuendorfferSubject: RE: Linux driver for Xilinx ICAPDear John,Nice to hear
from you. If possible, could you please show me y
our .mhs file concerning to the xps_hwicap core? Mine is listed as below:BEGIN
xps_hwicap PARAMETER INSTANCE = xps_hwicap_0 PARAMETER HW_VER = 1.00.a
PARAMETER C_BASEADDR = 0x40200000 PARAMETER C_HIGHADDR = 0x4020FFFF
BUS_INTERFACE SPLB = plb PORT IP2INTC_Irpt = xps_hwicap_0_IP2INTC_IrptENDThe
interrupt signal is connected to the interrupt controller.I suspect that the
driver in Linux doesn't support interrupt mode for this core, since I didn't
find interrupt handler registration function in the source code, like
"request_irq", etc..I will appreciate if you can have some comments to
me.BrMingSubject: RE: Linux driver for Xilinx ICAPDate: Wed, 8 Oct 2008
08:34:28 -0600From: [EMAIL PROTECTED]: [EMAIL PROTECTED]; [EMAIL PROTECTED]:
[EMAIL PROTECTED] Ming,I'm copying our local expert on this core to see his
thoughts as I don't actively use this core myself.Thanks,JohnFrom: [EMAIL
PROTECTED] [mailto:linuxppc-embedd
[EMAIL PROTECTED] On Behalf Of MingLiuSent: Wednesday, October 08, 2008 7:48
AMTo: [EMAIL PROTECTED]: Linux driver for Xilinx ICAPDear all,Has someone
manage to use the driver for the Xilinx xps_hwicap core to reconfigure
bitstreams? I have enabled the driver in Linux configuration (version 2.6.24
from Xilinx tree). However I failed to use it to reconfigure bitstreams. The
operations are listed as follows: # cp partial.bit /dev/icap0# No error
information is shown, however the partial bitstream is not successfully
configured. I checked /proc/devices and the device "icap" has been successfully
registered with the major of 259. But in /proc/interrupts, I didn't find any
matching entry of the interrupt for icap core. I tried to reconfigure the PR
module with JTAG, and my design works well. Any hints for this problem? Is the
problem on the interrupt? Thanks so much if someone can help me. BRMingWindows
Live Writer,??????????,????????
? ????!This email and any attachments are intended for the sole use of the
named recipient(s) and contain(s) confidential information that may be
proprietary, privileged or copyrighted under applicable law. If you are not the
intended recipient, do not read, copy, or forward this email message or any
attachments. Delete this email message and any attachments
immediately._________________________________________________________________Windows
Live Photo gallery
?????????,?????????,????????!http://get.live.cn/product/photo.htmlThis email
and any attachments are intended for the sole use of the named recipient(s) and
contain(s) confidential information that may be proprietary, privileged or
copyrighted under applicable law. If you are not the intended recipient, do not
read, copy, or forward this email message or any attachments. Delete this email
message and any attachments immediately.
_________________________________________________________________
多个邮箱同步管理,live mail客户端万人抢用中
http://get.live.cn/product/mail.html
_______________________________________________
Linuxppc-embedded mailing list
Linuxppc-embedded@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-embedded