Building and copying Linux Kernel for i.MX6
Recently I had to build the Kernel for i.MX6. The reason for this had to do with the integration of the TI-WI BLE ( a Wifi and Bluetooth Module) with the i.MX6.
The process of compiling was basically same as the compiling the uboot . But instead of giving command line
ARCH=arm
CROSS_COMPILE=/usr/bin/arm-linux-gnueabi-
I added them in the Makefile
To compile - just give the make command
make
It takes some time so be patient. The output uImage is in the directory arch/arm/boot/.
Copying file to SD Card
It took some time to figure out how to copy the uImage to replace the existing uImage in SD Card. Basically, when you insert the SD Card in ubuntu it showed several pop up folders for different partitions in ubuntu. One of these was boot folder that had the uImage. Right clicking that folder -> Properties -> Basic shows the mount name as /media/vikas/root.
Once we know that we can copy the uImage with the following command
sudo cp arch/arm/boot/uImage /media/vikas/root/
This should get started if you are making change in kernel and then you wish to check out.