[U-Boot] [PATCH v2] mx6ul_evk: Remove CONFIG_SUPPORT_EMMC_BOOT

From: Fabio Estevam fabio.estevam@nxp.com
mx6ul_evk does not come with a eMMC populated, so we should not define CONFIG_SUPPORT_EMMC_BOOT as it causes SPL to not be able to boot some brands of SD cards, such as SanDisk microSD HC - 8GB:
U-Boot SPL 2016.05-rc1-28384-g108f841 (Apr 19 2016 - 11:19:11) Trying to boot from MMC1 spl: mmc block read error SPL: failed to boot from all boot devices ### ERROR ### Please RESET the board ###
When CONFIG_SUPPORT_EMMC_BOOT is defined spl_boot_mode() returns MMCSD_MODE_EMMCBOOT, so remove this option to have a reliable boot via SD card.
Signed-off-by: Fabio Estevam fabio.estevam@nxp.com --- Changes since v1: - Keep using SPL. Fix the boot issue by removing CONFIG_SUPPORT_EMMC_BOOT
include/configs/mx6ul_14x14_evk.h | 1 - 1 file changed, 1 deletion(-)
diff --git a/include/configs/mx6ul_14x14_evk.h b/include/configs/mx6ul_14x14_evk.h index 2fff34a..76929ac 100644 --- a/include/configs/mx6ul_14x14_evk.h +++ b/include/configs/mx6ul_14x14_evk.h @@ -46,7 +46,6 @@ #define CONFIG_SYS_FSL_USDHC_NUM 2 #endif
-#define CONFIG_SUPPORT_EMMC_BOOT /* eMMC specific */ #endif
/* I2C configs */

Tom/Stefano,
On Wed, Apr 20, 2016 at 10:48 PM, Fabio Estevam festevam@gmail.com wrote:
From: Fabio Estevam fabio.estevam@nxp.com
mx6ul_evk does not come with a eMMC populated, so we should not define CONFIG_SUPPORT_EMMC_BOOT as it causes SPL to not be able to boot some brands of SD cards, such as SanDisk microSD HC - 8GB:
U-Boot SPL 2016.05-rc1-28384-g108f841 (Apr 19 2016 - 11:19:11) Trying to boot from MMC1 spl: mmc block read error SPL: failed to boot from all boot devices ### ERROR ### Please RESET the board ###
When CONFIG_SUPPORT_EMMC_BOOT is defined spl_boot_mode() returns MMCSD_MODE_EMMCBOOT, so remove this option to have a reliable boot via SD card.
Signed-off-by: Fabio Estevam fabio.estevam@nxp.com
Could this one be applied for 2016.05?
Thanks

On Tue, Apr 26, 2016 at 12:58:05PM -0300, Fabio Estevam wrote:
Tom/Stefano,
On Wed, Apr 20, 2016 at 10:48 PM, Fabio Estevam festevam@gmail.com wrote:
From: Fabio Estevam fabio.estevam@nxp.com
mx6ul_evk does not come with a eMMC populated, so we should not define CONFIG_SUPPORT_EMMC_BOOT as it causes SPL to not be able to boot some brands of SD cards, such as SanDisk microSD HC - 8GB:
U-Boot SPL 2016.05-rc1-28384-g108f841 (Apr 19 2016 - 11:19:11) Trying to boot from MMC1 spl: mmc block read error SPL: failed to boot from all boot devices ### ERROR ### Please RESET the board ###
When CONFIG_SUPPORT_EMMC_BOOT is defined spl_boot_mode() returns MMCSD_MODE_EMMCBOOT, so remove this option to have a reliable boot via SD card.
Signed-off-by: Fabio Estevam fabio.estevam@nxp.com
Could this one be applied for 2016.05?
Fine with me. Do you want to make a PR or should I take it Stefano, if you have no objections?

Hi Tom,
On 26/04/2016 18:04, Tom Rini wrote:
On Tue, Apr 26, 2016 at 12:58:05PM -0300, Fabio Estevam wrote:
Tom/Stefano,
On Wed, Apr 20, 2016 at 10:48 PM, Fabio Estevam festevam@gmail.com wrote:
From: Fabio Estevam fabio.estevam@nxp.com
mx6ul_evk does not come with a eMMC populated, so we should not define CONFIG_SUPPORT_EMMC_BOOT as it causes SPL to not be able to boot some brands of SD cards, such as SanDisk microSD HC - 8GB:
U-Boot SPL 2016.05-rc1-28384-g108f841 (Apr 19 2016 - 11:19:11) Trying to boot from MMC1 spl: mmc block read error SPL: failed to boot from all boot devices ### ERROR ### Please RESET the board ###
When CONFIG_SUPPORT_EMMC_BOOT is defined spl_boot_mode() returns MMCSD_MODE_EMMCBOOT, so remove this option to have a reliable boot via SD card.
Signed-off-by: Fabio Estevam fabio.estevam@nxp.com
Could this one be applied for 2016.05?
Fine with me. Do you want to make a PR or should I take it Stefano, if you have no objections?
Fine with me if you want to pick it up directly without PR.
Stefano

Tom,
On Tue, Apr 26, 2016 at 1:33 PM, Stefano Babic sbabic@denx.de wrote:
Fine with me if you want to pick it up directly without PR.
Are you applying this one directly?

On Mon, May 02, 2016 at 09:59:33PM -0300, Fabio Estevam wrote:
Tom,
On Tue, Apr 26, 2016 at 1:33 PM, Stefano Babic sbabic@denx.de wrote:
Fine with me if you want to pick it up directly without PR.
Are you applying this one directly?
Thanks for the reminder.

On 26/04/2016 17:58, Fabio Estevam wrote:
Tom/Stefano,
On Wed, Apr 20, 2016 at 10:48 PM, Fabio Estevam festevam@gmail.com wrote:
From: Fabio Estevam fabio.estevam@nxp.com
mx6ul_evk does not come with a eMMC populated, so we should not define CONFIG_SUPPORT_EMMC_BOOT as it causes SPL to not be able to boot some brands of SD cards, such as SanDisk microSD HC - 8GB:
U-Boot SPL 2016.05-rc1-28384-g108f841 (Apr 19 2016 - 11:19:11) Trying to boot from MMC1 spl: mmc block read error SPL: failed to boot from all boot devices ### ERROR ### Please RESET the board ###
When CONFIG_SUPPORT_EMMC_BOOT is defined spl_boot_mode() returns MMCSD_MODE_EMMCBOOT, so remove this option to have a reliable boot via SD card.
Signed-off-by: Fabio Estevam fabio.estevam@nxp.com
Could this one be applied for 2016.05?
I pick it up
Stefano

On Wed, Apr 20, 2016 at 10:48:13PM -0300, Fabio Estevam wrote:
From: Fabio Estevam fabio.estevam@nxp.com
mx6ul_evk does not come with a eMMC populated, so we should not define CONFIG_SUPPORT_EMMC_BOOT as it causes SPL to not be able to boot some brands of SD cards, such as SanDisk microSD HC - 8GB:
U-Boot SPL 2016.05-rc1-28384-g108f841 (Apr 19 2016 - 11:19:11) Trying to boot from MMC1 spl: mmc block read error SPL: failed to boot from all boot devices ### ERROR ### Please RESET the board ###
When CONFIG_SUPPORT_EMMC_BOOT is defined spl_boot_mode() returns MMCSD_MODE_EMMCBOOT, so remove this option to have a reliable boot via SD card.
Signed-off-by: Fabio Estevam fabio.estevam@nxp.com
Applied to u-boot/master, thanks!
participants (3)
-
Fabio Estevam
-
Stefano Babic
-
Tom Rini