[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <53FA5B55.4000603@gmail.com>
Date: Sun, 24 Aug 2014 23:38:29 +0200
From: Marcin Jabrzyk <marcin.jabrzyk@...il.com>
To: mathieu.poirier@...aro.org, linus.walleij@...aro.org,
will.deacon@....com, linux@....linux.org.uk,
00regkh@...uxfoundation.org
CC: pratikp@...eaurora.org, varshney@...com, Al.Grant@....com,
jonas.svennebring@...gotech.com, james.king@...aro.org,
panchaxari.prasannamurthy@...aro.org, kaixu.xia@...aro.org,
r.sengupta@...sung.com, robbelibobban@...il.com,
Tony.Armitstead@....com, daniel.thompson@...aro.org,
patches@...aro.org, linux-arm-kernel@...ts.infradead.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 09/11 v4] coresight: adding support for beagle and beagleXM
Hi,
W dniu 20.08.2014 o 19:03, mathieu.poirier@...aro.org pisze:
> From: Mathieu Poirier <mathieu.poirier@...aro.org>
>
> Currently supporting ETM and ETB. Support for TPIU
> and SDTI are yet to be added.
Did you tried running the drivers on board or are there any special
preparation needed?
I've BeagleBoard-xM Rev. C applied your patches and enabled the
functions the in menuconfig.
But on dmesg I see that:
[ 0.685028] of_amba_device_create(): amba_device_add() failed (-19)
for /etb@...1b000
[ 0.685119] of_amba_device_create(): amba_device_add() failed (-19)
for /etm@...10000
There are no nodes according coresight in /sys/kernel/debug/ .
Best regards,
Marcin
>
> Signed-off-by: Mathieu Poirier <mathieu.poirier@...aro.org>
> ---
> arch/arm/boot/dts/omap3-beagle-xm.dts | 28 ++++++++++++++++++++++++++++
> arch/arm/boot/dts/omap3-beagle.dts | 28 ++++++++++++++++++++++++++++
> 2 files changed, 56 insertions(+)
>
> diff --git a/arch/arm/boot/dts/omap3-beagle-xm.dts b/arch/arm/boot/dts/omap3-beagle-xm.dts
> index 1becefc..eec73d8 100644
> --- a/arch/arm/boot/dts/omap3-beagle-xm.dts
> +++ b/arch/arm/boot/dts/omap3-beagle-xm.dts
> @@ -145,6 +145,34 @@
> };
> };
> };
> +
> + etb@...1b000 {
> + compatible = "arm,coresight-etb10", "arm,primecell";
> + reg = <0x5401b000 0x1000>;
> +
> + coresight-default-sink;
> + clocks = <&emu_src_ck>;
> + clock-names = "apb_pclk";
> + port {
> + etb_in: endpoint {
> + slave-mode;
> + remote-endpoint = <&etm_out>;
> + };
> + };
> + };
> +
> + etm@...10000 {
> + compatible = "arm,coresight-etm3x", "arm,primecell";
> + reg = <0x54010000 0x1000>;
> +
> + clocks = <&emu_src_ck>;
> + clock-names = "apb_pclk";
> + port {
> + etm_out: endpoint {
> + remote-endpoint = <&etb_in>;
> + };
> + };
> + };
> };
>
> &omap3_pmx_wkup {
> diff --git a/arch/arm/boot/dts/omap3-beagle.dts b/arch/arm/boot/dts/omap3-beagle.dts
> index 3c3e6da..a151daf 100644
> --- a/arch/arm/boot/dts/omap3-beagle.dts
> +++ b/arch/arm/boot/dts/omap3-beagle.dts
> @@ -140,6 +140,34 @@
> };
> };
> };
> +
> + etb@...000000 {
> + compatible = "arm,coresight-etb10", "arm,primecell";
> + reg = <0x5401b000 0x1000>;
> +
> + coresight-default-sink;
> + clocks = <&emu_src_ck>;
> + clock-names = "apb_pclk";
> + port {
> + etb_in: endpoint {
> + slave-mode;
> + remote-endpoint = <&etm_out>;
> + };
> + };
> + };
> +
> + etm@...10000 {
> + compatible = "arm,coresight-etm3x", "arm,primecell";
> + reg = <0x54010000 0x1000>;
> +
> + clocks = <&emu_src_ck>;
> + clock-names = "apb_pclk";
> + port {
> + etm_out: endpoint {
> + remote-endpoint = <&etb_in>;
> + };
> + };
> + };
> };
>
> &omap3_pmx_wkup {
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists