Other Parts Discussed in Thread: TPIC2810
Tool/software: TI-RTOS
I had a FPGA in my AM5728 board, it was map to 0X01000000 by GPMC ,size 128k. I can read regs in it correctly in the linux.
But I want the dsp1 core to read/write the FPGA too. So ,I change the rsc_table_vayu_dsp.c, add a entry in ti_ipc_remoteproc_ResourceTable
I map the phy 0x01000000 to 0x01000000 virtual address (same), It can be seen in the pagetable.
{
TYPE_DEVMEM,
0x1000000, 0x1000000,
SZ_1M, 0, 0, "FPGA_MEM",
},
root@am57xx-evm:~# cat /sys/kernel/debug/omap_iommu/40d01000.mmu/pagetable
L: da: pte:
--------------------------
1: 0x01000000 0x01000002
But my dsp progam read this address , it case the linux some errors reported. It seem it was not maping it to the real address I want.
What's wrong ? And what should I do.