I have sucessfully used an XTRX in PCIe x1 with my CM4 board.
To do that, requirements are:
config.txt must be updated by adding dtoverlay=pcie-32bit-dma to this file to force DMA to be 32bits
- in
xtrx_linux_pcie_drv VA_DMA_ADDR_FIXUP must be defined. Unlike rk3399, without this workaround there is no kernel panic but samples are wrong.
I have sucessfully used an XTRX in PCIe x1 with my CM4 board.
To do that, requirements are:
config.txtmust be updated by addingdtoverlay=pcie-32bit-dmato this file to force DMA to be 32bitsxtrx_linux_pcie_drvVA_DMA_ADDR_FIXUP must be defined. Unlikerk3399, without this workaround there is no kernel panic but samples are wrong.