mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-19 03:08:31 +00:00
cde5aa3761
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> |
||
---|---|---|
.. | ||
isiotmx6ul.c | ||
Kconfig | ||
MAINTAINERS | ||
Makefile | ||
README |
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.