|
Posted at 5/4/2016 16:46:22
Only Author
4#
Last edited by banavathvishnu In 5/4/2016 17:50 Editor
After erasing eMMC using dd if=/dev/zero of=/dev/mmcblk0 bs=1M and flashing uboot bootloader I could see boot message
U-Boot SPL 2016.05-rc2-04879-g78f5953-dirty (May 03 2016 - 17:48:51)
Trying to boot from MMC1
Card did not respond to voltage select!
spl: mmc init failed with error: -17
SPL: failed to boot from all boot devices
### ERROR ### Please RESET the board ###
But on resetting board it stops booting. No idea what went wrong.
Does anyone know why board could not find boot devices?
I was hoping atleast it should boot to uboot.
./common/spl/spl.c
void board_init_r(gd_t *dummy1, ulong dummy2)
{
------
------
if (i == ARRAY_SIZE(spl_boot_list) ||
spl_boot_list == BOOT_DEVICE_NONE) {
puts("SPL: failed to boot from all boot devices\n");
//hang();
}
------
}
Commented out hang() and I could see below boot messages
U-Boot SPL 2016.05-rc2-04879-g78f5953-dirty (May 04 2016 - 10:34:50)
Boot device
Trying to boot from MMC1
Card did not respond to voltage select!
spl: mmc init failed with error: -17
SPL: failed to boot from all boot devices
Unsupported OS image.. Jumping nevertheless..
loaded - jumping to U-Boot...image entry point: 0x
NOTE: No MMC card present in TFCARD slot.
Do I need to have MMC card in TFCARD slot?
What should I do to boot uboot from eMMC?
Thanks
|
|