Hi,
I read 021bc050: 00000018 so seems that FIELD_RETURN_LOCK is not set.
The same issue as https://community.nxp.com/t5/i-MX-Processors/FIELD-RETURN-LOCK-enabling/m-p/894182#M135143
I flashed a signed u-boot but no more log is seen on console, could you please share me the solution?
Thanks,
Mohamed Ali
Hi Sanket,
I did this modification: https://github.com/nxp-imx/uboot-imx/commit/9a3d4a6b8470980c4d4f938619a9d34a9282a69c
I have enable_ocotp_clk(1); in prepare_access function but in finish_access I have
#ifdef CONFIG_MX7ULP
/* Need to power down the OTP memory */
writel(1, ®s->pdn);
#endif
there is no call to enable_ocotp_clk(0);
In the CSF I have
[Unlock]
Engine = OCOTP
Features = FIELD RETURN
UID = 0x1f,0x09 ,0x64 ,0xd9 ,0xd4 ,0xc1 ,0x0c ,0x04
But it still not work, the problem is that when the board is flashed with u-boot that was built with the above Unlock CSF it cannot boot anymore, could you please help?
Thank you in advance,
Mohamed Ali
Hi @mohamed-ali_fod ,
Sanket Parekh
Hi Sanket,
My original CSF was:
[Unlock]
Engine = CAAM
Features = RNG
I replace it by
[Unlock]
Engine = OCOTP
Features = FIELD RETURN
UID = 0x1f,0x09 ,0x64 ,0xd9 ,0xd4 ,0xc1 ,0x0c ,0x04
I think I have to keep both unlock sections, could you please confirm?
I tried also to load (using jlink) signed u-boot to my secure board (I activate only the SEC_CONFIG bit) , the load works but I got no console:
Downloading file [./u-boot-spinor-signed.imx.bin]...
O.K.
VerifyBin ./u-boot-spinor-signed.imx.bin 0x177ff400
Loading binary file ./u-boot-spinor-signed.imx.bin
Reading 689472 bytes data from target memory @ 0x177FF400.
Verify successful.
Using the same u-boot binary, the console works on non secure board.
Any idea?
Thank you in advance,
Mohamed Ali
Hi Sanket,