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.

How to set physical address for data in Linux, just like using *.cmd file in CCS project?



Hi

I am using K2H EVM.

When I define an array in the main function, the Linux kernel assign this array to the DDR3B (0xBEB06744). That array is used to received data from Ethernet. After receiving, I want to use EDMA transfer the received data to MSMC on DSP core. However, from the SOC, EDMA3 view the address 0xBEB06744 as DDR3A. So those data cannot be moved. Thus, I am trying to find a way to let the kernel allocate the array into some specific memory address.

Can you tell me a method that I can let the kernel to assign a user defined memory region for a specific vector/array? Or, how can I change the entire Linux virtual memory space to other memory space, in which SOC and ARM view it the same. Or at least, how can I use the EDMA to transfer those data in the above condition?

Thanks

Xining Yu