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