Friday, October 25, 2013

Building Linux kernel image for ARM with Eclipse [Part 3]

D.  Build U-boot Boot loader Image

We will download the modified u-boot source code from Atmel. This version is more fit with AT91SAM family than the official u-boot version. In general, U-boot takes up for loading kernel image to RAM and setting up operation environment for kernel as well. 

Building Linux kernel image for ARM with Eclipse [Part 2]

C.  Build Linux kernel Image

     At first, we need to import the Linux kernel source code into the Eclipse IDE

Building Linux kernel image for ARM with Eclipse [Part 1]

I feel quite lazy to remember a lot Linux build commands while building Linux kernel image and also don't want to repeat to typing the build commands every time need to modify and rebuild the kernel image. So, I looked at a tool help to make build processes to be more user friendly. Eclipse IDE and its plug-ins are the great fit tools for this purpose.

In this article, I intend to setup needed environment for building the Linux kernel image for Atmel AT91SAM9260 SoC which is based on ARM926EJ-S core. The target board is Olimex SAM9-L9260. Host OS is Ubuntu 13.10 64-bit. There are some differences in setting up environment between Ubuntu 13.10 and previous versions.
A great thing here is all tools used in this project is free ^-^.