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