changing environment at build time
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?
Thanks
/alessandro, really on deadline, so apologizing for the dumb question
_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
Quoted 2 lines · I wrote:
Since uncompressed environent areas are not supported any more, what is the preferred method to change the default environment variables?
Actually, by removing compressing code the environment is uncompressed itself, but it looks like I have other problems that are not yet completely clear to me.
I'm still curious about how to change mac address at flash time, but the question is not urgent any more. Sorry for disturbing
/alessandro
_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
Hi Alessandro,
Quoted 10 lines · Alessandro Rubini
Quoted 2 lines · I wrote:
Since uncompressed environent areas are not supported any more, what is the preferred method to change the default environment variables?
Actually, by removing compressing code the environment is uncompressed itself, but it looks like I have other problems that are not yet completely clear to me.
I'm still curious about how to change mac address at flash time, but the question is not urgent any more. Sorry for disturbing
You didn't disturb, this is a valid question (to which unfortunately I do not have an answer)
Sascha
Signature · 9 lines
Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ barebox mailing list [email protected] http://lists.infradead.org/mailman/listinfo/barebox
Quoted 6 lines · Alessandro Rubini
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).
Quoted 6 lines
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.
_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox