This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
I am using Custom Board with Sitara AM5716. I have successfully boot it via U-boot by sending the SPL and U-boot image via UART. But in my U-Boot , the mmc device is not getting detected. The mmc device I am using on the board is MTFC4GACAANA-4M IT. the device is connected to MMC2 of AM5716. The mux_data in mu u-boot code is as shown below::
const struct pad_conf_entry core_padconf_array_essential_am571x_idk[] = {
{GPMC_A3, (M1 | PIN_OUTPUT | MANUAL_MODE)}, /* gpmc_a3.qspi1_cs2 */
{GPMC_A4, (M1 | PIN_OUTPUT | MANUAL_MODE)}, /* gpmc_a4.qspi1_cs3 */
{GPMC_A13, (M1 | PIN_INPUT | MANUAL_MODE)}, /* gpmc_a13.qspi1_rtclk */
{GPMC_A14, (M1 | PIN_INPUT | MANUAL_MODE)}, /* gpmc_a14.qspi1_d3 */
{GPMC_A15, (M1 | PIN_INPUT | MANUAL_MODE)}, /* gpmc_a15.qspi1_d2 */
{GPMC_A16, (M1 | PIN_INPUT | MANUAL_MODE)}, /* gpmc_a16.qspi1_d0 */
{GPMC_A17, (M1 | PIN_INPUT | MANUAL_MODE)}, /* gpmc_a17.qspi1_d1 */
{GPMC_A18, (M1 | PIN_OUTPUT | MANUAL_MODE)}, /* gpmc_a18.qspi1_sclk */
{GPMC_A19, (M1 | PIN_INPUT)}, /* gpmc_a19.mmc2_dat4 */
{GPMC_A20, (M1 | PIN_INPUT)}, /* gpmc_a20.mmc2_dat5 */
{GPMC_A21, (M1 | PIN_INPUT)}, /* gpmc_a21.mmc2_dat6 */
{GPMC_A22, (M1 | PIN_INPUT)}, /* gpmc_a22.mmc2_dat7 */
{GPMC_A23, (M1 | PIN_OUTPUT)}, /* gpmc_a23.mmc2_clk */
{GPMC_A24, (M1 | PIN_INPUT)}, /* gpmc_a24.mmc2_dat0 */
{GPMC_A25, (M1 | PIN_INPUT)}, /* gpmc_a25.mmc2_dat1 */
{GPMC_A26, (M1 | PIN_INPUT)}, /* gpmc_a26.mmc2_dat2 */
{GPMC_A27, (M1 | PIN_INPUT)}, /* gpmc_a27.mmc2_dat3 */
{GPMC_CS1, (M1 | PIN_INPUT)}, /* gpmc_cs1.mmc2_cmd */
The screenshot of the u-boot boot screen is above.
Kindly guide me what I should I do to access mmc in U-boot.