blob: d76b997e22849589bde13b37f01018fd281baa28 [file] [log] [blame]
Parthiban Nallathambid8d33b62019-04-18 00:04:09 +02001How to use U-Boot on variscite DART-6UL Evaluation Kit
2------------------------------------------------------
3
4- Configure and build U-Boot for DART-6UL iMX6ULL:
5
6 $ make mrproper
7 $ make variscite_dart6ul_defconfig
8 $ make
9
10 This will generate SPL and u-boot-dtb.img images.
11
12Boot from MMC/SD:
13- The SPL and u-boot-dtb.img images need to be flashed into the micro SD card:
14
15 $ sudo dd if=SPL of=/dev/mmcblk0 bs=1k seek=1; sync
16 $ sudo dd if=u-boot-dtb.img of=/dev/mmcblk0 bs=1k seek=69; sync
17
18- Boot mode settings:
19
20 Boot switch position: SW1 -> 0
21 SW2 -> 0
22
23Boot from eMMC:
24- if bootpart is not enabled by default, to enable under Linux
25 echo 0 >/sys/block/mmcblk1boot0/force_ro
26 mmc bootpart enable 1 1 /dev/mmcblk1boot0
27
28- Flash the SPL and u-boot-dtb.img to mmcblk1boot0
29 $ sudo dd if=SPL of=/dev/mmcblk1boot0 bs=1k seek=1; sync
30 $ sudo dd if=u-boot-dtb.img of=/dev/mmcblk1boot0 bs=1k seek=69; sync
31
32- Boot mode settings:
33
34 Boot switch position: SW1 -> 0
35 SW2 -> 1
36
37- Connect the Serial cable to UART0 and the PC for the console.
38
39- Insert the micro SD card in the board and power it up.
40
41- U-Boot messages should come up.