Search This Blog

Monday, June 19, 2017

How to compile Uboot configuration

assumption : you have uboot source checkedout on your machine.

Example Cross Compile for ARM processror

1.  goto the uboot dir
2.  export following variables

apt-get install gcc-arm-linux-gnueabihf

export CROSS_COMPILE=arm-linux-gnueabihf-export ARCH=arm

3.  to build the .imx use following


make distclean
make mx6qopenrex_config
make

4.  imx will be available in you pwd ( ex "u-boot.imx" )

No comments: