Home > Uncategorized > Building and copying Linux Kernel for i.MX6

Building and copying Linux Kernel for i.MX6

November 11th, 2015

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.

mountname

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.

Related posts:

  1. Compiling the Linux Kernel for i.MX6
  2. Compiling Kernel for i.MX6 Sabre Lite
  3. Transferring kernel in i.MX6 Android system using ADB
  4. Transferring and Running Linux on i.MX6 using NFS ( tftp)
  5. Compiling u-boot for i.MX6 Sabre Lite board

Uncategorized

  1. No comments yet.
  1. No trackbacks yet.