We need to switch off one DSP processor and one Cortex-M4 processor from Linux for am57xx-evm board
Please let us know how can we achieve the same.
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.
We need to switch off one DSP processor and one Cortex-M4 processor from Linux for am57xx-evm board
Please let us know how can we achieve the same.
Govindaraji Sivanantham said:To use the devmem2 tool we need the PRCM registers address of PM_DSP1_PWRSTCTRL, RM_DSP1_RSTCTRL, PM_DSP1_PWRSTST, CM_EMU_CLKSTCTRL and PM_DSP2_PWRSTCTRL, RM_DSP2_RSTCTRL, PM_DSP2_PWRSTST, CM_EMU_CLKSTCTRL
Regarding PM_DSP1_PWRSTCTRL, RM_DSP1_RSTCTRL, PM_DSP1_PWRSTST see AM572x TRM, Table 3-1613. DSP1_PRM Registers Mapping Summary
Regarding PM_DSP2_PWRSTCTRL, RM_DSP2_RSTCTRL, PM_DSP2_PWRSTST see AM572x TRM, Table 3-1624. DSP2_PRM Registers Mapping Summary
Regarding CM_EMU_CLKSTCTRL see AM572x TRM, Table 3-1649. EMU_CM Registers Mapping Summary
Govindaraji Sivanantham said:Also let us know how do we disable DSP at the time of compiling Linux (kernel or rootfs build)
I will check and come back to you when I have something on this.
Regards,
Pavel
Govindaraji Sivanantham said:Also let us know how do we disable DSP at the time of compiling Linux (kernel or rootfs build)
I suspect that DSP is turn on (clock and power) in the DSP firmware (dra7-dsp1-fw.xe66). Can you check if that DSP firmware is loaded by default in your board? Check also the default value you have in CM_DSP1_DSP1_CLKCTRL.
You can re-configure the udev to not load the DSP firmware or even to remove the DSP formware from the rootfs/lib/firmware/ folder. Check the value of CM_DSP1_DSP1_CLKCTRL after you do not load the DSP firmware. See the default wiki page for more info:
Regards,
Pavel