Xilinx / zynqmp-pspcie-epdma

Other
2 stars 3 forks source link

Using driver with booting PetaLinux on ZynqMP Endpoint #1

Open nkborisov opened 2 years ago

nkborisov commented 2 years ago

Hi

First of all, let me thank you for all your work. My question is about an use case of the driver There is article describing the using of the driver on Xilinx Confluence (https://xilinx-wiki.atlassian.net/wiki/spaces/A/pages/2141323327/Zynq+UltraScale+MPSoC+PS-PCIe+End+Point+Driver). What confusing me is following phrase: The following tests are done without booting Linux on a Zynq MP EndPoint. I'm planning to use the host driver exactly for a case when PetaLinux on Zynq MP EndPoint is booting. Would you tell here please about any potential troubles with using the driver for that case? Should I rewrite bridge initialization in PCI-E PetaLinux driver (https://github.com/Xilinx/linux-xlnx/blob/master/drivers/pci/controller/pcie-xilinx-nwl.c)?

juan-escobedo commented 1 year ago

Hello. I am trying to build the driver but I am getting some errors related to modpost posting a function twice if I run "make" or a missing makefile (which is there) if I run "sudo make". Were you able to build he driver without issue? What version of Linux are you using?

nkborisov commented 1 year ago

Hello! I've built driver successfully with Ubuntu 20.40 "from the box" as it have been recommended in Xilinx Wiki article. Also I resolved my issue thanks to CSDN article https://blog.csdn.net/Newyan3651/article/details/92832320?utm_medium=distribute.pc_relevant.none-task-blog-2~default~baidujs_baidulandingword~default-1-92832320-blog-127731693.235%5Ev38%5Epc_relevant_sort_base1&spm=1001.2101.3001.4242.2&utm_relevant_index=4 (it could be acceptable translated to English with Google Translate)

juan-escobedo commented 1 year ago

Hello @nkborisov ! Thank you for your response! I see. I am using my company's computer so unfortunately I don't have the option to downgrade to 20.04. Hopefully the Xilinx employees reply soon but from your and the other guy's comment being left up in the air, I don't have much hope.