Kernel

From Openmoko

(Difference between revisions)
Jump to: navigation, search
Line 1: Line 1:
 +
 +
== General ==
 +
 
The Kernel on the GTA01 is based on a vanilla 2.6.17.7 Linux kernel from [http://www.kernel.org/ kernel.org].
 
The Kernel on the GTA01 is based on a vanilla 2.6.17.7 Linux kernel from [http://www.kernel.org/ kernel.org].
  

Revision as of 10:08, 7 August 2006

Contents

General

The Kernel on the GTA01 is based on a vanilla 2.6.17.7 Linux kernel from kernel.org.

Some additional patches are required for

  • S3C2410 Usb Device Controller
    • We use the driver from iPaq H1409 linux project
  • S3C2410 SD Card Controller
  • QT2410 machine support
    • This is just some glue that puts all pieces together
  • S3C2410 touch screen driver
    • Again from iPaq H1409 linux project
  • GTA01 machine support
    • Some glue/configuration to pull all pieces together
  • GSM Communication Infrastructure
    • The kernel-level part (TS07.10 line discipline, GPRS line discipline)


Kernel Patchset

The latest patchset against the abovementioned vanilla kernel can be found at [1]. This is a so-called "quilt patchset". In order to apply it, you have to untar it into a "patches" directory below the "linux-2.6.x" directory, and then call "quilt push -a", which pushes all patches onto the kernel.

Kernel Configuration

The latest kernel configuration can be found at [2]. Just copy it to the linux-2.6.x/.config file.

Kernel building

The kernel build is executed as normal. We actually only need the "vmlinux" target, not the "zImage".

bootable Kernel image

A bootable kernel image called uImage is available from [3]

creating a bootable kernel image

u-boot needs all images (such as kernel, initrd, ...) in the form of an uImage. This is basically just a special header adding CRC protection, version information, etc. Pleaes see u-boot for details.

Personal tools

The Kernel on the GTA01 is based on a vanilla 2.6.17.7 Linux kernel from kernel.org.

Some additional patches are required for

  • S3C2410 Usb Device Controller
    • We use the driver from iPaq H1409 linux project
  • S3C2410 SD Card Controller
  • QT2410 machine support
    • This is just some glue that puts all pieces together
  • S3C2410 touch screen driver
    • Again from iPaq H1409 linux project
  • GTA01 machine support
    • Some glue/configuration to pull all pieces together
  • GSM Communication Infrastructure
    • The kernel-level part (TS07.10 line discipline, GPRS line discipline)


Kernel Patchset

The latest patchset against the abovementioned vanilla kernel can be found at [1]. This is a so-called "quilt patchset". In order to apply it, you have to untar it into a "patches" directory below the "linux-2.6.x" directory, and then call "quilt push -a", which pushes all patches onto the kernel.

Kernel Configuration

The latest kernel configuration can be found at [2]. Just copy it to the linux-2.6.x/.config file.

Kernel building

The kernel build is executed as normal. We actually only need the "vmlinux" target, not the "zImage".

bootable Kernel image

A bootable kernel image called uImage is available from [3]

creating a bootable kernel image

u-boot needs all images (such as kernel, initrd, ...) in the form of an uImage. This is basically just a special header adding CRC protection, version information, etc. Pleaes see u-boot for details.