[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freebsd-hackers
Subject:    Re: large PCIe BARs
From:       "Rodney W. Grimes" <freebsd-rwg () pdx ! rh ! CN85 ! dnsmgr ! net>
Date:       2017-03-25 4:31:29
Message-ID: 201703250431.v2P4VTRa088886 () pdx ! rh ! CN85 ! dnsmgr ! net
[Download RAW message or body]

> I have an FPGA PCIe device and driver I designing.  I think my driver is trying to map the PCIe address space for one of the BARs and it?s failing.  My guess is that it?s failing due to the size.  The board has 2G of onboard memory that I?d like to present as one large BAR.  Does FreeBSD (11.0 release) allow for mapping PCIe resources that larger?  If not is there a limit?  If so any one have any comments?
> Thanks,
> Christopher 
> 
> sp6050: probing for SP605
> sp6050: <Xilinx SP605 board> at device 0.0 on pci3
> sp6050: attach of SP605
> sp6050: 0x40000000 bytes of rid 0x10 res 3 failed (0, 0xffffffffffffffff).
> sp6050: Could not map memory
> device_attach: sp6050 attach returned 6

Are you on amd64?  You should be able to map that much as the other reply
posted, but I do not see a uname -a here to tell what your really running,
just that your on FreeBSD 11.0.

Also it would help to get the 'pciconf -l -b' output to see just how
the pci information is being presented.

-- 
Rod Grimes                                                 rgrimes@freebsd.org
_______________________________________________
freebsd-hackers@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic