Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Mar 2017 17:38:29 -0700
From:      Christopher Bowman <crb@chrisbowman.com>
To:        freebsd-hackers@freebsd.org
Subject:   large PCIe BARs
Message-ID:  <21FF81F3-D290-4682-AB88-5769C52499C3@chrisbowman.com>

next in thread | raw e-mail | index | archive | help

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?21FF81F3-D290-4682-AB88-5769C52499C3>