Issue rebooting from eMMC with STM32MP157C Silicon Version B
Hi,
I have a custom Board with a STM32MP157C marked 'B' with an attatched SD card and an eMMC (one from ISSI).
First of all I am aware that this revision is having the errata 'eMMC boot timeout too short'. I also read through this post: https://community.st.com/s/question/0D50X0000BiBhHQSQ0/stm32mp153a-failed-to-boot-from-emmc
The problem I am having is that I indeed can boot from the eMMC when resetting it and the MP1 with the NRST pad (using a switch if that matters). TF-A tells me the following reset reason:
NOTICE: CPU: STM32MP157CAA Rev.B
NOTICE: Model: STMicroelectronics custom STM32CubeMX board
INFO: Reset reason (0x14):
INFO: Pad Reset from NRSTwhich also makes sense.
If I let the system boot and try to reboot it via U-Boot or Linux console it won't start. After the shutdown the boot from eMMC fails and the serial boot is entered.
By using my SD-Card I know that the reset reason is MPSYSRESET when rebooting from the command line, as seen in the TF-A trace:
INFO: Reset reason (0x54):
INFO: System reset generated by MPU (MPSYSRST)I cannot boot from the eMMC if I unplug the power from the board and plug it back in neither (this should make sure eMMC and MP1 are powered up at the same time and therefore trigger the errata). There are different reseted functions from the different reset lines but as far as I understood it the MPSYSRST should lead to an app_rst. The reset via NRST pad should generate the same app_rst, as stated in the reference manual (see the picture).
So for my understanding the same reset should lead to the same reboot behaviour.
My goal is to make sure the described behaviour is caused by the errata. Has anyone got similar behavioural with a nonconform eMMC and silicon rev. B?
Cheers
