Peng Fan | 3743697 | 2020-10-14 17:12:10 +0800 | [diff] [blame] | 1 | .. SPDX-License-Identifier: GPL-2.0+ |
| 2 | |
| 3 | mx6ullevk |
| 4 | ========= |
| 5 | |
Diego Dorta | 13af68f | 2016-11-10 15:05:37 -0200 | [diff] [blame] | 6 | How to use U-Boot on Freescale MX6ULL 14x14 EVK |
Peng Fan | 3743697 | 2020-10-14 17:12:10 +0800 | [diff] [blame] | 7 | ----------------------------------------------- |
Diego Dorta | 13af68f | 2016-11-10 15:05:37 -0200 | [diff] [blame] | 8 | |
| 9 | - First make sure you have installed the dtc package (device tree compiler): |
| 10 | |
Peng Fan | 3743697 | 2020-10-14 17:12:10 +0800 | [diff] [blame] | 11 | .. code-block:: bash |
| 12 | |
| 13 | $ sudo apt-get install device-tree-compiler |
Diego Dorta | 13af68f | 2016-11-10 15:05:37 -0200 | [diff] [blame] | 14 | |
| 15 | - Build U-Boot for MX6ULL 14x14 EVK: |
| 16 | |
Peng Fan | 3743697 | 2020-10-14 17:12:10 +0800 | [diff] [blame] | 17 | .. code-block:: bash |
| 18 | |
| 19 | $ make mrproper |
| 20 | $ make mx6ull_14x14_evk_defconfig |
| 21 | $ make |
Diego Dorta | 13af68f | 2016-11-10 15:05:37 -0200 | [diff] [blame] | 22 | |
| 23 | This generates the u-boot-dtb.imx image in the current directory. |
| 24 | |
| 25 | - Flash the u-boot-dtb.imx image into the micro SD card: |
| 26 | |
Peng Fan | 3743697 | 2020-10-14 17:12:10 +0800 | [diff] [blame] | 27 | .. code-block:: bash |
Diego Dorta | 13af68f | 2016-11-10 15:05:37 -0200 | [diff] [blame] | 28 | |
Peng Fan | 3743697 | 2020-10-14 17:12:10 +0800 | [diff] [blame] | 29 | $ sudo dd if=u-boot-dtb.imx of=/dev/sdb bs=1K seek=1 conv=notrunc && sync |
| 30 | |
| 31 | - Jumper settings:: |
Diego Dorta | 13af68f | 2016-11-10 15:05:37 -0200 | [diff] [blame] | 32 | |
Peng Fan | 3743697 | 2020-10-14 17:12:10 +0800 | [diff] [blame] | 33 | SW601: 0 0 1 0 |
| 34 | Sw602: 1 0 |
Diego Dorta | 13af68f | 2016-11-10 15:05:37 -0200 | [diff] [blame] | 35 | |
| 36 | Where 0 means bottom position and 1 means top position (from the switch label |
| 37 | numbers reference). |
| 38 | |
| 39 | Connect the USB cable between the EVK and the PC for the console. |
| 40 | (The USB console connector is the one close the push buttons) |
| 41 | |
| 42 | Insert the micro SD card in the board, power it up and U-Boot messages should |
| 43 | come up. |
| 44 | |
| 45 | The link for the board: http://www.nxp.com/products/microcontrollers-and- \ |
| 46 | processors/arm-processors/i.mx-applications-processors/i.mx-6-processors/ \ |
| 47 | i.mx6qp/evaluation-kit-for-the-i.mx-6ull-applications-processor:MCIMX6ULL-EVK |