All of lore.kernel.org
 help / color / mirror / Atom feed
From: Bartlomiej Sieka <tur@semihalf.com>
To: Anatolij Gustschin <agust@denx.de>
Cc: linuxppc-dev@ozlabs.org
Subject: Re: Oops with TQM5200 on TQM5200
Date: Thu, 20 Mar 2008 17:17:25 +0100	[thread overview]
Message-ID: <47E28E15.2070809@semihalf.com> (raw)
In-Reply-To: <47E281B6.20702@denx.de>

Anatolij Gustschin wrote:
> Hello Wolfgang,
> 
> Wolfgang Grandegger wrote:
> 
>> I just tried Linux 2.6.25-rc6 on my TQM5200 module and got the attached
>> oops. Are there any known patches fixing the problems?
> 
> try the patch below for tqm5200.dts, rebuild dtb and boot
> again. Not sure if it works for Linux 2.6.25-rc6, but for
> 2.6.25-rc3 it does.

It helps 2.6.25-rc6 too - thanks Anatolij.

> 
> Anatolij
> -- 
> diff --git a/arch/powerpc/boot/dts/tqm5200.dts 
> b/arch/powerpc/boot/dts/tqm5200.dts
> index c86464f..7c23bb3 100644
> --- a/arch/powerpc/boot/dts/tqm5200.dts
> +++ b/arch/powerpc/boot/dts/tqm5200.dts
> @@ -83,6 +83,7 @@
>         };
> 
>         dma-controller@1200 {
> +            device_type = "dma-controller";

This actually fixes the Oops.

>             compatible = "fsl,mpc5200-bestcomm";
>             reg = <1200 80>;
>             interrupts = <3 0 0  3 1 0  3 2 0  3 3 0
> @@ -127,10 +128,25 @@
>         ethernet@3000 {
>             device_type = "network";
>             compatible = "fsl,mpc5200-fec";
> -            reg = <3000 800>;
> +            reg = <3000 400>;
>             local-mac-address = [ 00 00 00 00 00 00 ];
>             interrupts = <2 5 0>;
>             interrupt-parent = <&mpc5200_pic>;
> +            phy-handle = <&phy0>;
> +        };
> +
> +        mdio@3000 {
> +            #address-cells = <1>;
> +            #size-cells = <0>;
> +            compatible = "fsl,mpc5200b-mdio";
> +            reg = <3000 400>;       // fec range, since we need to 
> setup fec interrupts
> +            interrupts = <2 5 0>;   // these are for "mii command 
> finished", not link changes & co.
> +            interrupt-parent = <&mpc5200_pic>;
> +
> +            phy0:ethernet-phy@0 {
> +                device_type = "ethernet-phy";
> +                reg = <0>;
> +            };

And this fixes networking issues (NFS-mounted rootfs timeouts, etc).
BTW: it's been posted a while back
(http://patchwork.ozlabs.org/linuxppc/patch?q=Balakowicz&id=16197) but
didn't get merged.

Grant -- any chances these fixes could be rushed upstream?

Regards,
Bartlomiej

  reply	other threads:[~2008-03-20 16:18 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-20 14:18 Oops with TQM5200 on TQM5200 Wolfgang Grandegger
2008-03-20 14:41 ` Grant Likely
2008-03-20 15:24 ` Anatolij Gustschin
2008-03-20 16:17   ` Bartlomiej Sieka [this message]
2008-03-20 21:27     ` Grant Likely
2008-03-22 10:49       ` Anatolij Gustschin
2008-03-22 14:39         ` Grant Likely
2008-03-20 16:29   ` Wolfgang Grandegger
2008-03-20 23:50   ` Grant Likely
2008-03-21  0:07     ` Bartlomiej Sieka
2008-03-21  0:20       ` Grant Likely
2008-03-21 23:56         ` [POWERPC] mpc52xx: Amalgamated dts fixes and updates Bartlomiej Sieka
2008-03-22  0:12           ` David Gibson
2008-03-22  3:47             ` Grant Likely
2008-03-22  0:41           ` Anatolij Gustschin
2008-03-22  3:14           ` Grant Likely
2008-03-26 19:45             ` [RESEND][POWERPC] mpc5200: " Bartlomiej Sieka
2008-03-26 20:35               ` Grant Likely
2008-03-26 20:48                 ` Wolfgang Grandegger
2008-03-26 21:32                   ` Bartlomiej Sieka
2008-03-26 21:18                 ` [RESEND2][POWERPC] " Bartlomiej Sieka
2008-03-26 21:02               ` [RESEND][POWERPC] " Matt Sealey
2008-03-26 21:16                 ` Grant Likely
2008-03-26 22:51                   ` David Gibson
2008-03-26 22:57                     ` Matt Sealey
2008-03-26 23:28                       ` David Gibson
2008-03-24 16:59           ` [POWERPC] mpc52xx: " Wolfgang Grandegger
2008-03-21  6:30       ` Oops with TQM5200 on TQM5200 Wolfgang Grandegger
2008-03-21 19:02         ` Grant Likely
2008-03-24  6:47         ` Paul Mackerras
2008-03-25  9:54           ` Wolfgang Grandegger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=47E28E15.2070809@semihalf.com \
    --to=tur@semihalf.com \
    --cc=agust@denx.de \
    --cc=linuxppc-dev@ozlabs.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.