
1 Feb
2011
1 Feb
'11
1:26 p.m.
Le 01/02/2011 10:09, Simon Guinot a écrit :
In this case, a *software* protection mechanism like for NOR flash would be a better choice.
Or no protection at all. After all, there is no such mechanism implemented for u-boot and Linux...
Actually yes, there is, for NOR at least: in U-boot, sectors of NOR containing U-Boot and the environment are marked protected and thus trying to erase them will fail if you don't unprotect them first.
As for Linux, you can define this when declaring the NOR device in the machine specific code.
Best regards,
Simon
Amicalement,
--
Albert.