Hi Mathieu,
Thanks, I don't find CS devices list in the dts file.
Hi Suzuki, Could you give me any help? How to add them in dts file, is there any example? I download the code by the instruction of https://community.arm.com/docs/DOC-10804 , build with" ./build-scripts/build-all.sh juno-busybox"
Thanks
-----Original Message----- From: Mathieu Poirier [mailto:mathieu.poirier@linaro.org] Sent: Wednesday, September 28, 2016 7:27 AM To: Kaiyou Wang Subject: Re: Usage of Coresight
If you don't see CS devices under /sys/bus/coresight/devices/ it means that either there is not CS devices listed in the DT or something is wrong with the clock and the blocks aren't discovered during the AMBA probe.
Suzuki Poulose can likely help you on that front.
Mathieu
On 27 September 2016 at 00:03, Kaiyou Wang Kaiyou.Wang@arm.com wrote:
Hi Mathieu,
On my Juno-R2 board, there is no device under /sys/bus/coresight/devices/ How to enable it?
/ # / # ls /sys/bus/coresight/ devices drivers_autoprobe uevent drivers drivers_probe / # ls /sys/bus/coresight/devices/ / # / # / # ls sys/bus/coresight/drivers / # / # cat sys/bus/coresight/drivers_autoprobe 1 / #
-----Original Message----- From: Mathieu Poirier [mailto:mathieu.poirier@linaro.org] Sent: Tuesday, September 27, 2016 5:54 AM To: Kaiyou Wang Cc: coresight@lists.linaro.org Subject: Re: Usage of Coresight
On 26 September 2016 at 04:12, Kaiyou Wang Kaiyou.Wang@arm.com wrote:
Hi Mathieu,
Thanks for your reply, ask a quick question, is there any lock on SOC?
None
I find CPU cannot access the mapped register of ETM after unlock the OSLOCK and software access lock. But the coresight driver could access them, could you give me any suggestion?
What are you looking to do? There is definitely something wrong but it is impossible for me to help you with the information you have provided. The _probe() functions are fairly simple - I suggest using those as a starting example. From there it should be easy to work your way back to your current situation.
Mathieu
-----Original Message----- From: Mathieu Poirier [mailto:mathieu.poirier@linaro.org] Sent: Wednesday, September 21, 2016 10:27 PM To: Kaiyou Wang Cc: coresight@lists.linaro.org Subject: Re: Usage of Coresight
Good day,
There is a lot of documentation around on how to use the CoreSight framework and drivers. In the kernel tree the documentation directory [1] is a good place to start. Regarding the integration with perf and how that works with the rest of the solution you are encouraged to visit the openCSD github site [2]. There the "HOWTO.md" on the master branch has all the details needed to get the solution going.
That being said the release of kernel v4.8 is imminent (Sunday September 25th to be exact) and with it comes a lot of new functionality. I will be rebasing all the out of tree code to v4.8 along with updating the documentation next week - by Friday September 20th everything should be in good standing.
In the mean time you can read the current HOWTO.md to get familiar with the solution, that is probably a good time investment.
Thanks, Mathieu
[1]. http://lxr.free-electrons.com/source/Documentation/trace/coresight.tx t [2]. https://github.com/Linaro/OpenCSD
On 21 September 2016 at 04:27, Kaiyou Wang Kaiyou.Wang@arm.com wrote:
Hi Mathieu,
This is Kaiyou from ARM, I find the Coresight drive in Linaro kernel code “kernel-release/drivers/hwtracing/coresight”.
Could you give me any documents how to use the Coresight driver in Linaro Kernel?
Thanks and Best Regards,
Kaiyou
IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.
IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.
IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.
IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.