u-boot-sunxi icon indicating copy to clipboard operation
u-boot-sunxi copied to clipboard

upgrading 2017.09 -> 2017.11 breaks env loading on mele m3

Open p5n opened this issue 7 years ago • 0 comments

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.

p5n avatar Dec 02 '17 20:12 p5n