- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi
I am using cyclone 10 gx, used example from below
(document of reference design : https://www.intel.com/content/dam/www/programmable/us/en/pdfs/literature/an/an829.pdf)
Reference Design : (Gen2x4)
https://fpgacloud.intel.com/devstore/platform/2183/
So, i downloaded this reference design, synthesized on Quartus 18.0.
then flashes the bit file. after that power on the pc where installed the cyclone 10 gx card.
Used lspci -vvv to detect pci. got the following. Bar doesnt mapped properly.
01:00.0 Non-VGA unclassified device: Altera Corporation Device e003 (rev 01)
Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Interrupt: pin A routed to IRQ 11
Region 0: Memory at <ignored> (64-bit, prefetchable) [disabled] [size=512]
Region 2: Memory at <unassigned> (64-bit, prefetchable) [disabled] [size=2G]
Region 4: Memory at ef201000 (32-bit, non-prefetchable) [disabled] [size=16]
Region 5: Memory at ef200000 (32-bit, non-prefetchable) [disabled] [size=16]
Capabilities: <access denied>
Kernel modules: altera_cvp
Then loaded the altera driver. & did dmesg. got the following errors.
[ 237.807673] altera_dma 0000:01:00.0: could not map BAR[2]
[ 237.807679] altera_dma 0000:01:00.0: can't enable device: BAR 0 [mem size 0x00000200 64bit pref] not assigned
[ 237.807680] altera_dma 0000:01:00.0: pci enabled device failed
[ 237.807682] altera_dma 0000:01:00.0: err_enable
[ 237.807683] altera_dma 0000:01:00.0: err_bk_alloc
[ 237.807688] altera_dma: probe of 0000:01:00.0 failed with error -22
BAR mapping after loading the driver.
[ 237.807134] fpga_dma: module verification failed: signature and/or required key missing - tainting kernel
[ 237.807509] fpga_dma 0000:01:00.0: BAR[0] 0x00000000-0x000001ff flags 0x2014220c, length 512
[ 237.807510] fpga_dma 0000:01:00.0: BAR[1] 0x00000000-0x00000000 flags 0x00000000, length 0
[ 237.807512] fpga_dma 0000:01:00.0: BAR[2] 0x00000000-0x7fffffff flags 0x0014220c, length -2147483648
[ 237.807513] fpga_dma 0000:01:00.0: BAR[3] 0x00000000-0x00000000 flags 0x00000000, length 0
[ 237.807514] fpga_dma 0000:01:00.0: BAR[4] 0xef201000-0xef20100f flags 0x00040200, length 16
[ 237.807515] fpga_dma 0000:01:00.0: BAR[5] 0xef200000-0xef20000f flags 0x00040200, length 16
[ 237.807536] fpga_dma 0000:01:00.0: BAR[0] mapped to 0x00000000e7a7e46e, length 512
As you can see, BAR[2] size is not mapped properly.
Any problem with pcie configuration which is (vendor id : 1172, device id : e003)
BAR 0 : 64 bit prefetchable memory (size :automatic assign to 4 bit )
BAR 2 : 64 bit prefetchable memory (size :automatic assign to 31 bit)
DDR3 Memory
Anyone faced the same issue?
Any helps appreciate most.
- Tags:
- Intel® Cyclone®
- PCIe
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Nathan, Thanks for your reply.
Please let me know if you will face the same or if it will work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page