From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?ISO-8859-1?Q?Andreas_Bie=DFmann?= Date: Wed, 13 Feb 2013 09:57:43 +0100 Subject: [U-Boot] fw_env.config In-Reply-To: <511AC576.6090407@siganos.org> References: <511AC576.6090407@siganos.org> Message-ID: <511B5587.1080701@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Dimitrios Siganos, On 02/12/2013 11:43 PM, Dimitrios Siganos wrote: > Hi guys, > > I's like to ask a couple of quick questions to clear a disagreement we > have at the office. > > Is the file fw_env.config needed during compilation time to build u-boot? No. > Or is it in fact only needed at runtime by the tools fw_printenv/saveenv? MTD setup in /etc/fw_env.config can be used by fw_printenv/saveenv, but it depends on compile configuration of these tool(s). fw_printenv can be compiled with integrated mtd setup and will then not parse the configuration file. But yes, the default is to have an /etc/fw_env.config which describes the mtd setup for u-boot environment. At least this is the case for distributed versions like in Debian. Best regards Andreas Bie?mann