This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Juno CoreSight Setup

Hi Everyone,

We just bought a Juno Versatile Express board for development.  Using the getting started guides and I have successfully installed DS-5 on a host and a rootfs on the board.  I'm using the LAMP image provided by Linaro for use with the Juno board (linaro-image-lamp-genericarmv8-20150618-754.rootfs.tar.gz).  To set up and test CoreSight I am using the guide provided (On-Target Trace Using the CoreSight Access Library |  ARM DS-5 Development Studio) and the readmes provided within the CoreSight_access example source.

Building is no problem but I have two issues:

1.  When trying to disable the cpuidle I find that I have no cpuidle directory in any /sys/devices/system/cpu/cpu$ folder.

2.  When attempting to run the tracedemo example (rel or dbg) I receive a "CSREG: Failed to detect the board!" error.  The Juno r1 is defined in the source as a supported board (and also mentioned in the readme as supported).

Does anyone have an idea why I would be seeing this error?

Thanks in advance for any insight you can provide on CoreSight!

Steve

Parents
  • Hello Ash,

    Thank you for your reply. Yes i notice that is not supported, however the documentation found here:

    https://developer.arm.com/products/software-development-tools/ds-5-development-studio/resources/tutorials/on-target-trac…

    Says:

    • If your target is not one of the platforms already supported, then you will need to add a "registration" function into csregistration.c

    My question is how can I add that registration function and what parameters do I need to do it. I imagine that i could modify for example the registration file for the snowball platform which features two cortex-a9 cores as the zybo board. Is it possible or just there is not enough information for me do add the function to get coresight to work for my board?

    static int do_registration_snowball(struct cs_devices_t *devices)

    {

      enum { A9_0, A9_1 };

    ......

    Best Regards,

    Raul.

Reply
  • Hello Ash,

    Thank you for your reply. Yes i notice that is not supported, however the documentation found here:

    https://developer.arm.com/products/software-development-tools/ds-5-development-studio/resources/tutorials/on-target-trac…

    Says:

    • If your target is not one of the platforms already supported, then you will need to add a "registration" function into csregistration.c

    My question is how can I add that registration function and what parameters do I need to do it. I imagine that i could modify for example the registration file for the snowball platform which features two cortex-a9 cores as the zybo board. Is it possible or just there is not enough information for me do add the function to get coresight to work for my board?

    static int do_registration_snowball(struct cs_devices_t *devices)

    {

      enum { A9_0, A9_1 };

    ......

    Best Regards,

    Raul.

Children
No data