Jagan Teki | 0d6d48b | 2016-10-08 18:00:11 +0530 | [diff] [blame] | 1 | How to use U-Boot on Engicam i.CoreM6 DualLite/Solo and Quad/Dual Starter Kit: |
| 2 | ----------------------------------------------------------------------------- |
| 3 | |
Jagan Teki | 6d45e1b | 2016-10-08 18:00:24 +0530 | [diff] [blame] | 4 | - Configure U-Boot for Engicam i.CoreM6 QDL: |
Jagan Teki | 0d6d48b | 2016-10-08 18:00:11 +0530 | [diff] [blame] | 5 | |
| 6 | $ make mrproper |
| 7 | $ make icorem6qdl_mmc_defconfig |
Jagan Teki | 6d45e1b | 2016-10-08 18:00:24 +0530 | [diff] [blame] | 8 | |
| 9 | - Build for i.CoreM6 DualLite/Solo |
| 10 | |
Jagan Teki | 0d6d48b | 2016-10-08 18:00:11 +0530 | [diff] [blame] | 11 | $ make |
| 12 | |
Jagan Teki | 6d45e1b | 2016-10-08 18:00:24 +0530 | [diff] [blame] | 13 | - Build for i.CoreM6 Quad/Dual |
| 14 | |
| 15 | $ make DEVICE_TREE=imx6q-icore |
| 16 | |
Jagan Teki | 46e8ea9 | 2016-10-08 18:00:19 +0530 | [diff] [blame] | 17 | This will generate the SPL image called SPL and the u-boot-dtb.img. |
Jagan Teki | 0d6d48b | 2016-10-08 18:00:11 +0530 | [diff] [blame] | 18 | |
| 19 | - Flash the SPL image into the micro SD card: |
| 20 | |
| 21 | sudo dd if=SPL of=/dev/mmcblk0 bs=1k seek=1; sync |
| 22 | |
Jagan Teki | 46e8ea9 | 2016-10-08 18:00:19 +0530 | [diff] [blame] | 23 | - Flash the u-boot-dtb.img image into the micro SD card: |
Jagan Teki | 0d6d48b | 2016-10-08 18:00:11 +0530 | [diff] [blame] | 24 | |
Jagan Teki | 46e8ea9 | 2016-10-08 18:00:19 +0530 | [diff] [blame] | 25 | sudo dd if=u-boot-dtb.img of=/dev/mmcblk0 bs=1k seek=69; sync |
Jagan Teki | 0d6d48b | 2016-10-08 18:00:11 +0530 | [diff] [blame] | 26 | |
| 27 | - Jumper settings: |
| 28 | |
| 29 | MMC Boot: JM3 Closed |
| 30 | |
| 31 | - Connect the Serial cable between the Starter Kit and the PC for the console. |
| 32 | (J28 is the Linux Serial console connector) |
| 33 | |
| 34 | - Insert the micro SD card in the board, power it up and U-Boot messages should |
| 35 | come up. |
| 36 | |
| 37 | - Note: For loading Linux on Quad/Dual modules set the dtb as |
| 38 | icorem6qdl> setenv fdt_file imx6q-icore.dtb |