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