OCOTP_SW_STICKY modification

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

OCOTP_SW_STICKY modification

479 Views
Kazuma_Sasaki
Senior Contributor I

I would like to set the FIELD_RETURN_LOCK bit at OCOTP_SW_STICKY register.

When I set the FIELD_RETURN_LOCK in U-BOOT phase, it is able to set to 1.

But, when I set the FIELD_RETURN_LOCK in Linux phase, it is not able to set to 1.

Why I am not able to write the OCOTP_SW_STICKY register at linux phase?

<My environment>

BSP version = L4.1.15_2.0.0_ga

Board = SABRE-AI

<My test result>

(1) case of U-BOOT

=> md.l 0x21bc050 1
021bc050: 00000018                               ....
=> mw.l 0x21bc050 0x00000004
=> md.l 0x21bc050 1
021bc050: 0000001c                               ....

(2) case of Linux

root@imx6qdlsolo:~# /unit_tests/memtool -32 0x21bc050 1
Reading 0x1 count starting at address 0x021BC050

0x021BC050:  00000018

root@imx6qdlsolo:~# /unit_tests/memtool -32 0x21bc050=0x00000004
Writing 32-bit value 0x4 to address 0x021BC050

root@imx6qdlsolo:~# /unit_tests/memtool -32 0x21bc050 1
Reading 0x1 count starting at address 0x021BC050

0x021BC050:  00000018

Best Regards,

Kazuma Sasaki.

Labels (1)
Tags (1)
0 Kudos
1 Reply

258 Views
Kazuma_Sasaki
Senior Contributor I

Hi technical support team,

Do you have any update?


Best Regards,

Kazuma Sasaki.

0 Kudos