I need to set CONFIG_SYS_MMC_ENV_DEV in sunxi-common.h to 0 always to make it work again.
#if defined(CONFIG_ENV_IS_IN_MMC)
#if CONFIG_MMC_SUNXI_SLOT_EXTRA != -1
/* If we have two devices (most likely eMMC + MMC), favour the eMMC */
#define CONFIG_SYS_MMC_ENV_DEV 0 // <<<========== 1 was here
#else
/* Otherwise, use the only device we have */
#define CONFIG_SYS_MMC_ENV_DEV 0
#endif
#define CONFIG_SYS_MMC_MAX_DEVICE 4
#elif defined(CONFIG_ENV_IS_NOWHERE)
#define CONFIG_ENV_SIZE (128 << 10)
#endif
Running u-boot shows sdcard as mmc0. mmc1 does not work.
I need to set CONFIG_SYS_MMC_ENV_DEV in sunxi-common.h to 0 always to make it work again.
Running u-boot shows sdcard as mmc0. mmc1 does not work.