LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   how to modify bootloader to add support for ethernet (https://www.linuxquestions.org/questions/linux-networking-3/how-to-modify-bootloader-to-add-support-for-ethernet-4175418743/)

ranjana kumari 07-26-2012 04:41 AM

how to modify bootloader to add support for ethernet
 
I am using Bootloader from ti-Dvsdk_dm368-evm_4_02_00_06, kernel and root file system from Eucdk.
I have leopard dm368 target board.I am booting the board from SD card.

Ethernet port on the target board is glowing once the root file system is up on the target board.

But i want to mount the root file system on the target board through NFS(network file system).
So for NFS, Ethernet port on the target board should glow just after u-boot is mounted on the target board.
so can anyone suggest me how to enable the Ethernet port from Bootloader

thorkelljarl 07-26-2012 05:43 AM

Edit a little...

Your post is hard to read and understand. You have not used capital letters, nor clear punctuation, and you put everything together as if in one long sentence.

Even if English is not your first language, you can improve on what you've written. That way you'll also improve the chances of getting a helpful response to your problem.

Reuti 07-27-2012 08:13 AM

1. In some distributions support for NFS root is not in the default kernel. Which distribution are you using? Can you check the kernel configuration (which version?) whether it’s enabled?

2. And the kernel must be configured for automatic configuration (most likely DHCP) or get the address already assigned on the boot prompt. It depends on the boot loader how to do it – which one are you using?

Hint

NB: I did this 10+ years ago by getting the kernel from a floppy and then use an NFS root which is a similar setup to yours.

[Update] And the driver for the network interface must be available already when the kernel comes up. Hence it must be included in the kernel or the initrd.

ranjana kumari 07-27-2012 09:14 AM

Thanks Reuti...
My kernel version is 2.6.18 from EUCDK and
Bootloader is u-boot-1.3.4-dm365_evm.bin from Ti.

I checked the kernel configuration file...there I found "CONFIG_NFS_FS" and "Network Device Supprt" are enabled .So as per my understanding NFS and network interface are enabled in the kernel.


All times are GMT -5. The time now is 03:23 AM.