[U-Boot] [PATCH v2 5/5] cgtqmx6eval: Protect the manufacturing information in SPI NOR

Jagan Teki jteki at openedev.com
Wed Sep 23 19:15:21 CEST 2015


On 23 September 2015 at 22:21, Otavio Salvador
<otavio.salvador at ossystems.com.br> wrote:
> Hello Jagan,
>
> On Wed, Sep 23, 2015 at 12:56 PM, Jagan Teki <jteki at openedev.com> wrote:
>> All looks fine as per your patches, but probing flash from board files
>> isn't a good approach if one more board add similar  approach.
>>
>> I have an idea similar to "cfi_flash" approach.
>>
>> "sf protect on off len" then based on the offset and len write the
>> protected bits and skips the sectors which are protected by showing
>> warning say "protected sectors will not be erased!" [1]
>>
>> Use the Linux approach[2] for more information, let me know for any more inputs.
>>
>> [1] http://www.denx.de/wiki/view/DULG/UBootCmdGroupFlash#Section_5.9.3.4.
>> [2] http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/drivers/mtd/devices/m25p80.c?id=972e1b7b450a93589b2a4c709e68f68da059aa5c
>
> I think this is a good option however, can we include this one for
> this release and we can improve it for next?

Do you have any defined schedule on coming release about this feature,
because right now sf has lot of pending items to tune - I'm unable add
again this on TODO list that become big task in future.

If you have any time, please start the suggested approach I would help
at any moment.

thanks!
-- 
Jagan | openedev.


More information about the U-Boot mailing list