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 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
The update process in the target is described on the page Update U-Boot.