Need a UUID, is this available somewhere in the i.MX6SoloLite?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Need a UUID, is this available somewhere in the i.MX6SoloLite?

跳至解决方案
4,010 次查看
nathanpalmer
Contributor IV

I have a 1-wire temperature sensor/UUID chip in an existing design that I would like to get rid of but I am using the UUID as a serial number.  Is there a chip specific UUID somewhere in the i.MX6SL?  I know that there is a OCOTP space to put a unique ID for the security sub system, but I am looking for something that will not require special programming at manufacturing.

Alternatively, the iMX6SoloLite could generate a UUID (from what random source?) and write it to the OTP the first time it powers up.  Any experience doing this?

标签 (1)
标记 (5)
0 项奖励
回复
1 解答
2,809 次查看
Yuri
NXP Employee
NXP Employee

  The i.MX6 SL has  chip specific UUID ; fuses SJC_CHALL / UNIQUE_ID

are intended for it. Please look at Table 5-7 (Fusemap Descriptions) of

IMX6SLRM, Rev. 1, 04/2013. The i.MX6 SL parts are provided with UUID - there

is no need to burn it  by customers.

在原帖中查看解决方案

0 项奖励
回复
6 回复数
2,810 次查看
Yuri
NXP Employee
NXP Employee

  The i.MX6 SL has  chip specific UUID ; fuses SJC_CHALL / UNIQUE_ID

are intended for it. Please look at Table 5-7 (Fusemap Descriptions) of

IMX6SLRM, Rev. 1, 04/2013. The i.MX6 SL parts are provided with UUID - there

is no need to burn it  by customers.

0 项奖励
回复
2,809 次查看
claymontgomery
Contributor IV

Yuri,

When I read the SJC_CHALL / UNIQUE_ID on my WandBoard Quad, I just get zeros:

cat /proc/cpuinfo

Serial          : 0000000000000000

But, it works from u-boot, so I guess there must be a kernel mod required to access this from user space?

I think it is enabled in my Yocto recipe for the kernel build, as the defconfig file contains this setting:

\Yocto\fsl-community-bsp\sources\meta-fsl-arm\recipes-kernel\linux\linux-imx-3.0.35\mx6q\defconfig

    CONFIG_FSL_OTP=y

But, I have tried this on several different linux distros including Ubuntu, Yocto and Android and I always get just zeros.

Do you have any idea why?

Thanks, Clay

0 项奖励
回复
2,809 次查看
Yuri
NXP Employee
NXP Employee

It is needed to read the fuses to get UNIQUE_ID (UUID), assuming it is not locked.
Some fuses are reflected in /sys/fsl_otp, but hardly the UUID is located there.

U-boot has "imxotp read" command

0 项奖励
回复
2,809 次查看
nathanpalmer
Contributor IV

Thanks. I saw that but thought it was just a place for the customer to store a UUID at Manufacturing time, I did not know that Freescale pre-loaded it with a UUID.

0 项奖励
回复
2,809 次查看
AnsonHuang
NXP Employee
NXP Employee

Hi, Nathan

     If you don't want to use the UUID in OCOTP, maybe you can try the module of Random Number Generator (RNGB), chapter 39?

2,809 次查看
nathanpalmer
Contributor IV

Thanks.  I just wanted to make sure I wasn't missing a UUID somewhere else on the chip.

0 项奖励
回复