u-boot/board/udoo
Fabio Estevam 11907cb5cf udoo_spl: Initialize the eSDHC controller in SPL
Currently, imx6q udoo board fails to boot like this:

U-Boot SPL 2022.01-rc3-00061-g95ca715adad3 (Dec 18 2021 - 18:04:40 -0300)
Trying to boot from MMC1

The reason is that the eSDHC controller is not initialized in SPL.

Initialize the eSDHC controller in SPL via C code as DM is not
used in SPL.

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Reviewed-by: Peter Robinson <pbrobinson@gmail.com>
2022-01-08 11:16:03 -05:00
..
neo udoo: neo: Do not print the Model information 2022-01-07 09:30:45 -05:00
Kconfig mx6: remove SYS_SOC from board Kconfig 2015-09-13 10:37:29 +02:00
MAINTAINERS MAINTAINERS: Use my personal e-mail address 2021-04-08 20:29:53 +02:00
Makefile SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
README udoo: Add a README file 2016-10-06 09:40:34 +02:00
udoo.c ARM: imx: udoo: convert to DM_ETH 2021-04-08 20:29:54 +02:00
udoo_spl.c udoo_spl: Initialize the eSDHC controller in SPL 2022-01-08 11:16:03 -05:00

How to use U-Boot on MX6Q/DL Udoo boards
----------------------------------------

- Build U-Boot for MX6Q/DL Udoo boards:

$ make mrproper
$ make udoo_defconfig
$ make

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

- Flash the SPL image into the SD card:

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

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

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

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