I was trying to compile the Linux kernel for Colibri T20 from source by following the guide at http://developer.toradex.com/knowledge-base/build-u-boot-and-linux-kernel-from-source-code
I will be using the tools provided in Toradex Linux 2.6.1 BSP for the flashing step.
All commands were executed in the home directory, unless explicitly specified. I have performed the following steps:
1) Git clone the required repositories:
git clone -b 2015.04-toradex git://git.toradex.com/u-boot-toradex.git git clone -b tegra git://git.toradex.com/linux-toradex.git
2) Get and extract the required toolchain
cd ~ wget -c https://releases.linaro.org/components/toolchain/binaries/5.2-2015.11-2/arm-inux-gnueabihf/gcc-linaro-5.2-2015.11-2-x86_64_arm-linux-gnueabihf.tar.xz tar xvf gcc-linaro-5.2-2015.11-2-x86_64_arm-linux-gnueabihf.tar.xz ln -s gcc-linaro-5.2-2015.11-2-x86_64_arm-linux-gnueabihf gcc-linaro
3) Setup the required environment variables (I have added them permanently to ~/.bashrc)
export ARCH=arm export PATH=~/gcc-linaro/bin/:$PATH export CROSS_COMPILE=arm-linux-gnueabihf-
4) Run the make for configuration
adwait@adwait-Lenovo-ideapad-100-15IBD:~/$ cd linux-toradex adwait@adwait-Lenovo-ideapad-100-15IBD:~/linux-toradex$ make clean adwait@adwait-Lenovo-ideapad-100-15IBD:~/linux-toradex$ make colibri_t20_defconfig HOSTCC scripts/basic/fixdep HOSTCC scripts/kconfig/conf.o HOSTCC scripts/kconfig/zconf.tab.o HOSTLD scripts/kconfig/conf # # configuration written to .config # adwait@adwait-Lenovo-ideapad-100-15IBD:~/linux-toradex$
5) Kernel Compilation (I have attached my build.log in this post)
make -j3 uImage 2>&1 | tee build.log
As per my understanding, at this point a new zImage should be found at ~/linux-toradex/arch/arm/boot/zImage
What steps do I need to take after this to flash the newly compiled kernel?
Also, how do I figure out which modules were compiled and which were not during the build process?
I know that my question is slightly vague, but I will be obliged if any one can guide me.
Thank you.link text