This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Linux/AM5708: GPMC communication issue with external peripheral

Part Number: AM5708

Tool/software: Linux

Hi,

We are using custom AM5708 and FPGA, NVSRAM interfaced with it via GPMC and planning to go with latest TIs SDK.

Our team tried to configure GPMC at u-boot to access FPGA and NVSRAM memory region but no luck, getting random data when try to read either FPGA/NVSRAM memory region.

I came to know that we can configure GPMC either at u-boot or linux level and i am trying to configure gpmc at linux now. I have couple of doubts.

1. To configure gpmc at linux, do we need to apply gpmc pinmux in corresponding dts file of linux ? or is it okay to place them at mux_data.h of u-boot file?

2. In SDK we have gpmc basic configurations at dra7.dtsi. How to create child nodes for FPGA/NVSRAM in our custom dts file? Do you have any example for that?

3. What are the changes we need to take care to access FPGA/NVSRAM from linux apart from device tree file? do we need to change driver level code in latest SDK?

" GPMC using asynchronous non multiplexed and nor protocol mode". 

I hope we can move forward based on your points on this issue.

Best Regards,

Narayanan