u-boot/board/engicam/icorem6
Jagan Teki 040143afe4 icorem6: Add mmc_late_init
Let the runtime code can set the mmcdev and mmcroot based
on the devno using mmc_get_env_dev instead of defining
separately in build-time configs using mmc_late_init func.

Cc: Stefano Babic <sbabic@denx.de>
Cc: Matteo Lisi <matteo.lisi@engicam.com>
Cc: Michael Trimarchi <michael@amarulasolutions.com>
Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
2017-05-11 12:57:44 +02:00
..
icorem6.c icorem6: Add mmc_late_init 2017-05-11 12:57:44 +02:00
Kconfig arm: imx: Add Engicam i.CoreM6 QDL Starter Kit initial support 2016-10-26 16:53:16 +02:00
MAINTAINERS i.MX6: engicam: Include dts files under MAINTAINERS 2017-03-17 09:27:08 +01:00
Makefile arm: imx: Add Engicam i.CoreM6 QDL Starter Kit initial support 2016-10-26 16:53:16 +02:00
README imx6: icorem6: Rename engicam icorem6 defconfig files 2016-12-16 18:38:54 +01:00

How to use U-Boot on Engicam i.CoreM6 Solo/DualLite and Quad/Dual Starter Kit:
-----------------------------------------------------------------------------

$ make mrproper

- Configure U-Boot for Engicam i.CoreM6 Quad/Dual:
$ make imx6q_icore_mmc_defconfig

- Configure U-Boot for Engicam i.CoreM6 Solo/DualLite:
$ make imx6dl_icore_mmc_defconfig

- Build U-Boot
$ make

This will generate the SPL image called SPL and the u-boot-dtb.img.

- Flash the SPL image into the micro SD card:

sudo dd if=SPL of=/dev/mmcblk0 bs=1k seek=1; sync

- Flash the u-boot-dtb.img image into the micro SD card:

sudo dd if=u-boot-dtb.img of=/dev/mmcblk0 bs=1k seek=69; sync

- Jumper settings:

MMC Boot: JM3 Closed

- Connect the Serial cable between the Starter Kit and the PC for the console.
(J28 is the Linux Serial console connector)

- Insert the micro SD card in the board, power it up and U-Boot messages should
come up.