AnsweredAssumed Answered

i.mx6q instructions failure

Question asked by Vladimir Legostaev on Aug 21, 2018
Latest reply on Aug 21, 2018 by igorpadykov

Hello!

 

One of our custom boards did not started as expected when first turned on.
When jtag was connected, it was found that some CPU instructions were not working correctly.
Here is the result of the simplest test performed on the operating and non-working boards

(in u-boot, start.S, after save_boot_params ).

good imx6bad imx6
instructionregvalueregvalue
r00x4 (Hex)r00x4 (Hex)
r10xd500 (Hex)r10xd500 (Hex)
r20x900000 (Hex)r20x900000 (Hex)
r30x800 (Hex)r30x800 (Hex)
r40x0 (Hex)r40x0 (Hex)
mov r0, #0r00x0 (Hex)r00x0 (Hex)
r10xd500 (Hex)r10xd500 (Hex)
r20x900000 (Hex)r20x900000 (Hex)
r30x800 (Hex)r30x800 (Hex)
r40x0 (Hex)r40x0 (Hex)
ldr r4, =0xFFFFFFFFr00x0 (Hex)r00x0 (Hex)
r10xd500 (Hex)r10xd500 (Hex)
r20x900000 (Hex)r20x900000 (Hex)
r30x800 (Hex)r30x800 (Hex)
r40xffffffff (Hex)r40xffffffff (Hex)
ldr r1, =0x55555555r00x0 (Hex)r00xe1810400 (Hex)
r10x55555555 (Hex)r10xd500 (Hex)
r20x900000 (Hex)r20x900000 (Hex)
r30x800 (Hex)r30x800 (Hex)
r40xffffffff (Hex)r40xffffffff (Hex)
ldr r2, =0xAAAAAAAAr00x0 (Hex)r00xe1810400 (Hex)
r10x55555555 (Hex)r10xd500 (Hex)
r20xaaaaaaaa (Hex)r20xaaaaaaaa (Hex)
r30x800 (Hex)r30x800 (Hex)
r40xffffffff (Hex)r40xffffffff (Hex)
orr r3, r1, r2r00x0 (Hex)r00x8104d500 (Hex)
r10x55555555 (Hex)r10xd500 (Hex)
r20xaaaaaaaa (Hex)r20xaaaaaaaa (Hex)
r30xffffffff (Hex)r30x800 (Hex)
r40xffffffff (Hex)r40xffffffff (Hex)
and r4, r1, r2r00x0 (Hex)r00x8104d500 (Hex)
r10x55555555 (Hex)r10xd500 (Hex)
r20xaaaaaaaa (Hex)r20xaaaaaaaa (Hex)
r30xffffffff (Hex)r30x800 (Hex)
r40x0 (Hex)r40x8000 (Hex)

 

Tell me, can such behavior be related to
1. CPU failure
2. Board defects
3. something else
?

 

Thank You!

Attachments

Outcomes