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

Jaehoon Chung jh80.chung at samsung.com
Thu Oct 13 03:12:28 CEST 2016


On 10/12/2016 11:03 PM, Alexandr Bochkarev wrote:
> 
>>
>> 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

Just add the debug() into your driver..then it's only displayed your driver debug message.

#define debug() ...

> 
>>
>> 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