xref: /openbmc/u-boot/board/udoo/README (revision f5fd45ff64e28a73499548358e3d1ceda0de7daf)
1*5b0d03b3SFabio EstevamHow to use U-Boot on MX6Q/DL Udoo boards
2*5b0d03b3SFabio Estevam----------------------------------------
3*5b0d03b3SFabio Estevam
4*5b0d03b3SFabio Estevam- Build U-Boot for MX6Q/DL Udoo boards:
5*5b0d03b3SFabio Estevam
6*5b0d03b3SFabio Estevam$ make mrproper
7*5b0d03b3SFabio Estevam$ make udoo_defconfig
8*5b0d03b3SFabio Estevam$ make
9*5b0d03b3SFabio Estevam
10*5b0d03b3SFabio EstevamThis will generate the SPL image called SPL and the u-boot.img.
11*5b0d03b3SFabio Estevam
12*5b0d03b3SFabio Estevam- Flash the SPL image into the SD card:
13*5b0d03b3SFabio Estevam
14*5b0d03b3SFabio Estevamsudo dd if=SPL of=/dev/mmcblk0 bs=1k seek=1; sync
15*5b0d03b3SFabio Estevam
16*5b0d03b3SFabio Estevam- Flash the u-boot.img image into the SD card:
17*5b0d03b3SFabio Estevam
18*5b0d03b3SFabio Estevamsudo dd if=u-boot.img of=/dev/mmcblk0 bs=1k seek=69; sync
19*5b0d03b3SFabio Estevam
20*5b0d03b3SFabio Estevam- Insert the SD card in the board, power it up and U-Boot messages should
21*5b0d03b3SFabio Estevamcome up.
22