TS-7670 U-Boot 2014.10 build

From embeddedTS Manuals

We do provide our U-Boot sources, but we do not recommend rebuilding a custom U-Boot if it can be avoided. If you still wish to proceed with building a custom binary, the sources can be downloaded here: https://github.com/embeddedTS/u-boot

Download the cross compiler:

wget ftp://ftp.embeddedTS.com/ts-arm-sbc/ts-7680-linux/cross-toolchains/imx28-cross-glibc.tar.bz2

Note that this version of U-Boot requires a 4.4 gcc compiler. Anything newer may result in an unbootable binary.

Set the CROSS_COMPILE environment variable to point to the cross compiler above. The U-Boot binary can be built with the following:

./build-mx28 ts7670

This will output a u-boot.sb file that must be converted to boot from MMC, and then written to the SD card or eMMC first partition:

./tools/mxsboot sd u-boot.sb u-boot.sd
dd if=u-boot.sd of=/dev/sdX1

Where /dev/sdX1 is the name of the first partition of the SD card device node. This same u-boot.sd file can be written directly to eMMC, or the first partition of the SD card can be written directly to the first partition of the eMMC.