Marek Vasut 0f44d5549e env: Rename SYS_MMC_ENV_DEV to ENV_MMC_DEVICE_INDEX
Rename the variable and add ENV_ prefix, so that all configuration
options which are related to environment would have an CONFIG_ENV_
prefix. No functional change.

Use ENV_MMC_DEVICE_INDEX to clarify this is the SD/MMC device
index, a number, as enumerated by U-Boot. Update the help text
accordingly.

Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
2025-06-20 12:15:08 -06:00
..

How to use U-Boot on Grinn's liteBoard
--------------------------------------

- Build U-Boot for liteBoard:

$ make mrproper
$ make liteboard_defconfig
$ make

This will generate the SPL image called SPL and the u-boot.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.img image into the micro SD card:

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

- Jumper settings:

S1: 0 1 0 1 1 1

where 0 means bottom position and 1 means top position (from the
switch label numbers reference).

- Insert the micro SD card in the board.

- Connect USB cable between liteBoard and the PC for the power and console.

- U-Boot messages should come up.