AnsweredAssumed Answered

What is difference between reset by watchdog and via CLKCTRL_RESET?

Question asked by JohnU on Apr 28, 2014
Latest reply on Jul 13, 2014 by Yixing Kong

When kernel/uboot resets using CLKCTRL soft-reset ROM boot usually is unable to boot from SD card. Then the ROM boot tries USB recovery, fails and then finally boots from SD card like it should before.

If the reset is done using watchdog ROM boot starts from SD card without any problem.

I have tried to change PERSISTENT bits but it is no secondary firmware issue. Also I've tried to reset PINCTRL for SSP0 and reset SSP0 - without effect.

OTP is not burned. LCD_D00...D06 and LCD_RS are set properly.

Because ROM boot starts always from SD card on power-on and after watchdog reset I guess it is not SSP0 clock polarity issue (ROM boot bug).

The problem always appears if CLKCTRL_RESET bit 0 (DIG) is set. But if bit 1 (CHIP) is set the problem appears usually but not always - rather random.

SD card reset by power cycle before CPU reset does not help so it is rather mx28 issue.

 

Is it hardware related or ROM boot specific problem?

 

examples of error codes:

# reboot

0x8020a014 ((DDI_SD_MMC_DEVICE_NOT_SUPPORTED)

0x8020a014

0x80502008 (ROM USB CONNECT TIMEOUT)

 

PowerPrep start initialize power...

 

Configured for 5v only power source.            Battery powered operation disabled.

 

# reboot

0x8020a009 (DDI_SD_BOOT_IMAGE_NOT_FOUND)

0x80502008

 

PowerPrep start initialize power...

 

Configured for 5v only power source.            Battery powered operation disabled.

 

# reboot

PowerPrep start initialize power...

 

Configured for 5v only power source.            Battery powered operation disabled.

 

# reboot

0x8020a014

0x80502008

 

PowerPrep start initialize power...

 

Configured for 5v only power source.            Battery powered operation disabled.

 

# reboot

0x8050100b (ROM LDR PAYLOAD CRC)

0x80502008

 

PowerPrep start initialize power...

 

Configured for 5v only power source.            Battery powered operation disabled.

 

# reboot

0x8050100b

0x8050100b

0x80502008

 

PowerPrep start initialize power...

 

Configured for 5v only power source.            Battery powered operation disabled.

 

# reboot

0x8020A009

0x8020A009

0x80502008

 

PowerPrep start initialize power...

 

Configured for 5v only power source.            Battery powered operation disabled.

Outcomes