[U-Boot] [PATCH 0/4] imx6: Engicam i.CoreM6 eMMC boot support

Jagan Teki jagan at openedev.com
Wed Jan 11 00:10:16 CET 2017


From: Jagan Teki <jagan at amarulasolutions.com>

This series support boot from eMMC on Engicam i.CoreM6 QDL boards.

i.CoreM6 QDL boards, support both eSD and eMMC this patch-set add
eMMC support from SPL. but the issue is
- SD card (eSD) is not detecting when booting from eMMC but 
- SD card along with eMMC is able to detect while booting from eSD 

If any one tried this please help.

Log:
---
U-Boot SPL 2017.01-00005-g5986ea7-dirty (Jan 10 2017 - 23:56:16)
Trying to boot from MMC2

U-Boot 2017.01-00005-g5986ea7-dirty (Jan 10 2017 - 23:56:16 +0100)

CPU:   Freescale i.MX6D rev1.2 at 792 MHz
Reset cause: POR
Model: Engicam i.CoreM6 Quad/Dual RQS Starter Kit
DRAM:  512 MiB
MMC:   FSL_SDHC: 0, FSL_SDHC: 1
mmc_init: -70, time 38
*** Warning - MMC init failed, using default environment

In:    serial
Out:   serial
Err:   serial
Net:   No ethernet found.
Hit any key to stop autoboot:  0 
icorem6qdl-rqs> 
icorem6qdl-rqs> mmc dev 0
mmc_init: -70, time 38
icorem6qdl-rqs> mmc dev 1
switch to partitions #0, OK
mmc1(part 0) is current device
icorem6qdl-rqs> mmcinfo 
Device: FSL_SDHC
Manufacturer ID: fe
OEM: 14e
Name: MMC04 
Tran Speed: 52000000
Rd Block Len: 512
MMC version 4.4.1
High Capacity: Yes
Capacity: 3.5 GiB
Bus Width: 4-bit
Erase Group Size: 512 KiB
HC WP Group Size: 4 MiB
User Capacity: 3.5 GiB
Boot Capacity: 16 MiB ENH
RPMB Capacity: 128 KiB ENH
icorem6qdl-rqs> 


Jagan Teki (4):
  arm: dts: imx6qdl-icore-rqs: Add eMMC node
  imx6: Add imx6_src_get_boot_mode
  imx6: icorem6_rqs: Update SPL board boot order for mmc
  imx6: icorem6_rqs: Add eMMC boot support

 arch/arm/dts/imx6qdl-icore-rqs.dtsi       | 22 ++++++++++++++
 arch/arm/imx-common/init.c                | 22 ++++++++++++++
 arch/arm/imx-common/spl.c                 |  6 ++--
 arch/arm/include/asm/arch-mx6/sys_proto.h |  5 ++++
 board/engicam/icorem6_rqs/MAINTAINERS     |  1 +
 board/engicam/icorem6_rqs/icorem6_rqs.c   | 50 +++++++++++++++++++++++++++++--
 configs/imx6q_icore_rqs_emmc_defconfig    | 38 +++++++++++++++++++++++
 include/configs/imx6qdl_icore_rqs.h       |  2 +-
 8 files changed, 140 insertions(+), 6 deletions(-)
 create mode 100644 configs/imx6q_icore_rqs_emmc_defconfig

-- 
1.9.1



More information about the U-Boot mailing list