Linux Kernel Patches

Table of Contents

General notes

Getting the latest kernel using git

If you want a kernel that "just works" it is recommended that you use one of the "atmel" branches instead of "master". Here's how you can grab the latest "atmel" kernel using git:

  1. Clone the avr32 repository from kernel.org:
    git clone git://git.kernel.org/pub/scm/linux/kernel/git/hskinnemoen/avr32-2.6.git linux-avr32
    The last parameter is the name of the local directory to put everything in and can be anything you want.
  2. Enter the new directory created by this command:
    cd linux-avr32
  3. If you use git 1.5 or newer, create a new branch from one of the upstream branches:
    git checkout -b atmel-2.6.23 origin/atmel-2.6.23
    To see all the available upstream branches:
    git branch -r
  4. If you use an older version of git, you should have a branch called atmel-2.6.23 already, so you just have to switch to it:
    git checkout atmel-2.6.23
  5. You should now have a working copy reflecting the latest "atmel" kernel (which may not even have been released yet.)

If you already have a working repository, you can update it to the latest version by switching to the local branch you created above and pulling from the upstream branch:

git checkout atmel-2.6.23
git fetch origin
git merge origin/atmel-2.6.23

The same procedure can be used if you want to sync with the Linux "stable" tree as well. First, add the "stable" repository as a new remote (you only need to do this once for each stable branch):

git remote add stable-2.6.23 git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-2.6.23.y.git
Then you can fetch the latest updates and merge them into your working tree:
git fetch stable-2.6.23
git merge stable-2.6.23/master

Upgrading from 2.6.18 (BSP 2.0)

The MMC card scanning was moved to a separate thread in 2.6.20. This means that the kernel may fail to mount the root filesystem because the MMC devices haven't shown up before the init thread tries to mount the root filesystem. A "rootwait" command-line parameter was added during the 2.6.23 release cycle which, if present, makes the init thread wait until the root device is actually present before attempting to mount it. This patch has been backported to the 2.6.22.atmel.y kernels below, so in order to use an MMC or SD card as a root filesystem, you need to add "rootwait" to the kernel command line (kernels older than 2.6.22.atmel.6 need "rootwait=1", but this isn't supported by the kernels from kernel.org.)


Version 2.6.25

The following patches are based on the official Linux 2.6.23 kernel from kernel.org with the latest "stable" patch applied.

2.6.25.6.atmel.1

Highlights in this release:

To try it out, download one of the following files. Please report problems to the mailing list.

Version 2.6.24

The following patches are based on the official Linux 2.6.23 kernel from kernel.org with the latest "stable" patch applied.

2.6.24.3.atmel.3

Highlights in this release:

To try it out, download one of the following files. Please report problems to the _email1 mailing list.

2.6.24.atmel.1

Highlights in this release:

Other than that, it's pretty much the same as 2.6.23.atmel.5, apart from the gazillions of commits that went into mainline between 2.6.23 and 2.6.24 of course.

To try it out, download one of the following files. Please report problems to the _email2 mailing list.


Version 2.6.23

The following patches are based on the official Linux 2.6.23 kernel from kernel.org. Each release contains the latest 2.6.23.y stable release at the time. To upgrade to a later stable release, you can either apply an incremental patch or reverse-apply the stable patch included in the release and then apply the new stable patch. Note that you will usually get a reject on the top-level Makefile because the version number is different, but this should be trivial to fix.

2.6.23.atmel.5

Highlights in this release:

To try it out, download one of the following files. Please report problems to the _email3 mailing list.

2.6.23.atmel.4

Highlights in this release:

To try it out, download one of the following files. Please report problems to the _email4 mailing list.

2.6.23.atmel.3

This fixes a faulty include in the NGW100 board code and a gpio/platform_data bug in the CompactFlash driver.

To try it out, download one of the following files. Please report problems to the _email5 mailing list.

2.6.23.atmel.2

Highlights in this release:

Since ATNGW100 support is broken in this release, please don't use it. Use version 2.6.23.atmel.3 instead, which is almost identical apart from this issue.

2.6.23.atmel.1

This is basically the 2.6.22.atmel.5 release rebased onto the 2.6.23 upstream release, with the avr32-related changes that are scheduled for 2.6.24 included as well.

Note that in order to use root filesystem on MMC or SD card, you need to specify "rootwait" on the command line instead of "rootwait=1". Unfortunately, there's currently no common parameter that works on both 2.6.22.atmel.x and 2.6.23. This will be fixed in the next release.

For more details, please see the announcement. To try it out, download one of the following files. Please report problems to the _email6 mailing list.


Version 2.6.22

The following patches are based on the official Linux 2.6.22 kernel from kernel.org. Each release contains the latest 2.6.22.y stable release at the time. To upgrade to a later stable release, you can either apply an incremental patch or reverse-apply the stable patch included in the release and then apply the new stable patch. Note that you will usually get a reject on the top-level Makefile because the version number is different, but this should be trivial to fix.

2.6.22.atmel.6

Highlights for this release:

To try it out, download one of the following files. Please report problems to the _email7 mailing list.

2.6.22.atmel.5

Highlights for this release:

For more details, please see the announcement. To try it out, download one of the following files. Please report problems to the _email8 mailing list.

2.6.22.atmel.4

Highlights for this release:

To try it out, download one of the following files. Please report problems to the _email9 mailing list.

2.6.22.atmel.3

This release is still based on v2.6.22.1. Highlights:

To try it out, download one of the following files. Please report problems to the _email10 mailing list.

2.6.22.atmel.2

This is a relatively minor update compared to 2.6.22.atmel.1. There are still a couple of highlights:

To try it out, download one of the following files. Please report problems to the _email11 mailing list.

2.6.22.atmel.1

It's been a long time since the previous release, so there are lots of updates in this one. Highlights include:

There are still a few things missing, most notably the sound drivers. They are currently being worked on, and will hopefully be ready soon -- check out the AVR32 linux kernel archives for a preview. CompactFlash and NAND flash support are also not ready for inclusion yet.

To try it out, download one of these or check out the 'master' branch of git://www.atmel.no/~hskinnemoen/linux/kernel/avr32.git.


Version 2.6.18

Attachment sort Action Size Date Who Comment
elselinux-2.6.23.atmel.2.patch.bz2 manage 89.8 K 01 Nov 2007 - 12:38 HaavardSkinnemoen Linux 2.6.23.atmel.2 patch against v2.6.23
elselinux-2.6.23.atmel.4.tar.bz2 manage 44523.2 K 10 Dec 2007 - 11:27 HaavardSkinnemoen Linux 2.6.23.atmel.4 complete source
elselinux-2.6.22.atmel.2.patch.bz2 manage 68.9 K 12 Jul 2007 - 18:00 HaavardSkinnemoen Linux 2.6.22.atmel.2 patch against v2.6.22
elselinux-2.6.23.atmel.3.tar.bz2 manage 44522.8 K 05 Nov 2007 - 13:44 HaavardSkinnemoen Linux 2.6.23.atmel.3 complete source
elselinux-2.6.23.atmel.5.tar.bz2 manage 44521.2 K 05 Feb 2008 - 15:10 HaavardSkinnemoen Linux 2.6.23.atmel.5 complete source
elselinux-2.6.22.atmel.3.patch.bz2 manage 78.2 K 19 Jul 2007 - 12:46 HaavardSkinnemoen Linux 2.6.22.atmel.3 patch against v2.6.22
elselinux-2.6.24.3.atmel.3.patch.bz2 manage 105.9 K 06 Mar 2008 - 13:00 HaavardSkinnemoen Linux 2.6.24.3.atmel.3 patch against v2.6.23.3
elselinux-2.6.22.atmel.6.patch.bz2 manage 157.8 K 01 Nov 2007 - 10:09 HaavardSkinnemoen Linux 2.6.22.atmel.6 patch against v2.6.22
elselinux-2.6.23.atmel.5.patch.bz2 manage 182.6 K 05 Feb 2008 - 15:13 HaavardSkinnemoen Linux 2.6.23.atmel.5 patch against v2.6.23
elselinux-2.6.25.6.atmel.1.patch.bz2 manage 258.8 K 11 Jun 2008 - 14:52 HaavardSkinnemoen Linux 2.6.25.6.atmel.1 patch against v2.6.25.6
elselinux-2.6.22.atmel.1.patch.bz2 manage 62.0 K 09 Jul 2007 - 11:47 HaavardSkinnemoen Linux 2.6.22.atmel.1 patch against v2.6.22
elselinux-2.6.22.atmel.5.tar.bz2 manage 44081.6 K 15 Oct 2007 - 12:13 HaavardSkinnemoen Linux 2.6.22.atmel.5 complete source
elselinux-2.6.22.atmel.4.patch.bz2 manage 121.7 K 05 Sep 2007 - 20:09 HaavardSkinnemoen Linux 2.6.22.atmel.4 patch against v2.6.22
elselinux-2.6.22.atmel.2.tar.bz2 manage 44033.3 K 12 Jul 2007 - 17:59 HaavardSkinnemoen Linux 2.6.22.atmel.2 complete source
elselinux-2.6.22.atmel.1.tar.bz2 manage 44031.2 K 09 Jul 2007 - 11:45 HaavardSkinnemoen Linux 2.6.22.atmel.1 complete source
elselinux-2.6.22.atmel.6.tar.bz2 manage 44100.3 K 01 Nov 2007 - 10:02 HaavardSkinnemoen Linux 2.6.22.atmel.6 complete source
elselinux-2.6.22.atmel.5.patch.bz2 manage 152.2 K 15 Oct 2007 - 12:14 HaavardSkinnemoen Linux 2.6.22.atmel.5 patch against v2.6.22
elselinux-2.6.22.atmel.3.tar.bz2 manage 44050.4 K 19 Jul 2007 - 12:45 HaavardSkinnemoen Linux 2.6.22.atmel.3 complete source
elselinux-2.6.23.atmel.2.tar.bz2 manage 44522.4 K 01 Nov 2007 - 12:35 HaavardSkinnemoen Linux 2.6.23.atmel.2 complete source
elselinux-2.6.25.6.atmel.1.tar.bz2 manage 47713.2 K 11 Jun 2008 - 14:48 HaavardSkinnemoen Linux 2.6.25.6.atmel.1 complete source
elselinux-2.6.23.atmel.1.patch.bz2 manage 66.1 K 15 Oct 2007 - 12:21 HaavardSkinnemoen Linux 2.6.23.atmel.1 patch against v2.6.23
elselinux-2.6.22.atmel.4.tar.bz2 manage 44070.8 K 05 Sep 2007 - 20:12 HaavardSkinnemoen Linux 2.6.22.atmel.4 complete source
elselinux-2.6.23.atmel.1.tar.bz2 manage 44544.7 K 15 Oct 2007 - 12:17 HaavardSkinnemoen Linux 2.6.23.atmel.1 complete source
elselinux-2.6.24.atmel.1.tar.bz2 manage 45663.2 K 05 Feb 2008 - 17:25 HaavardSkinnemoen Linux 2.6.24.atmel.1 complete source
elselinux-2.6.23.atmel.3.patch.bz2 manage 89.9 K 05 Nov 2007 - 13:50 HaavardSkinnemoen Linux 2.6.23.atmel.3 patch against v2.6.23
elselinux-2.6.24.atmel.1.patch.bz2 manage 86.1 K 05 Feb 2008 - 17:33 HaavardSkinnemoen Linux 2.6.24.atmel.1 patch against v2.6.24
elselinux-2.6.23.atmel.4.patch.bz2 manage 162.4 K 10 Dec 2007 - 11:28 HaavardSkinnemoen Linux 2.6.23.atmel.4 patch against v2.6.23
elseunified-2.6.18.patch.tar.bz2 manage 208.6 K 31 Aug 2007 - 15:24 JohnVoltz Combination of linux-2.6.18-avr1 and some new patches
elselinux-2.6.24.3.atmel.3.tar.bz2 manage 45684.3 K 06 Mar 2008 - 12:58 HaavardSkinnemoen Linux 2.6.24.3.atmel.3 complete source