* [U-Boot-Users] flash protect question
@ 2005-02-21 20:07 Robin Getz
2005-02-23 8:24 ` Shawn Jin
2005-02-24 22:35 ` Wolfgang Denk
0 siblings, 2 replies; 3+ messages in thread
From: Robin Getz @ 2005-02-21 20:07 UTC (permalink / raw)
To: u-boot
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* [U-Boot-Users] flash protect question
2005-02-21 20:07 [U-Boot-Users] flash protect question Robin Getz
@ 2005-02-23 8:24 ` Shawn Jin
2005-02-24 22:35 ` Wolfgang Denk
1 sibling, 0 replies; 3+ messages in thread
From: Shawn Jin @ 2005-02-23 8:24 UTC (permalink / raw)
To: u-boot
> - 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.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [U-Boot-Users] flash protect question
2005-02-21 20:07 [U-Boot-Users] flash protect question Robin Getz
2005-02-23 8:24 ` Shawn Jin
@ 2005-02-24 22:35 ` Wolfgang Denk
1 sibling, 0 replies; 3+ messages in thread
From: Wolfgang Denk @ 2005-02-24 22:35 UTC (permalink / raw)
To: u-boot
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
--
See us @ Embedded World, Nuremberg, Feb 22 - 24, Hall 10.0 Booth 310
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
I can't say I've ever been lost, but I was bewildered once for three
days. - Daniel Boone (Attributed)
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2005-02-24 22:35 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-02-21 20:07 [U-Boot-Users] flash protect question Robin Getz
2005-02-23 8:24 ` Shawn Jin
2005-02-24 22:35 ` Wolfgang Denk
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox