
Already tried. The same output:
mmc_load_image_raw_sector: mmc block read error SPL: failed to boot from all boot devices ### ERROR ### Please RESET the board ###
2 окт. 2016 г., в 19:38, Jagan Teki jagannadh.teki@gmail.com написал(а):
On Sun, Oct 2, 2016 at 1:07 PM, Alexandr Bochkarev aneox.inbox@gmail.com wrote:
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.
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 ###
Can you try it on master once?
-- Jagan Teki Free Software Engineer | www.openedev.com U-Boot, Linux | Upstream Maintainer Hyderabad, India.