Hi,
I use men_reserve to allocate memory for ARM and DSP cores,
Is there a way to make sure that theses cores won't cross the border during writing/reading?
Any help in this regard is appreciated.
Regards
Kevin.
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.
Hi,
I use men_reserve to allocate memory for ARM and DSP cores,
Is there a way to make sure that theses cores won't cross the border during writing/reading?
Any help in this regard is appreciated.
Regards
Kevin.
Hi Ziyang,
The u-boot creates the memory node in the DTB file which fixes the memory size to be used for ARM.
When you use the mem_reserve ( mem_reserve=512M ) and assume the available memory is 2 GB, then for DSP, 512 MB is reserved and for ARM, 1.5 GB is used. That's why, depending on the mem_reserve value, uboot modifies the memory node of the DTB file for kernel usage.
Hence, from the ARM side, we can ensure that the memory size allocation in the DTB file.
From the DSP side, in the linker command file, make sure the address ranges ( origin and length ) are appropriate and not conflicting the address space mentioned in the DTB.
Hope this clarifies.
-------