Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Note
titleNote

Note1:

If the board is SMARC-FiMX6-Q-2G or SMARC-FiMX6-D-2G, use
$ make ARCH=arm CROSS_COMPILE=${CC} smarcfimx6_quad_2g_ser3_defconfig

 If the board is SMARC-FiMX6-Q-1G or SMARC-FiMX6-D-1G, use
$ make ARCH=arm CROSS_COMPILE=${CC} smarcfimx6_quad_1g_ser3_defconfig

 If the board is SMARC-FiMX6-U-1G, use
$ make ARCH=arm CROSS_COMPILE=${CC} smarcfimx6_dl_1g_ser3_defconfig

 If the board is SMARC-FiMX6-S, use
$ make ARCH=arm CROSS_COMPILE=${CC} smarcfimx6_solo_ser3_defconfig

If the board is SMARC-FiMX6-QP-1G, use
$ make ARCH=arm CROSS_COMPILE=${CC} smarcfimx6_quadplus_1g_ser3_defconfig

If the board is SMARC-FiMX6-QP-2G, use
$ make ARCH=arm CROSS_COMPILE=${CC} smarcfimx6_quadplus_2g_ser3_defconfig

Note 2:

"ser3" stands for console debug port. In this example, we uses SER3 as debug port. If user uses SER0 as your debug port, make change to "ser0" instead. Same as SER1 and SER2.

Note 3:

The SMARC-FiMX6 module always boot up from the onboard SPI NOR flash. The factory default will be u-boot.imx pre-installed. In some cases when the SPI NOR flash is empty or needs to be upgraded. Users can shunt crossed the TEST# to ground. In this way, the SMARC-FiMX6 module will boot up to carrier SD card, if TEST# pin is shunt crossed. The u-boot.imx image are the same, the difference is how you flash u-boot.imx. This will be explained in the "Setup SD card" section.

...

Info
iconfalse

$ make ARCH=arm CROSS_COMPILE=${CC} distclean

$ make ARCH=arm CROSS_COMPILE=${CC} smarcfimx6_defconfig

$ make ARCH=arm CROSS_COMPILE=${CC} zImage modules imx6q-smarcfimx6.dtb imx6dl-smarcfimx6.dtb imx6qp-smarcfimx6.dtb

Note
iconfalse

Note1:

If the board is Dual or Quad core, the device tree blob is imx6q-smarcfimx6.dtb.

If the board is QuadPlus core, the device tree blob is imx6qp-smarcfimx6.dtb.

If the board is Dual Lite or Solo core, the device tree blob is imx6dl-smarcfimx6.dtb

If you are using LVDS panel, replace the corresponding device tree file by the following.

For WVGA (800x480) LVDS panel:
imx6q-smarcfimx6.dtb --> imx6q-smarcfimx6-wvga.dtb
imx6dl-smarcfimx6.dtb --> imx6dl-smarcfimx6-wvga.dtb
imx6qp-smarcfimx6.dtb --> imx6qp-smarcfimx6-wvga.dtb

For XGA (1024x768) LVDS panel:
imx6q-smarcfimx6.dtb --> imx6q-smarcfimx6-xga.dtb
imx6dl-smarcfimx6.dtb --> imx6dl-smarcfimx6-xga.dtb
imx6qp-smarcfimx6.dtb --> imx6qp-smarcfimx6-xga.dtb
 

For WXGA (1366x768) LVDS panel:
imx6q-smarcfimx6.dtb --> imx6q-smarcfimx6-wxga.dtb
imx6dl-smarcfimx6.dtb --> imx6dl-smarcfimx6-wxga.dtb
imx6qp-smarcfimx6.dtb --> imx6qp-smarcfimx6-wxga.dtb

For 1080p (1920x1080) LVDS panel:
imx6q-smarcfimx6.dtb --> imx6q-smarcfimx6-1080p.dtb
imx6dl-smarcfimx6.dtb --> imx6dl-smarcfimx6-1080p.dtb
imx6qp-smarcfimx6.dtb --> imx6qp-smarcfimx6-1080p.dtb

Root File System

...

Ubuntu 16.04:

...

Info
iconfalse

$ sudo mkdir -p /media/boot/dtbs

$ sudo cp -v arch/arm/boot/dts/imx6q-smarcfimx6.dtb arch/arm/boot/dts/imx6dl-smarcfimx6.dtb arch/arm/boot/dts/imx6qp-smarcfimx6.dtb /media/boot/dtbs

Note
titleNote
  1. If you are using LVDS panel, copy the corresponding device tree blob into SD card as follows.

For WVGA (800x480) LVDS panel:
$ sudo cp -v arch/arm/boot/dts/imx6q-smarcfimx6-wvga.dtb /media/boot/dtbs/imx6q-smarcfimx6.dtb
$ sudo cp -v arch/arm/boot/dts/imx6dl-smarcfimx6-wvga.dtb /media/boot/dtbs/imx6dl-smarcfimx6.dtb 
$ sudo cp -v arch/arm/boot/dts/imx6qp-smarcfimx6-wvga.dtb /media/boot/dtbs/imx6qp-smarcfimx6.dtb

For XGA (1024x768) LVDS panel:
 $ sudo cp -v arch/arm/boot/dts/imx6q-smarcfimx6-xga.dtb /media/boot/dtbs/imx6q-smarcfimx6.dtb
 $ sudo cp -v arch/arm/boot/dts/imx6dl-smarcfimx6-xga.dtb /media/boot/dtbs/imx6dl-smarcfimx6.dtb 
$ sudo cp -v arch/arm/boot/dts/imx6qp-smarcfimx6-xga.dtb /media/boot/dtbs/imx6qp-smarcfimx6.dtb

For WXGA (1366x768) LVDS panel:
 $ sudo cp -v arch/arm/boot/dts/imx6q-smarcfimx6-wxga.dtb /media/boot/dtbs/imx6q-smarcfimx6.dtb
 $ sudo cp -v arch/arm/boot/dts/imx6dl-smarcfimx6-wxga.dtb /media/boot/dtbs/imx6dl-smarcfimx6.dtb 
$ sudo cp -v arch/arm/boot/dts/imx6qp-smarcfimx6-wxga.dtb /media/boot/dtbs/imx6qp-smarcfimx6.dtb

For 1080p (1920x1080) LVDS panel:
 $ sudo cp -v arch/arm/boot/dts/imx6q-smarcfimx6-1080p.dtb /media/boot/dtbs/imx6q-smarcfimx6.dtb
 $ sudo cp -v arch/arm/boot/dts/imx6dl-smarcfimx6-1080p.dtb /media/boot/dtbs/imx6dl-smarcfimx6.dtb
$ sudo cp -v arch/arm/boot/dts/imx6qp-smarcfimx6-1080p.dtb /media/boot/dtbs/imx6qp-smarcfimx6.dtb
 

Install Root File System and Kernel Modules

...