changing environment at build time

Jean-Christophe PLAGNIOL-VILLARD plagnioj at jcrosoft.com
Fri Aug 3 09:22:16 EDT 2012


On 17:51 Thu 02 Aug     , Alessandro Rubini wrote:
> Hello.
> 
> I'm using barebox on a machine where I wasnt to change the mac address
> at flashing time (i.e., not at build time: I'd better not relink
> barebox every time I flash a new machine).
> 
> I did it lazily with a sed script when the environment was not
> compressed, but now a mate updated to a newer version, and the simple
> trick is not working.
> 
> Since uncompressed environent areas are not supported any more, what is
> the preferred method to change the default environment variables?
why do you need such feature?

why not just use the dhcp vendor option and manage the ip like this
and maybe you can generate the mac address by using the chip unique id

Best Regards
J.



More information about the barebox mailing list