How can i access the Coresight Component in Hikey 960?

96boards

#1

Hi,

The hardware manual tells that the Coresight debug and trace functionalities are implemented in HiKey 960. However, no detailed information is provided. As far as i know, the component like ETM and CTI are controlled by some memory mapped registers. But i don’t really know the addresses of these registers on HiKey960. Is there anyone happen to know something about this?

Thanks for any discussion and help!

Best Regards,
Zhenyu


#2

Hi @zhenyu_ning,

You could refer @guodong hikey960 upstreaming branch for coresight enabling: https://github.com/96boards-hikey/linux/commit/2932b25c8003e773a0b32b52814a5fd17b287567