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

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

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

ソリューションへジャンプ
1,164件の閲覧回数
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 解決策
901件の閲覧回数
EgleTeam
Contributor V

Ed,

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

Best regards,

Manuel.

元の投稿で解決策を見る

0 件の賞賛
返信
3 返答(返信)
902件の閲覧回数
EgleTeam
Contributor V

Ed,

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

Best regards,

Manuel.

0 件の賞賛
返信
901件の閲覧回数
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 件の賞賛
返信
901件の閲覧回数
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 件の賞賛
返信