Versions Compared

Key

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

...

...

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.03Linux 4.9.11 and Linux 4.9.1188, use the following Linaro arm compilier. 

...

Info
iconfalse
$ git clone git@git.embedian.com:developer/smarc-t335x-uboot.git smarcfimx6-uboot
$ cd smarcfimx6-uboot
$ git checkout smarc-imx_v2015.04_4.1.15_1.0.0_ga

...

Info
iconfalse
$ git clone git@git.embedian.com:developer/smarc-t335x-uboot.git smarcfimx6-uboot
$ cd smarcfimx6-uboot
$ git checkout smarc-imx_v2014.04_3.14.28_1.0.0_ga

Configure and Build:

Info
iconfalse
$ make ARCH=arm CROSS_COMPILE=${CC} distclean
$ make ARCH=arm CROSS_COMPILE=${CC} smarcfimx6_quad_1g_ser3_defconfig
$ make ARCH=arm CROSS_COMPILE=${CC}
Note
iconfalse
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_configdefconfig

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

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

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

 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 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.

...

Note
iconfalse
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_defconfigconfig

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

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

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

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 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.

...

Linux Kernel

...

Download:

 

For 4.9.111 88 (Based on Freescale imx_4.9.88_2.0.0_ga official release):

 

Info
iconfalse
$ git clone git@git.embedian.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):

...

Info
iconfalse
$ wget -c ftp://ftp.embedian.com/public/dev/minfs/ubuntu/xenial/imx6-ubuntu-16.04.2-armhf-2017-03-02.tar.gz

...

Info
iconfalse
$ md5sum imx6-ubuntu-16.04.2-armhf-2017-03-02.tar.gz0a3b5cf7b2f6c65856e07f21c17f3129
0a3b5cf7b2f6c65856e07f21c17f3129   imx6-ubuntu-16.04.2-armhf-2017-03-02.tar.gz

...

Info
iconfalse
$ wget -c ftp://ftp.embedian.com/public/dev/minfs/debian/jessie/imx6-debian-8.7-armhf-2017-03-02.tar.gz

...

Info
iconfalse

$ wget -c ftp://ftp.embedian.com/public/dev/minfs/ubuntu/trusty/imx6-ubuntu1404ubuntu-14.04.tar.gz

Verify:

Info
iconfalse

$ md5sum imx6-ubuntu1404ubuntu-14.04.tar.gz
f1420197b9581468f586ae3a4181b125  imx6-ubuntu1404.f1420197b9581468f586ae3a4181b125  imx6-ubuntu-14.04.tar.gz

 

Yocto Build Root File System:

...

Find the yocto pre-built root file systems here at Embedian's ftp site based on your module CPU variants.

...

Unmount eMMC:

Info
iconfalse
$ sync
$ sudo umount /media/boot
$ sudo umount /media/rootfs

 

Switch your Boot Select to eMMC and you will be able to boot up from eMMC now.


version 1.0a, 3/23/2015

Last updated 20182019-0201-0830