====== Compiling U-Boot ======
Download the archive with the patches and unpack it (e.g. to ''~/src/BSP/UBoot/patches''). Download the basic version with ''git''.
user@ubuntu:~/src$ git clone http://git.denx.de/u-boot.git
user@ubuntu:~/src$ cd u-boot/
user@ubuntu:~/src/u-boot$ git checkout -b P2020 v2011.03
user@ubuntu:~/src/u-boot$ stg init
user@ubuntu:~/src/u-boot$ stg import -t -s ~/src/BSP/UBoot/patches/series
The environment variables ''ARCH'' and ''CROSS_COMPILE'' were set according to section [[en:tqmp2020:installation_eldk_toolchain#eldk_cross_compiler_configuration|Configuration of the ELDK Cross Compiler Toolchain]].
The following commands have to be executed: to configure and compile with ''make'':
user@ubuntu:/.../src/u-boot$ make distclean
user@ubuntu:/.../src/u-boot$ make TQMP2020_config
user@ubuntu:/.../src/u-boot$ make all
===== Updating U-Boot =====
The update process in the target is described on the page [[en:uboot:update|Update U-Boot]].
===== Sources =====
* http://www.denx.de/wiki/view/DULG/UBootConfiguration
* http://cache.freescale.com/files/dsp/doc/app_note/AN4172.pdf?fsrch=1&sr=1