于 2018年1月8日 GMT+08:00 上午11:10:23, Jun Nie <[email protected]> 写到:
>2018-01-07 23:02 GMT+08:00 Icenowy Zheng <[email protected]>:
>> 在 2017年12月29日星期五 CST 下午5:35:51,Jun Nie 写道:
>>> Hi Bernhard,
>>>
>>> Resend this mail with CCing mail list so that more people can see
>this
>>> issue and may have answer. Also correct register access code I use
>as
>>> I send wrong version code in last mail.
>>>
>>> I see sunxi-tool patch a3ce5f9f and you also mentioned that writing
>value is
>>> OK with register based method in google group. Do you have eFuse
>writing
>>> code that works? I can write OEM_PROGRAM and THERMAL_SENSOR with
>below
>>> code. But when I write ROTPK_HASH, eFuse is not changed.
>>
>> Could you try to check the value of ROTPK_HASH with the "read by
>register"
>> way?
>>
>
>Below are result from kernel and fel tool. Offset 0x10 and 0x34 is
>written for test.
>BTW: I think Kernel driver need update for H3 read method because the
>sid info is not aligned with fel tool read back value.
>
>FEL tool readback id:
>02c00042:44004620:7867890c:1424064e
>
>
># reg based read back info
>$ hexdump -C /sys/devices/platform/soc/1c14000.sid/sunxi-sid0/nvmem
>00000000  02 c0 00 42 44 00 46 20  78 67 89 0c 14 24 06 4e  |...BD.F
>xg...$.N|
>00000010  52 df f9 fb 00 00 00 00  00 00 00 00 00 00 00 00 
>|R...............|
>00000020  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00 
>|................|
>00000030  00 00 00 00 5b ff fb df  00 00 00 00 00 00 00 00 
>|....[...........|
>00000040  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00 

Do you dare try to burn the Secure Boot bit?

Maybe ROTPK_HASH is only writable after this.

>|................|
>*
>00000100
>
>
>#mem map based read back info
>$ hexdump -C /sys/devices/platform/soc/1c14000.sid/sunxi-sid0/nvmem
>00000000  02 c0 46 20 44 00 89 0c  78 67 06 4e 14 24 f9 fb  |..F
>D...xg.N.$..|
>00000010  52 df f9 fb 00 00 00 00  00 00 00 00 00 00 00 00 
>|R...............|
>00000020  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00 
>|................|
>00000030  00 00 00 00 5b ff fb df  00 00 00 00 00 00 00 00 
>|....[...........|
>00000040  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00 
>|................|
>*
>00000100

-- 
You received this message because you are subscribed to the Google Groups 
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to