Load environment variables earlier
Sascha Hauer
s.hauer at pengutronix.de
Mon Sep 18 00:18:49 PDT 2017
On Fri, Sep 15, 2017 at 10:33:53AM +0800, zjh wrote:
> think the environment variables should be loaded before the device is registered,
> so when the device is registered, it can be initialized according to the environment variable.
When devices are influenced by environment variables they must be
prepared that these variables are changed *after* registration. Note
that environment variables are loaded from storage media that are
devices themselves, so that's a catch 22.
Sascha
--
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 |
More information about the barebox
mailing list