[U-Boot] [bug report] sunxi: booting from eMMC

Alexandr Bochkarev aneox.inbox at gmail.com
Wed Oct 12 16:03:20 CEST 2016


> 
> define debug() in your mmc driver..or enable CONFIG_DEBUG..then you can see all debug message.
> 

When i define CONFIG_DEGUB, u-boot binary size is to large for a20 sram
I have tried to disable unused features in config, but its not enough

> 
> If you're setting MMC_MODE_8BIT..try to remove it..
> 
I am not never set 8 bit mode
And now found it defines

#define MMC_MODE_4BIT		(1 << 2)
#define MMC_MODE_8BIT		(1 << 3)

and replace with 

#define MMC_MODE_4BIT		(1 << 2)
#define MMC_MODE_8BIT		(1 << 2) //(1 << 3)

The same result.


More information about the U-Boot mailing list