On Turris MOX, for unknown reasons (anyone know why?) the file /etc/fw_env.config
is not created by default.
This means that running fw_printenv
generates this error:
Cannot parse config file '/etc/fw_env.config': No such file or directory
Where can I find the official authoritative statement from turris devs about what the contents of this file should be on Turris MOX? I only found random people on the forum guessing some values that work.
EDIT:
I ran the command fw_env-config-init.sh
which is in located at /usr/bin/fw_env-config-init.sh
in Turris MOX and it generated /etc/fw_env.config
with the following content:
/dev/mtd2 0x0 0x00010000
The command fw_printenv
now no longer generates the error and appears to work.
I would still like confirmation from someone that my /etc/fw_env.config
has the appropriate content for Turris MOX, because the content differs from any other mention of this on the forum.