How to use onboard ethernet adapter in imx25 to mount the rootfs through nfs.

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

How to use onboard ethernet adapter in imx25 to mount the rootfs through nfs.

679 Views
gurumoorthirasi
Contributor IV

Dear All,

i am using imx25 pdk board where i am mounting the rootfs through nfs using debug board ethernet adapter by default.

but i need to mount the rootfs through nfs by using on board (personality board ) adapter without using debug board eth adapter.

Please kindly tell me anyone what are the changes need to be done?

Regards,

Guru

Labels (1)
0 Kudos
2 Replies

481 Views
Yuri
NXP Employee
NXP Employee

To configure both Ethernet channles, in LTIB :

1.

[*] Configure the kernel

2.

--- Target System Configuration

   ---> Options

   [*] Start networking

        Network Setup

        [*] Enable interface 0   (this is the SMSC LAN)

        [*] Enable interface 1   (this is the FEC)

3.

------------------ Now on kernel menuconfig

Device Drivers --->

     [*] Network device support

          -*- Phy device support and infrastructure

          [*] Ethernet (10 or 100Mbit)

                 <*> SMSC LAN911x/LAN921x families embedded ethernet support

                  [*] FEC Ethernet controller (of coldfire and some i.MX CPUs)

Perhaps it would be better to select only one channel (FEC or SMSC)

In U-boot :

set the environment variables:

setenv netdev eth0

setenv ethprime FEC0

setenv ethact FEC0

saveenv

0 Kudos

481 Views
gurumoorthirasi
Contributor IV

Hi ,

i have configured and followed the above procedure. now i can able to load the uImage through on board ethernet adapter .

but the problem is while booting up I am getting the below boot message i cant able to mount my rootfs

eth0: enable RMII gasket

net eth1: SMSC911x/921x identified at 0xc48fc000, IRQ: 256

Sending DHCP requests ...... timed out!

IP-Config: Retrying forever (NFS root)...

eth0: enable RMII gasket

net eth1: SMSC911x/921x identified at 0xc48fc000, IRQ: 256

Sending DHCP requests ...... timed out!

IP-Config: Retrying forever (NFS root)...

eth0: enable RMII gasket

net eth1: SMSC911x/921x identified at 0xc48fc000, IRQ: 256

Sending DHCP requests ......

Please kindly let me know what should i do to mount the rfs using FEC0.

NOTE: if i am using debug board eth adapter means i can able to load the OS fully.

Regards,

Guru

0 Kudos