Mount RootFS problem with NFS and ETH0 , cpm2-fcc-enet driver

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Mount RootFS problem with NFS and ETH0 , cpm2-fcc-enet driver

1,035 Views
gsatish10
Contributor I

I am working with MPC8248 Processor Board with kernel 3.10 , I can able to mount RFS through NFS using ETH1 but not with ETH0, It is getting error as

 IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
Sending DHCP requests ., OK
IP-Config: Got DHCP answer from 10.162.103.21, my address is 10.162.103.220
IP-Config: Complete:
device=eth0, hwaddr=00:10:ec:00:5c:5b, ipaddr=10.162.103.220, mask=255.255.0.0, gw=10.162.0.1
host=10.162.103.220, domain=, nis-domain=(none)
bootserver=10.162.103.21, rootserver=10.162.103.21, rootpath=
nameserver0=10.162.103.21
VFS: Mounted root (nfs filesystem) on device 0:10.
devtmpfs: mounted
Freeing unused kernel memory: 144K (c0393000 - c03b7000)
nfs: server 10.162.103.21 not responding, still trying
nfs: server 10.162.103.21 not responding, still trying

It is stopping here and not responding further, but with the same configurations with ETH1 it is mounting NFS properly

I had provided cmd line argumets as root=/dev/nfs nfsroot=<server ip>:<path fo root file> rw ip=dhcp,

ETH0 and ETH1 are working from Boot loader  for TFTP transfer, ETH1 is working for NFS Mounting, but ETH0 is failing in NFS mount.

 

Dts entries for both ETH0 and ETH1 are as follows:

eth0: ethernet@11300 {
164 device_type = "network";
165 compatible = "fsl,mpc8248-fcc-enet",
166 "fsl,cpm2-fcc-enet";
167 reg = <0x11300 0x20 0x8400 0x100 0x11390 1>;
168 local-mac-address = [ 00 00 00 00 00 00 ];
169 interrupts = <32 8>;
170 interrupt-parent = <&PIC>;
171 phy-handle = <&PHY0>;
172 linux,network-index = <0>;
173 fsl,cpm-command = <0x12000300>;
174 };
175
176 eth1: ethernet@11320 {
177 device_type = "network";
178 compatible = "fsl,mpc8248-fcc-enet",
179 "fsl,cpm2-fcc-enet";
180 reg = <0x11320 0x20 0x8500 0x100 0x113b0 1>;
181 local-mac-address = [ 00 00 00 00 00 00 ];
182 interrupts = <33 8>;
183 interrupt-parent = <&PIC>;
184 phy-handle = <&PHY1>;
185 linux,network-index = <1>;
186 fsl,cpm-command = <0x16200300>;
187 };

Can you please give me suggestions for the same

Thanks & Regards

Satish.G

Labels (1)
0 Kudos
2 Replies

695 Views
alexander_yakov
NXP Employee
NXP Employee

As per my understanding, we do not offer Linux BSP with Linux kernel version 3.10 for this quite old processor.

Please clarify which Linux BSP you are using and where this BSP was obtained from.

0 Kudos

695 Views
gsatish10
Contributor I

Hi 

I got BSP from open source Kernel, having support in arch/powerpc/platforms/82xx/*

and driver in drivers/net/ethernet/freescale/fs_enet/***.

Suggest me how to resolve the issue with NFS server

"nfs: server 10.162.103.21 not responding, still trying
nfs: server 10.162.103.21 not responding, still trying"

The same is working for ETH1 port but not with ETH0

when I am disableing enet0 in .dts file , it is  by default taking eth1 as eth0 and working,

why not in vicevrsa.

Thanks & Regards

Satish.G

0 Kudos