Hi!

I am trying to boot my A20 board from eMMC KLM4G1FE3B-B001, but has no 
success. 
Commenting mmc_change_freq has no effect. 
U-Boot 2016.03 just says Could not determine boot source

I have found, that it stucks in sunxi_mmc_has_egon_boot_signature. 
















*int sunxi_mmc_has_egon_boot_signature(struct mmc *mmc){ char *buf = 
malloc(512); int valid_signature = 0; if (buf == NULL) panic("Failed to 
allocate memory\n"); if (mmc_getcd(mmc) && mmc_init(mmc) == 0 &&     
mmc->block_dev.block_read(&mmc->block_dev, 16, 1, buf) == 1 &&     
strncmp(&buf[4], "eGON.BT0", 8) == 0) valid_signature = 1; free(buf); 
return valid_signature;}*

mmc_init(mmc) return no errors, seems good, but
block_read returns 0, seems it cant read emmc. set *valid_signature = 1 *force, 
has no positive effect.


U-Boot 2016.09 says:

mmc_load_image_raw_sector: mmc block read error
SPL: failed to boot from all boot devices
### ERROR ### Please RESET the board ###

-- 
You received this message because you are subscribed to the Google Groups 
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to