u-boot/board/engicam/isiotmx6ul
Jagan Teki cde5aa3761 imx6: isiotmx6ul: Update SPL board boot order for eMMC
SPL mmc device index is get based on the boot device, like
- BOOT_DEVICE_MMC1 for mmc device 0
- BOOT_DEVICE_MMC2 for mmc device 1

Currently BOOT_DEVICE_MMC1 is setting both SD/eSD and MMC/eMMC
boot devices in i.MX, So u-boot is loading from mmc device 0 even
"if the board booting from SD/eSD or MMC/eMMC"

So, this patch set BOOT_DEVICE_MMC2 for MMC/eMMC so for MMC/eMMC
the u-boot is loading from mmc device 1 and the board file need to
take care if the board have different mmc device order intialization.

Cc: Matteo Lisi <matteo.lisi@engicam.com>
Cc: Michael Trimarchi <michael@amarulasolutions.com>
Reviewed by: Stefano Babic <sbabic@denx.de>
Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
2017-03-17 09:27:08 +01:00
..
isiotmx6ul.c imx6: isiotmx6ul: Update SPL board boot order for eMMC 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 imx6: isiotmx6ul: Add NAND 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.