How do I distinguish between i.MX6Q and i.MX6D?

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

How do I distinguish between i.MX6Q and i.MX6D?

跳至解决方案
1,288 次查看
EdSutter
Senior Contributor II

I've been running with the SABRESDB (i.MX6Q), and have recently shifted over to custom hardware that uses the i.MX6D.  In both cases, u-boot tells me the CPU is i.MX6Q.  The USB_ANALOG_DIGPROG (Chip Silicon Version) register reads 00630002, which according to arch/arm/include/asm/arch-mx6/sys_proto.h in u-boot implies that the SOC is an i.MX6Q.  So, my guess is that both the i.MX6Q and i.MX6D have the same MAJOR field in the version (true?).  If that is the case, then what other register can I look at to tell the difference between i.MX6Q and i.MX6D?

I tried probing the ARM MPIDR (Multiprocessor Affinity Register), but apparently that only tells me what CPU core I am running on, not how many cores.

Any ideas?

Ed

标签 (2)
0 项奖励
回复
1 解答
1,025 次查看
EgleTeam
Contributor V

Ed,

read the fuse "NUM_CORES". Page 358 of the Reference Manual.

Best regards,

Manuel.

在原帖中查看解决方案

0 项奖励
回复
3 回复数
1,026 次查看
EgleTeam
Contributor V

Ed,

read the fuse "NUM_CORES". Page 358 of the Reference Manual.

Best regards,

Manuel.

0 项奖励
回复
1,025 次查看
EdSutter
Senior Contributor II

Manuel,

Great thanks!

I also just stumbled on this patch to fix the uboot code...

[U-Boot] [PATCH] ARM: i.MX6: add i.MX6D to detected variants

I applied this patch, and that fixed the u-boot output as well.

Ed

0 项奖励
回复
1,025 次查看
EgleTeam
Contributor V

If you use Linux and at least one display, turn on the "boot logo" on the config and pay attention to what happens with the penguin according to the number of cores of your processor: really fun :smileysilly:

0 项奖励
回复