u-boot-brain/board/engicam/icorem6_rqs
Jagan Teki 539b1e228f board: icore-rqs: Fix mmc get env device
As per USDHC boot eFUSE descriptions:
USDHC3 => devno 2
USDHC4 => devno 3

Linux will detect mmc0, mmc1, mmc2 based on the status
"okay" on usdhc so imx6qdl-icore-rqs.dtsi has enabled
usdhc1, usdhc3 and usdhc4.But U-Boot can detect based
on the aliases so add mmc1, mmc2 for usdhc3 and usdhc4
respectively and return the board_mmc_get_env_dev
by subtracting -1

Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
2017-11-27 10:36:40 +01:00
..
icorem6_rqs.c board: icore-rqs: Fix mmc get env device 2017-11-27 10:36:40 +01:00
Kconfig engicam: Generate single config file 2017-05-31 10:39:35 +02:00
MAINTAINERS i.MX6: engicam: Fix MAINTAINERS/README 2017-11-07 10:13:39 +01:00
Makefile arm: imx6q: Add Engicam i.CoreM6 Quad/Dual RQS Starter Kit initial support 2016-12-16 17:16:10 +01:00
README i.MX6: engicam: Fix MAINTAINERS/README 2017-11-07 10:13:39 +01:00

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

$ make mrproper

- Configure U-Boot for Engicam i.CoreM6 RQS Quad/Dual/Solo/DualLite:
$ make imx6qdl_icore_rqs_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.