Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
p5n opened this issue Dec 2, 2017 · 0 comments
Open

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

p5n opened this issue Dec 2, 2017 · 0 comments

Comments

@p5n
Copy link

p5n commented Dec 2, 2017

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant