Hello. On 01/28/2016 06:21 PM, Geert Uytterhoeven wrote:
When using a JTAG debugger on an sh73a0-based system, the debugger looses connection with the hardware during kernel boot-up, as unused
s/looses/loses/.
PM Domains are powered down by the genpd core. To keep on debugging, add a minimal device node for the Coresight-ETM hardware block, and hook it up to the D4 PM Domain, so the R-Mobile System Controller driver will keep the domain powered. Signed-off-by: Geert Uytterhoeven <geert+renesas@xxxxxxxxx> --- Not intended for upstream merge, as the D4 PM Domain is not needed for normal use. --- arch/arm/boot/dts/sh73a0.dtsi | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/sh73a0.dtsi b/arch/arm/boot/dts/sh73a0.dtsi index 866ee5de09454d14..a6e47611cc807547 100644 --- a/arch/arm/boot/dts/sh73a0.dtsi +++ b/arch/arm/boot/dts/sh73a0.dtsi @@ -40,6 +40,11 @@ }; }; + ptm {
What's 'ptm'?
+ compatible = "arm,coresight-etm3x"; + power-domains = <&pd_d4>; + }; + timer@f0000600 { compatible = "arm,cortex-a9-twd-timer"; reg = <0xf0000600 0x20>;
MBR, Sergei