[U-Boot-Users] flash protect question

I am working on getting the software protection working - but have one quick question:
- is the structure info->protect[n] suppose to be stored in non-volatile memory on a "saveenv"? It didn't seem to be, and thus every time I do a 'reset', it current is set to the default (protect U-boot and nothing else.
It didn't really say in the Manual if the software protection was volatile or not. http://www.denx.de/twiki/bin/view/DULG/UBootCmdGroupFlash#Section_5.9.3.4.
-Robin

- is the structure info->protect[n] suppose to be stored in non-volatile
memory on a "saveenv"? It didn't seem to be, and thus every time I do a 'reset', it current is set to the default (protect U-boot and nothing else.
To my understanding it's volatile. The protected sectors usually stores uboot itself during the flash initialization. Once you reset the board, the only sectors protected are those protected during the initialization.
Regards, -Shawn.

In message 6.1.1.1.0.20050221150114.01dec810@ptg1.spd.analog.com you wrote:
- is the structure info->protect[n] suppose to be stored in non-volatile
memory on a "saveenv"? It didn't seem to be, and thus every time I do a
No, it is not.
'reset', it current is set to the default (protect U-boot and nothing else.
Wrong. The default is to protect U-Boot and the envrionment variables.
It didn't really say in the Manual if the software protection was volatile or not.
You may call it volatile.
Best regards,
Wolfgang Denk
participants (3)
-
Robin Getz
-
Shawn Jin
-
Wolfgang Denk