Skip to content

upgrading 2017.09 -> 2017.11 breaks env loading on mele m3 #100

@p5n

Description

@p5n

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions