tools: Add a README note about fw_printenv lock file
Add a mention of the lock file to the README for the fw_printenv tool. Signed-off-by: Joe Hershberger <joe.hershberger@ni.com> Reported-by: Luka Perkov <uboot@lukaperkov.net>
This commit is contained in:
committed by
Tom Rini
parent
586197dfe4
commit
1c4ea78aa7
4
tools/env/README
vendored
4
tools/env/README
vendored
@@ -55,3 +55,7 @@ partition where the environment resides.
|
|||||||
DEVICEx_ENVSECTORS defines the number of sectors that may be used for
|
DEVICEx_ENVSECTORS defines the number of sectors that may be used for
|
||||||
this environment instance. On NAND this is used to limit the range
|
this environment instance. On NAND this is used to limit the range
|
||||||
within which bad blocks are skipped, on NOR it is not used.
|
within which bad blocks are skipped, on NOR it is not used.
|
||||||
|
|
||||||
|
To prevent losing changes to the environment and to prevent confusing the MTD
|
||||||
|
drivers, a lock file at /var/lock/fw_printenv.lock is used to serialize access
|
||||||
|
to the environment.
|
||||||
|
|||||||
Reference in New Issue
Block a user