You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As we know, rk3568 uses the sdmmc0(dwmmc@fe2b0000) as the default SD boot device.
But now, I have to use the sdmmc2(dwmmc@fe000000) as a SD boot device.
I have tried, the sdmmc2 as a SD device is working at rootfs and uboot.
But, it can not as a SD boot device, it is timeout when sends the CMD51 in SPL.
The logs as bellow, you can see it sends the CMD timeout in SPL, but it communicates in uboot successfully.
As we know, rk3568 uses the sdmmc0(dwmmc@fe2b0000) as the default SD boot device.
But now, I have to use the sdmmc2(dwmmc@fe000000) as a SD boot device.
I have tried, the sdmmc2 as a SD device is working at rootfs and uboot.
But, it can not as a SD boot device, it is timeout when sends the CMD51 in SPL.
The logs as bellow, you can see it sends the CMD timeout in SPL, but it communicates in uboot successfully.
Finally, I know the reson why it sends CMD timeout in SPL.
The sdmmc0 is set to secure, but the sdmmc2 is not set to secure.
The code as bellow.
And, I can not find more about the SGRF on the TRM.
So, can you help me how to set the sdmmc2 to secure?
The text was updated successfully, but these errors were encountered: