STM32MP133A, issue with booting from emmc with bus-width greater than 1
I am working on a custom board with STM32MP133A cpu and Kingston EMMC08G-ML36 EMMC. The board boots fine from the EMMC, however if the board resets due to kernel panic and/or watchdog timeout it fails to boot from EMMC and enters DFU mode (where it hangs indefinitely). It looks like that after unexpected reset EMMC stays in 8-bit bus width and boot-rom fails to load the TF-A. The current workaround is to set bus-width to 1 in both u-boot and linux device trees. Is this boot-rom behavior described somewhere?
Is there any way to reliably reset bus-width from 8 to 1 in case of unexpected STM32MP133A reset? Or to get out of DFU mode after some timeout, although in this case bus-width still has to be reset to 1 somehow?
