We are having a custom board having T1022 processor with Apacer DDR4 4GB ECC DDR4 2400 CL17 (78.B1GMV.4030B) , the card boots up properly on power sequencing but after few reboots from user space , the card gets struck at uboot. The log of the same is attached below.
We have tried debugging this issue using Code warrior Tap tool. While creating QorIq Configuration Project, read SPD option shows error.
Even if I create an autoconfiguration file, with DIMM data from datasheet, in DDR validation tab, target connection cannot be made.
This is a custom board in which we have previously used lauterbach tool as well so I dont think there should be an issue in the jtag chain detection.
Processor is T1022 rev 1.1
Snapshots attached. Please advise.
@Bulat We have assembled around 10 cards and this issue is present in only 2 cards, probably this is not schematic related issue.
We cannot produce this issue on NXP board [T104xRDB].
Could you suggest something to identify the root cause in this case?
As I wrote, it is very difficult to gess why boot fails when previous boot was successful. Especially if other same boards have no such problems at all.
Check reset circuit going to DDR4 devices. Normally we recommend that DDR reset is generated from processor's HRESET signal.
Try to compare boot logs of both, successful and failing boots, probably this can hint something.
A few updates
1. DDR reset is being generated from processor's HRESET,still issue persists.
2. We have enabled a few debug prints and shared boot logs of both cases; successful and failing boots.
The file with the debug changes has been attached for your reference.
uboot gets stuck in second stage bootloader, this behavior is intermittent.