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

Alexandr Bochkarev aneox.inbox at gmail.com
Thu Nov 3 22:23:57 CET 2016


To exclude board factor, i get another board, Cubieboard2, desolder nand chip and put emmc on sdc2 lines.
Boot kernel from sd on sdc0 lines, kernel init emmc well, in 4 bit mode

So, some trouble in u-boot is exist, PLEASE HELP! 
U-Boot SPL 2016.11-rc1-g4dc34be

My board - A20:

U-Boot with my config
EMMC on sdc0 lines
	
U-Boot output:
>> Trying to boot from MMC1
>> mmc_load_image_raw_sector: mmc block read error 
>> SPL: failed to boot from all boot devices 
>> ### ERROR ### Please RESET the board ### 


MarsBoard - A20:

U-Boot with my config and mmc extra slot config set to 2
EMMC on sdc2 lines
EMMC works from linux with 4-bit bus width, if boot from SD card on sdc0 lines

U-Boot output:
>> Trying to boot from MMC2 
>> mmc_load_image_raw_sector: mmc block read error 
>> SPL: failed to boot from all boot devices 
>> ### ERROR ### Please RESET the board ### 


Cubieboard2 - A20:

U-Boot with Cubieboard_defconfig and mmc extra slot config set to 2
EMMC on sdc2 lines
EMMC works from linux with 4-bit bus width, if boot from SD card on sdc0 lines

U-Boot output:
>> Trying to boot from MMC2 
>> mmc_load_image_raw_sector: mmc block read error 
>> SPL: failed to boot from all boot devices 
>> ### ERROR ### Please RESET the board ### 


More information about the U-Boot mailing list