To build Embedian’s SMARC-FiMX6 u-boot and linux kernel, you will need to install the following Linaro arm compiler:
For u-boot 2017.03, Linux 4.9.11 and Linux 4.9.1188, use the following Linaro arm compilier.
If the board is SMARC-FiMX6-Q-2G or SMARC-FiMX6-D-2G, use
If the board is SMARC-FiMX6-Q-1G or SMARC-FiMX6-D-1G, use
If the board is SMARC-FiMX6-U-1G, use
If the board is SMARC-FiMX6-S, use
"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.
The SMARC-FiMX6 module always boot up from the on-module SPI NOR flash. The factory default will be u-boot.imx pre-installed with SER3 as console output. 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.
For 4.9.88 (Based on Freescale imx_4.9.88_2.0.0_ga official release):
$ git clone email@example.com:developer/smarc-fsl-linux-kernel.git
$ cd smarc-fsl-linux-kernel
$ git checkout smarc-imx6_4.9.88_2.0.0_ga
For 4.9.11 (Based on Freescale imx_4.9.11_1.0.0_ga official release):