Problem saving registry


I’m asking for guidance in trying to solve a problem saving registry to flash.

Using regtool gives the following errors. Any idea what they mean?

When saving registry (regtool -s):
[SaveRegistry]: Start 240000, Size 100000.
[NvRAM_Update]: NVRAM Library V1.0.
[NvRAM_Update]: Error in NvOSCfgFind.
[SaveRegistry]: Failed in NVRAM.
Could not save registry.

When trying to erase registry (regtool -e):
[EraseRegistry]: Start 240000, Size 100000.
[EraseRegistry]: Failed to open NAND Flash Device Error 87.
Error Could not erase registry Error 87.

Any information would be appreciated.