[U-Boot] Modifying IP&mac address

Hello,
I would like to ask your advise concerning modifying ip address: I need to modify ip address and ethernet address according to some hardware input in application. This change can be done in u-boot or linux. When I consider where is the best place to set the ip/mac address ( u-boot or linux), I also take into account that I will work with NFS in debug stage. Now, as far as I understand, If I will modify the ip/mac in linux instead of u-boot, it can be a problem when working with NFS, becuase NFS need constant ip address and ethernet. Is it a problem to make this changes in linux if working with NFS or should it be done in u-boot only ?
Thank you, Ran

On Sunday 01 July 2012 05:29:15 Ran Shalit wrote:
I would like to ask your advise concerning modifying ip address: I need to modify ip address and ethernet address according to some hardware input in application. This change can be done in u-boot or linux. When I consider where is the best place to set the ip/mac address ( u-boot or linux), I also take into account that I will work with NFS in debug stage. Now, as far as I understand, If I will modify the ip/mac in linux instead of u-boot, it can be a problem when working with NFS, becuase NFS need constant ip address and ethernet. Is it a problem to make this changes in linux if working with NFS or should it be done in u-boot only ?
if you store the IP/mac address in u-boot's environment, there are utils to update u-boot's environment from under linux. look under tools/env/. -mike
participants (2)
-
Mike Frysinger
-
Ran Shalit