From: Sascha Hauer <s.hauer@pengutronix.de>
To: zjh <jianhuizhao.329@gmail.com>
Cc: barebox@lists.infradead.org
Subject: Re: Load environment variables earlier
Date: Mon, 18 Sep 2017 09:18:49 +0200 [thread overview]
Message-ID: <20170918071849.dh7wllzdjbp7ffc6@pengutronix.de> (raw)
In-Reply-To: <20170915023353.GA6298@ubuntu>
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 |
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
prev parent reply other threads:[~2017-09-18 7:19 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-09-15 2:33 zjh
2017-09-15 4:47 ` Oleksij Rempel
2017-09-18 7:18 ` Sascha Hauer [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170918071849.dh7wllzdjbp7ffc6@pengutronix.de \
--to=s.hauer@pengutronix.de \
--cc=barebox@lists.infradead.org \
--cc=jianhuizhao.329@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox