AnsweredAssumed Answered

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

Question asked by satish kumar on Nov 9, 2016
Latest reply on Nov 10, 2016 by satish kumar

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

Outcomes