描述
当您多次执行 RPU 的挂起/恢复时,它只在挂起/恢复的第一个周期起作用。
在挂起/恢复的第二个周期,RPU 在第一次 IPI 调用时挂起。
解决方案
请使用附件中的补丁并将其应用到本地的 embeddedsw repo 中。
1) 克隆 embeddsw git 版本库,并检查 release-2019.2 分支:
$ git clone https://github.com/Xilinx/embeddedsw.git
$ cd embeddedsw/
$ git checkout tags/xilinx-v2019.2
2) 使用附件中的补丁:
$ git am 0001-BSP-Cortexr5-Update-boot-code-to-define-RPU_TZ_MASK-.patch