LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer
User Name
Password
Linux - Embedded & Single-board computer This forum is for the discussion of Linux on both embedded devices and single-board computers (such as the Raspberry Pi, BeagleBoard and PandaBoard). Discussions involving Arduino, plug computers and other micro-controller like devices are also welcome.

Notices


Reply
  Search this Thread
Old 07-30-2019, 06:25 AM   #1
zvivered
Member
 
Registered: Sep 2007
Posts: 294

Rep: Reputation: 23
Driver for PCI: pci_resource_start returns 0x0


Hello,

I'm developing a kernel driver for an FPGA.
The driver runs under Xilinx linux kernel.
Calling to pci_resource_start (pDev,0) return 0x0.

The BAR size requested by hardware is 512MB.

I ran the same driver with another PCI card that needs much smaller BAR.
In this case pci_resource_start returned a valid address.

Can I configure \ fix something in the kernel so that pci_resource_start will work also with 512MB BAR size ?

Thank you,
Zvika
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Tape errors "kernel: st7: Error 18 (driver bt 0x0, host bt 0x0)" rookee Linux - Software 1 04-01-2015 05:09 PM
Memory for crash kernel (0x0 to 0x0) notwithin permissible range casualzone Linux - Newbie 6 12-07-2011 07:30 PM
SSH Error taipei kernel: EDAC MC0: UE page 0x0, offset 0x0, grain 1073741824, row 7, ramesh_india2020 Linux - Newbie 1 09-23-2010 12:43 AM
CentOS Error after kernel upgrade. server1 kernel: EDAC MC0: UE page 0x0, offset 0x0 abefroman Linux - Hardware 4 05-15-2010 05:38 PM
Sata1.00 : exception Emask 0x0 sAct 0x0.... Hitboxx Fedora 8 01-30-2009 12:10 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer

All times are GMT -5. The time now is 12:18 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration