This is an automated email from Gerrit.

Alamy Liu ([email protected]) just uploaded a new patch set to Gerrit, which 
you can find at http://openocd.zylin.com/3276

-- gerrit

commit cee544e0e9d817aabd29a60f00a676e972ed51db
Author: Alamy Liu <[email protected]>
Date:   Wed Aug 12 15:25:51 2015 -0700

    aarch64: Disable APB-AP & AHB-AP lookup (not exists in Juno r1)
    
    Change-Id: I459e0100b2f27417afc2b67c4898c4ced9e34ad4
    Signed-off-by: Alamy Liu <[email protected]>

diff --git a/src/target/aarch64.c b/src/target/aarch64.c
index 3bbd648..875d9a2 100644
--- a/src/target/aarch64.c
+++ b/src/target/aarch64.c
@@ -2202,6 +2202,10 @@ static int aarch64_examine_first(struct target *target)
        if (retval != ERROR_OK)
                return retval;
 
+#if 0
+       /* Alamy: This code is not perfect to detect every platform */
+       /*  Juno r1 (ARMv8) has AXI-AP & APB-AP, not AHB-AP */
+
        /* Search for the APB-AB - it is needed for access to debug registers */
        retval = dap_find_ap(swjdp, AP_TYPE_APB_AP, &armv8->debug_ap);
        if (retval != ERROR_OK) {
@@ -2217,6 +2221,7 @@ static int aarch64_examine_first(struct target *target)
        } else {
                armv8->memory_ap_available = true;
        }
+#endif
 
 
        if (!target->dbgbase_set) {

-- 

------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to