Unable to connect via Ethernet on P1022RDK

Arshad, Farrukh Farrukh_Arshad at mentor.com
Fri Dec 9 22:19:03 EST 2011


Greetings All,

I am doing a dual boot on P1022RDK with following configuration

Core 0: Linux RT: Running fine, ethernet at B0000 is working fine.
Core 1: Linux: Crashing at following, ethernet at B1000 is not creating a link

I have allocated ethernet1 to core 1 in its DTS file but when I boot my kernel over NFS there seems no link and kernel crashes at following

[    2.812122] rxbd[7]: addr,vaddr=0x1f70fc00,0xcf70fc00
[    3.821896] IP-Config: Guessing netmask 255.255.0.0
[    3.826931] IP-Config: Complete:
[    3.829992]      device=eth0, addr=137.202.156.128, mask=255.255.0.0, gw=137.202.156.191,
[    3.838109]      host=137.202.156.128, domain=, nis-domain=(none),
[    3.844292]      bootserver=255.255.255.255, rootserver=137.202.156.191, rootpath=
[    3.852308] Looking up port of RPC 100003/2 on 137.202.156.191
OK
[   38.857888] rpcbind: server 137.202.156.191 not responding, timed out
[   38.864387] Root-NFS: Unable to get nfsd port number from server, using default
[   38.871708] Looking up port of RPC 100005/1 on 137.202.156.191
[   73.873886] rpcbind: server 137.202.156.191 not responding, timed out
[   73.880382] Root-NFS: Unable to get mountd port number from server, using default

Given is my DTS files for both cores.

Core 1 DTS: ethernet1 is not creating a link

           mdio at 25000 {
                #address-cells = <1>;
                #size-cells = <0>;
                compatible = "fsl,etsec2-mdio";
                reg = <0x25000 0x1000 0xb1030 0x4>;
                phy1: ethernet-phy at 1 {
                     interrupt-parent = <&mpic>;
                     interrupts = <9 1>;
                     reg = <0x2>;
                };
           };

           enet1: ethernet at B1000 {
                #address-cells = <1>;
                #size-cells = <1>;
                cell-index = <0>;
                device_type = "network";
                model = "eTSEC";
                compatible = "fsl,etsec2";
                fsl,num_rx_queues = <0x8>;
                fsl,num_tx_queues = <0x8>;
                clk-handle = <&etsec2_clk>;
                local-mac-address = [ 00 00 00 00 00 00 ];
                interrupt-parent = <&mpic>;
                //fixed-link = <1 1 1000 0 0>;
                fixed-link = <1 1 100 0 0>;
                //phy-handle = <&phy1>;
                phy-connection-type = "rgmii-id";
                queue-group at 0{
                     #address-cells = <1>;
                     #size-cells = <1>;
                     reg = <0xB1000 0x1000>;
                     interrupts = <35 2 36 2 40 2>;
                };
                queue-group at 1{
                     #address-cells = <1>;
                     #size-cells = <1>;
                     reg = <0xB5000 0x1000>;
                     interrupts = <51 2 52 2 67 2>;
                };
           };

Core 0 DTS file. Running smooth

           mdio at 24000 {
                #address-cells = <1>;
                #size-cells = <0>;
                compatible = "fsl,etsec2-mdio";
                reg = <0x24000 0x1000 0xb0030 0x4>;

                phy0: ethernet-phy at 0 {
                     interrupts = <3 1>;
                     reg = <0x1>;
                };
           };

           enet0: ethernet at B0000 {
                #address-cells = <1>;
                #size-cells = <1>;
                cell-index = <0>;
                device_type = "network";
                model = "eTSEC";
                compatible = "fsl,etsec2";
                fsl,num_rx_queues = <0x8>;
                fsl,num_tx_queues = <0x8>;
                fsl,magic-packet;
                fsl,wake-on-filer;
                clk-handle = <&etsec1_clk>;
                local-mac-address = [ 00 00 00 00 00 00 ];
                interrupt-parent = <&mpic>;
                phy-handle = <&phy0>;
                phy-connection-type = "rgmii-id";
                queue-group at 0{
                     #address-cells = <1>;
                     #size-cells = <1>;
                     reg = <0xB0000 0x1000>;
                     interrupts = <29 2 30 2 34 2>;
                };
                queue-group at 1{
                     #address-cells = <1>;
                     #size-cells = <1>;
                     reg = <0xB4000 0x1000>;
                     interrupts = <17 2 18 2 24 2>;
                };
           };

Any thoughts on what I am doing wrong.

Best Regards

Farrukh Arshad

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20111209/28c4fd35/attachment-0001.html>


More information about the Linuxppc-dev mailing list