fw_env.config
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?
Or is it in fact only needed at runtime by the tools fw_printenv/saveenv?
Thank you and sorry if this questions has been answered before.
Regards,
Dimitris
Dear Dimitrios Siganos,
Quoted 6 lines · Dimitrios Siganos
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.
Quoted 1 line
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