[U-Boot] Modifying IP&mac address

Mike Frysinger vapier at gentoo.org
Thu Jul 19 00:41:39 CEST 2012


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20120718/aac5a9e4/attachment.pgp>


More information about the U-Boot mailing list