Hi,TI team
I'm developing an FPGA based PCIE device on AM64x EVM + Processor SDK Linux for AM64X 08_00_00_21 with following:
1. My pcie device is in a 32-bit ep mode.
2. BAR0: 0x6810_0000, len = 1MB, BAR1 = 0x6830_0000, len = 64KB, BAR2 = 0x6820_0000, len=1MB
3. The pcie device driver can been loaded correctly, pci_enable_device, ioremap, etc.
4. It's fine to access registers in FPGA with readl(..) / writel(..) in the kernel driver.
5. But it always gets "Unhandled Exception in EL3" with command devmem2 in user space, and then system seems crashed.
6. devmem2 works fine on other peripheral regions in TRM, it seems that it gets error only on PCIE data region.
Q: Are there any restrictions on PCIE data region (0x6800_0000, 128MB)? If the restriction existed, how to remove it?
Cheng Shi