u-boot/board/engicam/isiotmx6ul
Jagan Teki e9685967bb i.MX6UL: isiot: Switch the mmc env based on devno
Add board_mmc_get_env_dev

Switch the mmc env based on the mmc devno, instead of separately
defining a config item in include/configs using board_mmc_get_env_dev
- devno 0: sd/esd
- devno 1: mmc/emmc

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-03-17 09:27:08 +01:00
..
isiotmx6ul.c i.MX6UL: isiot: Switch the mmc env based on devno 2017-03-17 09:27:08 +01:00
Kconfig arm: imx6ul: Add Engicam Is.IoT MX6UL Starter Kit initial support 2017-03-17 09:27:08 +01:00
MAINTAINERS i.MX6UL: isiot: Add eMMC boot support 2017-03-17 09:27:08 +01:00
Makefile arm: imx6ul: Add Engicam Is.IoT MX6UL Starter Kit initial support 2017-03-17 09:27:08 +01:00
README arm: imx6ul: Add Engicam Is.IoT MX6UL Starter Kit initial support 2017-03-17 09:27:08 +01:00

How to use U-Boot on Engicam Is.IoT MX6UL Starter Kit:
-----------------------------------------------------

- Configure U-Boot for Engicam Is.IoT MX6UL

$ make mrproper
$ make imx6ul_isiot_mmc_defconfig
$ 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.