xref: /OK3568_Linux_fs/u-boot/board/engicam/icorem6/README (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunHow to use U-Boot on Engicam i.CoreM6 Solo/DualLite and Quad/Dual Starter Kit:
2*4882a593Smuzhiyun-----------------------------------------------------------------------------
3*4882a593Smuzhiyun
4*4882a593Smuzhiyun$ make mrproper
5*4882a593Smuzhiyun
6*4882a593Smuzhiyun- Configure U-Boot for Engicam i.CoreM6 Quad/Dual:
7*4882a593Smuzhiyun$ make imx6q_icore_mmc_defconfig
8*4882a593Smuzhiyun
9*4882a593Smuzhiyun- Configure U-Boot for Engicam i.CoreM6 Solo/DualLite:
10*4882a593Smuzhiyun$ make imx6dl_icore_mmc_defconfig
11*4882a593Smuzhiyun
12*4882a593Smuzhiyun- Build U-Boot
13*4882a593Smuzhiyun$ make
14*4882a593Smuzhiyun
15*4882a593SmuzhiyunThis will generate the SPL image called SPL and the u-boot-dtb.img.
16*4882a593Smuzhiyun
17*4882a593Smuzhiyun- Flash the SPL image into the micro SD card:
18*4882a593Smuzhiyun
19*4882a593Smuzhiyunsudo dd if=SPL of=/dev/mmcblk0 bs=1k seek=1; sync
20*4882a593Smuzhiyun
21*4882a593Smuzhiyun- Flash the u-boot-dtb.img image into the micro SD card:
22*4882a593Smuzhiyun
23*4882a593Smuzhiyunsudo dd if=u-boot-dtb.img of=/dev/mmcblk0 bs=1k seek=69; sync
24*4882a593Smuzhiyun
25*4882a593Smuzhiyun- Jumper settings:
26*4882a593Smuzhiyun
27*4882a593SmuzhiyunMMC Boot: JM3 Closed
28*4882a593Smuzhiyun
29*4882a593Smuzhiyun- Connect the Serial cable between the Starter Kit and the PC for the console.
30*4882a593Smuzhiyun(J28 is the Linux Serial console connector)
31*4882a593Smuzhiyun
32*4882a593Smuzhiyun- Insert the micro SD card in the board, power it up and U-Boot messages should
33*4882a593Smuzhiyuncome up.
34